@sudoplatform/sudo-user 17.1.0 → 17.1.1

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.
Files changed (145) hide show
  1. package/cjs/client/amplifyClient.js +0 -1
  2. package/cjs/client/apiClient.js +0 -1
  3. package/cjs/client/graphqlClient.js +0 -1
  4. package/cjs/client/transformer/ErrorTransformer.js +0 -1
  5. package/cjs/core/api-key-names.js +0 -1
  6. package/cjs/core/auth-store.js +0 -1
  7. package/cjs/core/crypto.js +0 -1
  8. package/cjs/core/key-manager.js +0 -1
  9. package/cjs/core/protected-store.js +0 -1
  10. package/cjs/core/publisher.js +0 -1
  11. package/cjs/core/sdk-config.js +0 -1
  12. package/cjs/core/subscriber.js +0 -1
  13. package/cjs/gen/graphql-types.js +0 -1
  14. package/cjs/index.js +0 -1
  15. package/cjs/runtimes/browser/browser-crypto.js +0 -1
  16. package/cjs/runtimes/node/node-crypto.js +0 -1
  17. package/cjs/sdk.js +0 -1
  18. package/cjs/user/auth-provider.js +0 -1
  19. package/cjs/user/auth.js +0 -1
  20. package/cjs/user/error.js +0 -1
  21. package/cjs/user/identity-provider.js +0 -1
  22. package/cjs/user/sign-in-callback.js +0 -1
  23. package/cjs/user/sign-in-guard.js +0 -1
  24. package/cjs/user/user-client-interface.js +0 -1
  25. package/cjs/user/user-client.js +0 -1
  26. package/cjs/user/user-key-names.js +0 -1
  27. package/cjs/utils/jwt.js +0 -1
  28. package/cjs/utils/parse-token.js +0 -1
  29. package/cjs/utils/resolvable-promise.js +0 -1
  30. package/cjs/utils/sign-options-builder.js +0 -1
  31. package/docs/classes/AlreadyRegisteredError.html +2 -2
  32. package/docs/classes/DefaultSudoUserClient.html +32 -32
  33. package/docs/classes/IdentityServiceConfigNotFoundError.html +2 -2
  34. package/docs/classes/LocalAuthenticationProvider.html +4 -4
  35. package/docs/classes/SignInGuard.html +4 -4
  36. package/docs/classes/TESTAuthenticationProvider.html +4 -4
  37. package/docs/classes/internal.AmplifyClient.html +5 -5
  38. package/docs/enums/GraphQLClientAuthMode.html +2 -2
  39. package/docs/functions/internal.getIdentityServiceConfig.html +1 -1
  40. package/docs/interfaces/AuthenticationProvider.html +3 -3
  41. package/docs/interfaces/AuthenticationTokens.html +2 -2
  42. package/docs/interfaces/GraphQLClient.html +4 -4
  43. package/docs/interfaces/GraphQLClientOptions.html +7 -7
  44. package/docs/interfaces/SudoPlatformSignInCallback.html +2 -2
  45. package/docs/interfaces/SudoUserClient.html +27 -27
  46. package/docs/interfaces/internal.SudoUserOptions.html +2 -2
  47. package/docs/types/IAMCredentials.html +2 -2
  48. package/docs/types/TokenProvider.html +1 -1
  49. package/docs/types/internal.Config.html +1 -1
  50. package/docs/types/internal.FederatedSignInConfig.html +1 -1
  51. package/docs/types/internal.IdentityServiceConfig.html +1 -1
  52. package/docs/variables/internal.Config.html +1 -1
  53. package/docs/variables/internal.FederatedSignInConfigCodec.html +1 -1
  54. package/docs/variables/internal.IdentityServiceConfigCodec.html +1 -1
  55. package/lib/client/amplifyClient.js +0 -1
  56. package/lib/client/apiClient.js +0 -1
  57. package/lib/client/graphqlClient.js +0 -1
  58. package/lib/client/transformer/ErrorTransformer.js +0 -1
  59. package/lib/core/api-key-names.js +0 -1
  60. package/lib/core/auth-store.js +0 -1
  61. package/lib/core/crypto.js +0 -1
  62. package/lib/core/key-manager.js +0 -1
  63. package/lib/core/protected-store.js +0 -1
  64. package/lib/core/publisher.js +0 -1
  65. package/lib/core/sdk-config.js +0 -1
  66. package/lib/core/subscriber.js +0 -1
  67. package/lib/gen/graphql-types.js +0 -1
  68. package/lib/index.js +0 -1
  69. package/lib/runtimes/browser/browser-crypto.js +0 -1
  70. package/lib/runtimes/node/node-crypto.js +0 -1
  71. package/lib/sdk.js +0 -1
  72. package/lib/user/auth-provider.js +0 -1
  73. package/lib/user/auth.js +0 -1
  74. package/lib/user/error.js +0 -1
  75. package/lib/user/identity-provider.js +0 -1
  76. package/lib/user/sign-in-callback.js +0 -1
  77. package/lib/user/sign-in-guard.js +0 -1
  78. package/lib/user/user-client-interface.js +0 -1
  79. package/lib/user/user-client.js +0 -1
  80. package/lib/user/user-key-names.js +0 -1
  81. package/lib/utils/jwt.js +0 -1
  82. package/lib/utils/parse-token.js +0 -1
  83. package/lib/utils/resolvable-promise.js +0 -1
  84. package/lib/utils/sign-options-builder.js +0 -1
  85. package/package.json +26 -1
  86. package/cjs/client/amplifyClient.js.map +0 -1
  87. package/cjs/client/apiClient.js.map +0 -1
  88. package/cjs/client/graphqlClient.js.map +0 -1
  89. package/cjs/client/transformer/ErrorTransformer.js.map +0 -1
  90. package/cjs/core/api-key-names.js.map +0 -1
  91. package/cjs/core/auth-store.js.map +0 -1
  92. package/cjs/core/crypto.js.map +0 -1
  93. package/cjs/core/key-manager.js.map +0 -1
  94. package/cjs/core/protected-store.js.map +0 -1
  95. package/cjs/core/publisher.js.map +0 -1
  96. package/cjs/core/sdk-config.js.map +0 -1
  97. package/cjs/core/subscriber.js.map +0 -1
  98. package/cjs/gen/graphql-types.js.map +0 -1
  99. package/cjs/index.js.map +0 -1
  100. package/cjs/runtimes/browser/browser-crypto.js.map +0 -1
  101. package/cjs/runtimes/node/node-crypto.js.map +0 -1
  102. package/cjs/sdk.js.map +0 -1
  103. package/cjs/user/auth-provider.js.map +0 -1
  104. package/cjs/user/auth.js.map +0 -1
  105. package/cjs/user/error.js.map +0 -1
  106. package/cjs/user/identity-provider.js.map +0 -1
  107. package/cjs/user/sign-in-callback.js.map +0 -1
  108. package/cjs/user/sign-in-guard.js.map +0 -1
  109. package/cjs/user/user-client-interface.js.map +0 -1
  110. package/cjs/user/user-client.js.map +0 -1
  111. package/cjs/user/user-key-names.js.map +0 -1
  112. package/cjs/utils/jwt.js.map +0 -1
  113. package/cjs/utils/parse-token.js.map +0 -1
  114. package/cjs/utils/resolvable-promise.js.map +0 -1
  115. package/cjs/utils/sign-options-builder.js.map +0 -1
  116. package/lib/client/amplifyClient.js.map +0 -1
  117. package/lib/client/apiClient.js.map +0 -1
  118. package/lib/client/graphqlClient.js.map +0 -1
  119. package/lib/client/transformer/ErrorTransformer.js.map +0 -1
  120. package/lib/core/api-key-names.js.map +0 -1
  121. package/lib/core/auth-store.js.map +0 -1
  122. package/lib/core/crypto.js.map +0 -1
  123. package/lib/core/key-manager.js.map +0 -1
  124. package/lib/core/protected-store.js.map +0 -1
  125. package/lib/core/publisher.js.map +0 -1
  126. package/lib/core/sdk-config.js.map +0 -1
  127. package/lib/core/subscriber.js.map +0 -1
  128. package/lib/gen/graphql-types.js.map +0 -1
  129. package/lib/index.js.map +0 -1
  130. package/lib/runtimes/browser/browser-crypto.js.map +0 -1
  131. package/lib/runtimes/node/node-crypto.js.map +0 -1
  132. package/lib/sdk.js.map +0 -1
  133. package/lib/user/auth-provider.js.map +0 -1
  134. package/lib/user/auth.js.map +0 -1
  135. package/lib/user/error.js.map +0 -1
  136. package/lib/user/identity-provider.js.map +0 -1
  137. package/lib/user/sign-in-callback.js.map +0 -1
  138. package/lib/user/sign-in-guard.js.map +0 -1
  139. package/lib/user/user-client-interface.js.map +0 -1
  140. package/lib/user/user-client.js.map +0 -1
  141. package/lib/user/user-key-names.js.map +0 -1
  142. package/lib/utils/jwt.js.map +0 -1
  143. package/lib/utils/parse-token.js.map +0 -1
  144. package/lib/utils/resolvable-promise.js.map +0 -1
  145. package/lib/utils/sign-options-builder.js.map +0 -1
