@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sudoplatform/sudo-user",
3
- "version": "12.0.2",
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.7",
54
- "fp-ts": "^2.12.2",
53
+ "aws-appsync": "^4.1.8",
54
+ "fp-ts": "^2.13.1",
55
55
  "graphql": "^15.8.0",
56
- "io-ts": "^2.2.17",
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": "^8.3.2"
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
- "minimist": "^1.2.6",
73
- "undici": "^5.8.2",
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.11.6",
79
- "@graphql-codegen/plugin-helpers": "^2.6.2",
80
- "@graphql-codegen/typed-document-node": "^2.3.3",
81
- "@graphql-codegen/typescript": "^2.7.3",
82
- "@graphql-codegen/typescript-operations": "^2.5.3",
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.1",
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": "^28.1.3",
88
- "@types/jsonwebtoken": "^8.5.8",
89
- "@types/lodash": "^4.14.184",
90
- "@types/node": "^16.11.53",
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.34.0",
93
- "@typescript-eslint/parser": "^5.34.0",
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.3.0",
96
- "eslint": "^8.22.0",
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": "^28.1.3",
104
- "jest-environment-node": "^28.1.3",
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": "^28.0.8",
106
+ "ts-jest": "^29.0.3",
108
107
  "ts-mockito": "^2.6.1",
109
- "typedoc": "^0.23.10",
110
- "typescript": "^4.7.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
  */
Binary file
Binary file