@amedia/user 0.14.22 → 0.14.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/user.d.ts +6 -2
- package/package.json +10 -10
package/dist/user.d.ts
CHANGED
|
@@ -585,15 +585,19 @@ declare module '@amedia/user/store/index' {
|
|
|
585
585
|
[index: string]: unknown;
|
|
586
586
|
};
|
|
587
587
|
};
|
|
588
|
-
|
|
588
|
+
internalState: {
|
|
589
|
+
isPoisoned: boolean;
|
|
590
|
+
};
|
|
589
591
|
};
|
|
590
592
|
type Listener<T> = (data: T) => void;
|
|
591
593
|
const _default: {
|
|
592
594
|
merge: <K extends keyof StoreDataMap>(key: K, value: Partial<StoreDataMap[K]>) => void;
|
|
593
|
-
set: (key: keyof StoreDataMap, value:
|
|
595
|
+
set: (key: keyof StoreDataMap, value: UserAttributes | State | {
|
|
594
596
|
[namespace: string]: {
|
|
595
597
|
[index: string]: unknown;
|
|
596
598
|
};
|
|
599
|
+
} | {
|
|
600
|
+
isPoisoned: boolean;
|
|
597
601
|
}) => void;
|
|
598
602
|
get: <K_1 extends keyof StoreDataMap, T = StoreDataMap[K_1]>(key: K_1) => T | undefined;
|
|
599
603
|
on: <K_2 extends keyof StoreDataMap, T_1 = StoreDataMap[K_2]>(key: K_2, listener: Listener<T_1>) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amedia/user",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.24",
|
|
4
4
|
"description": "Client lib for working with aID user and associated data",
|
|
5
5
|
"repository": "https://github.com/amedia/amedia-user-js",
|
|
6
6
|
"author": "Amedia Utvikling (ID og data)",
|
|
@@ -32,35 +32,35 @@
|
|
|
32
32
|
"@amedia/browserid": "^1.0.17",
|
|
33
33
|
"@amedia/frontend-rpc": "^0.0.12",
|
|
34
34
|
"runtypes": "^6.5.0",
|
|
35
|
-
"ts-deepmerge": "^
|
|
35
|
+
"ts-deepmerge": "^2.0.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@amedia/eslint-config-base": "^
|
|
38
|
+
"@amedia/eslint-config-base": "^5.1.3",
|
|
39
39
|
"@amedia/eslint-config-typescript": "^4.0.13",
|
|
40
40
|
"@babel/eslint-parser": "^7.16.5",
|
|
41
|
-
"@eik/cli": "^2.0.
|
|
42
|
-
"@eik/esbuild-plugin": "^1.1.
|
|
41
|
+
"@eik/cli": "^2.0.21",
|
|
42
|
+
"@eik/esbuild-plugin": "^1.1.1",
|
|
43
43
|
"@types/convict": "^6.1.1",
|
|
44
44
|
"@types/jest": "^27.4.0",
|
|
45
45
|
"@typescript-eslint/eslint-plugin": "^5.8.1",
|
|
46
|
-
"@typescript-eslint/parser": "^5.
|
|
46
|
+
"@typescript-eslint/parser": "^5.10.1",
|
|
47
47
|
"cors": "^2.8.5",
|
|
48
|
-
"esbuild": "^0.14.
|
|
48
|
+
"esbuild": "^0.14.13",
|
|
49
49
|
"eslint": "^8.6.0",
|
|
50
50
|
"eslint-config-airbnb-typescript": "^16.1.0",
|
|
51
51
|
"eslint-config-prettier": "^8.3.0",
|
|
52
52
|
"eslint-plugin-import": "^2.25.4",
|
|
53
53
|
"eslint-plugin-prettier": "^4.0.0",
|
|
54
54
|
"express": "^4.17.2",
|
|
55
|
-
"jest": "^27.4.
|
|
55
|
+
"jest": "^27.4.7",
|
|
56
56
|
"jest-extended": "^1.2.0",
|
|
57
57
|
"jest-fetch-mock": "^3.0.3",
|
|
58
58
|
"mockdate": "^3.0.5",
|
|
59
59
|
"npm-dts": "^1.3.10",
|
|
60
60
|
"npm-run-all": "^4.1.5",
|
|
61
61
|
"prettier": "^2.5.1",
|
|
62
|
-
"ts-jest": "^27.1.
|
|
62
|
+
"ts-jest": "^27.1.3",
|
|
63
63
|
"tslib": "^2.3.1",
|
|
64
|
-
"typescript": "^4.5.
|
|
64
|
+
"typescript": "^4.5.5"
|
|
65
65
|
}
|
|
66
66
|
}
|