@@ -256,4 +256,3 @@ class AmplifyClient {
256
256
  }
257
257
  }
258
258
  exports.AmplifyClient = AmplifyClient;
259
- //# sourceMappingURL=amplifyClient.js.map
@@ -163,4 +163,3 @@ class ApiClient {
163
163
  }
164
164
  }
165
165
  exports.ApiClient = ApiClient;
166
- //# sourceMappingURL=apiClient.js.map
@@ -7,4 +7,3 @@ var GraphQLClientAuthMode;
7
7
  GraphQLClientAuthMode["IAM"] = "AWS_IAM";
8
8
  GraphQLClientAuthMode["ApiKey"] = "API_KEY";
9
9
  })(GraphQLClientAuthMode || (exports.GraphQLClientAuthMode = GraphQLClientAuthMode = {}));
10
- //# sourceMappingURL=graphqlClient.js.map
@@ -19,4 +19,3 @@ function graphQLErrorsToClientError(error, logger) {
19
19
  return new sudo_common_1.UnknownGraphQLError(error);
20
20
  }
21
21
  }
22
- //# sourceMappingURL=ErrorTransformer.js.map
@@ -14,4 +14,3 @@ exports.apiKeyNames = {
14
14
  refreshTokenExpiry: 'refreshTokenExpiry',
15
15
  userId: 'LastAuthUser',
16
16
  };
