@clerk/shared 3.40.0 → 3.41.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.
Files changed (116) hide show
  1. package/dist/runtime/alternativePhoneCode.d.mts +1 -1
  2. package/dist/runtime/alternativePhoneCode.d.ts +1 -1
  3. package/dist/runtime/{apiUrlFromPublishableKey-BK2JHLjb.d.ts → apiUrlFromPublishableKey-DOAlYzda.d.ts} +2 -2
  4. package/dist/runtime/apiUrlFromPublishableKey-DOAlYzda.d.ts.map +1 -0
  5. package/dist/runtime/apiUrlFromPublishableKey.d.ts +1 -1
  6. package/dist/runtime/authorization-errors.d.mts +1 -1
  7. package/dist/runtime/authorization-errors.d.ts +1 -1
  8. package/dist/runtime/authorization.d.mts +1 -1
  9. package/dist/runtime/authorization.d.ts +1 -1
  10. package/dist/runtime/clerkEventBus.d.mts +1 -1
  11. package/dist/runtime/clerkEventBus.d.ts +1 -1
  12. package/dist/runtime/{color-DPr2u1h5.d.ts → color-8S7t62d5.d.ts} +2 -2
  13. package/dist/runtime/{color-DPr2u1h5.d.ts.map → color-8S7t62d5.d.ts.map} +1 -1
  14. package/dist/runtime/{color-DKh9g5UO.d.mts → color-DzzuOZXY.d.mts} +2 -2
  15. package/dist/runtime/{color-DKh9g5UO.d.mts.map → color-DzzuOZXY.d.mts.map} +1 -1
  16. package/dist/runtime/color.d.mts +2 -2
  17. package/dist/runtime/color.d.ts +2 -2
  18. package/dist/runtime/date-DIGfFkoy.d.mts.map +1 -1
  19. package/dist/runtime/{deriveState-DrOyX2Ps.d.ts → deriveState-BtLYWDDj.d.ts} +2 -2
  20. package/dist/runtime/{deriveState-DrOyX2Ps.d.ts.map → deriveState-BtLYWDDj.d.ts.map} +1 -1
  21. package/dist/runtime/{deriveState-yJTMc4pW.d.mts → deriveState-CFNVKP25.d.mts} +2 -2
  22. package/dist/runtime/{deriveState-yJTMc4pW.d.mts.map → deriveState-CFNVKP25.d.mts.map} +1 -1
  23. package/dist/runtime/deriveState.d.mts +2 -2
  24. package/dist/runtime/deriveState.d.ts +2 -2
  25. package/dist/runtime/{error-CC05ENkI.mjs → error-BM5ymPR0.mjs} +20 -38
  26. package/dist/runtime/error-BM5ymPR0.mjs.map +1 -0
  27. package/dist/runtime/{error-DoMi9mmc.d.ts → error-BnX8aVrJ.d.ts} +3 -26
  28. package/dist/runtime/{error-DoMi9mmc.d.ts.map → error-BnX8aVrJ.d.ts.map} +1 -1
  29. package/dist/runtime/{error-Br-YqsCJ.d.mts → error-CGv_4FAo.d.mts} +3 -26
  30. package/dist/runtime/{error-Br-YqsCJ.d.mts.map → error-CGv_4FAo.d.mts.map} +1 -1
  31. package/dist/runtime/{error-CzUWlI0-.js → error-D39v7XzC.js} +31 -37
  32. package/dist/runtime/error-D39v7XzC.js.map +1 -0
  33. package/dist/runtime/error.d.mts +3 -3
  34. package/dist/runtime/error.d.ts +3 -3
  35. package/dist/runtime/error.js +3 -1
  36. package/dist/runtime/error.mjs +2 -2
  37. package/dist/runtime/{index-Bv-b2tpK.d.mts → index-CPc_EgSw.d.ts} +50 -5
  38. package/dist/runtime/index-CPc_EgSw.d.ts.map +1 -0
  39. package/dist/runtime/{index-DdjCCA79.d.ts → index-DYtkcqA3.d.mts} +50 -5
  40. package/dist/runtime/index-DYtkcqA3.d.mts.map +1 -0
  41. package/dist/runtime/index.d.mts +8 -8
  42. package/dist/runtime/index.d.ts +9 -9
  43. package/dist/runtime/index.js +6 -4
  44. package/dist/runtime/index.mjs +5 -5
  45. package/dist/runtime/jwtPayloadParser.d.mts +1 -1
  46. package/dist/runtime/jwtPayloadParser.d.ts +1 -1
  47. package/dist/runtime/{keys-J5tiM3qN.d.ts → keys-C5bld2M1.d.ts} +2 -2
  48. package/dist/runtime/{keys-J5tiM3qN.d.ts.map → keys-C5bld2M1.d.ts.map} +1 -1
  49. package/dist/runtime/{keys-DmQ5NbMq.d.mts → keys-DH8NA1KF.d.mts} +2 -2
  50. package/dist/runtime/{keys-DmQ5NbMq.d.mts.map → keys-DH8NA1KF.d.mts.map} +1 -1
  51. package/dist/runtime/keys.d.mts +2 -2
  52. package/dist/runtime/keys.d.ts +2 -2
  53. package/dist/runtime/{loadClerkJsScript-D_5LvPw8.d.ts → loadClerkJsScript-3B_eQAyq.d.ts} +2 -2
  54. package/dist/runtime/{loadClerkJsScript-D_5LvPw8.d.ts.map → loadClerkJsScript-3B_eQAyq.d.ts.map} +1 -1
  55. package/dist/runtime/{loadClerkJsScript-1cZgmGoL.d.mts → loadClerkJsScript-BisJ740V.d.mts} +2 -2
  56. package/dist/runtime/{loadClerkJsScript-1cZgmGoL.d.mts.map → loadClerkJsScript-BisJ740V.d.mts.map} +1 -1
  57. package/dist/runtime/{loadClerkJsScript-DIHZ-yUI.js → loadClerkJsScript-Cd_Avbun.js} +3 -3
  58. package/dist/runtime/{loadClerkJsScript-DIHZ-yUI.js.map → loadClerkJsScript-Cd_Avbun.js.map} +1 -1
  59. package/dist/runtime/{loadClerkJsScript-wNYW7daM.mjs → loadClerkJsScript-Dyi6lyld.mjs} +3 -3
  60. package/dist/runtime/{loadClerkJsScript-wNYW7daM.mjs.map → loadClerkJsScript-Dyi6lyld.mjs.map} +1 -1
  61. package/dist/runtime/loadClerkJsScript.d.mts +2 -2
  62. package/dist/runtime/loadClerkJsScript.d.ts +2 -2
  63. package/dist/runtime/loadClerkJsScript.js +3 -3
  64. package/dist/runtime/loadClerkJsScript.mjs +3 -3
  65. package/dist/runtime/oauth.d.mts +1 -1
  66. package/dist/runtime/oauth.d.ts +1 -1
  67. package/dist/runtime/organization.d.mts +1 -1
  68. package/dist/runtime/organization.d.ts +1 -1
  69. package/dist/runtime/{pathMatcher-DdphdGYT.d.ts → pathMatcher-BE8GlcoX.d.ts} +2 -2
  70. package/dist/runtime/pathMatcher-BE8GlcoX.d.ts.map +1 -0
  71. package/dist/runtime/{pathMatcher-B4FCLCFC.d.mts → pathMatcher-CHniDLBu.d.mts} +2 -2
  72. package/dist/runtime/pathMatcher-CHniDLBu.d.mts.map +1 -0
  73. package/dist/runtime/pathMatcher.d.mts +2 -2
  74. package/dist/runtime/pathMatcher.d.ts +2 -2
  75. package/dist/runtime/poller-CIrx6NwR.d.ts.map +1 -1
  76. package/dist/runtime/poller-I92Dozmd.d.mts.map +1 -1
  77. package/dist/runtime/react/index.d.mts +8 -8
  78. package/dist/runtime/react/index.d.ts +9 -9
  79. package/dist/runtime/react/index.js +1 -1
  80. package/dist/runtime/react/index.mjs +1 -1
  81. package/dist/runtime/router.d.mts +1 -1
  82. package/dist/runtime/router.d.ts +1 -1
  83. package/dist/runtime/saml.d.mts +1 -1
  84. package/dist/runtime/saml.d.ts +1 -1
  85. package/dist/runtime/telemetry.d.mts +1 -1
  86. package/dist/runtime/telemetry.d.ts +1 -1
  87. package/dist/runtime/types/index.d.mts +1 -1
  88. package/dist/runtime/types/index.d.ts +1 -1
  89. package/dist/runtime/utils/index.js +1 -1
  90. package/dist/runtime/utils/index.mjs +1 -1
  91. package/dist/runtime/{utils-H_S828Pv.js → utils-4vju2Zr4.js} +2 -2
  92. package/dist/runtime/utils-4vju2Zr4.js.map +1 -0
  93. package/dist/runtime/{utils-DnE51LOo.mjs → utils-BjdCqECo.mjs} +2 -2
  94. package/dist/runtime/utils-BjdCqECo.mjs.map +1 -0
  95. package/dist/runtime/{versionSelector-2OiQNsY2.js → versionSelector-BTGUbrgt.js} +3 -3
  96. package/dist/runtime/{versionSelector-2OiQNsY2.js.map → versionSelector-BTGUbrgt.js.map} +1 -1
  97. package/dist/runtime/{versionSelector-ThQQIAng.mjs → versionSelector-CDc-w_ek.mjs} +3 -3
  98. package/dist/runtime/{versionSelector-ThQQIAng.mjs.map → versionSelector-CDc-w_ek.mjs.map} +1 -1
  99. package/dist/runtime/versionSelector.js +1 -1
  100. package/dist/runtime/versionSelector.mjs +1 -1
  101. package/dist/runtime/web3.d.mts +1 -1
  102. package/dist/runtime/web3.d.ts +1 -1
  103. package/dist/types/index.d.mts +7 -3
  104. package/dist/types/index.d.mts.map +1 -1
  105. package/dist/types/index.d.ts +7 -3
  106. package/dist/types/index.d.ts.map +1 -1
  107. package/package.json +1 -1
  108. package/dist/runtime/apiUrlFromPublishableKey-BK2JHLjb.d.ts.map +0 -1
  109. package/dist/runtime/error-CC05ENkI.mjs.map +0 -1
  110. package/dist/runtime/error-CzUWlI0-.js.map +0 -1
  111. package/dist/runtime/index-Bv-b2tpK.d.mts.map +0 -1
  112. package/dist/runtime/index-DdjCCA79.d.ts.map +0 -1
  113. package/dist/runtime/pathMatcher-B4FCLCFC.d.mts.map +0 -1
  114. package/dist/runtime/pathMatcher-DdphdGYT.d.ts.map +0 -1
  115. package/dist/runtime/utils-DnE51LOo.mjs.map +0 -1
  116. package/dist/runtime/utils-H_S828Pv.js.map +0 -1
@@ -20,6 +20,9 @@ function createErrorTypeGuard(ErrorClass) {
20
20
  function typeGuard(error) {
21
21
  const target = error ?? this;
22
22
  if (!target) throw new TypeError(`${ErrorClass.kind || ErrorClass.name} type guard requires an error object`);
23
+ if (ErrorClass.kind && typeof target === "object" && target !== null && "constructor" in target) {
24
+ if (target.constructor?.kind === ErrorClass.kind) return true;
25
+ }
23
26
  return target instanceof ErrorClass;
24
27
  }
25
28
  return typeGuard;
@@ -58,9 +61,9 @@ var ClerkAPIError = class {
58
61
  }
59
62
  };
60
63
  /**
61
- * Type guard to check if a value is a ClerkApiError instance.
64
+ * Type guard to check if a value is a ClerkAPIError instance.
62
65
  */
