From 6f8090ff3e173da55716e2095a123c8d63a7a9ca Mon Sep 17 00:00:00 2001 From: Gennadi Kudrjavtsev Date: Thu, 16 Mar 2023 14:07:43 +0200 Subject: [PATCH] updated documentation: import ES module --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e2fddae..4de3391 100644 --- a/README.md +++ b/README.md @@ -250,7 +250,7 @@ When using a build tool like WebPack, Babel, Rollup or the TypeScript compiler: ```javascript // Import the Web-eID library -import * as webeid from 'web-eid'; +import * as webeid from '@web-eid/web-eid-library/web-eid'; // ...or only what you need import { @@ -258,11 +258,11 @@ import { authenticate, Action, ErrorCode -} from 'web-eid'; +} from '@web-eid/web-eid-library/web-eid'; // If you need TypeScript interfaces, they are also available! -import AuthenticateOptions from 'web-eid/models/AuthenticateOptions'; +import ActionOptions from '@web-eid/web-eid-library/models/ActionOptions'; ``` ### ES module for browsers