@clerk/shared 4.0.0-snapshot.v20251204175016 → 4.0.0-snapshot.v20251211120550

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 (143) 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.d.mts +1 -1
  4. package/dist/runtime/apiUrlFromPublishableKey.d.ts +1 -1
  5. package/dist/runtime/authorization-errors.d.mts +1 -1
  6. package/dist/runtime/authorization-errors.d.ts +1 -1
  7. package/dist/runtime/authorization.d.mts +1 -1
  8. package/dist/runtime/authorization.d.ts +1 -1
  9. package/dist/runtime/clerkEventBus.d.mts +1 -1
  10. package/dist/runtime/clerkEventBus.d.ts +1 -1
  11. package/dist/runtime/color.d.mts +1 -1
  12. package/dist/runtime/color.d.ts +1 -1
  13. package/dist/runtime/color.d.ts.map +1 -1
  14. package/dist/runtime/deriveState.d.mts +1 -1
  15. package/dist/runtime/deriveState.d.ts +1 -1
  16. package/dist/runtime/{error-D6MGXq-n.mjs → error--xlRIO4Z.mjs} +42 -2
  17. package/dist/runtime/error--xlRIO4Z.mjs.map +1 -0
  18. package/dist/runtime/{error-KRW-ECGa.d.mts → error-Bar-OO4s.d.mts} +40 -3
  19. package/dist/runtime/error-Bar-OO4s.d.mts.map +1 -0
  20. package/dist/runtime/{error-C4TyorFL.js → error-CJmIhSJi.js} +47 -1
  21. package/dist/runtime/error-CJmIhSJi.js.map +1 -0
  22. package/dist/runtime/{error-CwbYlf2s.d.ts → error-Du4UdKtF.d.ts} +40 -3
  23. package/dist/runtime/error-Du4UdKtF.d.ts.map +1 -0
  24. package/dist/runtime/error.d.mts +3 -3
  25. package/dist/runtime/error.d.ts +3 -3
  26. package/dist/runtime/error.js +2 -1
  27. package/dist/runtime/error.mjs +2 -2
  28. package/dist/runtime/{index-ChHWjn_I.d.mts → index-CPEYkfCA.d.mts} +162 -136
  29. package/dist/runtime/{index-ChHWjn_I.d.mts.map → index-CPEYkfCA.d.mts.map} +1 -1
  30. package/dist/runtime/{index-046BvqQ_.d.ts → index-D42gIYCP.d.ts} +162 -136
  31. package/dist/runtime/{index-046BvqQ_.d.ts.map → index-D42gIYCP.d.ts.map} +1 -1
  32. package/dist/runtime/index.js.map +1 -1
  33. package/dist/runtime/index.mjs.map +1 -1
  34. package/dist/runtime/internal/clerk-js/completeSignUpFlow.d.mts +1 -1
  35. package/dist/runtime/internal/clerk-js/completeSignUpFlow.d.ts +1 -1
  36. package/dist/runtime/internal/clerk-js/componentGuards.d.mts +1 -1
  37. package/dist/runtime/internal/clerk-js/componentGuards.d.ts +1 -1
  38. package/dist/runtime/internal/clerk-js/injectedWeb3Providers.d.mts +1 -1
  39. package/dist/runtime/internal/clerk-js/injectedWeb3Providers.d.ts +1 -1
  40. package/dist/runtime/internal/clerk-js/organization.d.mts +1 -1
  41. package/dist/runtime/internal/clerk-js/organization.d.ts +1 -1
  42. package/dist/runtime/internal/clerk-js/organization.js +1 -1
  43. package/dist/runtime/internal/clerk-js/organization.js.map +1 -1
  44. package/dist/runtime/internal/clerk-js/organization.mjs +1 -1
  45. package/dist/runtime/internal/clerk-js/organization.mjs.map +1 -1
  46. package/dist/runtime/internal/clerk-js/passkeys.d.mts +2 -2
  47. package/dist/runtime/internal/clerk-js/passkeys.d.ts +2 -2
  48. package/dist/runtime/internal/clerk-js/passkeys.js +1 -1
  49. package/dist/runtime/internal/clerk-js/passkeys.mjs +1 -1
  50. package/dist/runtime/internal/clerk-js/passwords/complexity.d.mts +1 -1
  51. package/dist/runtime/internal/clerk-js/passwords/complexity.d.ts +1 -1
  52. package/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.mts +1 -1
  53. package/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.ts +1 -1
  54. package/dist/runtime/internal/clerk-js/passwords/password.d.mts +1 -1
  55. package/dist/runtime/internal/clerk-js/passwords/password.d.ts +1 -1
  56. package/dist/runtime/internal/clerk-js/passwords/strength.d.mts +1 -1
  57. package/dist/runtime/internal/clerk-js/passwords/strength.d.ts +1 -1
  58. package/dist/runtime/internal/clerk-js/queryParams.d.mts +2 -2
  59. package/dist/runtime/internal/clerk-js/queryParams.d.ts +2 -2
  60. package/dist/runtime/internal/clerk-js/redirectUrls.d.mts +1 -1
  61. package/dist/runtime/internal/clerk-js/redirectUrls.d.ts +1 -1
  62. package/dist/runtime/internal/clerk-js/sessionTasks.d.mts +2 -2
  63. package/dist/runtime/internal/clerk-js/sessionTasks.d.ts +2 -2
  64. package/dist/runtime/internal/clerk-js/url.d.mts +2 -2
  65. package/dist/runtime/internal/clerk-js/url.d.ts +2 -2
  66. package/dist/runtime/internal/clerk-js/user.d.mts +1 -1
  67. package/dist/runtime/internal/clerk-js/user.d.ts +1 -1
  68. package/dist/runtime/internal/clerk-js/web3.d.mts +1 -1
  69. package/dist/runtime/internal/clerk-js/web3.d.ts +1 -1
  70. package/dist/runtime/jwtPayloadParser.d.mts +1 -1
  71. package/dist/runtime/jwtPayloadParser.d.ts +1 -1
  72. package/dist/runtime/keys.d.mts +1 -1
  73. package/dist/runtime/keys.d.ts +1 -1
  74. package/dist/runtime/loadClerkJsScript.d.mts +1 -1
  75. package/dist/runtime/loadClerkJsScript.d.mts.map +1 -1
  76. package/dist/runtime/loadClerkJsScript.d.ts +1 -1
  77. package/dist/runtime/loadClerkJsScript.d.ts.map +1 -1
  78. package/dist/runtime/loadClerkJsScript.js +50 -9
  79. package/dist/runtime/loadClerkJsScript.js.map +1 -1
  80. package/dist/runtime/loadClerkJsScript.mjs +50 -9
  81. package/dist/runtime/loadClerkJsScript.mjs.map +1 -1
  82. package/dist/runtime/{loadScript-DDWWb733.mjs → loadScript-CHWOPTAN.mjs} +1 -3
  83. package/dist/runtime/loadScript-CHWOPTAN.mjs.map +1 -0
  84. package/dist/runtime/{loadScript-B8aSacwz.js → loadScript-CW1MV2O0.js} +1 -3
  85. package/dist/runtime/loadScript-CW1MV2O0.js.map +1 -0
  86. package/dist/runtime/loadScript.js +1 -1
  87. package/dist/runtime/loadScript.mjs +1 -1
  88. package/dist/runtime/oauth.d.mts +1 -1
  89. package/dist/runtime/oauth.d.ts +1 -1
  90. package/dist/runtime/{organization-BzYWUtt4.js → organization-BOnxJJGM.js} +5 -6
  91. package/dist/runtime/organization-BOnxJJGM.js.map +1 -0
  92. package/dist/runtime/{organization-JwY1zGRo.mjs → organization-CDNOZNzF.mjs} +5 -6
  93. package/dist/runtime/organization-CDNOZNzF.mjs.map +1 -0
  94. package/dist/runtime/organization.d.mts +5 -6
  95. package/dist/runtime/organization.d.mts.map +1 -1
  96. package/dist/runtime/organization.d.ts +5 -6
  97. package/dist/runtime/organization.d.ts.map +1 -1
  98. package/dist/runtime/organization.js +1 -1
  99. package/dist/runtime/organization.mjs +1 -1
  100. package/dist/runtime/pathMatcher.d.mts +1 -1
  101. package/dist/runtime/pathMatcher.d.ts +1 -1
  102. package/dist/runtime/poller.d.ts.map +1 -1
  103. package/dist/runtime/react/index.d.mts +23 -23
  104. package/dist/runtime/react/index.d.ts +23 -23
  105. package/dist/runtime/react/index.js +7 -7
  106. package/dist/runtime/react/index.js.map +1 -1
  107. package/dist/runtime/react/index.mjs +7 -7
  108. package/dist/runtime/react/index.mjs.map +1 -1
  109. package/dist/runtime/router.d.mts +1 -1
  110. package/dist/runtime/router.d.ts +1 -1
  111. package/dist/runtime/saml.d.mts +1 -1
  112. package/dist/runtime/saml.d.ts +1 -1
  113. package/dist/runtime/telemetry.d.mts +1 -1
  114. package/dist/runtime/telemetry.d.ts +1 -1
  115. package/dist/runtime/types/index.d.mts +1 -1
  116. package/dist/runtime/types/index.d.ts +1 -1
  117. package/dist/runtime/ui/index.d.mts +1 -1
  118. package/dist/runtime/ui/index.d.ts +1 -1
  119. package/dist/runtime/{url-2Vs8oqh-.d.ts → url-B0fryQyT.d.ts} +2 -2
  120. package/dist/runtime/{url-2Vs8oqh-.d.ts.map → url-B0fryQyT.d.ts.map} +1 -1
  121. package/dist/runtime/{url-Btmcqq0T.d.mts → url-BXe3Tvsn.d.mts} +2 -2
  122. package/dist/runtime/{url-Btmcqq0T.d.mts.map → url-BXe3Tvsn.d.mts.map} +1 -1
  123. package/dist/runtime/{versionSelector-CgdnX7F8.js → versionSelector-BMFwS2IR.js} +3 -3
  124. package/dist/runtime/{versionSelector-CgdnX7F8.js.map → versionSelector-BMFwS2IR.js.map} +1 -1
  125. package/dist/runtime/{versionSelector-C99RARtR.mjs → versionSelector-v6LvGO6I.mjs} +3 -3
  126. package/dist/runtime/{versionSelector-C99RARtR.mjs.map → versionSelector-v6LvGO6I.mjs.map} +1 -1
  127. package/dist/runtime/versionSelector.js +1 -1
  128. package/dist/runtime/versionSelector.mjs +1 -1
  129. package/dist/runtime/web3.d.mts +1 -1
  130. package/dist/runtime/web3.d.ts +1 -1
  131. package/dist/types/index.d.mts +161 -135
  132. package/dist/types/index.d.mts.map +1 -1
  133. package/dist/types/index.d.ts +161 -135
  134. package/dist/types/index.d.ts.map +1 -1
  135. package/package.json +11 -11
  136. package/dist/runtime/error-C4TyorFL.js.map +0 -1
  137. package/dist/runtime/error-CwbYlf2s.d.ts.map +0 -1
  138. package/dist/runtime/error-D6MGXq-n.mjs.map +0 -1
  139. package/dist/runtime/error-KRW-ECGa.d.mts.map +0 -1
  140. package/dist/runtime/loadScript-B8aSacwz.js.map +0 -1
  141. package/dist/runtime/loadScript-DDWWb733.mjs.map +0 -1
  142. package/dist/runtime/organization-BzYWUtt4.js.map +0 -1
  143. package/dist/runtime/organization-JwY1zGRo.mjs.map +0 -1
