@clerk/shared 4.7.0 → 4.8.0-snapshot.v20260413204347
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/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.ts +1 -1
- package/dist/runtime/deriveState.d.mts +1 -1
- package/dist/runtime/deriveState.d.ts +1 -1
- package/dist/runtime/error.d.mts +1 -1
- package/dist/runtime/error.d.ts +1 -1
- package/dist/runtime/getToken.d.mts +1 -1
- package/dist/runtime/getToken.d.ts +1 -1
- package/dist/runtime/globs.d.mts.map +1 -1
- package/dist/runtime/{index-ZRXKVsvy.d.ts → index-BCMY4XCy.d.ts} +59 -7
- package/dist/runtime/{index-ZRXKVsvy.d.ts.map → index-BCMY4XCy.d.ts.map} +1 -1
- package/dist/runtime/{index-C9wUzGPD.d.mts → index-Bhvl6dbt.d.mts} +59 -7
- package/dist/runtime/index-Bhvl6dbt.d.mts.map +1 -0
- 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 +1 -1
- package/dist/runtime/internal/clerk-js/passkeys.d.ts +1 -1
- 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 +1 -1
- package/dist/runtime/internal/clerk-js/queryParams.d.ts +1 -1
- 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.js.map +1 -1
- package/dist/runtime/loadClerkJsScript.mjs +2 -2
- package/dist/runtime/loadClerkJsScript.mjs.map +1 -1
- 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 +9 -21
- package/dist/runtime/react/index.d.mts.map +1 -1
- package/dist/runtime/react/index.d.ts +9 -21
- package/dist/runtime/react/index.d.ts.map +1 -1
- package/dist/runtime/react/index.js +5 -38
- package/dist/runtime/react/index.js.map +1 -1
- package/dist/runtime/react/index.mjs +5 -38
- package/dist/runtime/react/index.mjs.map +1 -1
- package/dist/runtime/router.d.mts +1 -1
- package/dist/runtime/router.d.mts.map +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-CAID6gbO.d.ts → url-B-cgAJP0.d.ts} +2 -2
- package/dist/runtime/{url-CAID6gbO.d.ts.map → url-B-cgAJP0.d.ts.map} +1 -1
- package/dist/runtime/{url-Djbje5O8.d.mts → url-lzDebkho.d.mts} +2 -2
- package/dist/runtime/{url-Djbje5O8.d.mts.map → url-lzDebkho.d.mts.map} +1 -1
- package/dist/runtime/{versionSelector-D31OXlbt.js → versionSelector-91fpOSIy.js} +2 -2
- package/dist/runtime/{versionSelector-D31OXlbt.js.map → versionSelector-91fpOSIy.js.map} +1 -1
- package/dist/runtime/{versionSelector-CXCT3bU9.mjs → versionSelector-BkPu3jWV.mjs} +2 -2
- package/dist/runtime/{versionSelector-CXCT3bU9.mjs.map → versionSelector-BkPu3jWV.mjs.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 +58 -6
- package/dist/types/index.d.mts.map +1 -1
- package/dist/types/index.d.ts +58 -6
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/runtime/index-C9wUzGPD.d.mts.map +0 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -7249,6 +7249,22 @@ type __internal_LocalizationResource = {
|
|
|
7249
7249
|
suggestionsAcceptedLabel: LocalizationValue;
|
|
7250
7250
|
action__createOrganization: LocalizationValue;
|
|
7251
7251
|
};
|
|
7252
|
+
oauthConsent: {
|
|
7253
|
+
subtitle: LocalizationValue<'applicationName' | 'identifier'>;
|
|
7254
|
+
scopeList: {
|
|
7255
|
+
title: LocalizationValue<'applicationName'>;
|
|
7256
|
+
};
|
|
7257
|
+
action__deny: LocalizationValue;
|
|
7258
|
+
action__allow: LocalizationValue;
|
|
7259
|
+
warning: LocalizationValue<'applicationName' | 'domainAction'>;
|
|
7260
|
+
redirectNotice: LocalizationValue<'domainAction'>;
|
|
7261
|
+
offlineAccessNotice: LocalizationValue;
|
|
7262
|
+
viewFullUrl: LocalizationValue;
|
|
7263
|
+
redirectUriModal: {
|
|
7264
|
+
title: LocalizationValue;
|
|
7265
|
+
subtitle: LocalizationValue<'applicationName'>;
|
|
7266
|
+
};
|
|
7267
|
+
};
|
|
7252
7268
|
unstable__errors: UnstableErrors;
|
|
7253
7269
|
dates: {
|
|
7254
7270
|
previous6Days: LocalizationValue<'date'>;
|
|
@@ -7651,6 +7667,15 @@ interface OAuthApplicationNamespace {
|
|
|
7651
7667
|
* Loads consent metadata for the given OAuth client for the signed-in user.
|
|
7652
7668
|
*/
|
|
7653
7669
|
getConsentInfo: (params: GetOAuthConsentInfoParams) => Promise<OAuthConsentInfo>;
|
|
7670
|
+
/**
|
|
7671
|
+
* Returns the URL to use as the `action` attribute of the consent form.
|
|
7672
|
+
* Includes `_clerk_session_id` and, in development, the dev browser JWT.
|
|
7673
|
+
* Custom-flow developers building their own consent UI use this alongside
|
|
7674
|
+
* the `useOAuthConsent` hook.
|
|
7675
|
+
*/
|
|
7676
|
+
buildConsentActionUrl: (params: {
|
|
7677
|
+
clientId: string;
|
|
7678
|
+
}) => string;
|
|
7654
7679
|
}
|
|
7655
7680
|
//#endregion
|
|
7656
7681
|
//#region src/types/waitlist.d.ts
|
|
@@ -9885,39 +9910,66 @@ type __experimental_SubscriptionDetailsButtonProps = {
|
|
|
9885
9910
|
};
|
|
9886
9911
|
};
|
|
9887
9912
|
type __internal_OAuthConsentProps = {
|
|
9913
|
+
/**
|
|
9914
|
+
* Customize the appearance of the component.
|
|
9915
|
+
*/
|
|
9888
9916
|
appearance?: ClerkAppearanceTheme;
|
|
9917
|
+
/**
|
|
9918
|
+
* Override the OAuth client ID. Defaults to the `client_id` query parameter
|
|
9919
|
+
* from the current URL.
|
|
9920
|
+
*/
|
|
9921
|
+
oauthClientId?: string;
|
|
9922
|
+
/**
|
|
9923
|
+
* Override the OAuth scope. Defaults to the `scope` query parameter from
|
|
9924
|
+
* the current URL.
|
|
9925
|
+
*/
|
|
9926
|
+
scope?: string;
|
|
9889
9927
|
/**
|
|
9890
9928
|
* Name of the OAuth application.
|
|
9929
|
+
*
|
|
9930
|
+
* @deprecated Used by the accounts portal. Pass `client_id` and `redirect_uri` as URL parameters instead.
|
|
9891
9931
|
*/
|
|
9892
|
-
oAuthApplicationName
|
|
9932
|
+
oAuthApplicationName?: string;
|
|
9893
9933
|
/**
|
|
9894
9934
|
* Logo URL of the OAuth application.
|
|
9935
|
+
*
|
|
9936
|
+
* @deprecated Used by the accounts portal. Pass `client_id` and `redirect_uri` as URL parameters instead.
|
|
9895
9937
|
*/
|
|
9896
9938
|
oAuthApplicationLogoUrl?: string;
|
|
9897
9939
|
/**
|
|
9898
9940
|
* URL of the OAuth application.
|
|
9941
|
+
*
|
|
9942
|
+
* @deprecated Used by the accounts portal. Pass `client_id` and `redirect_uri` as URL parameters instead.
|
|
9899
9943
|
*/
|
|
9900
9944
|
oAuthApplicationUrl?: string;
|
|
9901
9945
|
/**
|
|
9902
9946
|
* Scopes requested by the OAuth application.
|
|
9947
|
+
*
|
|
9948
|
+
* @deprecated Used by the accounts portal. Pass `client_id` and `redirect_uri` as URL parameters instead.
|
|
9903
9949
|
*/
|
|
9904
|
-
scopes
|
|
9950
|
+
scopes?: {
|
|
9905
9951
|
scope: string;
|
|
9906
9952
|
description: string | null;
|
|
9907
9953
|
requires_consent: boolean;
|
|
9908
9954
|
}[];
|
|
9909
9955
|
/**
|
|
9910
|
-
* Full URL or path to navigate to after the user allows access.
|
|
9956
|
+
* Full URL or path to navigate to after the user allows or denies access.
|
|
9957
|
+
*
|
|
9958
|
+
* @deprecated Used by the accounts portal. Pass `client_id` and `redirect_uri` as URL parameters instead.
|
|
9911
9959
|
*/
|
|
9912
|
-
redirectUrl
|
|
9960
|
+
redirectUrl?: string;
|
|
9913
9961
|
/**
|
|
9914
9962
|
* Called when user allows access.
|
|
9963
|
+
*
|
|
9964
|
+
* @deprecated Used by the accounts portal. Pass `client_id` and `redirect_uri` as URL parameters instead.
|
|
9915
9965
|
*/
|
|
9916
|
-
onAllow
|
|
9966
|
+
onAllow?: () => void;
|
|
9917
9967
|
/**
|
|
9918
9968
|
* Called when user denies access.
|
|
9969
|
+
*
|
|
9970
|
+
* @deprecated Used by the accounts portal. Pass `client_id` and `redirect_uri` as URL parameters instead.
|
|
9919
9971
|
*/
|
|
9920
|
-
onDeny
|
|
9972
|
+
onDeny?: () => void;
|
|
9921
9973
|
};
|
|
9922
9974
|
interface HandleEmailLinkVerificationParams {
|
|
9923
9975
|
/**
|