17
- //# sourceMappingURL=api-key-names.js.map
@@ -96,4 +96,3 @@ class AuthenticationStore {
96
96
  }
97
97
  exports.AuthenticationStore = AuthenticationStore;
98
98
  _AuthenticationStore_secrets = new WeakMap();
99
- //# sourceMappingURL=auth-store.js.map
@@ -5,4 +5,3 @@
5
5
  * SPDX-License-Identifier: Apache-2.0
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- //# sourceMappingURL=crypto.js.map
@@ -117,4 +117,3 @@ DefaultKeyManager.Constants = {
117
117
  publicKeyAlgorithm: 'RSA',
118
118
  symmetricAlgorithm: 'AES/256',
119
119
  };
120
- //# sourceMappingURL=key-manager.js.map
@@ -5,4 +5,3 @@
5
5
  * SPDX-License-Identifier: Apache-2.0
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- //# sourceMappingURL=protected-store.js.map
@@ -5,4 +5,3 @@
5
5
  * SPDX-License-Identifier: Apache-2.0
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- //# sourceMappingURL=publisher.js.map
@@ -62,4 +62,3 @@ function getIdentityServiceConfig() {
62
62
  }
63
63
  return sudo_common_1.DefaultConfigurationManager.getInstance().bindConfigSet(exports.Config, undefined);
64
64
  }
65
- //# sourceMappingURL=sdk-config.js.map
@@ -5,4 +5,3 @@
5
5
  * SPDX-License-Identifier: Apache-2.0
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- //# sourceMappingURL=subscriber.js.map
@@ -127,4 +127,3 @@ exports.ResetDocument = {
127
127
  },
128
128
  ],
129
129
  };