@@ -4,8 +4,8 @@ import "../isomorphicBtoa-Db71q4D6.mjs";
4
4
  import "../keys-BGyzAyGu.mjs";
5
5
  import { n as reverificationError, t as isReverificationHint } from "../authorization-errors-CBHAr6Ld.mjs";
6
6
  import { i as validateReverificationConfig } from "../authorization-BpjgWZx-.mjs";
7
- import { g as ClerkRuntimeError, i as isClerkAPIResponseError } from "../error-D6MGXq-n.mjs";
8
- import { t as getCurrentOrganizationMembership } from "../organization-JwY1zGRo.mjs";
7
+ import { g as ClerkRuntimeError, i as isClerkAPIResponseError } from "../error--xlRIO4Z.mjs";
8
+ import { t as getCurrentOrganizationMembership } from "../organization-CDNOZNzF.mjs";
9
9
  import "../noop-Dzu7lrge.mjs";
10
10
  import "../underscore-Cv_9NQ-X.mjs";
11
11
  import { a as eventMethodCalled } from "../telemetry-DnVD78JJ.mjs";
@@ -581,7 +581,7 @@ const undefinedPaginatedResource$1 = {
581
581
  setData: void 0
582
582
  };
583
583
  /**
584
- * The `useOrganization()` hook retrieves attributes of the currently active organization.
584
+ * The `useOrganization()` hook retrieves attributes of the currently Active Organization.
585
585
  *
586
586
  * @example
587
587
  * ### Expand and paginate attributes
@@ -616,7 +616,7 @@ const undefinedPaginatedResource$1 = {
616
616
  * @example
617
617
  * ### Infinite pagination
618
618
  *
619
- * The following example demonstrates how to use the `infinite` property to fetch and append new data to the existing list. The `memberships` attribute will be populated with the first page of the organization's memberships. When the "Load more" button is clicked, the `fetchNext` helper function will be called to append the next page of memberships to the list.
619
+ * The following example demonstrates how to use the `infinite` property to fetch and append new data to the existing list. The `memberships` attribute will be populated with the first page of the Organization's memberships. When the "Load more" button is clicked, the `fetchNext` helper function will be called to append the next page of memberships to the list.
620
620
  *
621
621
  * ```tsx
622
622
  * import { useOrganization } from '@clerk/react'
@@ -660,7 +660,7 @@ const undefinedPaginatedResource$1 = {
660
660
  * @example
661
661
  * ### Simple pagination
662
662
  *
663
- * The following example demonstrates how to use the `fetchPrevious` and `fetchNext` helper functions to paginate through the data. The `memberships` attribute will be populated with the first page of the organization's memberships. When the "Previous page" or "Next page" button is clicked, the `fetchPrevious` or `fetchNext` helper function will be called to fetch the previous or next page of memberships.
663
+ * The following example demonstrates how to use the `fetchPrevious` and `fetchNext` helper functions to paginate through the data. The `memberships` attribute will be populated with the first page of the Organization's memberships. When the "Previous page" or "Next page" button is clicked, the `fetchPrevious` or `fetchNext` helper function will be called to fetch the previous or next page of memberships.
664
664
  *
665
665
  * Notice the difference between this example's pagination and the infinite pagination example above.
666
666
  *
@@ -923,7 +923,7 @@ const undefinedPaginatedResource = {
923
923
  * @example
924
924
  * ### Infinite pagination
925
925
  *
926
- * The following example demonstrates how to use the `infinite` property to fetch and append new data to the existing list. The `userMemberships` attribute will be populated with the first page of the user's organization memberships. When the "Load more" button is clicked, the `fetchNext` helper function will be called to append the next page of memberships to the list.
926
+ * The following example demonstrates how to use the `infinite` property to fetch and append new data to the existing list. The `userMemberships` attribute will be populated with the first page of the user's Organization memberships. When the "Load more" button is clicked, the `fetchNext` helper function will be called to append the next page of memberships to the list.
927
927
  *
928
928
  * ```tsx {{ filename: 'src/components/JoinedOrganizations.tsx' }}
929
929
  * import { useOrganizationList } from '@clerk/react'
@@ -1598,7 +1598,7 @@ function useBillingHookEnabled(params) {
1598
1598
  //#region src/react/hooks/createBillingPaginatedHook.tsx
1599
1599
  /**
1600
1600
  * A hook factory that creates paginated data fetching hooks for commerce-related resources.
1601
- * It provides a standardized way to create hooks that can fetch either user or organization resources
1601
+ * It provides a standardized way to create hooks that can fetch either user or Organization resources
1602
1602
  * with built-in pagination support.
1603
1603
  *
1604
1604
  * The generated hooks handle: