Skip to content

Commit 6e1184f

Browse files
committed
Fix unable to load library in Angular
Error: Uncaught SyntaxError: The requested module 'http://localhost:4200/@fs/home/....../web-eid-angular-example/.angular/cache/19.1.7/web-eid-angular-example/vite/deps/@web-eid_web-eid-library.js?v=ba44c02a' doesn't provide an export named: 'default' WE2-1048 Signed-off-by: Tanel Metsar <[email protected]>
1 parent b02b758 commit 6e1184f

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

package.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web-eid/web-eid-library",
3-
"version": "2.0.2",
3+
"version": "2.1.0",
44
"description": "",
55
"scripts": {
66
"lint": "eslint",
@@ -18,13 +18,6 @@
1818
"url": "[email protected]:web-eid/web-eid.js.git"
1919
},
2020
"module": "web-eid.js",
21-
"exports": {
22-
".": {
23-
"browser": "./dist/iife/web-eid.min.js",
24-
"import": "./web-eid.js",
25-
"default": "./dist/iife/web-eid.min.js"
26-
}
27-
},
2821
"files": [
2922
"config.d.ts",
3023
"config.d.ts.map",

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222

2323
export default Object.freeze({
24-
VERSION: "2.0.2",
24+
VERSION: "2.1.0",
2525
EXTENSION_HANDSHAKE_TIMEOUT: 1000, // 1 second
2626
NATIVE_APP_HANDSHAKE_TIMEOUT: 5 * 1000, // 5 seconds
2727
DEFAULT_USER_INTERACTION_TIMEOUT: 2 * 60 * 1000, // 2 minutes

0 commit comments

Comments
 (0)