@clerk/shared 4.0.0-snapshot.v20251215212157 → 4.0.0-snapshot.v20251217162523

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 (113) hide show
  1. package/dist/runtime/alternativePhoneCode.d.mts +1 -1
  2. package/dist/runtime/alternativePhoneCode.d.ts +1 -1
  3. package/dist/runtime/{authorization-R5uuaK2u.js → authorization-BE2IYdvb.js} +31 -31
  4. package/dist/runtime/{authorization-R5uuaK2u.js.map → authorization-BE2IYdvb.js.map} +1 -1
  5. package/dist/runtime/{authorization-BpjgWZx-.mjs → authorization-CB5SAg8q.mjs} +31 -31
  6. package/dist/runtime/{authorization-BpjgWZx-.mjs.map → authorization-CB5SAg8q.mjs.map} +1 -1
  7. package/dist/runtime/authorization-errors.d.mts +1 -1
  8. package/dist/runtime/authorization-errors.d.ts +1 -1
  9. package/dist/runtime/authorization.d.mts +1 -1
  10. package/dist/runtime/authorization.d.ts +1 -1
  11. package/dist/runtime/authorization.js +1 -1
  12. package/dist/runtime/authorization.mjs +1 -1
  13. package/dist/runtime/clerkEventBus.d.mts +1 -1
  14. package/dist/runtime/clerkEventBus.d.ts +1 -1
  15. package/dist/runtime/color.d.mts +1 -1
  16. package/dist/runtime/color.d.ts +1 -1
  17. package/dist/runtime/color.d.ts.map +1 -1
  18. package/dist/runtime/deriveState.d.mts +1 -1
  19. package/dist/runtime/deriveState.d.ts +1 -1
  20. package/dist/runtime/{error-FQfTKcEF.d.ts → error-D_08BTAz.d.ts} +2 -2
  21. package/dist/runtime/{error-FQfTKcEF.d.ts.map → error-D_08BTAz.d.ts.map} +1 -1
  22. package/dist/runtime/{error-Btp0PBNP.d.mts → error-PZOXmiMQ.d.mts} +2 -2
  23. package/dist/runtime/{error-Btp0PBNP.d.mts.map → error-PZOXmiMQ.d.mts.map} +1 -1
  24. package/dist/runtime/error.d.mts +2 -2
  25. package/dist/runtime/error.d.ts +2 -2
  26. package/dist/runtime/globs.d.ts.map +1 -1
  27. package/dist/runtime/{index-6lIp5q8s.d.mts → index-Bb1t7kYz.d.mts} +10 -58
  28. package/dist/runtime/{index-6lIp5q8s.d.mts.map → index-Bb1t7kYz.d.mts.map} +1 -1
  29. package/dist/runtime/{index-TCL_gZUn.d.ts → index-C32ntfvR.d.ts} +10 -58
  30. package/dist/runtime/index-C32ntfvR.d.ts.map +1 -0
  31. package/dist/runtime/internal/clerk-js/completeSignUpFlow.d.mts +1 -1
  32. package/dist/runtime/internal/clerk-js/completeSignUpFlow.d.ts +1 -1
  33. package/dist/runtime/internal/clerk-js/componentGuards.d.mts +1 -1
  34. package/dist/runtime/internal/clerk-js/componentGuards.d.ts +1 -1
  35. package/dist/runtime/internal/clerk-js/injectedWeb3Providers.d.mts +1 -1
  36. package/dist/runtime/internal/clerk-js/injectedWeb3Providers.d.ts +1 -1
  37. package/dist/runtime/internal/clerk-js/passkeys.d.mts +2 -2
  38. package/dist/runtime/internal/clerk-js/passkeys.d.ts +2 -2
  39. package/dist/runtime/internal/clerk-js/passwords/complexity.d.mts +1 -1
  40. package/dist/runtime/internal/clerk-js/passwords/complexity.d.ts +1 -1
  41. package/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.mts +1 -1
  42. package/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.ts +1 -1
  43. package/dist/runtime/internal/clerk-js/passwords/password.d.mts +1 -1
  44. package/dist/runtime/internal/clerk-js/passwords/password.d.ts +1 -1
  45. package/dist/runtime/internal/clerk-js/passwords/strength.d.mts +1 -1
  46. package/dist/runtime/internal/clerk-js/passwords/strength.d.ts +1 -1
  47. package/dist/runtime/internal/clerk-js/queryParams.d.mts +2 -2
  48. package/dist/runtime/internal/clerk-js/queryParams.d.ts +2 -2
  49. package/dist/runtime/internal/clerk-js/redirectUrls.d.mts +1 -1
  50. package/dist/runtime/internal/clerk-js/redirectUrls.d.ts +1 -1
  51. package/dist/runtime/internal/clerk-js/sessionTasks.d.mts +2 -2
  52. package/dist/runtime/internal/clerk-js/sessionTasks.d.ts +2 -2
  53. package/dist/runtime/internal/clerk-js/url.d.mts +2 -2
  54. package/dist/runtime/internal/clerk-js/url.d.ts +2 -2
  55. package/dist/runtime/internal/clerk-js/user.d.mts +1 -1
  56. package/dist/runtime/internal/clerk-js/user.d.ts +1 -1
  57. package/dist/runtime/internal/clerk-js/web3.d.mts +1 -1
  58. package/dist/runtime/internal/clerk-js/web3.d.ts +1 -1
  59. package/dist/runtime/jwtPayloadParser.d.mts +1 -1
  60. package/dist/runtime/jwtPayloadParser.d.ts +1 -1
  61. package/dist/runtime/jwtPayloadParser.js +1 -1
  62. package/dist/runtime/jwtPayloadParser.mjs +1 -1
  63. package/dist/runtime/keys.d.mts +1 -1
  64. package/dist/runtime/keys.d.ts +1 -1
  65. package/dist/runtime/loadClerkJsScript.d.mts +1 -1
  66. package/dist/runtime/loadClerkJsScript.d.ts +1 -1
  67. package/dist/runtime/loadClerkJsScript.js +2 -2
  68. package/dist/runtime/loadClerkJsScript.mjs +2 -2
  69. package/dist/runtime/oauth.d.mts +1 -1
  70. package/dist/runtime/oauth.d.ts +1 -1
  71. package/dist/runtime/organization.d.mts +1 -1
  72. package/dist/runtime/organization.d.ts +1 -1
  73. package/dist/runtime/pathMatcher.d.mts +1 -1
  74. package/dist/runtime/pathMatcher.d.ts +1 -1
  75. package/dist/runtime/poller.d.mts.map +1 -1
  76. package/dist/runtime/poller.d.ts.map +1 -1
  77. package/dist/runtime/react/index.d.mts +3 -48
  78. package/dist/runtime/react/index.d.mts.map +1 -1
  79. package/dist/runtime/react/index.d.ts +3 -48
  80. package/dist/runtime/react/index.d.ts.map +1 -1
  81. package/dist/runtime/react/index.js +1 -46
  82. package/dist/runtime/react/index.js.map +1 -1
  83. package/dist/runtime/react/index.mjs +2 -45
  84. package/dist/runtime/react/index.mjs.map +1 -1
  85. package/dist/runtime/router.d.mts +1 -1
  86. package/dist/runtime/router.d.ts +1 -1
  87. package/dist/runtime/router.d.ts.map +1 -1
  88. package/dist/runtime/saml.d.mts +1 -1
  89. package/dist/runtime/saml.d.ts +1 -1
  90. package/dist/runtime/telemetry.d.mts +1 -1
  91. package/dist/runtime/telemetry.d.ts +1 -1
  92. package/dist/runtime/types/index.d.mts +1 -1
  93. package/dist/runtime/types/index.d.ts +1 -1
  94. package/dist/runtime/ui/index.d.mts +1 -1
  95. package/dist/runtime/ui/index.d.ts +1 -1
  96. package/dist/runtime/{url-CixoZcz6.d.mts → url-B6H3YfYM.d.mts} +2 -2
  97. package/dist/runtime/{url-CixoZcz6.d.mts.map → url-B6H3YfYM.d.mts.map} +1 -1
  98. package/dist/runtime/{url-8kDLvJOc.d.ts → url-oznSXRUO.d.ts} +2 -2
  99. package/dist/runtime/{url-8kDLvJOc.d.ts.map → url-oznSXRUO.d.ts.map} +1 -1
  100. package/dist/runtime/{versionSelector-DQ_xKgnp.mjs → versionSelector-CYDxDymx.mjs} +2 -2
  101. package/dist/runtime/{versionSelector-DQ_xKgnp.mjs.map → versionSelector-CYDxDymx.mjs.map} +1 -1
  102. package/dist/runtime/{versionSelector-Cya5GkG0.js → versionSelector-_5VXQHS3.js} +2 -2
  103. package/dist/runtime/{versionSelector-Cya5GkG0.js.map → versionSelector-_5VXQHS3.js.map} +1 -1
  104. package/dist/runtime/versionSelector.js +1 -1
  105. package/dist/runtime/versionSelector.mjs +1 -1
  106. package/dist/runtime/web3.d.mts +1 -1
  107. package/dist/runtime/web3.d.ts +1 -1
  108. package/dist/types/index.d.mts +9 -57
  109. package/dist/types/index.d.mts.map +1 -1
  110. package/dist/types/index.d.ts +9 -57
  111. package/dist/types/index.d.ts.map +1 -1
  112. package/package.json +3 -3
  113. package/dist/runtime/index-TCL_gZUn.d.ts.map +0 -1