63
- const isClerkApiError = createErrorTypeGuard(ClerkAPIError);
66
+ const isClerkAPIError = createErrorTypeGuard(ClerkAPIError);
64
67
 
65
68
  //#endregion
66
69
  //#region src/errors/parseError.ts
@@ -136,6 +139,12 @@ var ClerkError = class ClerkError extends Error {
136
139
  return msg;
137
140
  }
138
141
  };
142
+ /**
143
+ * Type guard to check if a value is a ClerkError instance.
144
+ */
145
+ function isClerkError(val) {
146
+ return createErrorTypeGuard(ClerkError)(val) || !!val && typeof val === "object" && "clerkError" in val && val.clerkError === true;
147
+ }
139
148
 
140
149
  //#endregion
141
150
  //#region src/errors/clerkApiResponseError.ts
@@ -168,17 +177,17 @@ var ClerkAPIResponseError = class ClerkAPIResponseError extends ClerkError {
168
177
  }
169
178
  };
170
179
  /**
171
- * Type guard to check if an error is a ClerkApiResponseError.
180
+ * Type guard to check if an error is a ClerkAPIResponseError.
172
181
  * Can be called as a standalone function or as a method on an error object.
173
182
  *
174
183
  * @example
175
184
  * // As a standalone function
176
- * if (isClerkApiResponseError(error)) { ... }
185
+ * if (isClerkAPIResponseError(error)) { ... }
177
186
  *
178
187
  * // As a method (when attached to error object)
179
- * if (error.isClerkApiResponseError()) { ... }
188
+ * if (error.isClerkAPIResponseError()) { ... }
180
189
  */
181
- const isClerkApiResponseError = createErrorTypeGuard(ClerkAPIResponseError);
190
+ const isClerkAPIResponseError = createErrorTypeGuard(ClerkAPIResponseError);
182
191
 
183
192
  //#endregion
184
193
  //#region src/errors/errorThrower.ts
@@ -307,7 +316,7 @@ var ClerkRuntimeError = class ClerkRuntimeError extends ClerkError {
307
316
  * // As a method (when attached to error object)
308
317
  * if (error.isClerkRuntimeError()) { ... }
309
318
  */
310
- const isClerkRuntimeError$1 = createErrorTypeGuard(ClerkRuntimeError);
319
+ const isClerkRuntimeError = createErrorTypeGuard(ClerkRuntimeError);
311
320
 
312
321
  //#endregion
313
322
  //#region src/errors/webAuthNError.ts
@@ -373,33 +382,6 @@ function isKnownError(error) {
373
382
  return isClerkAPIResponseError(error) || isMetamaskError(error) || isClerkRuntimeError(error);
374
383
  }
375
384
  /**
376
- * Checks if the provided error is a ClerkAPIResponseError.
377
- *
378
- * @internal
379
- */
380
- function isClerkAPIResponseError(err) {
381
- return err && "clerkError" in err;
382
- }
383
- /**
384
- * Checks if the provided error object is an instance of ClerkRuntimeError.
385
- *
386
- * @param err - The error object to check.
387
- * @returns True if the error is a ClerkRuntimeError, false otherwise.
388
- *
389
- * @example
390
- * const error = new ClerkRuntimeError('An error occurred');
391
- * if (isClerkRuntimeError(error)) {
392
- * // Handle ClerkRuntimeError
393
- * console.error('ClerkRuntimeError:', error.message);
394
- * } else {
395
- * // Handle other errors
396
- * console.error('Other error:', error.message);
397
- * }
398
- */
399
- function isClerkRuntimeError(err) {
400
- return "clerkRuntimeError" in err;
401
- }
402
- /**
403
385
  * Checks if the provided error is a Clerk runtime error indicating a reverification was cancelled.
404
386
  *
405
387
  * @internal
@@ -461,8 +443,8 @@ function isEmailLinkError(err) {
461
443
  */
462
444
  function createClerkGlobalHookError(error) {
463
445
  const predicates = {
464
- isClerkApiResponseError,
465
- isClerkRuntimeError: isClerkRuntimeError$1
446
+ isClerkAPIResponseError,
447
+ isClerkRuntimeError
466
448
  };
467
449
  for (const [name, fn] of Object.entries(predicates)) Object.assign(error, { [name]: fn });
468
450
  return error;
@@ -547,12 +529,24 @@ Object.defineProperty(exports, 'isCaptchaError', {
547
529
  return isCaptchaError;
548
530
  }
549
531
  });
532
+ Object.defineProperty(exports, 'isClerkAPIError', {
533
+ enumerable: true,
534
+ get: function () {
535
+ return isClerkAPIError;
536
+ }
537
+ });
550
538
  Object.defineProperty(exports, 'isClerkAPIResponseError', {
551
539
  enumerable: true,
552
540
  get: function () {
553
541
  return isClerkAPIResponseError;
554
542
  }
555
543
  });
544
+ Object.defineProperty(exports, 'isClerkError', {
545
+ enumerable: true,
546
+ get: function () {
547
+ return isClerkError;
548
+ }
549
+ });
556
550
  Object.defineProperty(exports, 'isClerkRuntimeError', {
557
551
  enumerable: true,
558
552
  get: function () {
@@ -625,4 +619,4 @@ Object.defineProperty(exports, 'parseErrors', {
625
619
  return parseErrors;
626
620
  }
627
621
  });
628
- //# sourceMappingURL=error-CzUWlI0-.js.map
622
+ //# sourceMappingURL=error-D39v7XzC.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-D39v7XzC.js","names":["packageName","customMessages"],"sources":["../../src/errors/createErrorTypeGuard.ts","../../src/errors/clerkApiError.ts","../../src/errors/parseError.ts","../../src/errors/clerkError.ts","../../src/errors/clerkApiResponseError.ts","../../src/errors/errorThrower.ts","../../src/errors/emailLinkError.ts","../../src/errors/clerkRuntimeError.ts","../../src/errors/webAuthNError.ts","../../src/errors/helpers.ts","../../src/errors/globalHookError.ts"],"sourcesContent":["/* eslint-disable jsdoc/require-jsdoc */\n\ntype Value = unknown;\n\n/**\n * Creates a type guard function for any error class.\n * The returned function can be called as a standalone function or as a method on an error object.\n *\n * @example\n * ```typescript\n * class MyError extends Error {}\n * const isMyError = createErrorTypeGuard(MyError);\n *\n * // As a standalone function\n * if (isMyError(error)) { ... }\n *\n * // As a method (when attached to error object)\n * if (error.isMyError()) { ... }\n * ```\n */\nexport function createErrorTypeGuard<T extends new (...args: any[]) => Value>(\n ErrorClass: T & { kind?: string },\n): {\n (error: Value): error is InstanceType<T>;\n (this: Value): this is InstanceType<T>;\n} {\n function typeGuard(this: Value, error?: Value): error is InstanceType<T> {\n const target = error ?? this;\n if (!target) {\n throw new TypeError(`${ErrorClass.kind || ErrorClass.name} type guard requires an error object`);\n }\n // Use duck-typing with 'kind' property to handle cross-bundle scenarios\n // where instanceof fails due to different class instances\n if (ErrorClass.kind && typeof target === 'object' && target !== null && 'constructor' in target) {\n const targetConstructor = (target as { constructor?: { kind?: string } }).constructor;\n if (targetConstructor?.kind === ErrorClass.kind) {\n return true;\n }\n }\n return target instanceof ErrorClass;\n }\n\n return typeGuard as {\n (error: Value): error is InstanceType<T>;\n (this: Value): this is InstanceType<T>;\n };\n}\n","import type { ClerkAPIError as ClerkAPIErrorInterface, ClerkAPIErrorJSON } from '../types';\nimport { createErrorTypeGuard } from './createErrorTypeGuard';\n\nexport type ClerkAPIErrorMeta = Record<string, unknown>;\n\n/**\n * This error contains the specific error message, code, and any additional metadata that was returned by the Clerk API.\n */\nexport class ClerkAPIError<Meta extends ClerkAPIErrorMeta = any> implements ClerkAPIErrorInterface {\n // TODO: Update kind to match class name in Core 3\n static kind = 'ClerkApiError';\n readonly code: string;\n readonly message: string;\n readonly longMessage: string | undefined;\n readonly meta: Meta;\n\n constructor(json: ClerkAPIErrorJSON) {\n const parsedError = {\n code: json.code,\n message: json.message,\n longMessage: json.long_message,\n meta: {\n paramName: json.meta?.param_name,\n sessionId: json.meta?.session_id,\n emailAddresses: json.meta?.email_addresses,\n identifiers: json.meta?.identifiers,\n zxcvbn: json.meta?.zxcvbn,\n plan: json.meta?.plan,\n isPlanUpgradePossible: json.meta?.is_plan_upgrade_possible,\n } as unknown as Meta,\n };\n this.code = parsedError.code;\n this.message = parsedError.message;\n this.longMessage = parsedError.longMessage;\n this.meta = parsedError.meta;\n }\n}\n\n/**\n * Type guard to check if a value is a ClerkAPIError instance.\n */\nexport const isClerkAPIError = createErrorTypeGuard(ClerkAPIError);\n","import type { ClerkAPIError as ClerkAPIErrorInterface, ClerkAPIErrorJSON } from '../types';\nimport { ClerkAPIError } from './clerkApiError';\n\n/**\n * Parses an array of ClerkAPIErrorJSON objects into an array of ClerkAPIError objects.\n *\n * @internal\n */\nexport function parseErrors(data: ClerkAPIErrorJSON[] = []): ClerkAPIErrorInterface[] {\n return data.length > 0 ? data.map(e => new ClerkAPIError(e)) : [];\n}\n\n/**\n * Parses a ClerkAPIErrorJSON object into a ClerkAPIError object.\n *\n * @deprecated Use `ClerkAPIError` class instead\n *\n * @internal\n */\nexport function parseError(error: ClerkAPIErrorJSON): ClerkAPIErrorInterface {\n return new ClerkAPIError(error);\n}\n\n/**\n * Converts a ClerkAPIError object into a ClerkAPIErrorJSON object.\n *\n * @internal\n */\nexport function errorToJSON(error: ClerkAPIError | null): ClerkAPIErrorJSON {\n return {\n code: error?.code || '',\n message: error?.message || '',\n long_message: error?.longMessage,\n meta: {\n param_name: error?.meta?.paramName,\n session_id: error?.meta?.sessionId,\n email_addresses: error?.meta?.emailAddresses,\n identifiers: error?.meta?.identifiers,\n zxcvbn: error?.meta?.zxcvbn,\n plan: error?.meta?.plan,\n is_plan_upgrade_possible: error?.meta?.isPlanUpgradePossible,\n },\n };\n}\n","import { createErrorTypeGuard } from './createErrorTypeGuard';\n\nexport interface ClerkErrorParams {\n /**\n * A message that describes the error. This is typically intented to be showed to the developers.\n * It should not be shown to the user or parsed directly as the message contents are not guaranteed\n * to be stable - use the `code` property instead.\n */\n message: string;\n /**\n * A machine-stable code that identifies the error.\n */\n code: string;\n /**\n * A user-friendly message that describes the error and can be displayed to the user.\n * This message defaults to English but can be usually translated to the user's language\n * by matching the `code` property to a localized message.\n */\n longMessage?: string;\n /**\n * The cause of the error, typically an `Error` instance that was caught and wrapped by the Clerk error handler.\n */\n cause?: Error;\n /**\n * A URL to the documentation for the error.\n */\n docsUrl?: string;\n}\n\n/**\n * A temporary placeholder, this will eventually be replaced with a\n * build-time flag that will actually perform DCE.\n */\nconst __DEV__ = true;\n\nexport class ClerkError extends Error {\n static kind = 'ClerkError';\n readonly clerkError = true as const;\n readonly code: string;\n readonly longMessage: string | undefined;\n readonly docsUrl: string | undefined;\n readonly cause: Error | undefined;\n\n get name() {\n return this.constructor.name;\n }\n\n constructor(opts: ClerkErrorParams) {\n super(new.target.formatMessage(new.target.kind, opts.message, opts.code, opts.docsUrl), { cause: opts.cause });\n Object.setPrototypeOf(this, ClerkError.prototype);\n this.code = opts.code;\n this.docsUrl = opts.docsUrl;\n this.longMessage = opts.longMessage;\n this.cause = opts.cause;\n }\n\n public toString() {\n return `[${this.name}]\\nMessage:${this.message}`;\n }\n\n protected static formatMessage(name: string, msg: string, code: string, docsUrl: string | undefined) {\n // Keeping the Clerk prefix for backward compatibility\n // msg = `${name}: ${msg.trim()}\\n\\n(code=\"${code}\")\\n\\n`;\n // We can remove the Clerk prefix in the next major version\n const prefix = 'Clerk:';\n const regex = new RegExp(prefix.replace(' ', '\\\\s*'), 'i');\n msg = msg.replace(regex, '');\n msg = `${prefix} ${msg.trim()}\\n\\n(code=\"${code}\")\\n\\n`;\n if (__DEV__ && docsUrl) {\n msg += `\\n\\nDocs: ${docsUrl}`;\n }\n return msg;\n }\n}\n\n/**\n * Type guard to check if a value is a ClerkError instance.\n */\nexport function isClerkError(val: unknown): val is ClerkError {\n const typeguard = createErrorTypeGuard(ClerkError);\n // Ths is the base error so we're being more defensive about the type guard\n return typeguard(val) || (!!val && typeof val === 'object' && 'clerkError' in val && val.clerkError === true);\n}\n","import type { ClerkAPIErrorJSON, ClerkAPIResponseError as ClerkAPIResponseErrorInterface } from '../types';\nimport { ClerkAPIError } from './clerkApiError';\nimport type { ClerkErrorParams } from './clerkError';\nimport { ClerkError } from './clerkError';\nimport { createErrorTypeGuard } from './createErrorTypeGuard';\n\ninterface ClerkAPIResponseOptions extends Omit<ClerkErrorParams, 'message' | 'code'> {\n data: ClerkAPIErrorJSON[];\n status: number;\n clerkTraceId?: string;\n retryAfter?: number;\n}\n\nexport class ClerkAPIResponseError extends ClerkError implements ClerkAPIResponseErrorInterface {\n static kind = 'ClerkAPIResponseError';\n status: number;\n clerkTraceId?: string;\n retryAfter?: number;\n errors: ClerkAPIError[];\n\n constructor(message: string, options: ClerkAPIResponseOptions) {\n const { data: errorsJson, status, clerkTraceId, retryAfter } = options;\n super({ ...options, message, code: 'api_response_error' });\n Object.setPrototypeOf(this, ClerkAPIResponseError.prototype);\n this.status = status;\n this.clerkTraceId = clerkTraceId;\n this.retryAfter = retryAfter;\n this.errors = (errorsJson || []).map(e => new ClerkAPIError(e));\n }\n\n public toString() {\n let message = `[${this.name}]\\nMessage:${this.message}\\nStatus:${this.status}\\nSerialized errors: ${this.errors.map(\n e => JSON.stringify(e),\n )}`;\n\n if (this.clerkTraceId) {\n message += `\\nClerk Trace ID: ${this.clerkTraceId}`;\n }\n\n return message;\n }\n\n // Override formatMessage to keep it unformatted for backward compatibility\n protected static override formatMessage(name: string, msg: string, _: string, __: string | undefined) {\n return msg;\n }\n}\n\n/**\n * Type guard to check if an error is a ClerkAPIResponseError.\n * Can be called as a standalone function or as a method on an error object.\n *\n * @example\n * // As a standalone function\n * if (isClerkAPIResponseError(error)) { ... }\n *\n * // As a method (when attached to error object)\n * if (error.isClerkAPIResponseError()) { ... }\n */\nexport const isClerkAPIResponseError = createErrorTypeGuard(ClerkAPIResponseError);\n","const DefaultMessages = Object.freeze({\n InvalidProxyUrlErrorMessage: `The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})`,\n InvalidPublishableKeyErrorMessage: `The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})`,\n MissingPublishableKeyErrorMessage: `Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.`,\n MissingSecretKeyErrorMessage: `Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.`,\n MissingClerkProvider: `{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider`,\n});\n\ntype MessageKeys = keyof typeof DefaultMessages;\n\ntype Messages = Record<MessageKeys, string>;\n\ntype CustomMessages = Partial<Messages>;\n\nexport type ErrorThrowerOptions = {\n packageName: string;\n customMessages?: CustomMessages;\n};\n\nexport interface ErrorThrower {\n setPackageName(options: ErrorThrowerOptions): ErrorThrower;\n\n setMessages(options: ErrorThrowerOptions): ErrorThrower;\n\n throwInvalidPublishableKeyError(params: { key?: string }): never;\n\n throwInvalidProxyUrl(params: { url?: string }): never;\n\n throwMissingPublishableKeyError(): never;\n\n throwMissingSecretKeyError(): never;\n\n throwMissingClerkProviderError(params: { source?: string }): never;\n\n throw(message: string): never;\n}\n\n/**\n * Builds an error thrower.\n *\n * @internal\n */\nexport function buildErrorThrower({ packageName, customMessages }: ErrorThrowerOptions): ErrorThrower {\n let pkg = packageName;\n\n /**\n * Builds a message from a raw message and replacements.\n *\n * @internal\n */\n function buildMessage(rawMessage: string, replacements?: Record<string, string | number>) {\n if (!replacements) {\n return `${pkg}: ${rawMessage}`;\n }\n\n let msg = rawMessage;\n const matches = rawMessage.matchAll(/{{([a-zA-Z0-9-_]+)}}/g);\n\n for (const match of matches) {\n const replacement = (replacements[match[1]] || '').toString();\n msg = msg.replace(`{{${match[1]}}}`, replacement);\n }\n\n return `${pkg}: ${msg}`;\n }\n\n const messages = {\n ...DefaultMessages,\n ...customMessages,\n };\n\n return {\n setPackageName({ packageName }: ErrorThrowerOptions): ErrorThrower {\n if (typeof packageName === 'string') {\n pkg = packageName;\n }\n return this;\n },\n\n setMessages({ customMessages }: ErrorThrowerOptions): ErrorThrower {\n Object.assign(messages, customMessages || {});\n return this;\n },\n\n throwInvalidPublishableKeyError(params: { key?: string }): never {\n throw new Error(buildMessage(messages.InvalidPublishableKeyErrorMessage, params));\n },\n\n throwInvalidProxyUrl(params: { url?: string }): never {\n throw new Error(buildMessage(messages.InvalidProxyUrlErrorMessage, params));\n },\n\n throwMissingPublishableKeyError(): never {\n throw new Error(buildMessage(messages.MissingPublishableKeyErrorMessage));\n },\n\n throwMissingSecretKeyError(): never {\n throw new Error(buildMessage(messages.MissingSecretKeyErrorMessage));\n },\n\n throwMissingClerkProviderError(params: { source?: string }): never {\n throw new Error(buildMessage(messages.MissingClerkProvider, params));\n },\n\n throw(message: string): never {\n throw new Error(buildMessage(message));\n },\n };\n}\n","export class EmailLinkError extends Error {\n code: string;\n\n constructor(code: string) {\n super(code);\n this.code = code;\n this.name = 'EmailLinkError' as const;\n Object.setPrototypeOf(this, EmailLinkError.prototype);\n }\n}\n\n/**\n * @deprecated Use `EmailLinkErrorCodeStatus` instead.\n *\n * @internal\n */\nexport const EmailLinkErrorCode = {\n Expired: 'expired',\n Failed: 'failed',\n ClientMismatch: 'client_mismatch',\n};\n\nexport const EmailLinkErrorCodeStatus = {\n Expired: 'expired',\n Failed: 'failed',\n ClientMismatch: 'client_mismatch',\n} as const;\n","import type { ClerkErrorParams } from './clerkError';\nimport { ClerkError } from './clerkError';\nimport { createErrorTypeGuard } from './createErrorTypeGuard';\n\ntype ClerkRuntimeErrorOptions = Omit<ClerkErrorParams, 'message'>;\n\n/**\n * Custom error class for representing Clerk runtime errors.\n *\n * @class ClerkRuntimeError\n *\n * @example\n * throw new ClerkRuntimeError('An error occurred', { code: 'password_invalid' });\n */\nexport class ClerkRuntimeError extends ClerkError {\n static kind = 'ClerkRuntimeError';\n /**\n * @deprecated Use `clerkError` property instead. This property is maintained for backward compatibility.\n */\n readonly clerkRuntimeError = true as const;\n\n constructor(message: string, options: ClerkRuntimeErrorOptions) {\n super({ ...options, message });\n Object.setPrototypeOf(this, ClerkRuntimeError.prototype);\n }\n}\n\n/**\n * Type guard to check if an error is a ClerkRuntimeError.\n * Can be called as a standalone function or as a method on an error object.\n *\n * @example\n * // As a standalone function\n * if (isClerkRuntimeError(error)) { ... }\n *\n * // As a method (when attached to error object)\n * if (error.isClerkRuntimeError()) { ... }\n */\nexport const isClerkRuntimeError = createErrorTypeGuard(ClerkRuntimeError);\n","import { ClerkRuntimeError } from './clerkRuntimeError';\n\ntype ClerkWebAuthnErrorCode =\n // Generic\n | 'passkey_not_supported'\n | 'passkey_pa_not_supported'\n | 'passkey_invalid_rpID_or_domain'\n | 'passkey_already_exists'\n | 'passkey_operation_aborted'\n // Retrieval\n | 'passkey_retrieval_cancelled'\n | 'passkey_retrieval_failed'\n // Registration\n | 'passkey_registration_cancelled'\n | 'passkey_registration_failed';\n\nexport class ClerkWebAuthnError extends ClerkRuntimeError {\n /**\n * A unique code identifying the error, can be used for localization.\n */\n code: ClerkWebAuthnErrorCode;\n\n constructor(message: string, { code }: { code: ClerkWebAuthnErrorCode }) {\n super(message, { code });\n this.code = code;\n }\n}\n","import type { ClerkAPIResponseError } from './clerkApiResponseError';\nimport { isClerkAPIResponseError } from './clerkApiResponseError';\nimport type { ClerkRuntimeError } from './clerkRuntimeError';\nimport { isClerkRuntimeError } from './clerkRuntimeError';\nimport type { EmailLinkError } from './emailLinkError';\nimport type { MetamaskError } from './metamaskError';\n\n/**\n * Checks if the provided error object is an unauthorized error.\n *\n * @internal\n *\n * @deprecated This is no longer used, and will be removed in the next major version.\n */\nexport function isUnauthorizedError(e: any): boolean {\n const status = e?.status;\n const code = e?.errors?.[0]?.code;\n return code === 'authentication_invalid' && status === 401;\n}\n\n/**\n * Checks if the provided error object is a captcha error.\n *\n * @internal\n */\nexport function isCaptchaError(e: ClerkAPIResponseError): boolean {\n return ['captcha_invalid', 'captcha_not_enabled', 'captcha_missing_token'].includes(e.errors[0].code);\n}\n\n/**\n * Checks if the provided error is a 4xx error.\n *\n * @internal\n */\nexport function is4xxError(e: any): boolean {\n const status = e?.status;\n return !!status && status >= 400 && status < 500;\n}\n\n/**\n * Checks if the provided error is a network error.\n *\n * @internal\n */\nexport function isNetworkError(e: any): boolean {\n // TODO: revise during error handling epic\n const message = (`${e.message}${e.name}` || '').toLowerCase().replace(/\\s+/g, '');\n return message.includes('networkerror');\n}\n\n/**\n * Checks if the provided error is either a ClerkAPIResponseError, a ClerkRuntimeError, or a MetamaskError.\n *\n * @internal\n */\nexport function isKnownError(error: any): error is ClerkAPIResponseError | ClerkRuntimeError | MetamaskError {\n return isClerkAPIResponseError(error) || isMetamaskError(error) || isClerkRuntimeError(error);\n}\n\n/**\n * Checks if the provided error is a Clerk runtime error indicating a reverification was cancelled.\n *\n * @internal\n */\nexport function isReverificationCancelledError(err: any) {\n return isClerkRuntimeError(err) && err.code === 'reverification_cancelled';\n}\n\n/**\n * Checks if the provided error is a Metamask error.\n *\n * @internal\n */\nexport function isMetamaskError(err: any): err is MetamaskError {\n return 'code' in err && [4001, 32602, 32603].includes(err.code) && 'message' in err;\n}\n\n/**\n * Checks if the provided error is clerk api response error indicating a user is locked.\n *\n * @internal\n */\nexport function isUserLockedError(err: any) {\n return isClerkAPIResponseError(err) && err.errors?.[0]?.code === 'user_locked';\n}\n\n/**\n * Checks if the provided error is a clerk api response error indicating a password was pwned.\n *\n * @internal\n */\nexport function isPasswordPwnedError(err: any) {\n return isClerkAPIResponseError(err) && err.errors?.[0]?.code === 'form_password_pwned';\n}\n\n/**\n * Checks if the provided error is a clerk api response error indicating a password was compromised.\n *\n * @internal\n */\nexport function isPasswordCompromisedError(err: any) {\n return isClerkAPIResponseError(err) && err.errors?.[0]?.code === 'form_password_compromised';\n}\n\n/**\n * Checks if the provided error is an EmailLinkError.\n *\n * @internal\n */\nexport function isEmailLinkError(err: Error): err is EmailLinkError {\n return err.name === 'EmailLinkError';\n}\n","import { isClerkAPIResponseError } from './clerkApiResponseError';\nimport type { ClerkError } from './clerkError';\nimport { isClerkRuntimeError } from './clerkRuntimeError';\n\n/**\n * Creates a ClerkGlobalHookError object from a ClerkError instance.\n * It's a wrapper for all the different instances of Clerk errors that can\n * be returned when using Clerk hooks.\n */\nexport function createClerkGlobalHookError(error: ClerkError) {\n const predicates = {\n isClerkAPIResponseError,\n isClerkRuntimeError,\n } as const;\n\n for (const [name, fn] of Object.entries(predicates)) {\n Object.assign(error, { [name]: fn });\n }\n\n return error as ClerkError & typeof predicates;\n}\n\nexport type ClerkGlobalHookError = ReturnType<typeof createClerkGlobalHookError>;\n"],"mappings":"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"}
@@ -1,3 +1,3 @@
1
- import { ClerkAPIError, ClerkAPIResponseError, ClerkError, ClerkRuntimeError, createClerkGlobalHookError } from "./index-Bv-b2tpK.mjs";
2
- import { ClerkWebAuthnError, EmailLinkError, EmailLinkErrorCode, EmailLinkErrorCodeStatus, ErrorThrower, ErrorThrowerOptions, MetamaskError, buildErrorThrower, errorToJSON, is4xxError, isCaptchaError, isClerkAPIResponseError, isClerkRuntimeError, isEmailLinkError, isKnownError, isMetamaskError, isNetworkError, isPasswordCompromisedError, isPasswordPwnedError, isReverificationCancelledError, isUnauthorizedError, isUserLockedError, parseError, parseErrors } from "./error-Br-YqsCJ.mjs";
3
- export { ClerkAPIError, ClerkAPIResponseError, ClerkError, ClerkRuntimeError, ClerkWebAuthnError, EmailLinkError, EmailLinkErrorCode, EmailLinkErrorCodeStatus, ErrorThrower, ErrorThrowerOptions, MetamaskError, buildErrorThrower, createClerkGlobalHookError, errorToJSON, is4xxError, isCaptchaError, isClerkAPIResponseError, isClerkRuntimeError, isEmailLinkError, isKnownError, isMetamaskError, isNetworkError, isPasswordCompromisedError, isPasswordPwnedError, isReverificationCancelledError, isUnauthorizedError, isUserLockedError, parseError, parseErrors };
1
+ import { ClerkAPIError, ClerkAPIResponseError, ClerkError, ClerkRuntimeError, createClerkGlobalHookError, isClerkAPIError, isClerkAPIResponseError, isClerkError, isClerkRuntimeError } from "./index-DYtkcqA3.mjs";
2
+ import { ClerkWebAuthnError, EmailLinkError, EmailLinkErrorCode, EmailLinkErrorCodeStatus, ErrorThrower, ErrorThrowerOptions, MetamaskError, buildErrorThrower, errorToJSON, is4xxError, isCaptchaError, isEmailLinkError, isKnownError, isMetamaskError, isNetworkError, isPasswordCompromisedError, isPasswordPwnedError, isReverificationCancelledError, isUnauthorizedError, isUserLockedError, parseError, parseErrors } from "./error-CGv_4FAo.mjs";
3
+ export { ClerkAPIError, ClerkAPIResponseError, ClerkError, ClerkRuntimeError, ClerkWebAuthnError, EmailLinkError, EmailLinkErrorCode, EmailLinkErrorCodeStatus, ErrorThrower, ErrorThrowerOptions, MetamaskError, buildErrorThrower, createClerkGlobalHookError, errorToJSON, is4xxError, isCaptchaError, isClerkAPIError, isClerkAPIResponseError, isClerkError, isClerkRuntimeError, isEmailLinkError, isKnownError, isMetamaskError, isNetworkError, isPasswordCompromisedError, isPasswordPwnedError, isReverificationCancelledError, isUnauthorizedError, isUserLockedError, parseError, parseErrors };
@@ -1,3 +1,3 @@
1
- import { ClerkAPIError, ClerkAPIResponseError, ClerkError, ClerkRuntimeError, createClerkGlobalHookError } from "./index-DdjCCA79.js";
2
- import { ClerkWebAuthnError, EmailLinkError, EmailLinkErrorCode, EmailLinkErrorCodeStatus, ErrorThrower, ErrorThrowerOptions, MetamaskError, buildErrorThrower, errorToJSON, is4xxError, isCaptchaError, isClerkAPIResponseError, isClerkRuntimeError, isEmailLinkError, isKnownError, isMetamaskError, isNetworkError, isPasswordCompromisedError, isPasswordPwnedError, isReverificationCancelledError, isUnauthorizedError, isUserLockedError, parseError, parseErrors } from "./error-DoMi9mmc.js";
3
- export { ClerkAPIError, ClerkAPIResponseError, ClerkError, ClerkRuntimeError, ClerkWebAuthnError, EmailLinkError, EmailLinkErrorCode, EmailLinkErrorCodeStatus, ErrorThrower, ErrorThrowerOptions, MetamaskError, buildErrorThrower, createClerkGlobalHookError, errorToJSON, is4xxError, isCaptchaError, isClerkAPIResponseError, isClerkRuntimeError, isEmailLinkError, isKnownError, isMetamaskError, isNetworkError, isPasswordCompromisedError, isPasswordPwnedError, isReverificationCancelledError, isUnauthorizedError, isUserLockedError, parseError, parseErrors };
1
+ import { ClerkAPIError, ClerkAPIResponseError, ClerkError, ClerkRuntimeError, createClerkGlobalHookError, isClerkAPIError, isClerkAPIResponseError, isClerkError, isClerkRuntimeError } from "./index-CPc_EgSw.js";
2
+ import { ClerkWebAuthnError, EmailLinkError, EmailLinkErrorCode, EmailLinkErrorCodeStatus, ErrorThrower, ErrorThrowerOptions, MetamaskError, buildErrorThrower, errorToJSON, is4xxError, isCaptchaError, isEmailLinkError, isKnownError, isMetamaskError, isNetworkError, isPasswordCompromisedError, isPasswordPwnedError, isReverificationCancelledError, isUnauthorizedError, isUserLockedError, parseError, parseErrors } from "./error-BnX8aVrJ.js";
3
+ export { ClerkAPIError, ClerkAPIResponseError, ClerkError, ClerkRuntimeError, ClerkWebAuthnError, EmailLinkError, EmailLinkErrorCode, EmailLinkErrorCodeStatus, ErrorThrower, ErrorThrowerOptions, MetamaskError, buildErrorThrower, createClerkGlobalHookError, errorToJSON, is4xxError, isCaptchaError, isClerkAPIError, isClerkAPIResponseError, isClerkError, isClerkRuntimeError, isEmailLinkError, isKnownError, isMetamaskError, isNetworkError, isPasswordCompromisedError, isPasswordPwnedError, isReverificationCancelledError, isUnauthorizedError, isUserLockedError, parseError, parseErrors };
@@ -1,4 +1,4 @@
1
- const require_error = require('./error-CzUWlI0-.js');
1
+ const require_error = require('./error-D39v7XzC.js');
2
2
 
3
3
  exports.ClerkAPIError = require_error.ClerkAPIError;
4
4
  exports.ClerkAPIResponseError = require_error.ClerkAPIResponseError;
@@ -13,7 +13,9 @@ exports.createClerkGlobalHookError = require_error.createClerkGlobalHookError;
13
13
  exports.errorToJSON = require_error.errorToJSON;
14
14
  exports.is4xxError = require_error.is4xxError;
15
15
  exports.isCaptchaError = require_error.isCaptchaError;
16
+ exports.isClerkAPIError = require_error.isClerkAPIError;
16
17
  exports.isClerkAPIResponseError = require_error.isClerkAPIResponseError;
18
+ exports.isClerkError = require_error.isClerkError;
17
19
  exports.isClerkRuntimeError = require_error.isClerkRuntimeError;
18
20
  exports.isEmailLinkError = require_error.isEmailLinkError;
19
21
  exports.isKnownError = require_error.isKnownError;
@@ -1,3 +1,3 @@
1
- import { ClerkAPIError, ClerkAPIResponseError, ClerkError, ClerkRuntimeError, ClerkWebAuthnError, EmailLinkError, EmailLinkErrorCode, EmailLinkErrorCodeStatus, buildErrorThrower, createClerkGlobalHookError, errorToJSON, is4xxError, isCaptchaError, isClerkAPIResponseError, isClerkRuntimeError, isEmailLinkError, isKnownError, isMetamaskError, isNetworkError, isPasswordCompromisedError, isPasswordPwnedError, isReverificationCancelledError, isUnauthorizedError, isUserLockedError, parseError, parseErrors } from "./error-CC05ENkI.mjs";
1
+ import { ClerkAPIError, ClerkAPIResponseError, ClerkError, ClerkRuntimeError, ClerkWebAuthnError, EmailLinkError, EmailLinkErrorCode, EmailLinkErrorCodeStatus, buildErrorThrower, createClerkGlobalHookError, errorToJSON, is4xxError, isCaptchaError, isClerkAPIError, isClerkAPIResponseError, isClerkError, isClerkRuntimeError, isEmailLinkError, isKnownError, isMetamaskError, isNetworkError, isPasswordCompromisedError, isPasswordPwnedError, isReverificationCancelledError, isUnauthorizedError, isUserLockedError, parseError, parseErrors } from "./error-BM5ymPR0.mjs";
2
2
 
3
- export { ClerkAPIError, ClerkAPIResponseError, ClerkError, ClerkRuntimeError, ClerkWebAuthnError, EmailLinkError, EmailLinkErrorCode, EmailLinkErrorCodeStatus, buildErrorThrower, createClerkGlobalHookError, errorToJSON, is4xxError, isCaptchaError, isClerkAPIResponseError, isClerkRuntimeError, isEmailLinkError, isKnownError, isMetamaskError, isNetworkError, isPasswordCompromisedError, isPasswordPwnedError, isReverificationCancelledError, isUnauthorizedError, isUserLockedError, parseError, parseErrors };
3
+ export { ClerkAPIError, ClerkAPIResponseError, ClerkError, ClerkRuntimeError, ClerkWebAuthnError, EmailLinkError, EmailLinkErrorCode, EmailLinkErrorCodeStatus, buildErrorThrower, createClerkGlobalHookError, errorToJSON, is4xxError, isCaptchaError, isClerkAPIError, isClerkAPIResponseError, isClerkError, isClerkRuntimeError, isEmailLinkError, isKnownError, isMetamaskError, isNetworkError, isPasswordCompromisedError, isPasswordPwnedError, isReverificationCancelledError, isUnauthorizedError, isUserLockedError, parseError, parseErrors };
@@ -3214,6 +3214,10 @@ declare class ClerkError extends Error {
3214
3214
  toString(): string;
3215
3215
  protected static formatMessage(name: string, msg: string, code: string, docsUrl: string | undefined): string;
3216
3216
  }
3217
+ /**
3218
+ * Type guard to check if a value is a ClerkError instance.
3219
+ */
3220
+ declare function isClerkError(val: unknown): val is ClerkError;
3217
3221
  //#endregion
3218
3222
  //#region src/types/signInFuture.d.ts
3219
3223
  interface SignInFutureCreateParams {
@@ -7567,6 +7571,10 @@ type __internal_LocalizationResource = {
7567
7571
  action__createOrganization: LocalizationValue;
7568
7572
  action__invitationAccept: LocalizationValue;
7569
7573
  };
7574
+ organizationCreationDisabled: {
7575
+ title: LocalizationValue;
7576
+ subtitle: LocalizationValue;
7577
+ };
7570
7578
  };
7571
7579
  taskResetPassword: {
7572
7580
  title: LocalizationValue;
@@ -7691,11 +7699,11 @@ type UnstableErrors = WithParamName<{
7691
7699
  }>;
7692
7700
  //#endregion
7693
7701
  //#region src/errors/clerkApiError.d.ts
7694
- type ClerkApiErrorMeta = Record<string, unknown>;
7702
+ type ClerkAPIErrorMeta = Record<string, unknown>;
7695
7703
  /**
7696
7704
  * This error contains the specific error message, code, and any additional metadata that was returned by the Clerk API.
7697
7705
  */
7698
- declare class ClerkAPIError<Meta extends ClerkApiErrorMeta = any> implements ClerkAPIError$1 {
7706
+ declare class ClerkAPIError<Meta extends ClerkAPIErrorMeta = any> implements ClerkAPIError$1 {
7699
7707
  static kind: string;
7700
7708
  readonly code: string;
7701
7709
  readonly message: string;
@@ -7703,6 +7711,13 @@ declare class ClerkAPIError<Meta extends ClerkApiErrorMeta = any> implements Cle
7703
7711
  readonly meta: Meta;
7704
7712
  constructor(json: ClerkAPIErrorJSON);
7705
7713
  }
7714
+ /**
7715
+ * Type guard to check if a value is a ClerkAPIError instance.
7716
+ */
7717
+ declare const isClerkAPIError: {
7718
+ (error: unknown): error is ClerkAPIError<ClerkAPIErrorMeta>;
7719
+ (this: unknown): this is ClerkAPIError<ClerkAPIErrorMeta>;
7720
+ };
7706
7721
  //#endregion
7707
7722
  //#region src/errors/clerkApiResponseError.d.ts
7708
7723
  interface ClerkAPIResponseOptions extends Omit<ClerkErrorParams, 'message' | 'code'> {
@@ -7721,6 +7736,21 @@ declare class ClerkAPIResponseError$1 extends ClerkError implements ClerkAPIResp
7721
7736
  toString(): string;
7722
7737
  protected static formatMessage(name: string, msg: string, _: string, __: string | undefined): string;
7723
7738
  }
7739
+ /**
7740
+ * Type guard to check if an error is a ClerkAPIResponseError.
7741
+ * Can be called as a standalone function or as a method on an error object.
7742
+ *
7743
+ * @example
7744
+ * // As a standalone function
7745
+ * if (isClerkAPIResponseError(error)) { ... }
7746
+ *
7747
+ * // As a method (when attached to error object)
7748
+ * if (error.isClerkAPIResponseError()) { ... }
7749
+ */
7750
+ declare const isClerkAPIResponseError: {
7751
+ (error: unknown): error is ClerkAPIResponseError$1;
7752
+ (this: unknown): this is ClerkAPIResponseError$1;
7753
+ };
7724
7754
  //#endregion
7725
7755
  //#region src/errors/clerkRuntimeError.d.ts
7726
7756
  type ClerkRuntimeErrorOptions = Omit<ClerkErrorParams, 'message'>;
@@ -7740,6 +7770,21 @@ declare class ClerkRuntimeError extends ClerkError {
7740
7770
  readonly clerkRuntimeError: true;
7741
7771
  constructor(message: string, options: ClerkRuntimeErrorOptions);
7742
7772
  }
7773
+ /**
7774
+ * Type guard to check if an error is a ClerkRuntimeError.
7775
+ * Can be called as a standalone function or as a method on an error object.
7776
+ *
7777
+ * @example
7778
+ * // As a standalone function
7779
+ * if (isClerkRuntimeError(error)) { ... }
7780
+ *
7781
+ * // As a method (when attached to error object)
7782
+ * if (error.isClerkRuntimeError()) { ... }
7783
+ */
7784
+ declare const isClerkRuntimeError: {
7785
+ (error: unknown): error is ClerkRuntimeError;
7786
+ (this: unknown): this is ClerkRuntimeError;
7787
+ };
7743
7788
  //#endregion
7744
7789
  //#region src/errors/globalHookError.d.ts
7745
7790
  /**
@@ -7748,7 +7793,7 @@ declare class ClerkRuntimeError extends ClerkError {
7748
7793
  * be returned when using Clerk hooks.
7749
7794
  */
7750
7795
  declare function createClerkGlobalHookError(error: ClerkError): ClerkError & {
7751
- readonly isClerkApiResponseError: {
7796
+ readonly isClerkAPIResponseError: {
7752
7797
  (error: unknown): error is ClerkAPIResponseError$1;
7753
7798
  (this: unknown): this is ClerkAPIResponseError$1;
7754
7799
  };
@@ -10558,5 +10603,5 @@ type InitialState = Serializable<{
10558
10603
  factorVerificationAge: [number, number];
10559
10604
  }>;
10560
10605
  //#endregion
10561
- export { APIKeyResource, APIKeysNamespace, APIKeysProps, APIKeysSettingsJSON, APIKeysSettingsJSONSnapshot, APIKeysSettingsResource, APIKeysTheme, ActClaim, ActJWTClaim, Actions, ActiveSessionResource, AddMemberParams, AddPaymentMethodParams, AfterMultiSessionSingleSignOutUrl, AfterSignOutUrl, AlertId, AlphaColorScale, ApiKeyJSON, Appearance, AppleIdTokenStrategy, AppleOauthProvider, AtlassianOauthProvider, AttemptAffiliationVerificationParams, AttemptEmailAddressVerificationParams, AttemptFirstFactorParams, AttemptPhoneNumberVerificationParams, AttemptSecondFactorParams, AttemptVerificationParams, AttemptWeb3WalletVerificationParams, Attribute, AttributeData, AttributeDataJSON, Attributes, AttributesJSON, AuthConfigJSON, AuthConfigJSONSnapshot, AuthConfigResource, AuthenticateWithBaseParams, AuthenticateWithCoinbaseWalletParams, AuthenticateWithGoogleOneTapParams, AuthenticateWithMetamaskParams, AuthenticateWithOKXWalletParams, AuthenticateWithPasskeyParams, AuthenticateWithPopupParams, AuthenticateWithRedirectParams, AuthenticateWithSolanaParams, AuthenticateWithWeb3Params, Autocomplete, BackupCodeAttempt, BackupCodeFactor, BackupCodeJSON, BackupCodeResource, BackupCodeStrategy, BaseTheme, BaseThemeTaggedType, BaseWeb3Provider, BeforeEmitCallback, BillingCheckoutJSON, BillingCheckoutResource, BillingCheckoutTotals, BillingCheckoutTotalsJSON, BillingInitializedPaymentMethodJSON, BillingInitializedPaymentMethodResource, BillingMoneyAmount, BillingMoneyAmountJSON, BillingNamespace, BillingPayerJSON, BillingPayerMethods, BillingPayerResource, BillingPayerResourceType, BillingPaymentChargeType, BillingPaymentJSON, BillingPaymentMethodJSON, BillingPaymentMethodResource, BillingPaymentMethodStatus, BillingPaymentResource, BillingPaymentStatus, BillingPlanJSON, BillingPlanResource, BillingStatementGroup, BillingStatementGroupJSON, BillingStatementJSON, BillingStatementResource, BillingStatementStatus, BillingStatementTotals, BillingStatementTotalsJSON, BillingSubscriptionItemJSON, BillingSubscriptionItemResource, BillingSubscriptionJSON, BillingSubscriptionPlanPeriod, BillingSubscriptionResource, BillingSubscriptionStatus, BitbucketOauthProvider, BoxOauthProvider, BoxShadow, BuiltInColors, CamelToSnake, CancelSubscriptionParams, CaptchaAppearanceOptions, CaptchaProvider, CaptchaWidgetType, CardActionId, CheckAuthorization, CheckAuthorizationFn, CheckAuthorizationFromSessionClaims, CheckAuthorizationParamsFromSessionClaims, CheckAuthorizationParamsWithCustomPermissions, CheckAuthorizationWithCustomPermissions, CheckoutTheme, Clerk, ClerkAPIError, ClerkAPIError$1, ClerkAPIErrorJSON, ClerkAPIResponseError$1 as ClerkAPIResponseError, ClerkAPIResponseError as ClerkAPIResponseError$1, ClerkAuthenticateWithWeb3Params, ClerkError, ClerkEventPayload, ClerkHostRouter, ClerkJWTClaims, ClerkOptions, ClerkPaginatedResponse, ClerkPaginationParams, ClerkPaginationRequest, ClerkResource, ClerkResourceJSON, ClerkResourceReloadParams, ClerkRuntimeError, ClerkRuntimeError$1, ClerkStatus, ClerkThemeOptions, ClientJSON, ClientJSONSnapshot, ClientResource, ClientTrustState, CodeVerificationAttemptParam, CoinbaseOauthProvider, CoinbaseWalletWeb3Provider, Color, ColorScale, ColorScaleWithRequiredBase, ColorString, CommerceSettingsJSON, CommerceSettingsJSONSnapshot, CommerceSettingsResource, ComplexityErrors, ConfirmCheckoutParams, CreateAPIKeyParams, CreateBulkOrganizationInvitationParams, CreateCheckoutParams, CreateEmailAddressParams, CreateEmailLinkFlowReturn, CreateEnterpriseSSOLinkFlowReturn, CreateExternalAccountParams, CreateOrganizationInvitationParams, CreateOrganizationModalProps, CreateOrganizationParams, CreateOrganizationProps, CreateOrganizationTheme, CreatePhoneNumberParams, CreateWeb3WalletParams, CredentialReturn, CssColorOrAlphaScale, CssColorOrScale, CustomMenuItem, CustomNavigation, CustomOAuthStrategy, CustomOauthProvider, CustomPage, DeepCamelToSnake, DeepPartial, DeepRequired, DeepSnakeToCamel, DeletedObjectJSON, DeletedObjectResource, DevToolsResource, DiscordOauthProvider, DisplayConfigJSON, DisplayConfigJSONSnapshot, DisplayConfigResource, DisplayThemeJSON, DomainOrProxyUrl, DropboxOauthProvider, ElementObjectKey, ElementState, Elements, ElementsConfig, EmUnit, EmailAddressIdentifier, EmailAddressJSON, EmailAddressJSONSnapshot, EmailAddressOrPhoneNumberIdentifier, EmailAddressResource, EmailCodeAttempt, EmailCodeConfig, EmailCodeFactor, EmailCodeSecondFactorConfig, EmailCodeStrategy, EmailLinkConfig, EmailLinkFactor, EmailLinkStrategy, EnableEnvironmentSettingParams, EnableOrganizationsTheme, EnstallOauthProvider, EnterpriseAccountConnectionJSON, EnterpriseAccountConnectionJSONSnapshot, EnterpriseAccountConnectionResource, EnterpriseAccountJSON, EnterpriseAccountJSONSnapshot, EnterpriseAccountResource, EnterpriseProtocol, EnterpriseProvider, EnterpriseSSOConfig, EnterpriseSSOFactor, EnterpriseSSOSettings, EnterpriseSSOStrategy, EnvironmentJSON, EnvironmentJSONSnapshot, EnvironmentResource, Errors, EthereumWeb3Provider, ExternalAccountJSON, ExternalAccountJSONSnapshot, ExternalAccountResource, FacebookOauthProvider, FeatureJSON, FeatureResource, FieldError, FieldId, FirstNameAttribute, FontFamily, FontWeight, ForPayerType, GenerateSignature, GenerateSignatureParams, GetAPIKeysParams, GetDomainsParams, GetInvitationsParams, GetMembersParams, GetMembershipRequestParams, GetMemberships, GetOrganizationMemberships, GetPaymentAttemptsParams, GetPaymentMethodsParams, GetPlansParams, GetRolesParams, GetStatementsParams, GetSubscriptionParams, GetToken, GetTokenOptions, GetUserOrganizationInvitationsParams, GetUserOrganizationMembershipParams, GetUserOrganizationSuggestionsParams, GithubOauthProvider, GitlabOauthProvider, GoogleOauthProvider, GoogleOneTapProps, GoogleOneTapStrategy, HandleEmailLinkVerificationParams, HandleOAuthCallbackParams, HandleSamlCallbackParams, HexColor, HexColorString, HslaColor, HslaColorString, HubspotOauthProvider, HuggingfaceOAuthProvider, IdSelectors, IdentificationLinkJSON, IdentificationLinkJSONSnapshot, IdentificationLinkResource, ImageJSON, ImageResource, InitialState, InitializePaymentMethodParams, InstagramOauthProvider, InstanceType, InviteMemberParams, InviteMembersParams, JWT, JWTClaims, JWTHeader, JoinWaitlistParams, Jwt, JwtHeader, JwtPayload, LastAuthenticationStrategy, LastNameAttribute, Layout, LegacyRedirectProps, LegalAcceptedAttribute, LineOauthProvider, LinearOauthProvider, LinkedinOIDCOauthProvider, LinkedinOauthProvider, ListenerCallback, LoadedClerk, LocalizationResource, LocalizationValue, MakeDefaultPaymentMethodParams, MenuId, MetamaskWeb3Provider, MicrosoftOauthProvider, MultiDomainAndOrProxy, MultiDomainAndOrProxyPrimitives, NavigateOptions, NewSubscriptionRedirectUrl, NotionOauthProvider, Nullable, NullableSignInSignal, NullableSignUpSignal, OAUTH_PROVIDERS, OAuthConfig, OAuthConsentTheme, OAuthProvider, OAuthProviderData, OAuthProviderSettings, OAuthProviders, OAuthScope, OAuthStrategy, OKXWalletWeb3Provider, OauthFactor, OrganizationCustomPermissionKey, OrganizationCustomRoleKey, OrganizationDomainJSON, OrganizationDomainResource, OrganizationDomainVerification, OrganizationDomainVerificationJSON, OrganizationDomainVerificationStatus, OrganizationEnrollmentMode, OrganizationInvitationJSON, OrganizationInvitationResource, OrganizationInvitationStatus, OrganizationJSON, OrganizationJSONSnapshot, OrganizationListProps, OrganizationListTheme, OrganizationMembershipJSON, OrganizationMembershipJSONSnapshot, OrganizationMembershipRequestJSON, OrganizationMembershipRequestResource, OrganizationMembershipResource, OrganizationPermissionKey, OrganizationPreviewId, OrganizationProfileModalProps, OrganizationProfileProps, OrganizationProfileTheme, OrganizationResource, OrganizationSettingsJSON, OrganizationSettingsJSONSnapshot, OrganizationSettingsResource, OrganizationSuggestionJSON, OrganizationSuggestionResource, OrganizationSuggestionStatus, OrganizationSwitcherProps, OrganizationSwitcherTheme, OrganizationSystemPermissionKey, OrganizationSystemPermissionPrefix, OrganizationsJWTClaim, Override, PartialWithClerkResource, PassKeyConfig, PasskeyAttempt, PasskeyFactor, PasskeyJSON, PasskeyJSONSnapshot, PasskeyResource, PasskeySettingsData, PasskeyStrategy, PasskeyVerificationResource, PasswordAttempt, PasswordAttribute, PasswordFactor, PasswordSettingsData, PasswordStrategy, PasswordStrength, PasswordValidation, PathValue, PaymentGateway, PendingSessionOptions, PendingSessionResource, PermissionJSON, PermissionResource, PhoneCodeAttempt, PhoneCodeChannel, PhoneCodeChannelData, PhoneCodeConfig, PhoneCodeFactor, PhoneCodeProvider, PhoneCodeSMSChannel, PhoneCodeSecondFactorConfig, PhoneCodeStrategy, PhoneCodeWhatsAppChannel, PhoneNumberIdentifier, PhoneNumberJSON, PhoneNumberJSONSnapshot, PhoneNumberResource, PhoneNumberVerificationStrategy, PlanDetailTheme, PreferredSignInStrategy, PrepareAffiliationVerificationParams, PrepareEmailAddressVerificationParams, PrepareFirstFactorParams, PreparePhoneNumberVerificationParams, PrepareSecondFactorParams, PrepareVerificationParams, PrepareWeb3WalletVerificationParams, PricingTableProps, PricingTableTheme, ProfilePageId, ProfileSectionId, ProtectConfigJSON, ProtectConfigJSONSnapshot, ProtectConfigResource, ProtectLoader, ProtectProps, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialCreationOptionsWithoutExtensions, PublicKeyCredentialRequestOptionsJSON, PublicKeyCredentialRequestOptionsWithoutExtensions, PublicKeyCredentialWithAuthenticatorAssertionResponse, PublicKeyCredentialWithAuthenticatorAttestationResponse, PublicOrganizationDataJSON, PublicUserData, PublicUserDataJSON, PublicUserDataJSONSnapshot, PublishableKey, ReauthorizeExternalAccountParams, RecordToPath, RedirectOptions, RedirectUrlProp, RemovePaymentMethodParams, RemoveUserPasswordParams, ResetPasswordCodeFactor, ResetPasswordEmailCodeAttempt, ResetPasswordEmailCodeFactor, ResetPasswordEmailCodeFactorConfig, ResetPasswordEmailCodeStrategy, ResetPasswordParams, ResetPasswordPhoneCodeAttempt, ResetPasswordPhoneCodeFactor, ResetPasswordPhoneCodeFactorConfig, ResetPasswordPhoneCodeStrategy, Resources, ReverificationConfig, RevokeAPIKeyParams, RgbaColor, RgbaColorString, RoleJSON, RoleResource, RoutingMode, RoutingOptions, RoutingStrategy, SAML_IDPS, SDKMetadata, SamlAccountConnectionJSON, SamlAccountConnectionJSONSnapshot, SamlAccountConnectionResource, SamlAccountJSON, SamlAccountJSONSnapshot, SamlAccountResource, SamlConfig, SamlFactor, SamlIdp, SamlIdpMap, SamlIdpSlug, SamlSettings, SamlStrategy, SelectId, Serializable, ServerGetToken, ServerGetTokenOptions, SessionActivity, SessionActivityJSON, SessionJSON, SessionJSONSnapshot, SessionResource, SessionStatus, SessionStatusClaim, SessionTask, SessionVerificationAfterMinutes, SessionVerificationFirstFactor, SessionVerificationJSON, SessionVerificationLevel, SessionVerificationResource, SessionVerificationSecondFactor, SessionVerificationStatus, SessionVerificationTypes, SessionVerifyAttemptFirstFactorParams, SessionVerifyAttemptSecondFactorParams, SessionVerifyCreateParams, SessionVerifyPrepareFirstFactorParams, SessionVerifyPrepareSecondFactorParams, SessionWithActivitiesJSON, SessionWithActivitiesResource, SetActive, SetActiveNavigate, SetActiveParams, SetOrganizationLogoParams, SetProfileImageParams, SetReservedForSecondFactorParams, SharedSignedInAuthObjectProperties, SignInAuthenticateWithSolanaParams, SignInButtonProps, SignInCreateParams, SignInData, SignInErrors, SignInFactor, SignInFallbackRedirectUrl, SignInFields, SignInFirstFactor, SignInFirstFactorJSON, SignInForceRedirectUrl, SignInFutureBackupCodeVerifyParams, SignInFutureCreateParams, SignInFutureEmailCodeSendParams, SignInFutureEmailCodeVerifyParams, SignInFutureEmailLinkSendParams, SignInFutureFinalizeParams, SignInFutureMFAPhoneCodeVerifyParams, SignInFuturePasskeyParams, SignInFuturePasswordParams, SignInFuturePhoneCodeSendParams, SignInFuturePhoneCodeVerifyParams, SignInFutureResetPasswordSubmitParams, SignInFutureResource, SignInFutureSSOParams, SignInFutureTOTPVerifyParams, SignInFutureTicketParams, SignInFutureWeb3Params, SignInIdentifier, SignInInitialValues, SignInJSON, SignInJSONSnapshot, SignInModalProps, SignInProps, SignInRedirectOptions, SignInResource, SignInSecondFactor, SignInSecondFactorJSON, SignInSignal, SignInSignalValue, SignInStartEmailLinkFlowParams, SignInStatus, SignInStrategy, SignInTheme, SignOut, SignOutCallback, SignOutOptions, SignUpAttributeField, SignUpAuthenticateWithMetamaskParams, SignUpAuthenticateWithSolanaParams, SignUpAuthenticateWithWeb3Params, SignUpButtonProps, SignUpCreateParams, SignUpData, SignUpEnterpriseConnectionJSON, SignUpEnterpriseConnectionResource, SignUpErrors, SignUpFallbackRedirectUrl, SignUpField, SignUpFields, SignUpForceRedirectUrl, SignUpFutureCreateParams, SignUpFutureEmailCodeVerifyParams, SignUpFutureFinalizeParams, SignUpFuturePasswordParams, SignUpFuturePhoneCodeSendParams, SignUpFuturePhoneCodeVerifyParams, SignUpFutureResource, SignUpFutureSSOParams, SignUpFutureTicketParams, SignUpFutureUpdateParams, SignUpFutureWeb3Params, SignUpIdentificationField, SignUpInitialValues, SignUpJSON, SignUpJSONSnapshot, SignUpModalProps, SignUpModes, SignUpProps, SignUpRedirectOptions, SignUpResource, SignUpSignal, SignUpSignalValue, SignUpStatus, SignUpTheme, SignUpUpdateParams, SignUpVerifiableField, SignUpVerificationJSON, SignUpVerificationJSONSnapshot, SignUpVerificationResource, SignUpVerificationsJSON, SignUpVerificationsJSONSnapshot, SignUpVerificationsResource, SignatureVerificationAttemptParam, SignedInSessionResource, Simplify, SlackOauthProvider, SnakeToCamel, SolanaWeb3Provider, SpotifyOauthProvider, StartEmailLinkFlowParams, StartEnterpriseSSOLinkFlowParams, State, StateSelectors, SubscriptionDetailsTheme, TOTPAttempt, TOTPFactor, TOTPJSON, TOTPResource, TOTPStrategy, TaskChooseOrganizationProps, TaskChooseOrganizationTheme, TaskResetPasswordProps, TaskResetPasswordTheme, TasksRedirectOptions, TelemetryCollector, TelemetryEvent, TelemetryEventRaw, TelemetryLogEntry, Theme, TicketStrategy, TiktokOauthProvider, TokenJSON, TokenJSONSnapshot, TokenResource, TransferableOption, TransparentColor, TwitchOauthProvider, TwitterOauthProvider, UnsubscribeCallback, UpdateEnrollmentModeParams, UpdateMembershipParams, UpdateOrganizationMembershipParams, UpdateOrganizationParams, UpdatePasskeyParams, UpdateUserParams, UpdateUserPasswordParams, UseAuthReturn, UseSessionListReturn, UseSessionReturn, UseSignInReturn, UseSignUpReturn, UseUserReturn, UserAvatarProps, UserAvatarTheme, UserButtonProps, UserButtonTheme, UserData, UserDataJSON, UserDataJSONSnapshot, UserJSON, UserJSONSnapshot, UserOrganizationInvitationJSON, UserOrganizationInvitationResource, UserPreviewId, UserProfileModalProps, UserProfileProps, UserProfileTheme, UserResource, UserSettingsJSON, UserSettingsJSONSnapshot, UserSettingsResource, UserVerificationTheme, UsernameIdentifier, UsernameSettingsData, ValidatePasswordCallbacks, Variables, VercelOauthProvider, VerificationAttemptParams, VerificationJSON, VerificationJSONSnapshot, VerificationResource, VerificationStatus, VerificationStrategy, VerifyTOTPParams, VersionedJwtPayload, WEB3_PROVIDERS, WaitlistJSON, WaitlistModalProps, WaitlistProps, WaitlistResource, WaitlistTheme, Web3Attempt, Web3Provider, Web3ProviderData, Web3SignatureConfig, Web3SignatureFactor, Web3Strategy, Web3WalletIdentifier, Web3WalletJSON, Web3WalletJSONSnapshot, Web3WalletResource, Without, WithoutRouting, XOauthProvider, XeroOauthProvider, ZxcvbnResult, __experimental_CheckoutButtonProps, __experimental_CheckoutCacheState, __experimental_CheckoutInstance, __experimental_CheckoutOptions, __experimental_PlanDetailsButtonProps, __experimental_SubscriptionDetailsButtonProps, __internal_AttemptToEnableEnvironmentSettingParams, __internal_AttemptToEnableEnvironmentSettingResult, __internal_CheckoutProps, __internal_EnableOrganizationsPromptProps, __internal_LocalizationResource, __internal_OAuthConsentProps, __internal_PlanDetailsProps, __internal_SubscriptionDetailsProps, __internal_UserVerificationModalProps, __internal_UserVerificationProps, createClerkGlobalHookError, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
10562
- //# sourceMappingURL=index-Bv-b2tpK.d.mts.map
10606
+ export { APIKeyResource, APIKeysNamespace, APIKeysProps, APIKeysSettingsJSON, APIKeysSettingsJSONSnapshot, APIKeysSettingsResource, APIKeysTheme, ActClaim, ActJWTClaim, Actions, ActiveSessionResource, AddMemberParams, AddPaymentMethodParams, AfterMultiSessionSingleSignOutUrl, AfterSignOutUrl, AlertId, AlphaColorScale, ApiKeyJSON, Appearance, AppleIdTokenStrategy, AppleOauthProvider, AtlassianOauthProvider, AttemptAffiliationVerificationParams, AttemptEmailAddressVerificationParams, AttemptFirstFactorParams, AttemptPhoneNumberVerificationParams, AttemptSecondFactorParams, AttemptVerificationParams, AttemptWeb3WalletVerificationParams, Attribute, AttributeData, AttributeDataJSON, Attributes, AttributesJSON, AuthConfigJSON, AuthConfigJSONSnapshot, AuthConfigResource, AuthenticateWithBaseParams, AuthenticateWithCoinbaseWalletParams, AuthenticateWithGoogleOneTapParams, AuthenticateWithMetamaskParams, AuthenticateWithOKXWalletParams, AuthenticateWithPasskeyParams, AuthenticateWithPopupParams, AuthenticateWithRedirectParams, AuthenticateWithSolanaParams, AuthenticateWithWeb3Params, Autocomplete, BackupCodeAttempt, BackupCodeFactor, BackupCodeJSON, BackupCodeResource, BackupCodeStrategy, BaseTheme, BaseThemeTaggedType, BaseWeb3Provider, BeforeEmitCallback, BillingCheckoutJSON, BillingCheckoutResource, BillingCheckoutTotals, BillingCheckoutTotalsJSON, BillingInitializedPaymentMethodJSON, BillingInitializedPaymentMethodResource, BillingMoneyAmount, BillingMoneyAmountJSON, BillingNamespace, BillingPayerJSON, BillingPayerMethods, BillingPayerResource, BillingPayerResourceType, BillingPaymentChargeType, BillingPaymentJSON, BillingPaymentMethodJSON, BillingPaymentMethodResource, BillingPaymentMethodStatus, BillingPaymentResource, BillingPaymentStatus, BillingPlanJSON, BillingPlanResource, BillingStatementGroup, BillingStatementGroupJSON, BillingStatementJSON, BillingStatementResource, BillingStatementStatus, BillingStatementTotals, BillingStatementTotalsJSON, BillingSubscriptionItemJSON, BillingSubscriptionItemResource, BillingSubscriptionJSON, BillingSubscriptionPlanPeriod, BillingSubscriptionResource, BillingSubscriptionStatus, BitbucketOauthProvider, BoxOauthProvider, BoxShadow, BuiltInColors, CamelToSnake, CancelSubscriptionParams, CaptchaAppearanceOptions, CaptchaProvider, CaptchaWidgetType, CardActionId, CheckAuthorization, CheckAuthorizationFn, CheckAuthorizationFromSessionClaims, CheckAuthorizationParamsFromSessionClaims, CheckAuthorizationParamsWithCustomPermissions, CheckAuthorizationWithCustomPermissions, CheckoutTheme, Clerk, ClerkAPIError, ClerkAPIError$1, ClerkAPIErrorJSON, ClerkAPIResponseError$1 as ClerkAPIResponseError, ClerkAPIResponseError as ClerkAPIResponseError$1, ClerkAuthenticateWithWeb3Params, ClerkError, ClerkEventPayload, ClerkHostRouter, ClerkJWTClaims, ClerkOptions, ClerkPaginatedResponse, ClerkPaginationParams, ClerkPaginationRequest, ClerkResource, ClerkResourceJSON, ClerkResourceReloadParams, ClerkRuntimeError, ClerkRuntimeError$1, ClerkStatus, ClerkThemeOptions, ClientJSON, ClientJSONSnapshot, ClientResource, ClientTrustState, CodeVerificationAttemptParam, CoinbaseOauthProvider, CoinbaseWalletWeb3Provider, Color, ColorScale, ColorScaleWithRequiredBase, ColorString, CommerceSettingsJSON, CommerceSettingsJSONSnapshot, CommerceSettingsResource, ComplexityErrors, ConfirmCheckoutParams, CreateAPIKeyParams, CreateBulkOrganizationInvitationParams, CreateCheckoutParams, CreateEmailAddressParams, CreateEmailLinkFlowReturn, CreateEnterpriseSSOLinkFlowReturn, CreateExternalAccountParams, CreateOrganizationInvitationParams, CreateOrganizationModalProps, CreateOrganizationParams, CreateOrganizationProps, CreateOrganizationTheme, CreatePhoneNumberParams, CreateWeb3WalletParams, CredentialReturn, CssColorOrAlphaScale, CssColorOrScale, CustomMenuItem, CustomNavigation, CustomOAuthStrategy, CustomOauthProvider, CustomPage, DeepCamelToSnake, DeepPartial, DeepRequired, DeepSnakeToCamel, DeletedObjectJSON, DeletedObjectResource, DevToolsResource, DiscordOauthProvider, DisplayConfigJSON, DisplayConfigJSONSnapshot, DisplayConfigResource, DisplayThemeJSON, DomainOrProxyUrl, DropboxOauthProvider, ElementObjectKey, ElementState, Elements, ElementsConfig, EmUnit, EmailAddressIdentifier, EmailAddressJSON, EmailAddressJSONSnapshot, EmailAddressOrPhoneNumberIdentifier, EmailAddressResource, EmailCodeAttempt, EmailCodeConfig, EmailCodeFactor, EmailCodeSecondFactorConfig, EmailCodeStrategy, EmailLinkConfig, EmailLinkFactor, EmailLinkStrategy, EnableEnvironmentSettingParams, EnableOrganizationsTheme, EnstallOauthProvider, EnterpriseAccountConnectionJSON, EnterpriseAccountConnectionJSONSnapshot, EnterpriseAccountConnectionResource, EnterpriseAccountJSON, EnterpriseAccountJSONSnapshot, EnterpriseAccountResource, EnterpriseProtocol, EnterpriseProvider, EnterpriseSSOConfig, EnterpriseSSOFactor, EnterpriseSSOSettings, EnterpriseSSOStrategy, EnvironmentJSON, EnvironmentJSONSnapshot, EnvironmentResource, Errors, EthereumWeb3Provider, ExternalAccountJSON, ExternalAccountJSONSnapshot, ExternalAccountResource, FacebookOauthProvider, FeatureJSON, FeatureResource, FieldError, FieldId, FirstNameAttribute, FontFamily, FontWeight, ForPayerType, GenerateSignature, GenerateSignatureParams, GetAPIKeysParams, GetDomainsParams, GetInvitationsParams, GetMembersParams, GetMembershipRequestParams, GetMemberships, GetOrganizationMemberships, GetPaymentAttemptsParams, GetPaymentMethodsParams, GetPlansParams, GetRolesParams, GetStatementsParams, GetSubscriptionParams, GetToken, GetTokenOptions, GetUserOrganizationInvitationsParams, GetUserOrganizationMembershipParams, GetUserOrganizationSuggestionsParams, GithubOauthProvider, GitlabOauthProvider, GoogleOauthProvider, GoogleOneTapProps, GoogleOneTapStrategy, HandleEmailLinkVerificationParams, HandleOAuthCallbackParams, HandleSamlCallbackParams, HexColor, HexColorString, HslaColor, HslaColorString, HubspotOauthProvider, HuggingfaceOAuthProvider, IdSelectors, IdentificationLinkJSON, IdentificationLinkJSONSnapshot, IdentificationLinkResource, ImageJSON, ImageResource, InitialState, InitializePaymentMethodParams, InstagramOauthProvider, InstanceType, InviteMemberParams, InviteMembersParams, JWT, JWTClaims, JWTHeader, JoinWaitlistParams, Jwt, JwtHeader, JwtPayload, LastAuthenticationStrategy, LastNameAttribute, Layout, LegacyRedirectProps, LegalAcceptedAttribute, LineOauthProvider, LinearOauthProvider, LinkedinOIDCOauthProvider, LinkedinOauthProvider, ListenerCallback, LoadedClerk, LocalizationResource, LocalizationValue, MakeDefaultPaymentMethodParams, MenuId, MetamaskWeb3Provider, MicrosoftOauthProvider, MultiDomainAndOrProxy, MultiDomainAndOrProxyPrimitives, NavigateOptions, NewSubscriptionRedirectUrl, NotionOauthProvider, Nullable, NullableSignInSignal, NullableSignUpSignal, OAUTH_PROVIDERS, OAuthConfig, OAuthConsentTheme, OAuthProvider, OAuthProviderData, OAuthProviderSettings, OAuthProviders, OAuthScope, OAuthStrategy, OKXWalletWeb3Provider, OauthFactor, OrganizationCustomPermissionKey, OrganizationCustomRoleKey, OrganizationDomainJSON, OrganizationDomainResource, OrganizationDomainVerification, OrganizationDomainVerificationJSON, OrganizationDomainVerificationStatus, OrganizationEnrollmentMode, OrganizationInvitationJSON, OrganizationInvitationResource, OrganizationInvitationStatus, OrganizationJSON, OrganizationJSONSnapshot, OrganizationListProps, OrganizationListTheme, OrganizationMembershipJSON, OrganizationMembershipJSONSnapshot, OrganizationMembershipRequestJSON, OrganizationMembershipRequestResource, OrganizationMembershipResource, OrganizationPermissionKey, OrganizationPreviewId, OrganizationProfileModalProps, OrganizationProfileProps, OrganizationProfileTheme, OrganizationResource, OrganizationSettingsJSON, OrganizationSettingsJSONSnapshot, OrganizationSettingsResource, OrganizationSuggestionJSON, OrganizationSuggestionResource, OrganizationSuggestionStatus, OrganizationSwitcherProps, OrganizationSwitcherTheme, OrganizationSystemPermissionKey, OrganizationSystemPermissionPrefix, OrganizationsJWTClaim, Override, PartialWithClerkResource, PassKeyConfig, PasskeyAttempt, PasskeyFactor, PasskeyJSON, PasskeyJSONSnapshot, PasskeyResource, PasskeySettingsData, PasskeyStrategy, PasskeyVerificationResource, PasswordAttempt, PasswordAttribute, PasswordFactor, PasswordSettingsData, PasswordStrategy, PasswordStrength, PasswordValidation, PathValue, PaymentGateway, PendingSessionOptions, PendingSessionResource, PermissionJSON, PermissionResource, PhoneCodeAttempt, PhoneCodeChannel, PhoneCodeChannelData, PhoneCodeConfig, PhoneCodeFactor, PhoneCodeProvider, PhoneCodeSMSChannel, PhoneCodeSecondFactorConfig, PhoneCodeStrategy, PhoneCodeWhatsAppChannel, PhoneNumberIdentifier, PhoneNumberJSON, PhoneNumberJSONSnapshot, PhoneNumberResource, PhoneNumberVerificationStrategy, PlanDetailTheme, PreferredSignInStrategy, PrepareAffiliationVerificationParams, PrepareEmailAddressVerificationParams, PrepareFirstFactorParams, PreparePhoneNumberVerificationParams, PrepareSecondFactorParams, PrepareVerificationParams, PrepareWeb3WalletVerificationParams, PricingTableProps, PricingTableTheme, ProfilePageId, ProfileSectionId, ProtectConfigJSON, ProtectConfigJSONSnapshot, ProtectConfigResource, ProtectLoader, ProtectProps, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialCreationOptionsWithoutExtensions, PublicKeyCredentialRequestOptionsJSON, PublicKeyCredentialRequestOptionsWithoutExtensions, PublicKeyCredentialWithAuthenticatorAssertionResponse, PublicKeyCredentialWithAuthenticatorAttestationResponse, PublicOrganizationDataJSON, PublicUserData, PublicUserDataJSON, PublicUserDataJSONSnapshot, PublishableKey, ReauthorizeExternalAccountParams, RecordToPath, RedirectOptions, RedirectUrlProp, RemovePaymentMethodParams, RemoveUserPasswordParams, ResetPasswordCodeFactor, ResetPasswordEmailCodeAttempt, ResetPasswordEmailCodeFactor, ResetPasswordEmailCodeFactorConfig, ResetPasswordEmailCodeStrategy, ResetPasswordParams, ResetPasswordPhoneCodeAttempt, ResetPasswordPhoneCodeFactor, ResetPasswordPhoneCodeFactorConfig, ResetPasswordPhoneCodeStrategy, Resources, ReverificationConfig, RevokeAPIKeyParams, RgbaColor, RgbaColorString, RoleJSON, RoleResource, RoutingMode, RoutingOptions, RoutingStrategy, SAML_IDPS, SDKMetadata, SamlAccountConnectionJSON, SamlAccountConnectionJSONSnapshot, SamlAccountConnectionResource, SamlAccountJSON, SamlAccountJSONSnapshot, SamlAccountResource, SamlConfig, SamlFactor, SamlIdp, SamlIdpMap, SamlIdpSlug, SamlSettings, SamlStrategy, SelectId, Serializable, ServerGetToken, ServerGetTokenOptions, SessionActivity, SessionActivityJSON, SessionJSON, SessionJSONSnapshot, SessionResource, SessionStatus, SessionStatusClaim, SessionTask, SessionVerificationAfterMinutes, SessionVerificationFirstFactor, SessionVerificationJSON, SessionVerificationLevel, SessionVerificationResource, SessionVerificationSecondFactor, SessionVerificationStatus, SessionVerificationTypes, SessionVerifyAttemptFirstFactorParams, SessionVerifyAttemptSecondFactorParams, SessionVerifyCreateParams, SessionVerifyPrepareFirstFactorParams, SessionVerifyPrepareSecondFactorParams, SessionWithActivitiesJSON, SessionWithActivitiesResource, SetActive, SetActiveNavigate, SetActiveParams, SetOrganizationLogoParams, SetProfileImageParams, SetReservedForSecondFactorParams, SharedSignedInAuthObjectProperties, SignInAuthenticateWithSolanaParams, SignInButtonProps, SignInCreateParams, SignInData, SignInErrors, SignInFactor, SignInFallbackRedirectUrl, SignInFields, SignInFirstFactor, SignInFirstFactorJSON, SignInForceRedirectUrl, SignInFutureBackupCodeVerifyParams, SignInFutureCreateParams, SignInFutureEmailCodeSendParams, SignInFutureEmailCodeVerifyParams, SignInFutureEmailLinkSendParams, SignInFutureFinalizeParams, SignInFutureMFAPhoneCodeVerifyParams, SignInFuturePasskeyParams, SignInFuturePasswordParams, SignInFuturePhoneCodeSendParams, SignInFuturePhoneCodeVerifyParams, SignInFutureResetPasswordSubmitParams, SignInFutureResource, SignInFutureSSOParams, SignInFutureTOTPVerifyParams, SignInFutureTicketParams, SignInFutureWeb3Params, SignInIdentifier, SignInInitialValues, SignInJSON, SignInJSONSnapshot, SignInModalProps, SignInProps, SignInRedirectOptions, SignInResource, SignInSecondFactor, SignInSecondFactorJSON, SignInSignal, SignInSignalValue, SignInStartEmailLinkFlowParams, SignInStatus, SignInStrategy, SignInTheme, SignOut, SignOutCallback, SignOutOptions, SignUpAttributeField, SignUpAuthenticateWithMetamaskParams, SignUpAuthenticateWithSolanaParams, SignUpAuthenticateWithWeb3Params, SignUpButtonProps, SignUpCreateParams, SignUpData, SignUpEnterpriseConnectionJSON, SignUpEnterpriseConnectionResource, SignUpErrors, SignUpFallbackRedirectUrl, SignUpField, SignUpFields, SignUpForceRedirectUrl, SignUpFutureCreateParams, SignUpFutureEmailCodeVerifyParams, SignUpFutureFinalizeParams, SignUpFuturePasswordParams, SignUpFuturePhoneCodeSendParams, SignUpFuturePhoneCodeVerifyParams, SignUpFutureResource, SignUpFutureSSOParams, SignUpFutureTicketParams, SignUpFutureUpdateParams, SignUpFutureWeb3Params, SignUpIdentificationField, SignUpInitialValues, SignUpJSON, SignUpJSONSnapshot, SignUpModalProps, SignUpModes, SignUpProps, SignUpRedirectOptions, SignUpResource, SignUpSignal, SignUpSignalValue, SignUpStatus, SignUpTheme, SignUpUpdateParams, SignUpVerifiableField, SignUpVerificationJSON, SignUpVerificationJSONSnapshot, SignUpVerificationResource, SignUpVerificationsJSON, SignUpVerificationsJSONSnapshot, SignUpVerificationsResource, SignatureVerificationAttemptParam, SignedInSessionResource, Simplify, SlackOauthProvider, SnakeToCamel, SolanaWeb3Provider, SpotifyOauthProvider, StartEmailLinkFlowParams, StartEnterpriseSSOLinkFlowParams, State, StateSelectors, SubscriptionDetailsTheme, TOTPAttempt, TOTPFactor, TOTPJSON, TOTPResource, TOTPStrategy, TaskChooseOrganizationProps, TaskChooseOrganizationTheme, TaskResetPasswordProps, TaskResetPasswordTheme, TasksRedirectOptions, TelemetryCollector, TelemetryEvent, TelemetryEventRaw, TelemetryLogEntry, Theme, TicketStrategy, TiktokOauthProvider, TokenJSON, TokenJSONSnapshot, TokenResource, TransferableOption, TransparentColor, TwitchOauthProvider, TwitterOauthProvider, UnsubscribeCallback, UpdateEnrollmentModeParams, UpdateMembershipParams, UpdateOrganizationMembershipParams, UpdateOrganizationParams, UpdatePasskeyParams, UpdateUserParams, UpdateUserPasswordParams, UseAuthReturn, UseSessionListReturn, UseSessionReturn, UseSignInReturn, UseSignUpReturn, UseUserReturn, UserAvatarProps, UserAvatarTheme, UserButtonProps, UserButtonTheme, UserData, UserDataJSON, UserDataJSONSnapshot, UserJSON, UserJSONSnapshot, UserOrganizationInvitationJSON, UserOrganizationInvitationResource, UserPreviewId, UserProfileModalProps, UserProfileProps, UserProfileTheme, UserResource, UserSettingsJSON, UserSettingsJSONSnapshot, UserSettingsResource, UserVerificationTheme, UsernameIdentifier, UsernameSettingsData, ValidatePasswordCallbacks, Variables, VercelOauthProvider, VerificationAttemptParams, VerificationJSON, VerificationJSONSnapshot, VerificationResource, VerificationStatus, VerificationStrategy, VerifyTOTPParams, VersionedJwtPayload, WEB3_PROVIDERS, WaitlistJSON, WaitlistModalProps, WaitlistProps, WaitlistResource, WaitlistTheme, Web3Attempt, Web3Provider, Web3ProviderData, Web3SignatureConfig, Web3SignatureFactor, Web3Strategy, Web3WalletIdentifier, Web3WalletJSON, Web3WalletJSONSnapshot, Web3WalletResource, Without, WithoutRouting, XOauthProvider, XeroOauthProvider, ZxcvbnResult, __experimental_CheckoutButtonProps, __experimental_CheckoutCacheState, __experimental_CheckoutInstance, __experimental_CheckoutOptions, __experimental_PlanDetailsButtonProps, __experimental_SubscriptionDetailsButtonProps, __internal_AttemptToEnableEnvironmentSettingParams, __internal_AttemptToEnableEnvironmentSettingResult, __internal_CheckoutProps, __internal_EnableOrganizationsPromptProps, __internal_LocalizationResource, __internal_OAuthConsentProps, __internal_PlanDetailsProps, __internal_SubscriptionDetailsProps, __internal_UserVerificationModalProps, __internal_UserVerificationProps, createClerkGlobalHookError, getOAuthProviderData, getWeb3ProviderData, isClerkAPIError, isClerkAPIResponseError, isClerkError, isClerkRuntimeError, sortedOAuthProviders };
10607
+ //# sourceMappingURL=index-CPc_EgSw.d.ts.map