@clerk/shared 4.0.0-canary.v20251218154417 → 4.0.0-canary.v20251218160032
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/runtime/alternativePhoneCode.d.mts +1 -1
- package/dist/runtime/alternativePhoneCode.d.ts +1 -1
- package/dist/runtime/apiUrlFromPublishableKey.d.mts +1 -1
- package/dist/runtime/apiUrlFromPublishableKey.d.ts +1 -1
- package/dist/runtime/authorization-errors.d.mts +1 -1
- package/dist/runtime/authorization-errors.d.ts +1 -1
- package/dist/runtime/authorization.d.mts +1 -1
- package/dist/runtime/authorization.d.ts +1 -1
- package/dist/runtime/clerkEventBus.d.mts +1 -1
- package/dist/runtime/clerkEventBus.d.ts +1 -1
- package/dist/runtime/color.d.mts +1 -1
- package/dist/runtime/color.d.mts.map +1 -1
- package/dist/runtime/color.d.ts +1 -1
- package/dist/runtime/deriveState.d.mts +1 -1
- package/dist/runtime/deriveState.d.ts +1 -1
- package/dist/runtime/{error-Sic4NpOV.d.mts → error-CClf0-CM.d.mts} +2 -2
- package/dist/runtime/{error-Sic4NpOV.d.mts.map → error-CClf0-CM.d.mts.map} +1 -1
- package/dist/runtime/{error-DWtDsp2B.d.ts → error-o9rMDFII.d.ts} +2 -2
- package/dist/runtime/{error-DWtDsp2B.d.ts.map → error-o9rMDFII.d.ts.map} +1 -1
- package/dist/runtime/error.d.mts +2 -2
- package/dist/runtime/error.d.ts +2 -2
- package/dist/runtime/{index-BRIrWsP2.d.ts → index-BZAgbf9u.d.ts} +11 -3
- package/dist/runtime/index-BZAgbf9u.d.ts.map +1 -0
- package/dist/runtime/{index-D0wvBDse.d.mts → index-C799Ulyv.d.mts} +11 -3
- package/dist/runtime/{index-D0wvBDse.d.mts.map → index-C799Ulyv.d.mts.map} +1 -1
- package/dist/runtime/internal/clerk-js/completeSignUpFlow.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/completeSignUpFlow.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/componentGuards.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/componentGuards.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/passkeys.d.mts +2 -2
- package/dist/runtime/internal/clerk-js/passkeys.d.ts +2 -2
- package/dist/runtime/internal/clerk-js/passwords/complexity.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/complexity.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/password.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/password.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/strength.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/strength.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/queryParams.d.mts +2 -2
- package/dist/runtime/internal/clerk-js/queryParams.d.ts +2 -2
- package/dist/runtime/internal/clerk-js/redirectUrls.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/redirectUrls.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/sessionTasks.d.mts +2 -2
- package/dist/runtime/internal/clerk-js/sessionTasks.d.ts +2 -2
- package/dist/runtime/internal/clerk-js/url.d.mts +2 -2
- package/dist/runtime/internal/clerk-js/url.d.ts +2 -2
- package/dist/runtime/internal/clerk-js/user.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/user.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/web3.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/web3.d.ts +1 -1
- package/dist/runtime/jwtPayloadParser.d.mts +1 -1
- package/dist/runtime/jwtPayloadParser.d.ts +1 -1
- package/dist/runtime/keys.d.mts +1 -1
- package/dist/runtime/keys.d.ts +1 -1
- package/dist/runtime/loadClerkJsScript.d.mts +1 -1
- package/dist/runtime/loadClerkJsScript.d.ts +1 -1
- package/dist/runtime/loadClerkJsScript.js +2 -2
- package/dist/runtime/loadClerkJsScript.mjs +2 -2
- package/dist/runtime/oauth.d.mts +1 -1
- package/dist/runtime/oauth.d.ts +1 -1
- package/dist/runtime/organization.d.mts +1 -1
- package/dist/runtime/organization.d.ts +1 -1
- package/dist/runtime/pathMatcher.d.mts +1 -1
- package/dist/runtime/pathMatcher.d.ts +1 -1
- package/dist/runtime/poller.d.mts.map +1 -1
- package/dist/runtime/poller.d.ts.map +1 -1
- package/dist/runtime/react/index.d.mts +2 -2
- package/dist/runtime/react/index.d.ts +2 -2
- package/dist/runtime/router.d.mts +1 -1
- package/dist/runtime/router.d.ts +1 -1
- package/dist/runtime/saml.d.mts +1 -1
- package/dist/runtime/saml.d.ts +1 -1
- package/dist/runtime/telemetry.d.mts +1 -1
- package/dist/runtime/telemetry.d.ts +1 -1
- package/dist/runtime/types/index.d.mts +1 -1
- package/dist/runtime/types/index.d.ts +1 -1
- package/dist/runtime/ui/index.d.mts +1 -1
- package/dist/runtime/ui/index.d.ts +1 -1
- package/dist/runtime/{url-CQpeW-8y.d.mts → url-8eeYgf2A.d.mts} +2 -2
- package/dist/runtime/{url-CQpeW-8y.d.mts.map → url-8eeYgf2A.d.mts.map} +1 -1
- package/dist/runtime/{url-BeNrd1BF.d.ts → url-DnBrs0FC.d.ts} +2 -2
- package/dist/runtime/{url-BeNrd1BF.d.ts.map → url-DnBrs0FC.d.ts.map} +1 -1
- package/dist/runtime/{versionSelector-C9Rbx24b.mjs → versionSelector-BZzUMpPu.mjs} +2 -2
- package/dist/runtime/{versionSelector-C9Rbx24b.mjs.map → versionSelector-BZzUMpPu.mjs.map} +1 -1
- package/dist/runtime/{versionSelector-B3f2QJj7.js → versionSelector-BqHuVZF4.js} +2 -2
- package/dist/runtime/{versionSelector-B3f2QJj7.js.map → versionSelector-BqHuVZF4.js.map} +1 -1
- package/dist/runtime/versionSelector.js +1 -1
- package/dist/runtime/versionSelector.mjs +1 -1
- package/dist/runtime/web3.d.mts +1 -1
- package/dist/runtime/web3.d.ts +1 -1
- package/dist/types/index.d.mts +10 -2
- package/dist/types/index.d.mts.map +1 -1
- package/dist/types/index.d.ts +10 -2
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/runtime/index-BRIrWsP2.d.ts.map +0 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -3278,7 +3278,7 @@ declare global {
|
|
|
3278
3278
|
/**
|
|
3279
3279
|
* The `User` object holds all of the information for a single user of your application and provides a set of methods to manage their account.
|
|
3280
3280
|
*
|
|
3281
|
-
* A user can be contacted at their primary email address or primary phone number. They can have more than one registered email address, but only one of them will be their primary email address. This goes for phone numbers as well; a user can have more than one, but only one phone number will be their primary. At the same time, a user can also have one or more external accounts by connecting to [social providers](https://clerk.com/docs/guides/configure/auth-strategies/social-connections/
|
|
3281
|
+
* A user can be contacted at their primary email address or primary phone number. They can have more than one registered email address, but only one of them will be their primary email address. This goes for phone numbers as well; a user can have more than one, but only one phone number will be their primary. At the same time, a user can also have one or more external accounts by connecting to [social providers](https://clerk.com/docs/guides/configure/auth-strategies/social-connections/overview) such as Google, Apple, Facebook, and many more.
|
|
3282
3282
|
*
|
|
3283
3283
|
* Finally, a `User` object holds profile data like the user's name, profile picture, and a set of [metadata](/docs/guides/users/extending) that can be used internally to store arbitrary information. The metadata are split into `publicMetadata` and `privateMetadata`. Both types are set from the [Backend API](https://clerk.com/docs/reference/backend-api){{ target: '_blank' }}, but public metadata can also be accessed from the [Frontend API](https://clerk.com/docs/reference/frontend-api){{ target: '_blank' }}.
|
|
3284
3284
|
*
|
|
@@ -8026,6 +8026,14 @@ type ClerkOptionsNavigation = {
|
|
|
8026
8026
|
routerDebug?: boolean;
|
|
8027
8027
|
};
|
|
8028
8028
|
type ClerkUnsafeOptions = {
|
|
8029
|
+
/**
|
|
8030
|
+
* Disables the console warning that is logged when Clerk is initialized with development keys.
|
|
8031
|
+
*
|
|
8032
|
+
* [WARNING] The development mode warning is intended to ensure that you don't go to production with a non-production
|
|
8033
|
+
* Clerk instance. If you're disabling it, please make sure you don't ship with a non-production Clerk instance!
|
|
8034
|
+
*
|
|
8035
|
+
* More information: https://clerk.com/docs/guides/development/deployment/production
|
|
8036
|
+
*/
|
|
8029
8037
|
unsafe_disableDevelopmentModeConsoleWarning?: boolean;
|
|
8030
8038
|
};
|
|
8031
8039
|
type ClerkOptions = ClerkOptionsNavigation & SignInForceRedirectUrl & SignInFallbackRedirectUrl & SignUpForceRedirectUrl & SignUpFallbackRedirectUrl & NewSubscriptionRedirectUrl & AfterSignOutUrl & AfterMultiSessionSingleSignOutUrl & ClerkUnsafeOptions & {
|
|
@@ -8034,7 +8042,7 @@ type ClerkOptions = ClerkOptionsNavigation & SignInForceRedirectUrl & SignInFall
|
|
|
8034
8042
|
*/
|
|
8035
8043
|
clerkUiCtor?: ClerkUiConstructor | Promise<ClerkUiConstructor>;
|
|
8036
8044
|
/**
|
|
8037
|
-
* Optional object to style your components. Will only affect [Clerk Components](https://clerk.com/docs/reference/components/overview) and not [Account Portal](https://clerk.com/docs/guides/
|
|
8045
|
+
* Optional object to style your components. Will only affect [Clerk Components](https://clerk.com/docs/reference/components/overview) and not [Account Portal](https://clerk.com/docs/guides/account-portal/overview) pages.
|
|
8038
8046
|
*/
|
|
8039
8047
|
appearance?: any;
|
|
8040
8048
|
/**
|