@@ -8228,7 +8228,7 @@ type RoutingOptions = {
8228
8228
  routing?: Extract<RoutingStrategy, 'path'>;
8229
8229
  } | {
8230
8230
  path?: never;
8231
- routing?: Extract<RoutingStrategy, 'hash' | 'virtual'>;
8231
+ routing?: Extract<RoutingStrategy, 'hash'>;
8232
8232
  };
8233
8233
  type SignInProps = RoutingOptions & {
8234
8234
  /**
@@ -8303,21 +8303,8 @@ interface TransferableOption {
8303
8303
  */
8304
8304
  transferable?: boolean;
8305
8305
  }
8306
- type SignInModalProps = WithoutRouting<SignInProps> & {
8307
- /**
8308
- * Function that returns the container element where portals should be rendered.
8309
- * This allows Clerk components to render inside external dialogs/popovers
8310
- * (e.g., Radix Dialog, React Aria Components) instead of document.body.
8311
- */
8312
- getContainer?: () => HTMLElement | null;
8313
- };
8306
+ type SignInModalProps = WithoutRouting<SignInProps>;
8314
8307
  type __internal_UserVerificationProps = RoutingOptions & {
8315
- /**
8316
- * Function that returns the container element where portals should be rendered.
8317
- * This allows Clerk components to render inside external dialogs/popovers
8318
- * (e.g., Radix Dialog, React Aria Components) instead of document.body.
8319
- */
8320
- getContainer?: () => HTMLElement | null;
8321
8308
  /**
8322
8309
  * Non-awaitable callback for when verification is completed successfully
8323
8310
  */
@@ -8435,14 +8422,7 @@ type SignUpProps = RoutingOptions & {
8435
8422
  */
8436
8423
  oidcPrompt?: string;
8437
8424
  } & SignInFallbackRedirectUrl & SignInForceRedirectUrl & AfterSignOutUrl;
8438
- type SignUpModalProps = WithoutRouting<SignUpProps> & {
8439
- /**
8440
- * Function that returns the container element where portals should be rendered.
8441
- * This allows Clerk components to render inside external dialogs/popovers
8442
- * (e.g., Radix Dialog, React Aria Components) instead of document.body.
8443
- */
8444
- getContainer?: () => HTMLElement | null;
8445
- };
8425
+ type SignUpModalProps = WithoutRouting<SignUpProps>;
8446
8426
  type UserProfileProps = RoutingOptions & {
8447
8427
  /**
8448
8428
  * Customisation options to fully match the Clerk components to your own brand.
@@ -8475,14 +8455,7 @@ type UserProfileProps = RoutingOptions & {
8475
8455
  hide?: boolean;
8476
8456
  };
8477
8457
  };
8478
- type UserProfileModalProps = WithoutRouting<UserProfileProps> & {
8479
- /**
8480
- * Function that returns the container element where portals should be rendered.
8481
- * This allows Clerk components to render inside external dialogs/popovers
8482
- * (e.g., Radix Dialog, React Aria Components) instead of document.body.
8483
- */
8484
- getContainer?: () => HTMLElement | null;
8485
- };
8458
+ type UserProfileModalProps = WithoutRouting<UserProfileProps>;
8486
8459
  type OrganizationProfileProps = RoutingOptions & {
8487
8460
  /**
8488
8461
  * Full URL or path to navigate to after the user leaves the currently Active Organization.
@@ -8520,14 +8493,7 @@ type OrganizationProfileProps = RoutingOptions & {
8520
8493
  hide?: boolean;
8521
8494
  };
8522
8495
  };
8523
- type OrganizationProfileModalProps = WithoutRouting<OrganizationProfileProps> & {
8524
- /**
8525
- * Function that returns the container element where portals should be rendered.
8526
- * This allows Clerk components to render inside external dialogs/popovers
8527
- * (e.g., Radix Dialog, React Aria Components) instead of document.body.
8528
- */
8529
- getContainer?: () => HTMLElement | null;
8530
- };
8496
+ type OrganizationProfileModalProps = WithoutRouting<OrganizationProfileProps>;
8531
8497
  type CreateOrganizationProps = RoutingOptions & {
8532
8498
  /**
8533
8499
  * Full URL or path to navigate to after creating a new Organization.
@@ -8549,14 +8515,7 @@ type CreateOrganizationProps = RoutingOptions & {
8549
8515
  */
8550
8516
  appearance?: ClerkAppearanceTheme;
8551
8517
  };
8552
- type CreateOrganizationModalProps = WithoutRouting<CreateOrganizationProps> & {
8553
- /**
8554
- * Function that returns the container element where portals should be rendered.
8555
- * This allows Clerk components to render inside external dialogs/popovers
8556
- * (e.g., Radix Dialog, React Aria Components) instead of document.body.
8557
- */
8558
- getContainer?: () => HTMLElement | null;
8559
- };
8518
+ type CreateOrganizationModalProps = WithoutRouting<CreateOrganizationProps>;
8560
8519
  type UserProfileMode = 'modal' | 'navigation';
8561
8520
  type UserButtonProfileMode = {
8562
8521
  userProfileUrl?: never;
@@ -8750,14 +8709,7 @@ type WaitlistProps = {
8750
8709
  */
8751
8710
  signInUrl?: string;
8752
8711
  };
8753
- type WaitlistModalProps = WaitlistProps & {
8754
- /**
8755
- * Function that returns the container element where portals should be rendered.
8756
- * This allows Clerk components to render inside external dialogs/popovers
8757
- * (e.g., Radix Dialog, React Aria Components) instead of document.body.
8758
- */
8759
- getContainer?: () => HTMLElement | null;
8760
- };
8712
+ type WaitlistModalProps = WaitlistProps;
8761
8713
  type PricingTableDefaultProps = {
8762
8714
  /**
8763
8715
  * The position of the CTA button.
@@ -9287,11 +9239,11 @@ interface EnvironmentResource extends ClerkResource {
9287
9239
  /**
9288
9240
  * @inline
9289
9241
  */
9290
- type CheckAuthorizationSignedOut = undefined;
9242
+ type CheckAuthorizationWithoutOrgOrUser = (params: Parameters<CheckAuthorizationWithCustomPermissions>[0]) => false;
9291
9243
  /**
9292
9244
  * @inline
9293
9245
  */
9294
- type CheckAuthorizationWithoutOrgOrUser = (params: Parameters<CheckAuthorizationWithCustomPermissions>[0]) => false;
9246
+ type CheckAuthorizationSignedOut = CheckAuthorizationWithoutOrgOrUser;
9295
9247
  /**
9296
9248
  * @inline
9297
9249
  */