130
- //# sourceMappingURL=graphql-types.js.map
package/cjs/index.js CHANGED
@@ -24,4 +24,3 @@ Object.defineProperty(exports, "SignInGuard", { enumerable: true, get: function
24
24
  * SDKs.
25
25
  */
26
26
  exports.internal = tslib_1.__importStar(require("./sdk"));
27
- //# sourceMappingURL=index.js.map
@@ -12,4 +12,3 @@ exports.cryptoProvider = {
12
12
  return sudo_common_1.Base64.encode(buffer);
13
13
  },
14
14
  };
15
- //# sourceMappingURL=browser-crypto.js.map
@@ -11,4 +11,3 @@ exports.cryptoProvider = {
11
11
  return Buffer.from(buffer).toString('base64');
12
12
  },
13
13
  };
14
- //# sourceMappingURL=node-crypto.js.map
package/cjs/sdk.js CHANGED
@@ -14,4 +14,3 @@ const tslib_1 = require("tslib");
14
14
  tslib_1.__exportStar(require("./core/sdk-config"), exports);
15
15
  var amplifyClient_1 = require("./client/amplifyClient");
16
16
  Object.defineProperty(exports, "AmplifyClient", { enumerable: true, get: function () { return amplifyClient_1.AmplifyClient; } });
17
- //# sourceMappingURL=sdk.js.map
@@ -131,4 +131,3 @@ class LocalAuthenticationProvider {
131
131
  }
132
132
  }
133
133
  exports.LocalAuthenticationProvider = LocalAuthenticationProvider;
134
- //# sourceMappingURL=auth-provider.js.map
package/cjs/user/auth.js CHANGED
@@ -139,4 +139,3 @@ class CognitoAuthUI {
139
139
  }
140
140
  }
141
141
  exports.CognitoAuthUI = CognitoAuthUI;
142
- //# sourceMappingURL=auth.js.map
package/cjs/user/error.js CHANGED
@@ -35,4 +35,3 @@ class IdentityServiceConfigNotFoundError extends UserError {
35
35
  }
36
36
  }
37
37
  exports.IdentityServiceConfigNotFoundError = IdentityServiceConfigNotFoundError;
38
- //# sourceMappingURL=error.js.map
@@ -247,4 +247,3 @@ class CognitoUserPoolIdentityProvider {
247
247
  }
248
248
  }
249
249
  exports.CognitoUserPoolIdentityProvider = CognitoUserPoolIdentityProvider;
250
- //# sourceMappingURL=identity-provider.js.map
@@ -5,4 +5,3 @@
5
5
  * SPDX-License-Identifier: Apache-2.0
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- //# sourceMappingURL=sign-in-callback.js.map
@@ -62,4 +62,3 @@ class SignInGuard {
62
62
  }
63
63
  }
64
64
  exports.SignInGuard = SignInGuard;
65
- //# sourceMappingURL=sign-in-guard.js.map
@@ -5,4 +5,3 @@
5
5
  * SPDX-License-Identifier: Apache-2.0
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- //# sourceMappingURL=user-client-interface.js.map
@@ -445,4 +445,3 @@ function publicKeyToRSAPublicKey(publicKey) {
445
445
  keyFormat: sudo_common_1.PublicKeyFormat.RSAPublicKey,
446
446
  };
447
447
  }
448
- //# sourceMappingURL=user-client.js.map
@@ -12,4 +12,3 @@ exports.userKeyNames = {
12
12
  userId: 'userId',
13
13
  identityId: 'identityId',
14
14
  };
15
- //# sourceMappingURL=user-key-names.js.map
package/cjs/utils/jwt.js CHANGED
@@ -227,4 +227,3 @@ exports.jwt = {
227
227
  }
228
228
  },
229
229
  };
230
- //# sourceMappingURL=jwt.js.map
@@ -17,4 +17,3 @@ function parseToken(token) {
17
17
  catch { }
18
18
  return parsed;
19
19
  }
20
- //# sourceMappingURL=parse-token.js.map
@@ -21,4 +21,3 @@ function createResolvablePromise() {
21
21
  resolve,
22
22
  });
23
23
  }
