@sudoplatform/sudo-user 12.0.2 → 12.2.0
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/cjs/index.js +6 -1
- package/cjs/index.js.map +1 -1
- package/docs/assets/main.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +35 -2
- package/docs/classes/AlreadyRegisteredError.html +13 -10
- package/docs/classes/DefaultSudoUserClient.html +11 -4
- package/docs/classes/IdentityServiceConfigNotFoundError.html +13 -10
- package/docs/classes/LocalAuthenticationProvider.html +7 -4
- package/docs/classes/TESTAuthenticationProvider.html +7 -4
- package/docs/functions/internal.getIdentityServiceConfig.html +58 -0
- package/docs/index.html +7 -4
- package/docs/interfaces/AuthenticationProvider.html +7 -4
- package/docs/interfaces/AuthenticationTokens.html +7 -4
- package/docs/interfaces/SudoUserClient.html +21 -5
- package/docs/modules/internal.html +71 -0
- package/docs/modules.html +11 -4
- package/docs/types/internal.Config.html +55 -0
- package/docs/types/internal.FederatedSignInConfig.html +54 -0
- package/docs/types/internal.IdentityServiceConfig.html +54 -0
- package/docs/variables/internal.Config-1.html +55 -0
- package/docs/variables/internal.FederatedSignInConfigCodec.html +54 -0
- package/docs/variables/internal.IdentityServiceConfigCodec.html +54 -0
- package/lib/index.js +5 -0
- package/lib/index.js.map +1 -1
- package/package.json +26 -27
- package/types/index.d.ts +1 -0
- package/types/user/user-client-interface.d.ts +5 -0
- package/docs/assets/widgets.png +0 -0
- package/docs/assets/widgets@2x.png +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sudoplatform/sudo-user",
|
|
3
|
-
"version": "12.0
|
|
3
|
+
"version": "12.2.0",
|
|
4
4
|
"author": "Anonyome Labs, Inc.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -50,16 +50,16 @@
|
|
|
50
50
|
"@sudoplatform/sudo-web-crypto-provider": "^7.0.1",
|
|
51
51
|
"amazon-cognito-auth-js": "^1.3.3",
|
|
52
52
|
"apollo-cache-inmemory": "^1.6.6",
|
|
53
|
-
"aws-appsync": "^4.1.
|
|
54
|
-
"fp-ts": "^2.
|
|
53
|
+
"aws-appsync": "^4.1.8",
|
|
54
|
+
"fp-ts": "^2.13.1",
|
|
55
55
|
"graphql": "^15.8.0",
|
|
56
|
-
"io-ts": "^2.2.
|
|
56
|
+
"io-ts": "^2.2.19",
|
|
57
57
|
"jsonwebtoken": "^8.5.1",
|
|
58
58
|
"lodash": "^4.17.21",
|
|
59
59
|
"monocle-ts": "^2.3.13",
|
|
60
60
|
"newtype-ts": "^0.3.5",
|
|
61
61
|
"tslib": "^2.4.0",
|
|
62
|
-
"uuid": "^
|
|
62
|
+
"uuid": "^9.0.0"
|
|
63
63
|
},
|
|
64
64
|
"resolutions": {
|
|
65
65
|
"apollo-cache-inmemory": "^1.6.6",
|
|
@@ -69,45 +69,44 @@
|
|
|
69
69
|
"@graphql-codegen/**/ansi-regex": "^5.0.1",
|
|
70
70
|
"cross-fetch": "^3.1.5",
|
|
71
71
|
"node-fetch": "^2.6.7",
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"got": "^11.8.5"
|
|
72
|
+
"undici": "^5.10.0",
|
|
73
|
+
"minimatch": "^3.0.5"
|
|
75
74
|
},
|
|
76
75
|
"devDependencies": {
|
|
77
76
|
"@graphql-codegen/add": "^3.2.1",
|
|
78
|
-
"@graphql-codegen/cli": "^2.
|
|
79
|
-
"@graphql-codegen/plugin-helpers": "^2.
|
|
80
|
-
"@graphql-codegen/typed-document-node": "^2.3.
|
|
81
|
-
"@graphql-codegen/typescript": "^2.7.
|
|
82
|
-
"@graphql-codegen/typescript-operations": "^2.5.
|
|
77
|
+
"@graphql-codegen/cli": "^2.13.7",
|
|
78
|
+
"@graphql-codegen/plugin-helpers": "^2.7.1",
|
|
79
|
+
"@graphql-codegen/typed-document-node": "^2.3.5",
|
|
80
|
+
"@graphql-codegen/typescript": "^2.7.5",
|
|
81
|
+
"@graphql-codegen/typescript-operations": "^2.5.5",
|
|
83
82
|
"@graphql-typed-document-node/apollo-client-2": "^1.0.0",
|
|
84
|
-
"@sudoplatform/sudo-common": "^8.0
|
|
83
|
+
"@sudoplatform/sudo-common": "^8.1.0",
|
|
85
84
|
"@types/amazon-cognito-auth-js": "^1.3.0",
|
|
86
85
|
"@types/firefox-webext-browser": "^94.0.1",
|
|
87
|
-
"@types/jest": "^
|
|
88
|
-
"@types/jsonwebtoken": "^8.5.
|
|
89
|
-
"@types/lodash": "^4.14.
|
|
90
|
-
"@types/node": "^16.
|
|
86
|
+
"@types/jest": "^29.2.0",
|
|
87
|
+
"@types/jsonwebtoken": "^8.5.9",
|
|
88
|
+
"@types/lodash": "^4.14.186",
|
|
89
|
+
"@types/node": "^16.18.0",
|
|
91
90
|
"@types/uuid": "^8.3.4",
|
|
92
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
93
|
-
"@typescript-eslint/parser": "^5.
|
|
91
|
+
"@typescript-eslint/eslint-plugin": "^5.40.1",
|
|
92
|
+
"@typescript-eslint/parser": "^5.40.1",
|
|
94
93
|
"apollo-client": "^2.6.10",
|
|
95
|
-
"concurrently": "^7.
|
|
96
|
-
"eslint": "^8.
|
|
94
|
+
"concurrently": "^7.5.0",
|
|
95
|
+
"eslint": "^8.26.0",
|
|
97
96
|
"eslint-config-prettier": "^8.5.0",
|
|
98
97
|
"eslint-plugin-import": "^2.26.0",
|
|
99
98
|
"eslint-plugin-prettier": "^4.2.1",
|
|
100
99
|
"eslint-plugin-tree-shaking": "^1.10.0",
|
|
101
100
|
"husky": "^8.0.1",
|
|
102
101
|
"isomorphic-fetch": "^3.0.0",
|
|
103
|
-
"jest": "^
|
|
104
|
-
"jest-environment-node": "^
|
|
102
|
+
"jest": "^29.2.1",
|
|
103
|
+
"jest-environment-node": "^29.2.1",
|
|
105
104
|
"prettier": "^2.7.1",
|
|
106
105
|
"subscriptions-transport-ws": "^0.11.0",
|
|
107
|
-
"ts-jest": "^
|
|
106
|
+
"ts-jest": "^29.0.3",
|
|
108
107
|
"ts-mockito": "^2.6.1",
|
|
109
|
-
"typedoc": "^0.23.
|
|
110
|
-
"typescript": "^4.
|
|
108
|
+
"typedoc": "^0.23.18",
|
|
109
|
+
"typescript": "^4.8.4",
|
|
111
110
|
"websocket": "^1.0.34"
|
|
112
111
|
},
|
|
113
112
|
"peerDependencies": {
|
package/types/index.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ export { DefaultSudoUserClient } from './user/user-client';
|
|
|
2
2
|
export * from './user/user-client-interface';
|
|
3
3
|
export { TESTAuthenticationProvider, LocalAuthenticationProvider, AuthenticationProvider, } from './user/auth-provider';
|
|
4
4
|
export * from './user/error';
|
|
5
|
+
export * as internal from './core/sdk-config';
|
|
@@ -161,6 +161,11 @@ export interface SudoUserClient {
|
|
|
161
161
|
* Resets internal state and clears any cached data.
|
|
162
162
|
*/
|
|
163
163
|
reset(): void;
|
|
164
|
+
/**
|
|
165
|
+
* De-registers the user associated with this client. The user must
|
|
166
|
+
* be signed in.
|
|
167
|
+
*/
|
|
168
|
+
deregister(): Promise<void>;
|
|
164
169
|
/**
|
|
165
170
|
* Getter to retrieve the SudoKeyManager
|
|
166
171
|
*/
|
package/docs/assets/widgets.png
DELETED
|
Binary file
|
|
Binary file
|