24
- //# sourceMappingURL=resolvable-promise.js.map
@@ -29,4 +29,3 @@ function getSignOptions({ aud, sub, iss, keyId, privateKey, attributes, }) {
29
29
  }
30
30
  return signOptions;
31
31
  }
32
- //# sourceMappingURL=sign-options-builder.js.map
@@ -1,12 +1,12 @@
1
1
  <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>AlreadyRegisteredError | @sudoplatform/sudo-user</title><meta name="description" content="Documentation for @sudoplatform/sudo-user"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@sudoplatform/sudo-user</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">AlreadyRegisteredError</a></li></ul><h1>Class AlreadyRegisteredError</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Indicates the user associated with the client is already registered.</p>
2
- </div></section><section class="tsd-panel tsd-hierarchy" data-refl="65"><h4>Hierarchy</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-signature-type">UserError</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">AlreadyRegisteredError</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sudoplatform/sudo-user-js/blob/72cd12f9f9bec77ccf225c79dca7e850cb25ba57/src/user/error.ts#L20">src/user/error.ts:20</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
2
+ </div></section><section class="tsd-panel tsd-hierarchy" data-refl="65"><h4>Hierarchy</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-signature-type">UserError</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">AlreadyRegisteredError</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sudoplatform/sudo-user-js/blob/3f04a0c9cce7c1b8aa789c6bc8b5e460ad67c502/src/user/error.ts#L20">src/user/error.ts:20</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
3
3
  </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#message" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>message</span></a>
4
4
  <a href="#name" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a>
5
5
  <a href="#stack" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>stack?</span></a>
6
6
  <a href="#stacktracelimit" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>stack<wbr/>Trace<wbr/>Limit</span></a>
7
7
  </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#capturestacktrace" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>capture<wbr/>Stack<wbr/>Trace</span></a>
8
8
  <a href="#preparestacktrace" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>prepare<wbr/>Stack<wbr/>Trace</span></a>
9
- </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="constructoralreadyregisterederror"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">AlreadyRegisteredError</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">AlreadyRegisteredError</a><a href="#constructoralreadyregisterederror" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">AlreadyRegisteredError</a></h4><aside class="tsd-sources"><p>Overrides UserError.constructor</p><ul><li>Defined in <a href="https://github.com/sudoplatform/sudo-user-js/blob/72cd12f9f9bec77ccf225c79dca7e850cb25ba57/src/user/error.ts#L21">src/user/error.ts:21</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="message"><span>message</span><a href="#message" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">message</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from UserError.message</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1077</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="name"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from UserError.name</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1076</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="stack"><code class="tsd-tag">Optional</code><span>stack</span><a href="#stack" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">stack</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from UserError.stack</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1078</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="stacktracelimit"><code class="tsd-tag">Static</code><span>stack<wbr/>Trace<wbr/>Limit</span><a href="#stacktracelimit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">stackTraceLimit</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The <code>Error.stackTraceLimit</code> property specifies the number of stack frames
9
+ </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="constructoralreadyregisterederror"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">AlreadyRegisteredError</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">AlreadyRegisteredError</a><a href="#constructoralreadyregisterederror" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">AlreadyRegisteredError</a></h4><aside class="tsd-sources"><p>Overrides UserError.constructor</p><ul><li>Defined in <a href="https://github.com/sudoplatform/sudo-user-js/blob/3f04a0c9cce7c1b8aa789c6bc8b5e460ad67c502/src/user/error.ts#L21">src/user/error.ts:21</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="message"><span>message</span><a href="#message" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">message</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from UserError.message</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1077</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="name"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from UserError.name</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1076</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="stack"><code class="tsd-tag">Optional</code><span>stack</span><a href="#stack" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">stack</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from UserError.stack</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:1078</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="stacktracelimit"><code class="tsd-tag">Static</code><span>stack<wbr/>Trace<wbr/>Limit</span><a href="#stacktracelimit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">stackTraceLimit</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The <code>Error.stackTraceLimit</code> property specifies the number of stack frames
10
10
  collected by a stack trace (whether generated by <code>new Error().stack</code> or
11
11
  <code>Error.captureStackTrace(obj)</code>).</p>
12
12
  <p>The default value is <code>10</code> but may be set to any valid JavaScript number. Changes