@clerk/types 4.58.0-snapshot.v20250512155159 → 4.58.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.
package/dist/index.d.mts CHANGED
@@ -395,9 +395,9 @@ interface CommerceCheckoutResource extends ClerkResource {
395
395
  paymentSource?: CommercePaymentSourceResource;
396
396
  plan: CommercePlanResource;
397
397
  planPeriod: CommerceSubscriptionPlanPeriod;
398
+ planPeriodStart?: number;
398
399
  status: string;
399
400
  totals: CommerceCheckoutTotals;
400
- subscription?: CommerceSubscriptionResource;
401
401
  confirm: (params: ConfirmCheckoutParams) => Promise<CommerceCheckoutResource>;
402
402
  isImmediatePlanChange: boolean;
403
403
  }
@@ -568,15 +568,6 @@ interface OrganizationInvitationResource extends ClerkResource {
568
568
  */
569
569
  type OrganizationInvitationStatus = 'pending' | 'accepted' | 'revoked' | 'expired';
570
570
 
571
- interface PhoneCodeChannelData {
572
- channel: PhoneCodeChannel;
573
- name: string;
574
- }
575
- type PhoneCodeSMSChannel = 'sms';
576
- type PhoneCodeWhatsAppChannel = 'whatsapp';
577
- type PhoneCodeChannel = PhoneCodeSMSChannel | PhoneCodeWhatsAppChannel;
578
- type PhoneCodeProvider = PhoneCodeChannel;
579
-
580
571
  type SnakeToCamel<T> = T extends `${infer A}_${infer B}` ? `${Uncapitalize<A>}${Capitalize<SnakeToCamel<B>>}` : T extends object ? {
581
572
  [K in keyof T as SnakeToCamel<K>]: T[K];
582
573
  } : T;
@@ -662,7 +653,6 @@ interface VerificationResource extends ClerkResource {
662
653
  strategy: string | null;
663
654
  verifiedAtClient: string | null;
664
655
  verifiedFromTheSameClient: () => boolean;
665
- channel?: PhoneCodeChannel;
666
656
  __internal_toSnapshot: () => VerificationJSONSnapshot;
667
657
  }
668
658
  interface PasskeyVerificationResource extends VerificationResource {
@@ -740,7 +730,6 @@ type PhoneCodeFactor = {
740
730
  safeIdentifier: string;
741
731
  primary?: boolean;
742
732
  default?: boolean;
743
- channel?: PhoneCodeChannel;
744
733
  };
745
734
  type Web3SignatureFactor = {
746
735
  strategy: Web3Strategy;
@@ -1074,7 +1063,6 @@ interface OrganizationSuggestionResource extends ClerkResource {
1074
1063
  type PhoneNumberVerificationStrategy = PhoneCodeStrategy;
1075
1064
  type PreparePhoneNumberVerificationParams = {
1076
1065
  strategy: PhoneNumberVerificationStrategy;
1077
- channel?: PhoneCodeChannel;
1078
1066
  };
1079
1067
  type AttemptPhoneNumberVerificationParams = {
1080
1068
  code: string;
@@ -1995,7 +1983,6 @@ type AttributeDataJSON = {
1995
1983
  used_for_second_factor: boolean;
1996
1984
  second_factors: VerificationStrategy[];
1997
1985
  verify_at_sign_up: boolean;
1998
- channels?: PhoneCodeChannel[];
1999
1986
  };
2000
1987
  type AttributeData = AttributeDataJSON & {
2001
1988
  name: Attribute;
@@ -2088,7 +2075,6 @@ interface UserSettingsResource extends ClerkResource {
2088
2075
  socialProviderStrategies: OAuthStrategy[];
2089
2076
  authenticatableSocialStrategies: OAuthStrategy[];
2090
2077
  web3FirstFactors: Web3Strategy[];
2091
- alternativePhoneCodeChannels: PhoneCodeChannel[];
2092
2078
  enabledFirstFactorIdentifiers: Attribute[];
2093
2079
  instanceIsPasswordBased: boolean;
2094
2080
  hasValidAuthFactor: boolean;
@@ -2428,7 +2414,6 @@ type PrepareVerificationParams = {
2428
2414
  redirectUrl?: string;
2429
2415
  } | {
2430
2416
  strategy: PhoneCodeStrategy;
2431
- channel?: PhoneCodeChannel;
2432
2417
  } | {
2433
2418
  strategy: Web3Strategy;
2434
2419
  } | {
@@ -2456,7 +2441,7 @@ type SignUpCreateParams = Partial<{
2456
2441
  externalAccountStrategy: string;
2457
2442
  externalAccountRedirectUrl: string;
2458
2443
  externalAccountActionCompleteRedirectUrl: string;
2459
- strategy: OAuthStrategy | SamlStrategy | EnterpriseSSOStrategy | TicketStrategy | GoogleOneTapStrategy | PhoneCodeStrategy;
2444
+ strategy: OAuthStrategy | SamlStrategy | EnterpriseSSOStrategy | TicketStrategy | GoogleOneTapStrategy;
2460
2445
  redirectUrl: string;
2461
2446
  actionCompleteRedirectUrl: string;
2462
2447
  transfer: boolean;
@@ -2466,7 +2451,6 @@ type SignUpCreateParams = Partial<{
2466
2451
  legalAccepted: boolean;
2467
2452
  oidcPrompt: string;
2468
2453
  oidcLoginHint: string;
2469
- channel: PhoneCodeChannel;
2470
2454
  } & Omit<SnakeToCamel<Record<SignUpAttributeField | SignUpVerifiableField, string>>, 'legalAccepted'>>;
2471
2455
  type SignUpUpdateParams = SignUpCreateParams;
2472
2456
  /**
@@ -2777,7 +2761,6 @@ interface VerificationJSON extends ClerkResourceJSON {
2777
2761
  external_verification_redirect_url?: string;
2778
2762
  attempts: number;
2779
2763
  expire_at: number;
2780
- channel?: PhoneCodeChannel;
2781
2764
  error: ClerkAPIErrorJSON;
2782
2765
  }
2783
2766
  interface SignUpVerificationsJSON {
@@ -2789,7 +2772,6 @@ interface SignUpVerificationsJSON {
2789
2772
  interface SignUpVerificationJSON extends VerificationJSON {
2790
2773
  next_action: string;
2791
2774
  supported_strategies: string[];
2792
- channel?: PhoneCodeChannel;
2793
2775
  }
2794
2776
  interface ClerkAPIErrorJSON {
2795
2777
  code: string;
@@ -3133,8 +3115,8 @@ interface CommerceCheckoutJSON extends ClerkResourceJSON {
3133
3115
  payment_source?: CommercePaymentSourceJSON;
3134
3116
  plan: CommercePlanJSON;
3135
3117
  plan_period: CommerceSubscriptionPlanPeriod;
3118
+ plan_period_start?: number;
3136
3119
  status: string;
3137
- subscription?: CommerceSubscriptionJSON;
3138
3120
  totals: CommerceCheckoutTotalsJSON;
3139
3121
  is_immediate_plan_change: boolean;
3140
3122
  }
@@ -3381,18 +3363,18 @@ type ElementsConfig = {
3381
3363
  footerPagesLink: WithOptions<'help' | 'terms' | 'privacy'>;
3382
3364
  socialButtonsRoot: WithOptions;
3383
3365
  socialButtons: WithOptions;
3384
- socialButtonsIconButton: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel, LoadingState>;
3385
- socialButtonsBlockButton: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel, LoadingState>;
3386
- socialButtonsBlockButtonText: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel>;
3387
- socialButtonsProviderIcon: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel, LoadingState>;
3388
- socialButtonsProviderInitialIcon: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel, LoadingState>;
3366
+ socialButtonsIconButton: WithOptions<OAuthProvider | Web3Provider, LoadingState>;
3367
+ socialButtonsBlockButton: WithOptions<OAuthProvider | Web3Provider, LoadingState>;
3368
+ socialButtonsBlockButtonText: WithOptions<OAuthProvider | Web3Provider>;
3369
+ socialButtonsProviderIcon: WithOptions<OAuthProvider | Web3Provider, LoadingState>;
3370
+ socialButtonsProviderInitialIcon: WithOptions<OAuthProvider | Web3Provider, LoadingState>;
3389
3371
  enterpriseButtonsProviderIcon: WithOptions<EnterpriseProvider, LoadingState>;
3390
- providerIcon: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel | SamlIdpSlug, LoadingState>;
3391
- providerInitialIcon: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel | SamlIdpSlug, LoadingState>;
3372
+ providerIcon: WithOptions<OAuthProvider | Web3Provider | SamlIdpSlug, LoadingState>;
3373
+ providerInitialIcon: WithOptions<OAuthProvider | Web3Provider | SamlIdpSlug, LoadingState>;
3392
3374
  alternativeMethods: WithOptions;
3393
- alternativeMethodsBlockButton: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel, LoadingState>;
3394
- alternativeMethodsBlockButtonText: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel>;
3395
- alternativeMethodsBlockButtonArrow: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel>;
3375
+ alternativeMethodsBlockButton: WithOptions<OAuthProvider | Web3Provider, LoadingState>;
3376
+ alternativeMethodsBlockButtonText: WithOptions<OAuthProvider | Web3Provider>;
3377
+ alternativeMethodsBlockButtonArrow: WithOptions<OAuthProvider | Web3Provider>;
3396
3378
  checkoutFormLineItemsRoot: WithOptions;
3397
3379
  checkoutFormElementsRoot: WithOptions;
3398
3380
  checkoutSuccessRoot: WithOptions;
@@ -3405,7 +3387,6 @@ type ElementsConfig = {
3405
3387
  otpCodeFieldInput: WithOptions;
3406
3388
  otpCodeFieldErrorText: WithOptions;
3407
3389
  dividerRow: WithOptions;
3408
- dividerColumn: WithOptions;
3409
3390
  dividerText: WithOptions;
3410
3391
  dividerLine: WithOptions;
3411
3392
  drawerBackdrop: WithOptions;
@@ -4234,12 +4215,6 @@ type _LocalizationResource = {
4234
4215
  actionLink: LocalizationValue;
4235
4216
  actionLink__use_phone: LocalizationValue;
4236
4217
  actionLink__use_email: LocalizationValue;
4237
- alternativePhoneCodeProvider: {
4238
- actionLink: LocalizationValue;
4239
- label: LocalizationValue;
4240
- subtitle: LocalizationValue;
4241
- title: LocalizationValue;
4242
- };
4243
4218
  };
4244
4219
  emailLink: {
4245
4220
  title: LocalizationValue;
@@ -4277,13 +4252,6 @@ type _LocalizationResource = {
4277
4252
  formSubtitle: LocalizationValue;
4278
4253
  resendButton: LocalizationValue;
4279
4254
  };
4280
- alternativePhoneCodeProvider: {
4281
- formSubtitle: LocalizationValue;
4282
- formTitle: LocalizationValue;
4283
- resendButton: LocalizationValue;
4284
- subtitle: LocalizationValue;
4285
- title: LocalizationValue;
4286
- };
4287
4255
  continue: {
4288
4256
  title: LocalizationValue;
4289
4257
  subtitle: LocalizationValue;
@@ -4326,12 +4294,6 @@ type _LocalizationResource = {
4326
4294
  actionLink__use_passkey: LocalizationValue;
4327
4295
  actionText__join_waitlist: LocalizationValue;
4328
4296
  actionLink__join_waitlist: LocalizationValue;
4329
- alternativePhoneCodeProvider: {
4330
- actionLink: LocalizationValue;
4331
- label: LocalizationValue;
4332
- subtitle: LocalizationValue;
4333
- title: LocalizationValue;
4334
- };
4335
4297
  };
4336
4298
  password: {
4337
4299
  title: LocalizationValue;
@@ -4414,12 +4376,6 @@ type _LocalizationResource = {
4414
4376
  formTitle: LocalizationValue;
4415
4377
  resendButton: LocalizationValue;
4416
4378
  };
4417
- alternativePhoneCodeProvider: {
4418
- formTitle: LocalizationValue;
4419
- resendButton: LocalizationValue;
4420
- subtitle: LocalizationValue;
4421
- title: LocalizationValue;
4422
- };
4423
4379
  phoneCodeMfa: {
4424
4380
  title: LocalizationValue;
4425
4381
  subtitle: LocalizationValue;
@@ -7022,4 +6978,4 @@ type SharedSignedInAuthObjectProperties = {
7022
6978
  factorVerificationAge: [firstFactorAge: number, secondFactorAge: number] | null;
7023
6979
  };
7024
6980
 
7025
- export { type ActClaim, type ActJWTClaim, type Actions, type ActiveSessionResource, type AddMemberParams, type AddPaymentSourceParams, type AfterMultiSessionSingleSignOutUrl, type AfterSignOutUrl, type AlertId, type AlphaColorScale, type Appearance, type AppleOauthProvider, type AtlassianOauthProvider, type AttemptAffiliationVerificationParams, type AttemptEmailAddressVerificationParams, type AttemptFirstFactorParams, type AttemptPhoneNumberVerificationParams, type AttemptSecondFactorParams, type AttemptVerificationParams, type AttemptWeb3WalletVerificationParams, type Attribute, type AttributeData, type AttributeDataJSON, type Attributes, type AttributesJSON, type AuthConfigJSON, type AuthConfigJSONSnapshot, type AuthConfigResource, type AuthenticateWithCoinbaseWalletParams, type AuthenticateWithGoogleOneTapParams, type AuthenticateWithMetamaskParams, type AuthenticateWithOKXWalletParams, type AuthenticateWithPasskeyParams, type AuthenticateWithPopupParams, type AuthenticateWithRedirectParams, type AuthenticateWithWeb3Params, type Autocomplete, type BackupCodeAttempt, type BackupCodeFactor, type BackupCodeJSON, type BackupCodeResource, type BackupCodeStrategy, type BaseTheme, type BaseThemeTaggedType, type BeforeEmitCallback, type BitbucketOauthProvider, type BoxOauthProvider, type BoxShadow, type BuiltInColors, type CamelToSnake, type CancelSubscriptionParams, type CaptchaAppearanceOptions, type CaptchaProvider, type CaptchaWidgetType, type CardActionId, type CheckAuthorization, type CheckAuthorizationFn, type CheckAuthorizationFromSessionClaims, type CheckAuthorizationParamsFromSessionClaims, type CheckAuthorizationParamsWithCustomPermissions, type CheckAuthorizationWithCustomPermissions, type CheckoutTheme, type Clerk, type ClerkAPIError, type ClerkAPIErrorJSON, type ClerkAuthenticateWithWeb3Params, type ClerkEventPayload, type ClerkHostRouter, type ClerkJWTClaims, type ClerkOptions, type ClerkPaginatedResponse, type ClerkPaginationParams, type ClerkPaginationRequest, type ClerkResource, type ClerkResourceJSON, type ClerkResourceReloadParams, type ClerkRuntimeError, type ClerkStatus, type ClerkThemeOptions, type ClientJSON, type ClientJSONSnapshot, type ClientResource, type CodeVerificationAttemptParam, type CoinbaseOauthProvider, type CoinbaseWalletWeb3Provider, type Color, type ColorScale, type ColorScaleWithRequiredBase, type ColorString, type CommerceBillingNamespace, type CommerceCheckoutJSON, type CommerceCheckoutResource, type CommerceCheckoutTotals, type CommerceCheckoutTotalsJSON, type CommerceFeatureJSON, type CommerceFeatureJSONSnapshot, type CommerceFeatureResource, type CommerceInitializedPaymentSourceJSON, type CommerceInitializedPaymentSourceResource, type CommerceMoney, type CommerceMoneyJSON, type CommercePayment, type CommercePaymentChargeType, type CommercePaymentJSON, type CommercePaymentSourceJSON, type CommercePaymentSourceMethods, type CommercePaymentSourceResource, type CommercePaymentSourceStatus, type CommercePaymentStatus, type CommercePlanJSON, type CommercePlanJSONSnapshot, type CommercePlanResource, type CommerceProductJSON, type CommerceProductResource, type CommerceSettingsJSON, type CommerceSettingsJSONSnapshot, type CommerceSettingsResource, type CommerceStatementGroup, type CommerceStatementGroupJSON, type CommerceStatementJSON, type CommerceStatementResource, type CommerceStatementStatus, type CommerceStatementTotals, type CommerceStatementTotalsJSON, type CommerceSubscriberType, type CommerceSubscriptionJSON, type CommerceSubscriptionPlanPeriod, type CommerceSubscriptionResource, type CommerceSubscriptionStatus, type ComplexityErrors, type ConfirmCheckoutParams, type CreateBulkOrganizationInvitationParams, type CreateCheckoutParams, type CreateEmailAddressParams, type CreateEmailLinkFlowReturn, type CreateEnterpriseSSOLinkFlowReturn, type CreateExternalAccountParams, type CreateOrganizationInvitationParams, type CreateOrganizationModalProps, type CreateOrganizationParams, type CreateOrganizationProps, type CreateOrganizationTheme, type CreatePhoneNumberParams, type CreateWeb3WalletParams, type CredentialReturn, type CssColorOrAlphaScale, type CssColorOrScale, type CustomMenuItem, type CustomNavigation, type CustomOAuthStrategy, type CustomOauthProvider, type CustomPage, type DeepCamelToSnake, type DeepPartial, type DeepRequired, type DeepSnakeToCamel, type DeletedObjectJSON, type DeletedObjectResource, type DiscordOauthProvider, type DisplayConfigJSON, type DisplayConfigJSONSnapshot, type DisplayConfigResource, type DisplayThemeJSON, type DomainOrProxyUrl, type DropboxOauthProvider, type ElementObjectKey, type ElementState, type Elements, type ElementsConfig, type EmUnit, type EmailAddressIdentifier, type EmailAddressJSON, type EmailAddressJSONSnapshot, type EmailAddressOrPhoneNumberIdentifier, type EmailAddressResource, type EmailCodeAttempt, type EmailCodeConfig, type EmailCodeFactor, type EmailCodeStrategy, type EmailLinkConfig, type EmailLinkFactor, type EmailLinkStrategy, type EnstallOauthProvider, type EnterpriseAccountConnectionJSON, type EnterpriseAccountConnectionJSONSnapshot, type EnterpriseAccountConnectionResource, type EnterpriseAccountJSON, type EnterpriseAccountJSONSnapshot, type EnterpriseAccountResource, type EnterpriseProtocol, type EnterpriseProvider, type EnterpriseSSOConfig, type EnterpriseSSOFactor, type EnterpriseSSOSettings, type EnterpriseSSOStrategy, type EnvironmentJSON, type EnvironmentJSONSnapshot, type EnvironmentResource, type ExternalAccountJSON, type ExternalAccountJSONSnapshot, type ExternalAccountResource, type FacebookOauthProvider, type FieldId, type FirstNameAttribute, type FontFamily, type FontWeight, type GenerateSignature, type GenerateSignatureParams, type GetDomainsParams, type GetInvitationsParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetPaymentSourcesParams, type GetPlansParams, type GetRolesParams, type GetStatementsParams, type GetSubscriptionsParams, type GetToken, type GetTokenOptions, type GetUserOrganizationInvitationsParams, type GetUserOrganizationMembershipParams, type GetUserOrganizationSuggestionsParams, type GithubOauthProvider, type GitlabOauthProvider, type GoogleOauthProvider, type GoogleOneTapProps, type GoogleOneTapStrategy, type HandleEmailLinkVerificationParams, type HandleOAuthCallbackParams, type HandleSamlCallbackParams, type HexColor, type HexColorString, type HslaColor, type HslaColorString, type HubspotOauthProvider, type HuggingfaceOAuthProvider, type IdSelectors, type IdentificationLinkJSON, type IdentificationLinkJSONSnapshot, type IdentificationLinkResource, type ImageJSON, type ImageResource, type InitialState, type InitializePaymentSourceParams, type InstagramOauthProvider, type InstanceType, type InviteMemberParams, type InviteMembersParams, type JWT, type JWTClaims, type JWTHeader, type JoinWaitlistParams, type Jwt, type JwtHeader, type JwtPayload, type LastNameAttribute, type Layout, type LegacyRedirectProps, type LegalAcceptedAttribute, type LineOauthProvider, type LinearOauthProvider, type LinkedinOIDCOauthProvider, type LinkedinOauthProvider, type ListenerCallback, type LoadedClerk, type LocalizationResource, type LocalizationValue, type MakeDefaultPaymentSourceParams, type MenuId, type MetamaskWeb3Provider, type MicrosoftOauthProvider, type MultiDomainAndOrProxy, type MultiDomainAndOrProxyPrimitives, type NavigateOptions, type NewSubscriptionRedirectUrl, type NextTaskParams, type NotionOauthProvider, type Nullable, OAUTH_PROVIDERS, type OAuthConfig, type OAuthProvider, type OAuthProviderData, type OAuthProviderSettings, type OAuthProviders, type OAuthScope, type OAuthStrategy, type OKXWalletWeb3Provider, type OauthFactor, type OrganizationCustomPermissionKey, type OrganizationCustomRoleKey, type OrganizationDomainJSON, type OrganizationDomainResource, type OrganizationDomainVerification, type OrganizationDomainVerificationJSON, type OrganizationDomainVerificationStatus, type OrganizationEnrollmentMode, type OrganizationInvitationJSON, type OrganizationInvitationResource, type OrganizationInvitationStatus, type OrganizationJSON, type OrganizationJSONSnapshot, type OrganizationListProps, type OrganizationListTheme, type OrganizationMembershipJSON, type OrganizationMembershipJSONSnapshot, type OrganizationMembershipRequestJSON, type OrganizationMembershipRequestResource, type OrganizationMembershipResource, type OrganizationPermissionKey, type OrganizationPreviewId, type OrganizationProfileModalProps, type OrganizationProfileProps, type OrganizationProfileTheme, type OrganizationResource, type OrganizationSettingsJSON, type OrganizationSettingsJSONSnapshot, type OrganizationSettingsResource, type OrganizationSuggestionJSON, type OrganizationSuggestionResource, type OrganizationSuggestionStatus, type OrganizationSwitcherProps, type OrganizationSwitcherTheme, type OrganizationSystemPermissionKey, type OrganizationSystemPermissionPrefix, type OrganizationsJWTClaim, type Override, type PartialWithClerkResource, type PassKeyConfig, type PasskeyAttempt, type PasskeyFactor, type PasskeyJSON, type PasskeyJSONSnapshot, type PasskeyResource, type PasskeySettingsData, type PasskeyStrategy, type PasskeyVerificationResource, type PasswordAttempt, type PasswordAttribute, type PasswordFactor, type PasswordSettingsData, type PasswordStrategy, type PasswordStrength, type PasswordValidation, type PathValue, type PaymentGateway, type PendingSessionOptions, type PendingSessionResource, type PermissionJSON, type PermissionResource, type PhoneCodeAttempt, type PhoneCodeChannel, type PhoneCodeChannelData, type PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeProvider, type PhoneCodeSMSChannel, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, type PhoneCodeWhatsAppChannel, type PhoneNumberIdentifier, type PhoneNumberJSON, type PhoneNumberJSONSnapshot, type PhoneNumberResource, type PhoneNumberVerificationStrategy, type PlanDetailTheme, type PreferredSignInStrategy, type PrepareAffiliationVerificationParams, type PrepareEmailAddressVerificationParams, type PrepareFirstFactorParams, type PreparePhoneNumberVerificationParams, type PrepareSecondFactorParams, type PrepareVerificationParams, type PrepareWeb3WalletVerificationParams, type PricingTableProps, type PricingTableTheme, type ProfilePageId, type ProfileSectionId, type PublicKeyCredentialCreationOptionsJSON, type PublicKeyCredentialCreationOptionsWithoutExtensions, type PublicKeyCredentialRequestOptionsJSON, type PublicKeyCredentialRequestOptionsWithoutExtensions, type PublicKeyCredentialWithAuthenticatorAssertionResponse, type PublicKeyCredentialWithAuthenticatorAttestationResponse, type PublicOrganizationDataJSON, type PublicUserData, type PublicUserDataJSON, type PublicUserDataJSONSnapshot, type PublishableKey, type ReauthorizeExternalAccountParams, type RecordToPath, type RedirectOptions, type RedirectUrlProp, type RemovePaymentSourceParams, type RemoveUserPasswordParams, type ResetPasswordCodeFactor, type ResetPasswordEmailCodeAttempt, type ResetPasswordEmailCodeFactor, type ResetPasswordEmailCodeFactorConfig, type ResetPasswordEmailCodeStrategy, type ResetPasswordParams, type ResetPasswordPhoneCodeAttempt, type ResetPasswordPhoneCodeFactor, type ResetPasswordPhoneCodeFactorConfig, type ResetPasswordPhoneCodeStrategy, type Resources, type ReverificationConfig, type RgbaColor, type RgbaColorString, type RoleJSON, type RoleResource, type RoutingMode, type RoutingOptions, type RoutingStrategy, SAML_IDPS, type SDKMetadata, type SamlAccountConnectionJSON, type SamlAccountConnectionJSONSnapshot, type SamlAccountConnectionResource, type SamlAccountJSON, type SamlAccountJSONSnapshot, type SamlAccountResource, type SamlConfig, type SamlFactor, type SamlIdp, type SamlIdpMap, type SamlIdpSlug, type SamlSettings, type SamlStrategy, type SelectId, type Serializable, type ServerGetToken, type ServerGetTokenOptions, type SessionActivity, type SessionActivityJSON, type SessionJSON, type SessionJSONSnapshot, type SessionResource, type SessionStatus, type SessionStatusClaim, type SessionTask, type SessionVerificationAfterMinutes, type SessionVerificationFirstFactor, type SessionVerificationJSON, type SessionVerificationLevel, type SessionVerificationResource, type SessionVerificationSecondFactor, type SessionVerificationStatus, type SessionVerificationTypes, type SessionVerifyAttemptFirstFactorParams, type SessionVerifyAttemptSecondFactorParams, type SessionVerifyCreateParams, type SessionVerifyPrepareFirstFactorParams, type SessionVerifyPrepareSecondFactorParams, type SessionWithActivitiesJSON, type SessionWithActivitiesResource, type SetActive, type SetActiveParams, type SetOrganizationLogoParams, type SetProfileImageParams, type SetReservedForSecondFactorParams, type SharedSignedInAuthObjectProperties, type SignInButtonProps, type SignInCreateParams, type SignInData, type SignInFactor, type SignInFallbackRedirectUrl, type SignInFirstFactor, type SignInFirstFactorJSON, type SignInForceRedirectUrl, type SignInIdentifier, type SignInInitialValues, type SignInJSON, type SignInJSONSnapshot, type SignInModalProps, type SignInProps, type SignInRedirectOptions, type SignInResource, type SignInSecondFactor, type SignInSecondFactorJSON, type SignInStartEmailLinkFlowParams, type SignInStatus, type SignInStrategy, type SignInTheme, type SignOut, type SignOutCallback, type SignOutOptions, type SignUpAttributeField, type SignUpAuthenticateWithMetamaskParams, type SignUpAuthenticateWithWeb3Params, type SignUpButtonProps, type SignUpCreateParams, type SignUpData, type SignUpFallbackRedirectUrl, type SignUpField, type SignUpForceRedirectUrl, type SignUpIdentificationField, type SignUpInitialValues, type SignUpJSON, type SignUpJSONSnapshot, type SignUpModalProps, type SignUpModes, type SignUpProps, type SignUpRedirectOptions, type SignUpResource, type SignUpStatus, type SignUpTheme, type SignUpUpdateParams, type SignUpVerifiableField, type SignUpVerificationJSON, type SignUpVerificationJSONSnapshot, type SignUpVerificationResource, type SignUpVerificationsJSON, type SignUpVerificationsJSONSnapshot, type SignUpVerificationsResource, type SignatureVerificationAttemptParam, type SignedInSessionResource, type SlackOauthProvider, type SnakeToCamel, type SpotifyOauthProvider, type StartEmailLinkFlowParams, type StartEnterpriseSSOLinkFlowParams, type StateSelectors, type TOTPAttempt, type TOTPFactor, type TOTPJSON, type TOTPResource, type TOTPStrategy, type TelemetryCollector, type TelemetryEvent, type TelemetryEventRaw, type Theme, type TicketStrategy, type TiktokOauthProvider, type TokenJSON, type TokenJSONSnapshot, type TokenResource, type TransferableOption, type TransparentColor, type TwitchOauthProvider, type TwitterOauthProvider, type UnsubscribeCallback, type UpdateEnrollmentModeParams, type UpdateMembershipParams, type UpdateOrganizationMembershipParams, type UpdateOrganizationParams, type UpdatePasskeyParams, type UpdateUserParams, type UpdateUserPasswordParams, type UseAuthReturn, type UseSessionListReturn, type UseSessionReturn, type UseSignInReturn, type UseSignUpReturn, type UseUserReturn, type UserButtonProps, type UserButtonTheme, type UserData, type UserDataJSON, type UserDataJSONSnapshot, type UserJSON, type UserJSONSnapshot, type UserOrganizationInvitationJSON, type UserOrganizationInvitationResource, type UserPreviewId, type UserProfileModalProps, type UserProfileProps, type UserProfileTheme, type UserResource, type UserSettingsJSON, type UserSettingsJSONSnapshot, type UserSettingsResource, type UserVerificationTheme, type UsernameIdentifier, type UsernameSettingsData, type ValidatePasswordCallbacks, type Variables, type VerificationAttemptParams, type VerificationJSON, type VerificationJSONSnapshot, type VerificationResource, type VerificationStatus, type VerificationStrategy, type VerifyTOTPParams, type VersionedJwtPayload, WEB3_PROVIDERS, type WaitlistJSON, type WaitlistModalProps, type WaitlistProps, type WaitlistResource, type WaitlistTheme, type Web3Attempt, type Web3Provider, type Web3ProviderData, type Web3SignatureConfig, type Web3SignatureFactor, type Web3Strategy, type Web3WalletIdentifier, type Web3WalletJSON, type Web3WalletJSONSnapshot, type Web3WalletResource, type Without, type WithoutRouting, type XOauthProvider, type XeroOauthProvider, type ZxcvbnResult, type __internal_CheckoutProps, type __internal_ComponentNavigationContext, type __internal_PlanDetailsProps, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
6981
+ export { type ActClaim, type ActJWTClaim, type Actions, type ActiveSessionResource, type AddMemberParams, type AddPaymentSourceParams, type AfterMultiSessionSingleSignOutUrl, type AfterSignOutUrl, type AlertId, type AlphaColorScale, type Appearance, type AppleOauthProvider, type AtlassianOauthProvider, type AttemptAffiliationVerificationParams, type AttemptEmailAddressVerificationParams, type AttemptFirstFactorParams, type AttemptPhoneNumberVerificationParams, type AttemptSecondFactorParams, type AttemptVerificationParams, type AttemptWeb3WalletVerificationParams, type Attribute, type AttributeData, type AttributeDataJSON, type Attributes, type AttributesJSON, type AuthConfigJSON, type AuthConfigJSONSnapshot, type AuthConfigResource, type AuthenticateWithCoinbaseWalletParams, type AuthenticateWithGoogleOneTapParams, type AuthenticateWithMetamaskParams, type AuthenticateWithOKXWalletParams, type AuthenticateWithPasskeyParams, type AuthenticateWithPopupParams, type AuthenticateWithRedirectParams, type AuthenticateWithWeb3Params, type Autocomplete, type BackupCodeAttempt, type BackupCodeFactor, type BackupCodeJSON, type BackupCodeResource, type BackupCodeStrategy, type BaseTheme, type BaseThemeTaggedType, type BeforeEmitCallback, type BitbucketOauthProvider, type BoxOauthProvider, type BoxShadow, type BuiltInColors, type CamelToSnake, type CancelSubscriptionParams, type CaptchaAppearanceOptions, type CaptchaProvider, type CaptchaWidgetType, type CardActionId, type CheckAuthorization, type CheckAuthorizationFn, type CheckAuthorizationFromSessionClaims, type CheckAuthorizationParamsFromSessionClaims, type CheckAuthorizationParamsWithCustomPermissions, type CheckAuthorizationWithCustomPermissions, type CheckoutTheme, type Clerk, type ClerkAPIError, type ClerkAPIErrorJSON, type ClerkAuthenticateWithWeb3Params, type ClerkEventPayload, type ClerkHostRouter, type ClerkJWTClaims, type ClerkOptions, type ClerkPaginatedResponse, type ClerkPaginationParams, type ClerkPaginationRequest, type ClerkResource, type ClerkResourceJSON, type ClerkResourceReloadParams, type ClerkRuntimeError, type ClerkStatus, type ClerkThemeOptions, type ClientJSON, type ClientJSONSnapshot, type ClientResource, type CodeVerificationAttemptParam, type CoinbaseOauthProvider, type CoinbaseWalletWeb3Provider, type Color, type ColorScale, type ColorScaleWithRequiredBase, type ColorString, type CommerceBillingNamespace, type CommerceCheckoutJSON, type CommerceCheckoutResource, type CommerceCheckoutTotals, type CommerceCheckoutTotalsJSON, type CommerceFeatureJSON, type CommerceFeatureJSONSnapshot, type CommerceFeatureResource, type CommerceInitializedPaymentSourceJSON, type CommerceInitializedPaymentSourceResource, type CommerceMoney, type CommerceMoneyJSON, type CommercePayment, type CommercePaymentChargeType, type CommercePaymentJSON, type CommercePaymentSourceJSON, type CommercePaymentSourceMethods, type CommercePaymentSourceResource, type CommercePaymentSourceStatus, type CommercePaymentStatus, type CommercePlanJSON, type CommercePlanJSONSnapshot, type CommercePlanResource, type CommerceProductJSON, type CommerceProductResource, type CommerceSettingsJSON, type CommerceSettingsJSONSnapshot, type CommerceSettingsResource, type CommerceStatementGroup, type CommerceStatementGroupJSON, type CommerceStatementJSON, type CommerceStatementResource, type CommerceStatementStatus, type CommerceStatementTotals, type CommerceStatementTotalsJSON, type CommerceSubscriberType, type CommerceSubscriptionJSON, type CommerceSubscriptionPlanPeriod, type CommerceSubscriptionResource, type CommerceSubscriptionStatus, type ComplexityErrors, type ConfirmCheckoutParams, type CreateBulkOrganizationInvitationParams, type CreateCheckoutParams, type CreateEmailAddressParams, type CreateEmailLinkFlowReturn, type CreateEnterpriseSSOLinkFlowReturn, type CreateExternalAccountParams, type CreateOrganizationInvitationParams, type CreateOrganizationModalProps, type CreateOrganizationParams, type CreateOrganizationProps, type CreateOrganizationTheme, type CreatePhoneNumberParams, type CreateWeb3WalletParams, type CredentialReturn, type CssColorOrAlphaScale, type CssColorOrScale, type CustomMenuItem, type CustomNavigation, type CustomOAuthStrategy, type CustomOauthProvider, type CustomPage, type DeepCamelToSnake, type DeepPartial, type DeepRequired, type DeepSnakeToCamel, type DeletedObjectJSON, type DeletedObjectResource, type DiscordOauthProvider, type DisplayConfigJSON, type DisplayConfigJSONSnapshot, type DisplayConfigResource, type DisplayThemeJSON, type DomainOrProxyUrl, type DropboxOauthProvider, type ElementObjectKey, type ElementState, type Elements, type ElementsConfig, type EmUnit, type EmailAddressIdentifier, type EmailAddressJSON, type EmailAddressJSONSnapshot, type EmailAddressOrPhoneNumberIdentifier, type EmailAddressResource, type EmailCodeAttempt, type EmailCodeConfig, type EmailCodeFactor, type EmailCodeStrategy, type EmailLinkConfig, type EmailLinkFactor, type EmailLinkStrategy, type EnstallOauthProvider, type EnterpriseAccountConnectionJSON, type EnterpriseAccountConnectionJSONSnapshot, type EnterpriseAccountConnectionResource, type EnterpriseAccountJSON, type EnterpriseAccountJSONSnapshot, type EnterpriseAccountResource, type EnterpriseProtocol, type EnterpriseProvider, type EnterpriseSSOConfig, type EnterpriseSSOFactor, type EnterpriseSSOSettings, type EnterpriseSSOStrategy, type EnvironmentJSON, type EnvironmentJSONSnapshot, type EnvironmentResource, type ExternalAccountJSON, type ExternalAccountJSONSnapshot, type ExternalAccountResource, type FacebookOauthProvider, type FieldId, type FirstNameAttribute, type FontFamily, type FontWeight, type GenerateSignature, type GenerateSignatureParams, type GetDomainsParams, type GetInvitationsParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetPaymentSourcesParams, type GetPlansParams, type GetRolesParams, type GetStatementsParams, type GetSubscriptionsParams, type GetToken, type GetTokenOptions, type GetUserOrganizationInvitationsParams, type GetUserOrganizationMembershipParams, type GetUserOrganizationSuggestionsParams, type GithubOauthProvider, type GitlabOauthProvider, type GoogleOauthProvider, type GoogleOneTapProps, type GoogleOneTapStrategy, type HandleEmailLinkVerificationParams, type HandleOAuthCallbackParams, type HandleSamlCallbackParams, type HexColor, type HexColorString, type HslaColor, type HslaColorString, type HubspotOauthProvider, type HuggingfaceOAuthProvider, type IdSelectors, type IdentificationLinkJSON, type IdentificationLinkJSONSnapshot, type IdentificationLinkResource, type ImageJSON, type ImageResource, type InitialState, type InitializePaymentSourceParams, type InstagramOauthProvider, type InstanceType, type InviteMemberParams, type InviteMembersParams, type JWT, type JWTClaims, type JWTHeader, type JoinWaitlistParams, type Jwt, type JwtHeader, type JwtPayload, type LastNameAttribute, type Layout, type LegacyRedirectProps, type LegalAcceptedAttribute, type LineOauthProvider, type LinearOauthProvider, type LinkedinOIDCOauthProvider, type LinkedinOauthProvider, type ListenerCallback, type LoadedClerk, type LocalizationResource, type LocalizationValue, type MakeDefaultPaymentSourceParams, type MenuId, type MetamaskWeb3Provider, type MicrosoftOauthProvider, type MultiDomainAndOrProxy, type MultiDomainAndOrProxyPrimitives, type NavigateOptions, type NewSubscriptionRedirectUrl, type NextTaskParams, type NotionOauthProvider, type Nullable, OAUTH_PROVIDERS, type OAuthConfig, type OAuthProvider, type OAuthProviderData, type OAuthProviderSettings, type OAuthProviders, type OAuthScope, type OAuthStrategy, type OKXWalletWeb3Provider, type OauthFactor, type OrganizationCustomPermissionKey, type OrganizationCustomRoleKey, type OrganizationDomainJSON, type OrganizationDomainResource, type OrganizationDomainVerification, type OrganizationDomainVerificationJSON, type OrganizationDomainVerificationStatus, type OrganizationEnrollmentMode, type OrganizationInvitationJSON, type OrganizationInvitationResource, type OrganizationInvitationStatus, type OrganizationJSON, type OrganizationJSONSnapshot, type OrganizationListProps, type OrganizationListTheme, type OrganizationMembershipJSON, type OrganizationMembershipJSONSnapshot, type OrganizationMembershipRequestJSON, type OrganizationMembershipRequestResource, type OrganizationMembershipResource, type OrganizationPermissionKey, type OrganizationPreviewId, type OrganizationProfileModalProps, type OrganizationProfileProps, type OrganizationProfileTheme, type OrganizationResource, type OrganizationSettingsJSON, type OrganizationSettingsJSONSnapshot, type OrganizationSettingsResource, type OrganizationSuggestionJSON, type OrganizationSuggestionResource, type OrganizationSuggestionStatus, type OrganizationSwitcherProps, type OrganizationSwitcherTheme, type OrganizationSystemPermissionKey, type OrganizationSystemPermissionPrefix, type OrganizationsJWTClaim, type Override, type PartialWithClerkResource, type PassKeyConfig, type PasskeyAttempt, type PasskeyFactor, type PasskeyJSON, type PasskeyJSONSnapshot, type PasskeyResource, type PasskeySettingsData, type PasskeyStrategy, type PasskeyVerificationResource, type PasswordAttempt, type PasswordAttribute, type PasswordFactor, type PasswordSettingsData, type PasswordStrategy, type PasswordStrength, type PasswordValidation, type PathValue, type PaymentGateway, type PendingSessionOptions, type PendingSessionResource, type PermissionJSON, type PermissionResource, type PhoneCodeAttempt, type PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, type PhoneNumberIdentifier, type PhoneNumberJSON, type PhoneNumberJSONSnapshot, type PhoneNumberResource, type PhoneNumberVerificationStrategy, type PlanDetailTheme, type PreferredSignInStrategy, type PrepareAffiliationVerificationParams, type PrepareEmailAddressVerificationParams, type PrepareFirstFactorParams, type PreparePhoneNumberVerificationParams, type PrepareSecondFactorParams, type PrepareVerificationParams, type PrepareWeb3WalletVerificationParams, type PricingTableProps, type PricingTableTheme, type ProfilePageId, type ProfileSectionId, type PublicKeyCredentialCreationOptionsJSON, type PublicKeyCredentialCreationOptionsWithoutExtensions, type PublicKeyCredentialRequestOptionsJSON, type PublicKeyCredentialRequestOptionsWithoutExtensions, type PublicKeyCredentialWithAuthenticatorAssertionResponse, type PublicKeyCredentialWithAuthenticatorAttestationResponse, type PublicOrganizationDataJSON, type PublicUserData, type PublicUserDataJSON, type PublicUserDataJSONSnapshot, type PublishableKey, type ReauthorizeExternalAccountParams, type RecordToPath, type RedirectOptions, type RedirectUrlProp, type RemovePaymentSourceParams, type RemoveUserPasswordParams, type ResetPasswordCodeFactor, type ResetPasswordEmailCodeAttempt, type ResetPasswordEmailCodeFactor, type ResetPasswordEmailCodeFactorConfig, type ResetPasswordEmailCodeStrategy, type ResetPasswordParams, type ResetPasswordPhoneCodeAttempt, type ResetPasswordPhoneCodeFactor, type ResetPasswordPhoneCodeFactorConfig, type ResetPasswordPhoneCodeStrategy, type Resources, type ReverificationConfig, type RgbaColor, type RgbaColorString, type RoleJSON, type RoleResource, type RoutingMode, type RoutingOptions, type RoutingStrategy, SAML_IDPS, type SDKMetadata, type SamlAccountConnectionJSON, type SamlAccountConnectionJSONSnapshot, type SamlAccountConnectionResource, type SamlAccountJSON, type SamlAccountJSONSnapshot, type SamlAccountResource, type SamlConfig, type SamlFactor, type SamlIdp, type SamlIdpMap, type SamlIdpSlug, type SamlSettings, type SamlStrategy, type SelectId, type Serializable, type ServerGetToken, type ServerGetTokenOptions, type SessionActivity, type SessionActivityJSON, type SessionJSON, type SessionJSONSnapshot, type SessionResource, type SessionStatus, type SessionStatusClaim, type SessionTask, type SessionVerificationAfterMinutes, type SessionVerificationFirstFactor, type SessionVerificationJSON, type SessionVerificationLevel, type SessionVerificationResource, type SessionVerificationSecondFactor, type SessionVerificationStatus, type SessionVerificationTypes, type SessionVerifyAttemptFirstFactorParams, type SessionVerifyAttemptSecondFactorParams, type SessionVerifyCreateParams, type SessionVerifyPrepareFirstFactorParams, type SessionVerifyPrepareSecondFactorParams, type SessionWithActivitiesJSON, type SessionWithActivitiesResource, type SetActive, type SetActiveParams, type SetOrganizationLogoParams, type SetProfileImageParams, type SetReservedForSecondFactorParams, type SharedSignedInAuthObjectProperties, type SignInButtonProps, type SignInCreateParams, type SignInData, type SignInFactor, type SignInFallbackRedirectUrl, type SignInFirstFactor, type SignInFirstFactorJSON, type SignInForceRedirectUrl, type SignInIdentifier, type SignInInitialValues, type SignInJSON, type SignInJSONSnapshot, type SignInModalProps, type SignInProps, type SignInRedirectOptions, type SignInResource, type SignInSecondFactor, type SignInSecondFactorJSON, type SignInStartEmailLinkFlowParams, type SignInStatus, type SignInStrategy, type SignInTheme, type SignOut, type SignOutCallback, type SignOutOptions, type SignUpAttributeField, type SignUpAuthenticateWithMetamaskParams, type SignUpAuthenticateWithWeb3Params, type SignUpButtonProps, type SignUpCreateParams, type SignUpData, type SignUpFallbackRedirectUrl, type SignUpField, type SignUpForceRedirectUrl, type SignUpIdentificationField, type SignUpInitialValues, type SignUpJSON, type SignUpJSONSnapshot, type SignUpModalProps, type SignUpModes, type SignUpProps, type SignUpRedirectOptions, type SignUpResource, type SignUpStatus, type SignUpTheme, type SignUpUpdateParams, type SignUpVerifiableField, type SignUpVerificationJSON, type SignUpVerificationJSONSnapshot, type SignUpVerificationResource, type SignUpVerificationsJSON, type SignUpVerificationsJSONSnapshot, type SignUpVerificationsResource, type SignatureVerificationAttemptParam, type SignedInSessionResource, type SlackOauthProvider, type SnakeToCamel, type SpotifyOauthProvider, type StartEmailLinkFlowParams, type StartEnterpriseSSOLinkFlowParams, type StateSelectors, type TOTPAttempt, type TOTPFactor, type TOTPJSON, type TOTPResource, type TOTPStrategy, type TelemetryCollector, type TelemetryEvent, type TelemetryEventRaw, type Theme, type TicketStrategy, type TiktokOauthProvider, type TokenJSON, type TokenJSONSnapshot, type TokenResource, type TransferableOption, type TransparentColor, type TwitchOauthProvider, type TwitterOauthProvider, type UnsubscribeCallback, type UpdateEnrollmentModeParams, type UpdateMembershipParams, type UpdateOrganizationMembershipParams, type UpdateOrganizationParams, type UpdatePasskeyParams, type UpdateUserParams, type UpdateUserPasswordParams, type UseAuthReturn, type UseSessionListReturn, type UseSessionReturn, type UseSignInReturn, type UseSignUpReturn, type UseUserReturn, type UserButtonProps, type UserButtonTheme, type UserData, type UserDataJSON, type UserDataJSONSnapshot, type UserJSON, type UserJSONSnapshot, type UserOrganizationInvitationJSON, type UserOrganizationInvitationResource, type UserPreviewId, type UserProfileModalProps, type UserProfileProps, type UserProfileTheme, type UserResource, type UserSettingsJSON, type UserSettingsJSONSnapshot, type UserSettingsResource, type UserVerificationTheme, type UsernameIdentifier, type UsernameSettingsData, type ValidatePasswordCallbacks, type Variables, type VerificationAttemptParams, type VerificationJSON, type VerificationJSONSnapshot, type VerificationResource, type VerificationStatus, type VerificationStrategy, type VerifyTOTPParams, type VersionedJwtPayload, WEB3_PROVIDERS, type WaitlistJSON, type WaitlistModalProps, type WaitlistProps, type WaitlistResource, type WaitlistTheme, type Web3Attempt, type Web3Provider, type Web3ProviderData, type Web3SignatureConfig, type Web3SignatureFactor, type Web3Strategy, type Web3WalletIdentifier, type Web3WalletJSON, type Web3WalletJSONSnapshot, type Web3WalletResource, type Without, type WithoutRouting, type XOauthProvider, type XeroOauthProvider, type ZxcvbnResult, type __internal_CheckoutProps, type __internal_ComponentNavigationContext, type __internal_PlanDetailsProps, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
package/dist/index.d.ts CHANGED
@@ -395,9 +395,9 @@ interface CommerceCheckoutResource extends ClerkResource {
395
395
  paymentSource?: CommercePaymentSourceResource;
396
396
  plan: CommercePlanResource;
397
397
  planPeriod: CommerceSubscriptionPlanPeriod;
398
+ planPeriodStart?: number;
398
399
  status: string;
399
400
  totals: CommerceCheckoutTotals;
400
- subscription?: CommerceSubscriptionResource;
401
401
  confirm: (params: ConfirmCheckoutParams) => Promise<CommerceCheckoutResource>;
402
402
  isImmediatePlanChange: boolean;
403
403
  }
@@ -568,15 +568,6 @@ interface OrganizationInvitationResource extends ClerkResource {
568
568
  */
569
569
  type OrganizationInvitationStatus = 'pending' | 'accepted' | 'revoked' | 'expired';
570
570
 
571
- interface PhoneCodeChannelData {
572
- channel: PhoneCodeChannel;
573
- name: string;
574
- }
575
- type PhoneCodeSMSChannel = 'sms';
576
- type PhoneCodeWhatsAppChannel = 'whatsapp';
577
- type PhoneCodeChannel = PhoneCodeSMSChannel | PhoneCodeWhatsAppChannel;
578
- type PhoneCodeProvider = PhoneCodeChannel;
579
-
580
571
  type SnakeToCamel<T> = T extends `${infer A}_${infer B}` ? `${Uncapitalize<A>}${Capitalize<SnakeToCamel<B>>}` : T extends object ? {
581
572
  [K in keyof T as SnakeToCamel<K>]: T[K];
582
573
  } : T;
@@ -662,7 +653,6 @@ interface VerificationResource extends ClerkResource {
662
653
  strategy: string | null;
663
654
  verifiedAtClient: string | null;
664
655
  verifiedFromTheSameClient: () => boolean;
665
- channel?: PhoneCodeChannel;
666
656
  __internal_toSnapshot: () => VerificationJSONSnapshot;
667
657
  }
668
658
  interface PasskeyVerificationResource extends VerificationResource {
@@ -740,7 +730,6 @@ type PhoneCodeFactor = {
740
730
  safeIdentifier: string;
741
731
  primary?: boolean;
742
732
  default?: boolean;
743
- channel?: PhoneCodeChannel;
744
733
  };
745
734
  type Web3SignatureFactor = {
746
735
  strategy: Web3Strategy;
@@ -1074,7 +1063,6 @@ interface OrganizationSuggestionResource extends ClerkResource {
1074
1063
  type PhoneNumberVerificationStrategy = PhoneCodeStrategy;
1075
1064
  type PreparePhoneNumberVerificationParams = {
1076
1065
  strategy: PhoneNumberVerificationStrategy;
1077
- channel?: PhoneCodeChannel;
1078
1066
  };
1079
1067
  type AttemptPhoneNumberVerificationParams = {
1080
1068
  code: string;
@@ -1995,7 +1983,6 @@ type AttributeDataJSON = {
1995
1983
  used_for_second_factor: boolean;
1996
1984
  second_factors: VerificationStrategy[];
1997
1985
  verify_at_sign_up: boolean;
1998
- channels?: PhoneCodeChannel[];
1999
1986
  };
2000
1987
  type AttributeData = AttributeDataJSON & {
2001
1988
  name: Attribute;
@@ -2088,7 +2075,6 @@ interface UserSettingsResource extends ClerkResource {
2088
2075
  socialProviderStrategies: OAuthStrategy[];
2089
2076
  authenticatableSocialStrategies: OAuthStrategy[];
2090
2077
  web3FirstFactors: Web3Strategy[];
2091
- alternativePhoneCodeChannels: PhoneCodeChannel[];
2092
2078
  enabledFirstFactorIdentifiers: Attribute[];
2093
2079
  instanceIsPasswordBased: boolean;
2094
2080
  hasValidAuthFactor: boolean;
@@ -2428,7 +2414,6 @@ type PrepareVerificationParams = {
2428
2414
  redirectUrl?: string;
2429
2415
  } | {
2430
2416
  strategy: PhoneCodeStrategy;
2431
- channel?: PhoneCodeChannel;
2432
2417
  } | {
2433
2418
  strategy: Web3Strategy;
2434
2419
  } | {
@@ -2456,7 +2441,7 @@ type SignUpCreateParams = Partial<{
2456
2441
  externalAccountStrategy: string;
2457
2442
  externalAccountRedirectUrl: string;
2458
2443
  externalAccountActionCompleteRedirectUrl: string;
2459
- strategy: OAuthStrategy | SamlStrategy | EnterpriseSSOStrategy | TicketStrategy | GoogleOneTapStrategy | PhoneCodeStrategy;
2444
+ strategy: OAuthStrategy | SamlStrategy | EnterpriseSSOStrategy | TicketStrategy | GoogleOneTapStrategy;
2460
2445
  redirectUrl: string;
2461
2446
  actionCompleteRedirectUrl: string;
2462
2447
  transfer: boolean;
@@ -2466,7 +2451,6 @@ type SignUpCreateParams = Partial<{
2466
2451
  legalAccepted: boolean;
2467
2452
  oidcPrompt: string;
2468
2453
  oidcLoginHint: string;
2469
- channel: PhoneCodeChannel;
2470
2454
  } & Omit<SnakeToCamel<Record<SignUpAttributeField | SignUpVerifiableField, string>>, 'legalAccepted'>>;
2471
2455
  type SignUpUpdateParams = SignUpCreateParams;
2472
2456
  /**
@@ -2777,7 +2761,6 @@ interface VerificationJSON extends ClerkResourceJSON {
2777
2761
  external_verification_redirect_url?: string;
2778
2762
  attempts: number;
2779
2763
  expire_at: number;
2780
- channel?: PhoneCodeChannel;
2781
2764
  error: ClerkAPIErrorJSON;
2782
2765
  }
2783
2766
  interface SignUpVerificationsJSON {
@@ -2789,7 +2772,6 @@ interface SignUpVerificationsJSON {
2789
2772
  interface SignUpVerificationJSON extends VerificationJSON {
2790
2773
  next_action: string;
2791
2774
  supported_strategies: string[];
2792
- channel?: PhoneCodeChannel;
2793
2775
  }
2794
2776
  interface ClerkAPIErrorJSON {
2795
2777
  code: string;
@@ -3133,8 +3115,8 @@ interface CommerceCheckoutJSON extends ClerkResourceJSON {
3133
3115
  payment_source?: CommercePaymentSourceJSON;
3134
3116
  plan: CommercePlanJSON;
3135
3117
  plan_period: CommerceSubscriptionPlanPeriod;
3118
+ plan_period_start?: number;
3136
3119
  status: string;
3137
- subscription?: CommerceSubscriptionJSON;
3138
3120
  totals: CommerceCheckoutTotalsJSON;
3139
3121
  is_immediate_plan_change: boolean;
3140
3122
  }
@@ -3381,18 +3363,18 @@ type ElementsConfig = {
3381
3363
  footerPagesLink: WithOptions<'help' | 'terms' | 'privacy'>;
3382
3364
  socialButtonsRoot: WithOptions;
3383
3365
  socialButtons: WithOptions;
3384
- socialButtonsIconButton: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel, LoadingState>;
3385
- socialButtonsBlockButton: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel, LoadingState>;
3386
- socialButtonsBlockButtonText: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel>;
3387
- socialButtonsProviderIcon: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel, LoadingState>;
3388
- socialButtonsProviderInitialIcon: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel, LoadingState>;
3366
+ socialButtonsIconButton: WithOptions<OAuthProvider | Web3Provider, LoadingState>;
3367
+ socialButtonsBlockButton: WithOptions<OAuthProvider | Web3Provider, LoadingState>;
3368
+ socialButtonsBlockButtonText: WithOptions<OAuthProvider | Web3Provider>;
3369
+ socialButtonsProviderIcon: WithOptions<OAuthProvider | Web3Provider, LoadingState>;
3370
+ socialButtonsProviderInitialIcon: WithOptions<OAuthProvider | Web3Provider, LoadingState>;
3389
3371
  enterpriseButtonsProviderIcon: WithOptions<EnterpriseProvider, LoadingState>;
3390
- providerIcon: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel | SamlIdpSlug, LoadingState>;
3391
- providerInitialIcon: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel | SamlIdpSlug, LoadingState>;
3372
+ providerIcon: WithOptions<OAuthProvider | Web3Provider | SamlIdpSlug, LoadingState>;
3373
+ providerInitialIcon: WithOptions<OAuthProvider | Web3Provider | SamlIdpSlug, LoadingState>;
3392
3374
  alternativeMethods: WithOptions;
3393
- alternativeMethodsBlockButton: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel, LoadingState>;
3394
- alternativeMethodsBlockButtonText: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel>;
3395
- alternativeMethodsBlockButtonArrow: WithOptions<OAuthProvider | Web3Provider | PhoneCodeChannel>;
3375
+ alternativeMethodsBlockButton: WithOptions<OAuthProvider | Web3Provider, LoadingState>;
3376
+ alternativeMethodsBlockButtonText: WithOptions<OAuthProvider | Web3Provider>;
3377
+ alternativeMethodsBlockButtonArrow: WithOptions<OAuthProvider | Web3Provider>;
3396
3378
  checkoutFormLineItemsRoot: WithOptions;
3397
3379
  checkoutFormElementsRoot: WithOptions;
3398
3380
  checkoutSuccessRoot: WithOptions;
@@ -3405,7 +3387,6 @@ type ElementsConfig = {
3405
3387
  otpCodeFieldInput: WithOptions;
3406
3388
  otpCodeFieldErrorText: WithOptions;
3407
3389
  dividerRow: WithOptions;
3408
- dividerColumn: WithOptions;
3409
3390
  dividerText: WithOptions;
3410
3391
  dividerLine: WithOptions;
3411
3392
  drawerBackdrop: WithOptions;
@@ -4234,12 +4215,6 @@ type _LocalizationResource = {
4234
4215
  actionLink: LocalizationValue;
4235
4216
  actionLink__use_phone: LocalizationValue;
4236
4217
  actionLink__use_email: LocalizationValue;
4237
- alternativePhoneCodeProvider: {
4238
- actionLink: LocalizationValue;
4239
- label: LocalizationValue;
4240
- subtitle: LocalizationValue;
4241
- title: LocalizationValue;
4242
- };
4243
4218
  };
4244
4219
  emailLink: {
4245
4220
  title: LocalizationValue;
@@ -4277,13 +4252,6 @@ type _LocalizationResource = {
4277
4252
  formSubtitle: LocalizationValue;
4278
4253
  resendButton: LocalizationValue;
4279
4254
  };
4280
- alternativePhoneCodeProvider: {
4281
- formSubtitle: LocalizationValue;
4282
- formTitle: LocalizationValue;
4283
- resendButton: LocalizationValue;
4284
- subtitle: LocalizationValue;
4285
- title: LocalizationValue;
4286
- };
4287
4255
  continue: {
4288
4256
  title: LocalizationValue;
4289
4257
  subtitle: LocalizationValue;
@@ -4326,12 +4294,6 @@ type _LocalizationResource = {
4326
4294
  actionLink__use_passkey: LocalizationValue;
4327
4295
  actionText__join_waitlist: LocalizationValue;
4328
4296
  actionLink__join_waitlist: LocalizationValue;
4329
- alternativePhoneCodeProvider: {
4330
- actionLink: LocalizationValue;
4331
- label: LocalizationValue;
4332
- subtitle: LocalizationValue;
4333
- title: LocalizationValue;
4334
- };
4335
4297
  };
4336
4298
  password: {
4337
4299
  title: LocalizationValue;
@@ -4414,12 +4376,6 @@ type _LocalizationResource = {
4414
4376
  formTitle: LocalizationValue;
4415
4377
  resendButton: LocalizationValue;
4416
4378
  };
4417
- alternativePhoneCodeProvider: {
4418
- formTitle: LocalizationValue;
4419
- resendButton: LocalizationValue;
4420
- subtitle: LocalizationValue;
4421
- title: LocalizationValue;
4422
- };
4423
4379
  phoneCodeMfa: {
4424
4380
  title: LocalizationValue;
4425
4381
  subtitle: LocalizationValue;
@@ -7022,4 +6978,4 @@ type SharedSignedInAuthObjectProperties = {
7022
6978
  factorVerificationAge: [firstFactorAge: number, secondFactorAge: number] | null;
7023
6979
  };
7024
6980
 
7025
- export { type ActClaim, type ActJWTClaim, type Actions, type ActiveSessionResource, type AddMemberParams, type AddPaymentSourceParams, type AfterMultiSessionSingleSignOutUrl, type AfterSignOutUrl, type AlertId, type AlphaColorScale, type Appearance, type AppleOauthProvider, type AtlassianOauthProvider, type AttemptAffiliationVerificationParams, type AttemptEmailAddressVerificationParams, type AttemptFirstFactorParams, type AttemptPhoneNumberVerificationParams, type AttemptSecondFactorParams, type AttemptVerificationParams, type AttemptWeb3WalletVerificationParams, type Attribute, type AttributeData, type AttributeDataJSON, type Attributes, type AttributesJSON, type AuthConfigJSON, type AuthConfigJSONSnapshot, type AuthConfigResource, type AuthenticateWithCoinbaseWalletParams, type AuthenticateWithGoogleOneTapParams, type AuthenticateWithMetamaskParams, type AuthenticateWithOKXWalletParams, type AuthenticateWithPasskeyParams, type AuthenticateWithPopupParams, type AuthenticateWithRedirectParams, type AuthenticateWithWeb3Params, type Autocomplete, type BackupCodeAttempt, type BackupCodeFactor, type BackupCodeJSON, type BackupCodeResource, type BackupCodeStrategy, type BaseTheme, type BaseThemeTaggedType, type BeforeEmitCallback, type BitbucketOauthProvider, type BoxOauthProvider, type BoxShadow, type BuiltInColors, type CamelToSnake, type CancelSubscriptionParams, type CaptchaAppearanceOptions, type CaptchaProvider, type CaptchaWidgetType, type CardActionId, type CheckAuthorization, type CheckAuthorizationFn, type CheckAuthorizationFromSessionClaims, type CheckAuthorizationParamsFromSessionClaims, type CheckAuthorizationParamsWithCustomPermissions, type CheckAuthorizationWithCustomPermissions, type CheckoutTheme, type Clerk, type ClerkAPIError, type ClerkAPIErrorJSON, type ClerkAuthenticateWithWeb3Params, type ClerkEventPayload, type ClerkHostRouter, type ClerkJWTClaims, type ClerkOptions, type ClerkPaginatedResponse, type ClerkPaginationParams, type ClerkPaginationRequest, type ClerkResource, type ClerkResourceJSON, type ClerkResourceReloadParams, type ClerkRuntimeError, type ClerkStatus, type ClerkThemeOptions, type ClientJSON, type ClientJSONSnapshot, type ClientResource, type CodeVerificationAttemptParam, type CoinbaseOauthProvider, type CoinbaseWalletWeb3Provider, type Color, type ColorScale, type ColorScaleWithRequiredBase, type ColorString, type CommerceBillingNamespace, type CommerceCheckoutJSON, type CommerceCheckoutResource, type CommerceCheckoutTotals, type CommerceCheckoutTotalsJSON, type CommerceFeatureJSON, type CommerceFeatureJSONSnapshot, type CommerceFeatureResource, type CommerceInitializedPaymentSourceJSON, type CommerceInitializedPaymentSourceResource, type CommerceMoney, type CommerceMoneyJSON, type CommercePayment, type CommercePaymentChargeType, type CommercePaymentJSON, type CommercePaymentSourceJSON, type CommercePaymentSourceMethods, type CommercePaymentSourceResource, type CommercePaymentSourceStatus, type CommercePaymentStatus, type CommercePlanJSON, type CommercePlanJSONSnapshot, type CommercePlanResource, type CommerceProductJSON, type CommerceProductResource, type CommerceSettingsJSON, type CommerceSettingsJSONSnapshot, type CommerceSettingsResource, type CommerceStatementGroup, type CommerceStatementGroupJSON, type CommerceStatementJSON, type CommerceStatementResource, type CommerceStatementStatus, type CommerceStatementTotals, type CommerceStatementTotalsJSON, type CommerceSubscriberType, type CommerceSubscriptionJSON, type CommerceSubscriptionPlanPeriod, type CommerceSubscriptionResource, type CommerceSubscriptionStatus, type ComplexityErrors, type ConfirmCheckoutParams, type CreateBulkOrganizationInvitationParams, type CreateCheckoutParams, type CreateEmailAddressParams, type CreateEmailLinkFlowReturn, type CreateEnterpriseSSOLinkFlowReturn, type CreateExternalAccountParams, type CreateOrganizationInvitationParams, type CreateOrganizationModalProps, type CreateOrganizationParams, type CreateOrganizationProps, type CreateOrganizationTheme, type CreatePhoneNumberParams, type CreateWeb3WalletParams, type CredentialReturn, type CssColorOrAlphaScale, type CssColorOrScale, type CustomMenuItem, type CustomNavigation, type CustomOAuthStrategy, type CustomOauthProvider, type CustomPage, type DeepCamelToSnake, type DeepPartial, type DeepRequired, type DeepSnakeToCamel, type DeletedObjectJSON, type DeletedObjectResource, type DiscordOauthProvider, type DisplayConfigJSON, type DisplayConfigJSONSnapshot, type DisplayConfigResource, type DisplayThemeJSON, type DomainOrProxyUrl, type DropboxOauthProvider, type ElementObjectKey, type ElementState, type Elements, type ElementsConfig, type EmUnit, type EmailAddressIdentifier, type EmailAddressJSON, type EmailAddressJSONSnapshot, type EmailAddressOrPhoneNumberIdentifier, type EmailAddressResource, type EmailCodeAttempt, type EmailCodeConfig, type EmailCodeFactor, type EmailCodeStrategy, type EmailLinkConfig, type EmailLinkFactor, type EmailLinkStrategy, type EnstallOauthProvider, type EnterpriseAccountConnectionJSON, type EnterpriseAccountConnectionJSONSnapshot, type EnterpriseAccountConnectionResource, type EnterpriseAccountJSON, type EnterpriseAccountJSONSnapshot, type EnterpriseAccountResource, type EnterpriseProtocol, type EnterpriseProvider, type EnterpriseSSOConfig, type EnterpriseSSOFactor, type EnterpriseSSOSettings, type EnterpriseSSOStrategy, type EnvironmentJSON, type EnvironmentJSONSnapshot, type EnvironmentResource, type ExternalAccountJSON, type ExternalAccountJSONSnapshot, type ExternalAccountResource, type FacebookOauthProvider, type FieldId, type FirstNameAttribute, type FontFamily, type FontWeight, type GenerateSignature, type GenerateSignatureParams, type GetDomainsParams, type GetInvitationsParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetPaymentSourcesParams, type GetPlansParams, type GetRolesParams, type GetStatementsParams, type GetSubscriptionsParams, type GetToken, type GetTokenOptions, type GetUserOrganizationInvitationsParams, type GetUserOrganizationMembershipParams, type GetUserOrganizationSuggestionsParams, type GithubOauthProvider, type GitlabOauthProvider, type GoogleOauthProvider, type GoogleOneTapProps, type GoogleOneTapStrategy, type HandleEmailLinkVerificationParams, type HandleOAuthCallbackParams, type HandleSamlCallbackParams, type HexColor, type HexColorString, type HslaColor, type HslaColorString, type HubspotOauthProvider, type HuggingfaceOAuthProvider, type IdSelectors, type IdentificationLinkJSON, type IdentificationLinkJSONSnapshot, type IdentificationLinkResource, type ImageJSON, type ImageResource, type InitialState, type InitializePaymentSourceParams, type InstagramOauthProvider, type InstanceType, type InviteMemberParams, type InviteMembersParams, type JWT, type JWTClaims, type JWTHeader, type JoinWaitlistParams, type Jwt, type JwtHeader, type JwtPayload, type LastNameAttribute, type Layout, type LegacyRedirectProps, type LegalAcceptedAttribute, type LineOauthProvider, type LinearOauthProvider, type LinkedinOIDCOauthProvider, type LinkedinOauthProvider, type ListenerCallback, type LoadedClerk, type LocalizationResource, type LocalizationValue, type MakeDefaultPaymentSourceParams, type MenuId, type MetamaskWeb3Provider, type MicrosoftOauthProvider, type MultiDomainAndOrProxy, type MultiDomainAndOrProxyPrimitives, type NavigateOptions, type NewSubscriptionRedirectUrl, type NextTaskParams, type NotionOauthProvider, type Nullable, OAUTH_PROVIDERS, type OAuthConfig, type OAuthProvider, type OAuthProviderData, type OAuthProviderSettings, type OAuthProviders, type OAuthScope, type OAuthStrategy, type OKXWalletWeb3Provider, type OauthFactor, type OrganizationCustomPermissionKey, type OrganizationCustomRoleKey, type OrganizationDomainJSON, type OrganizationDomainResource, type OrganizationDomainVerification, type OrganizationDomainVerificationJSON, type OrganizationDomainVerificationStatus, type OrganizationEnrollmentMode, type OrganizationInvitationJSON, type OrganizationInvitationResource, type OrganizationInvitationStatus, type OrganizationJSON, type OrganizationJSONSnapshot, type OrganizationListProps, type OrganizationListTheme, type OrganizationMembershipJSON, type OrganizationMembershipJSONSnapshot, type OrganizationMembershipRequestJSON, type OrganizationMembershipRequestResource, type OrganizationMembershipResource, type OrganizationPermissionKey, type OrganizationPreviewId, type OrganizationProfileModalProps, type OrganizationProfileProps, type OrganizationProfileTheme, type OrganizationResource, type OrganizationSettingsJSON, type OrganizationSettingsJSONSnapshot, type OrganizationSettingsResource, type OrganizationSuggestionJSON, type OrganizationSuggestionResource, type OrganizationSuggestionStatus, type OrganizationSwitcherProps, type OrganizationSwitcherTheme, type OrganizationSystemPermissionKey, type OrganizationSystemPermissionPrefix, type OrganizationsJWTClaim, type Override, type PartialWithClerkResource, type PassKeyConfig, type PasskeyAttempt, type PasskeyFactor, type PasskeyJSON, type PasskeyJSONSnapshot, type PasskeyResource, type PasskeySettingsData, type PasskeyStrategy, type PasskeyVerificationResource, type PasswordAttempt, type PasswordAttribute, type PasswordFactor, type PasswordSettingsData, type PasswordStrategy, type PasswordStrength, type PasswordValidation, type PathValue, type PaymentGateway, type PendingSessionOptions, type PendingSessionResource, type PermissionJSON, type PermissionResource, type PhoneCodeAttempt, type PhoneCodeChannel, type PhoneCodeChannelData, type PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeProvider, type PhoneCodeSMSChannel, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, type PhoneCodeWhatsAppChannel, type PhoneNumberIdentifier, type PhoneNumberJSON, type PhoneNumberJSONSnapshot, type PhoneNumberResource, type PhoneNumberVerificationStrategy, type PlanDetailTheme, type PreferredSignInStrategy, type PrepareAffiliationVerificationParams, type PrepareEmailAddressVerificationParams, type PrepareFirstFactorParams, type PreparePhoneNumberVerificationParams, type PrepareSecondFactorParams, type PrepareVerificationParams, type PrepareWeb3WalletVerificationParams, type PricingTableProps, type PricingTableTheme, type ProfilePageId, type ProfileSectionId, type PublicKeyCredentialCreationOptionsJSON, type PublicKeyCredentialCreationOptionsWithoutExtensions, type PublicKeyCredentialRequestOptionsJSON, type PublicKeyCredentialRequestOptionsWithoutExtensions, type PublicKeyCredentialWithAuthenticatorAssertionResponse, type PublicKeyCredentialWithAuthenticatorAttestationResponse, type PublicOrganizationDataJSON, type PublicUserData, type PublicUserDataJSON, type PublicUserDataJSONSnapshot, type PublishableKey, type ReauthorizeExternalAccountParams, type RecordToPath, type RedirectOptions, type RedirectUrlProp, type RemovePaymentSourceParams, type RemoveUserPasswordParams, type ResetPasswordCodeFactor, type ResetPasswordEmailCodeAttempt, type ResetPasswordEmailCodeFactor, type ResetPasswordEmailCodeFactorConfig, type ResetPasswordEmailCodeStrategy, type ResetPasswordParams, type ResetPasswordPhoneCodeAttempt, type ResetPasswordPhoneCodeFactor, type ResetPasswordPhoneCodeFactorConfig, type ResetPasswordPhoneCodeStrategy, type Resources, type ReverificationConfig, type RgbaColor, type RgbaColorString, type RoleJSON, type RoleResource, type RoutingMode, type RoutingOptions, type RoutingStrategy, SAML_IDPS, type SDKMetadata, type SamlAccountConnectionJSON, type SamlAccountConnectionJSONSnapshot, type SamlAccountConnectionResource, type SamlAccountJSON, type SamlAccountJSONSnapshot, type SamlAccountResource, type SamlConfig, type SamlFactor, type SamlIdp, type SamlIdpMap, type SamlIdpSlug, type SamlSettings, type SamlStrategy, type SelectId, type Serializable, type ServerGetToken, type ServerGetTokenOptions, type SessionActivity, type SessionActivityJSON, type SessionJSON, type SessionJSONSnapshot, type SessionResource, type SessionStatus, type SessionStatusClaim, type SessionTask, type SessionVerificationAfterMinutes, type SessionVerificationFirstFactor, type SessionVerificationJSON, type SessionVerificationLevel, type SessionVerificationResource, type SessionVerificationSecondFactor, type SessionVerificationStatus, type SessionVerificationTypes, type SessionVerifyAttemptFirstFactorParams, type SessionVerifyAttemptSecondFactorParams, type SessionVerifyCreateParams, type SessionVerifyPrepareFirstFactorParams, type SessionVerifyPrepareSecondFactorParams, type SessionWithActivitiesJSON, type SessionWithActivitiesResource, type SetActive, type SetActiveParams, type SetOrganizationLogoParams, type SetProfileImageParams, type SetReservedForSecondFactorParams, type SharedSignedInAuthObjectProperties, type SignInButtonProps, type SignInCreateParams, type SignInData, type SignInFactor, type SignInFallbackRedirectUrl, type SignInFirstFactor, type SignInFirstFactorJSON, type SignInForceRedirectUrl, type SignInIdentifier, type SignInInitialValues, type SignInJSON, type SignInJSONSnapshot, type SignInModalProps, type SignInProps, type SignInRedirectOptions, type SignInResource, type SignInSecondFactor, type SignInSecondFactorJSON, type SignInStartEmailLinkFlowParams, type SignInStatus, type SignInStrategy, type SignInTheme, type SignOut, type SignOutCallback, type SignOutOptions, type SignUpAttributeField, type SignUpAuthenticateWithMetamaskParams, type SignUpAuthenticateWithWeb3Params, type SignUpButtonProps, type SignUpCreateParams, type SignUpData, type SignUpFallbackRedirectUrl, type SignUpField, type SignUpForceRedirectUrl, type SignUpIdentificationField, type SignUpInitialValues, type SignUpJSON, type SignUpJSONSnapshot, type SignUpModalProps, type SignUpModes, type SignUpProps, type SignUpRedirectOptions, type SignUpResource, type SignUpStatus, type SignUpTheme, type SignUpUpdateParams, type SignUpVerifiableField, type SignUpVerificationJSON, type SignUpVerificationJSONSnapshot, type SignUpVerificationResource, type SignUpVerificationsJSON, type SignUpVerificationsJSONSnapshot, type SignUpVerificationsResource, type SignatureVerificationAttemptParam, type SignedInSessionResource, type SlackOauthProvider, type SnakeToCamel, type SpotifyOauthProvider, type StartEmailLinkFlowParams, type StartEnterpriseSSOLinkFlowParams, type StateSelectors, type TOTPAttempt, type TOTPFactor, type TOTPJSON, type TOTPResource, type TOTPStrategy, type TelemetryCollector, type TelemetryEvent, type TelemetryEventRaw, type Theme, type TicketStrategy, type TiktokOauthProvider, type TokenJSON, type TokenJSONSnapshot, type TokenResource, type TransferableOption, type TransparentColor, type TwitchOauthProvider, type TwitterOauthProvider, type UnsubscribeCallback, type UpdateEnrollmentModeParams, type UpdateMembershipParams, type UpdateOrganizationMembershipParams, type UpdateOrganizationParams, type UpdatePasskeyParams, type UpdateUserParams, type UpdateUserPasswordParams, type UseAuthReturn, type UseSessionListReturn, type UseSessionReturn, type UseSignInReturn, type UseSignUpReturn, type UseUserReturn, type UserButtonProps, type UserButtonTheme, type UserData, type UserDataJSON, type UserDataJSONSnapshot, type UserJSON, type UserJSONSnapshot, type UserOrganizationInvitationJSON, type UserOrganizationInvitationResource, type UserPreviewId, type UserProfileModalProps, type UserProfileProps, type UserProfileTheme, type UserResource, type UserSettingsJSON, type UserSettingsJSONSnapshot, type UserSettingsResource, type UserVerificationTheme, type UsernameIdentifier, type UsernameSettingsData, type ValidatePasswordCallbacks, type Variables, type VerificationAttemptParams, type VerificationJSON, type VerificationJSONSnapshot, type VerificationResource, type VerificationStatus, type VerificationStrategy, type VerifyTOTPParams, type VersionedJwtPayload, WEB3_PROVIDERS, type WaitlistJSON, type WaitlistModalProps, type WaitlistProps, type WaitlistResource, type WaitlistTheme, type Web3Attempt, type Web3Provider, type Web3ProviderData, type Web3SignatureConfig, type Web3SignatureFactor, type Web3Strategy, type Web3WalletIdentifier, type Web3WalletJSON, type Web3WalletJSONSnapshot, type Web3WalletResource, type Without, type WithoutRouting, type XOauthProvider, type XeroOauthProvider, type ZxcvbnResult, type __internal_CheckoutProps, type __internal_ComponentNavigationContext, type __internal_PlanDetailsProps, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
6981
+ export { type ActClaim, type ActJWTClaim, type Actions, type ActiveSessionResource, type AddMemberParams, type AddPaymentSourceParams, type AfterMultiSessionSingleSignOutUrl, type AfterSignOutUrl, type AlertId, type AlphaColorScale, type Appearance, type AppleOauthProvider, type AtlassianOauthProvider, type AttemptAffiliationVerificationParams, type AttemptEmailAddressVerificationParams, type AttemptFirstFactorParams, type AttemptPhoneNumberVerificationParams, type AttemptSecondFactorParams, type AttemptVerificationParams, type AttemptWeb3WalletVerificationParams, type Attribute, type AttributeData, type AttributeDataJSON, type Attributes, type AttributesJSON, type AuthConfigJSON, type AuthConfigJSONSnapshot, type AuthConfigResource, type AuthenticateWithCoinbaseWalletParams, type AuthenticateWithGoogleOneTapParams, type AuthenticateWithMetamaskParams, type AuthenticateWithOKXWalletParams, type AuthenticateWithPasskeyParams, type AuthenticateWithPopupParams, type AuthenticateWithRedirectParams, type AuthenticateWithWeb3Params, type Autocomplete, type BackupCodeAttempt, type BackupCodeFactor, type BackupCodeJSON, type BackupCodeResource, type BackupCodeStrategy, type BaseTheme, type BaseThemeTaggedType, type BeforeEmitCallback, type BitbucketOauthProvider, type BoxOauthProvider, type BoxShadow, type BuiltInColors, type CamelToSnake, type CancelSubscriptionParams, type CaptchaAppearanceOptions, type CaptchaProvider, type CaptchaWidgetType, type CardActionId, type CheckAuthorization, type CheckAuthorizationFn, type CheckAuthorizationFromSessionClaims, type CheckAuthorizationParamsFromSessionClaims, type CheckAuthorizationParamsWithCustomPermissions, type CheckAuthorizationWithCustomPermissions, type CheckoutTheme, type Clerk, type ClerkAPIError, type ClerkAPIErrorJSON, type ClerkAuthenticateWithWeb3Params, type ClerkEventPayload, type ClerkHostRouter, type ClerkJWTClaims, type ClerkOptions, type ClerkPaginatedResponse, type ClerkPaginationParams, type ClerkPaginationRequest, type ClerkResource, type ClerkResourceJSON, type ClerkResourceReloadParams, type ClerkRuntimeError, type ClerkStatus, type ClerkThemeOptions, type ClientJSON, type ClientJSONSnapshot, type ClientResource, type CodeVerificationAttemptParam, type CoinbaseOauthProvider, type CoinbaseWalletWeb3Provider, type Color, type ColorScale, type ColorScaleWithRequiredBase, type ColorString, type CommerceBillingNamespace, type CommerceCheckoutJSON, type CommerceCheckoutResource, type CommerceCheckoutTotals, type CommerceCheckoutTotalsJSON, type CommerceFeatureJSON, type CommerceFeatureJSONSnapshot, type CommerceFeatureResource, type CommerceInitializedPaymentSourceJSON, type CommerceInitializedPaymentSourceResource, type CommerceMoney, type CommerceMoneyJSON, type CommercePayment, type CommercePaymentChargeType, type CommercePaymentJSON, type CommercePaymentSourceJSON, type CommercePaymentSourceMethods, type CommercePaymentSourceResource, type CommercePaymentSourceStatus, type CommercePaymentStatus, type CommercePlanJSON, type CommercePlanJSONSnapshot, type CommercePlanResource, type CommerceProductJSON, type CommerceProductResource, type CommerceSettingsJSON, type CommerceSettingsJSONSnapshot, type CommerceSettingsResource, type CommerceStatementGroup, type CommerceStatementGroupJSON, type CommerceStatementJSON, type CommerceStatementResource, type CommerceStatementStatus, type CommerceStatementTotals, type CommerceStatementTotalsJSON, type CommerceSubscriberType, type CommerceSubscriptionJSON, type CommerceSubscriptionPlanPeriod, type CommerceSubscriptionResource, type CommerceSubscriptionStatus, type ComplexityErrors, type ConfirmCheckoutParams, type CreateBulkOrganizationInvitationParams, type CreateCheckoutParams, type CreateEmailAddressParams, type CreateEmailLinkFlowReturn, type CreateEnterpriseSSOLinkFlowReturn, type CreateExternalAccountParams, type CreateOrganizationInvitationParams, type CreateOrganizationModalProps, type CreateOrganizationParams, type CreateOrganizationProps, type CreateOrganizationTheme, type CreatePhoneNumberParams, type CreateWeb3WalletParams, type CredentialReturn, type CssColorOrAlphaScale, type CssColorOrScale, type CustomMenuItem, type CustomNavigation, type CustomOAuthStrategy, type CustomOauthProvider, type CustomPage, type DeepCamelToSnake, type DeepPartial, type DeepRequired, type DeepSnakeToCamel, type DeletedObjectJSON, type DeletedObjectResource, type DiscordOauthProvider, type DisplayConfigJSON, type DisplayConfigJSONSnapshot, type DisplayConfigResource, type DisplayThemeJSON, type DomainOrProxyUrl, type DropboxOauthProvider, type ElementObjectKey, type ElementState, type Elements, type ElementsConfig, type EmUnit, type EmailAddressIdentifier, type EmailAddressJSON, type EmailAddressJSONSnapshot, type EmailAddressOrPhoneNumberIdentifier, type EmailAddressResource, type EmailCodeAttempt, type EmailCodeConfig, type EmailCodeFactor, type EmailCodeStrategy, type EmailLinkConfig, type EmailLinkFactor, type EmailLinkStrategy, type EnstallOauthProvider, type EnterpriseAccountConnectionJSON, type EnterpriseAccountConnectionJSONSnapshot, type EnterpriseAccountConnectionResource, type EnterpriseAccountJSON, type EnterpriseAccountJSONSnapshot, type EnterpriseAccountResource, type EnterpriseProtocol, type EnterpriseProvider, type EnterpriseSSOConfig, type EnterpriseSSOFactor, type EnterpriseSSOSettings, type EnterpriseSSOStrategy, type EnvironmentJSON, type EnvironmentJSONSnapshot, type EnvironmentResource, type ExternalAccountJSON, type ExternalAccountJSONSnapshot, type ExternalAccountResource, type FacebookOauthProvider, type FieldId, type FirstNameAttribute, type FontFamily, type FontWeight, type GenerateSignature, type GenerateSignatureParams, type GetDomainsParams, type GetInvitationsParams, type GetMembersParams, type GetMembershipRequestParams, type GetMemberships, type GetOrganizationMemberships, type GetPaymentSourcesParams, type GetPlansParams, type GetRolesParams, type GetStatementsParams, type GetSubscriptionsParams, type GetToken, type GetTokenOptions, type GetUserOrganizationInvitationsParams, type GetUserOrganizationMembershipParams, type GetUserOrganizationSuggestionsParams, type GithubOauthProvider, type GitlabOauthProvider, type GoogleOauthProvider, type GoogleOneTapProps, type GoogleOneTapStrategy, type HandleEmailLinkVerificationParams, type HandleOAuthCallbackParams, type HandleSamlCallbackParams, type HexColor, type HexColorString, type HslaColor, type HslaColorString, type HubspotOauthProvider, type HuggingfaceOAuthProvider, type IdSelectors, type IdentificationLinkJSON, type IdentificationLinkJSONSnapshot, type IdentificationLinkResource, type ImageJSON, type ImageResource, type InitialState, type InitializePaymentSourceParams, type InstagramOauthProvider, type InstanceType, type InviteMemberParams, type InviteMembersParams, type JWT, type JWTClaims, type JWTHeader, type JoinWaitlistParams, type Jwt, type JwtHeader, type JwtPayload, type LastNameAttribute, type Layout, type LegacyRedirectProps, type LegalAcceptedAttribute, type LineOauthProvider, type LinearOauthProvider, type LinkedinOIDCOauthProvider, type LinkedinOauthProvider, type ListenerCallback, type LoadedClerk, type LocalizationResource, type LocalizationValue, type MakeDefaultPaymentSourceParams, type MenuId, type MetamaskWeb3Provider, type MicrosoftOauthProvider, type MultiDomainAndOrProxy, type MultiDomainAndOrProxyPrimitives, type NavigateOptions, type NewSubscriptionRedirectUrl, type NextTaskParams, type NotionOauthProvider, type Nullable, OAUTH_PROVIDERS, type OAuthConfig, type OAuthProvider, type OAuthProviderData, type OAuthProviderSettings, type OAuthProviders, type OAuthScope, type OAuthStrategy, type OKXWalletWeb3Provider, type OauthFactor, type OrganizationCustomPermissionKey, type OrganizationCustomRoleKey, type OrganizationDomainJSON, type OrganizationDomainResource, type OrganizationDomainVerification, type OrganizationDomainVerificationJSON, type OrganizationDomainVerificationStatus, type OrganizationEnrollmentMode, type OrganizationInvitationJSON, type OrganizationInvitationResource, type OrganizationInvitationStatus, type OrganizationJSON, type OrganizationJSONSnapshot, type OrganizationListProps, type OrganizationListTheme, type OrganizationMembershipJSON, type OrganizationMembershipJSONSnapshot, type OrganizationMembershipRequestJSON, type OrganizationMembershipRequestResource, type OrganizationMembershipResource, type OrganizationPermissionKey, type OrganizationPreviewId, type OrganizationProfileModalProps, type OrganizationProfileProps, type OrganizationProfileTheme, type OrganizationResource, type OrganizationSettingsJSON, type OrganizationSettingsJSONSnapshot, type OrganizationSettingsResource, type OrganizationSuggestionJSON, type OrganizationSuggestionResource, type OrganizationSuggestionStatus, type OrganizationSwitcherProps, type OrganizationSwitcherTheme, type OrganizationSystemPermissionKey, type OrganizationSystemPermissionPrefix, type OrganizationsJWTClaim, type Override, type PartialWithClerkResource, type PassKeyConfig, type PasskeyAttempt, type PasskeyFactor, type PasskeyJSON, type PasskeyJSONSnapshot, type PasskeyResource, type PasskeySettingsData, type PasskeyStrategy, type PasskeyVerificationResource, type PasswordAttempt, type PasswordAttribute, type PasswordFactor, type PasswordSettingsData, type PasswordStrategy, type PasswordStrength, type PasswordValidation, type PathValue, type PaymentGateway, type PendingSessionOptions, type PendingSessionResource, type PermissionJSON, type PermissionResource, type PhoneCodeAttempt, type PhoneCodeConfig, type PhoneCodeFactor, type PhoneCodeSecondFactorConfig, type PhoneCodeStrategy, type PhoneNumberIdentifier, type PhoneNumberJSON, type PhoneNumberJSONSnapshot, type PhoneNumberResource, type PhoneNumberVerificationStrategy, type PlanDetailTheme, type PreferredSignInStrategy, type PrepareAffiliationVerificationParams, type PrepareEmailAddressVerificationParams, type PrepareFirstFactorParams, type PreparePhoneNumberVerificationParams, type PrepareSecondFactorParams, type PrepareVerificationParams, type PrepareWeb3WalletVerificationParams, type PricingTableProps, type PricingTableTheme, type ProfilePageId, type ProfileSectionId, type PublicKeyCredentialCreationOptionsJSON, type PublicKeyCredentialCreationOptionsWithoutExtensions, type PublicKeyCredentialRequestOptionsJSON, type PublicKeyCredentialRequestOptionsWithoutExtensions, type PublicKeyCredentialWithAuthenticatorAssertionResponse, type PublicKeyCredentialWithAuthenticatorAttestationResponse, type PublicOrganizationDataJSON, type PublicUserData, type PublicUserDataJSON, type PublicUserDataJSONSnapshot, type PublishableKey, type ReauthorizeExternalAccountParams, type RecordToPath, type RedirectOptions, type RedirectUrlProp, type RemovePaymentSourceParams, type RemoveUserPasswordParams, type ResetPasswordCodeFactor, type ResetPasswordEmailCodeAttempt, type ResetPasswordEmailCodeFactor, type ResetPasswordEmailCodeFactorConfig, type ResetPasswordEmailCodeStrategy, type ResetPasswordParams, type ResetPasswordPhoneCodeAttempt, type ResetPasswordPhoneCodeFactor, type ResetPasswordPhoneCodeFactorConfig, type ResetPasswordPhoneCodeStrategy, type Resources, type ReverificationConfig, type RgbaColor, type RgbaColorString, type RoleJSON, type RoleResource, type RoutingMode, type RoutingOptions, type RoutingStrategy, SAML_IDPS, type SDKMetadata, type SamlAccountConnectionJSON, type SamlAccountConnectionJSONSnapshot, type SamlAccountConnectionResource, type SamlAccountJSON, type SamlAccountJSONSnapshot, type SamlAccountResource, type SamlConfig, type SamlFactor, type SamlIdp, type SamlIdpMap, type SamlIdpSlug, type SamlSettings, type SamlStrategy, type SelectId, type Serializable, type ServerGetToken, type ServerGetTokenOptions, type SessionActivity, type SessionActivityJSON, type SessionJSON, type SessionJSONSnapshot, type SessionResource, type SessionStatus, type SessionStatusClaim, type SessionTask, type SessionVerificationAfterMinutes, type SessionVerificationFirstFactor, type SessionVerificationJSON, type SessionVerificationLevel, type SessionVerificationResource, type SessionVerificationSecondFactor, type SessionVerificationStatus, type SessionVerificationTypes, type SessionVerifyAttemptFirstFactorParams, type SessionVerifyAttemptSecondFactorParams, type SessionVerifyCreateParams, type SessionVerifyPrepareFirstFactorParams, type SessionVerifyPrepareSecondFactorParams, type SessionWithActivitiesJSON, type SessionWithActivitiesResource, type SetActive, type SetActiveParams, type SetOrganizationLogoParams, type SetProfileImageParams, type SetReservedForSecondFactorParams, type SharedSignedInAuthObjectProperties, type SignInButtonProps, type SignInCreateParams, type SignInData, type SignInFactor, type SignInFallbackRedirectUrl, type SignInFirstFactor, type SignInFirstFactorJSON, type SignInForceRedirectUrl, type SignInIdentifier, type SignInInitialValues, type SignInJSON, type SignInJSONSnapshot, type SignInModalProps, type SignInProps, type SignInRedirectOptions, type SignInResource, type SignInSecondFactor, type SignInSecondFactorJSON, type SignInStartEmailLinkFlowParams, type SignInStatus, type SignInStrategy, type SignInTheme, type SignOut, type SignOutCallback, type SignOutOptions, type SignUpAttributeField, type SignUpAuthenticateWithMetamaskParams, type SignUpAuthenticateWithWeb3Params, type SignUpButtonProps, type SignUpCreateParams, type SignUpData, type SignUpFallbackRedirectUrl, type SignUpField, type SignUpForceRedirectUrl, type SignUpIdentificationField, type SignUpInitialValues, type SignUpJSON, type SignUpJSONSnapshot, type SignUpModalProps, type SignUpModes, type SignUpProps, type SignUpRedirectOptions, type SignUpResource, type SignUpStatus, type SignUpTheme, type SignUpUpdateParams, type SignUpVerifiableField, type SignUpVerificationJSON, type SignUpVerificationJSONSnapshot, type SignUpVerificationResource, type SignUpVerificationsJSON, type SignUpVerificationsJSONSnapshot, type SignUpVerificationsResource, type SignatureVerificationAttemptParam, type SignedInSessionResource, type SlackOauthProvider, type SnakeToCamel, type SpotifyOauthProvider, type StartEmailLinkFlowParams, type StartEnterpriseSSOLinkFlowParams, type StateSelectors, type TOTPAttempt, type TOTPFactor, type TOTPJSON, type TOTPResource, type TOTPStrategy, type TelemetryCollector, type TelemetryEvent, type TelemetryEventRaw, type Theme, type TicketStrategy, type TiktokOauthProvider, type TokenJSON, type TokenJSONSnapshot, type TokenResource, type TransferableOption, type TransparentColor, type TwitchOauthProvider, type TwitterOauthProvider, type UnsubscribeCallback, type UpdateEnrollmentModeParams, type UpdateMembershipParams, type UpdateOrganizationMembershipParams, type UpdateOrganizationParams, type UpdatePasskeyParams, type UpdateUserParams, type UpdateUserPasswordParams, type UseAuthReturn, type UseSessionListReturn, type UseSessionReturn, type UseSignInReturn, type UseSignUpReturn, type UseUserReturn, type UserButtonProps, type UserButtonTheme, type UserData, type UserDataJSON, type UserDataJSONSnapshot, type UserJSON, type UserJSONSnapshot, type UserOrganizationInvitationJSON, type UserOrganizationInvitationResource, type UserPreviewId, type UserProfileModalProps, type UserProfileProps, type UserProfileTheme, type UserResource, type UserSettingsJSON, type UserSettingsJSONSnapshot, type UserSettingsResource, type UserVerificationTheme, type UsernameIdentifier, type UsernameSettingsData, type ValidatePasswordCallbacks, type Variables, type VerificationAttemptParams, type VerificationJSON, type VerificationJSONSnapshot, type VerificationResource, type VerificationStatus, type VerificationStrategy, type VerifyTOTPParams, type VersionedJwtPayload, WEB3_PROVIDERS, type WaitlistJSON, type WaitlistModalProps, type WaitlistProps, type WaitlistResource, type WaitlistTheme, type Web3Attempt, type Web3Provider, type Web3ProviderData, type Web3SignatureConfig, type Web3SignatureFactor, type Web3Strategy, type Web3WalletIdentifier, type Web3WalletJSON, type Web3WalletJSONSnapshot, type Web3WalletResource, type Without, type WithoutRouting, type XOauthProvider, type XeroOauthProvider, type ZxcvbnResult, type __internal_CheckoutProps, type __internal_ComponentNavigationContext, type __internal_PlanDetailsProps, type __internal_UserVerificationModalProps, type __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts","../src/oauth.ts","../src/saml.ts","../src/web3.ts"],"sourcesContent":["export * from './api';\nexport * from './appearance';\nexport * from './elementIds';\nexport * from './attributes';\nexport * from './authConfig';\nexport * from './backupCode';\nexport * from './clerk';\nexport * from './client';\nexport * from './commerce';\nexport * from './commerceSettings';\nexport * from './deletedObject';\nexport * from './displayConfig';\nexport * from './emailAddress';\nexport * from './environment';\nexport * from './externalAccount';\nexport * from './enterpriseAccount';\nexport * from './factors';\nexport * from './hooks';\nexport * from './identificationLink';\nexport * from './identifiers';\nexport * from './image';\nexport * from './instance';\nexport * from './json';\nexport * from './jwt';\nexport * from './key';\nexport * from './localization';\nexport * from './jwtv2';\nexport * from './multiDomain';\nexport * from './oauth';\nexport * from './organization';\nexport * from './organizationDomain';\nexport * from './organizationInvitation';\nexport * from './organizationMembership';\nexport * from './organizationMembershipRequest';\nexport * from './organizationSettings';\nexport * from './organizationSuggestion';\nexport * from './passwords';\nexport * from './permission';\nexport * from './phoneNumber';\nexport * from './redirects';\nexport * from './resource';\nexport * from './role';\nexport * from './router';\nexport * from './saml';\nexport * from './samlAccount';\nexport * from './session';\nexport * from './sessionVerification';\nexport * from './signIn';\nexport * from './signUp';\nexport * from './ssr';\nexport * from './strategies';\nexport * from './theme';\nexport * from './token';\nexport * from './totp';\nexport * from './telemetry';\nexport * from './user';\nexport * from './userOrganizationInvitation';\nexport * from './userSettings';\nexport * from './utils';\nexport * from './verification';\nexport * from './web3';\nexport * from './web3Wallet';\nexport * from './customPages';\nexport * from './pagination';\nexport * from './passkey';\nexport * from './customMenuItems';\nexport * from './samlConnection';\nexport * from './waitlist';\nexport * from './snapshots';\nexport * from './authObject';\nexport * from './phoneCodeChannel';\n","import type { OAuthStrategy } from './strategies';\n\nexport type OAuthScope = string;\n\nexport interface OAuthProviderData {\n provider: OAuthProvider;\n strategy: OAuthStrategy;\n name: string;\n docsUrl: string;\n}\n\nexport type FacebookOauthProvider = 'facebook';\nexport type GoogleOauthProvider = 'google';\nexport type HubspotOauthProvider = 'hubspot';\nexport type GithubOauthProvider = 'github';\nexport type TiktokOauthProvider = 'tiktok';\nexport type GitlabOauthProvider = 'gitlab';\nexport type DiscordOauthProvider = 'discord';\nexport type TwitterOauthProvider = 'twitter';\nexport type TwitchOauthProvider = 'twitch';\nexport type LinkedinOauthProvider = 'linkedin';\nexport type LinkedinOIDCOauthProvider = 'linkedin_oidc';\nexport type DropboxOauthProvider = 'dropbox';\nexport type AtlassianOauthProvider = 'atlassian';\nexport type BitbucketOauthProvider = 'bitbucket';\nexport type MicrosoftOauthProvider = 'microsoft';\nexport type NotionOauthProvider = 'notion';\nexport type AppleOauthProvider = 'apple';\nexport type LineOauthProvider = 'line';\nexport type InstagramOauthProvider = 'instagram';\nexport type CoinbaseOauthProvider = 'coinbase';\nexport type SpotifyOauthProvider = 'spotify';\nexport type XeroOauthProvider = 'xero';\nexport type BoxOauthProvider = 'box';\nexport type SlackOauthProvider = 'slack';\nexport type LinearOauthProvider = 'linear';\nexport type XOauthProvider = 'x';\nexport type EnstallOauthProvider = 'enstall';\nexport type HuggingfaceOAuthProvider = 'huggingface';\nexport type CustomOauthProvider = `custom_${string}`;\n\nexport type OAuthProvider =\n | FacebookOauthProvider\n | GoogleOauthProvider\n | HubspotOauthProvider\n | GithubOauthProvider\n | TiktokOauthProvider\n | GitlabOauthProvider\n | DiscordOauthProvider\n | TwitterOauthProvider\n | TwitchOauthProvider\n | LinkedinOauthProvider\n | LinkedinOIDCOauthProvider\n | DropboxOauthProvider\n | AtlassianOauthProvider\n | BitbucketOauthProvider\n | MicrosoftOauthProvider\n | NotionOauthProvider\n | AppleOauthProvider\n | LineOauthProvider\n | InstagramOauthProvider\n | CoinbaseOauthProvider\n | SpotifyOauthProvider\n | XeroOauthProvider\n | BoxOauthProvider\n | SlackOauthProvider\n | LinearOauthProvider\n | XOauthProvider\n | EnstallOauthProvider\n | HuggingfaceOAuthProvider\n | CustomOauthProvider;\n\n/**\n * @deprecated Use `import { OAUTH_PROVIDERS } from \"@clerk/shared/oauth\"` instead.\n *\n * @hidden\n */\nexport const OAUTH_PROVIDERS: OAuthProviderData[] = [\n {\n provider: 'google',\n strategy: 'oauth_google',\n name: 'Google',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/google',\n },\n {\n provider: 'discord',\n strategy: 'oauth_discord',\n name: 'Discord',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/discord',\n },\n {\n provider: 'facebook',\n strategy: 'oauth_facebook',\n name: 'Facebook',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/facebook',\n },\n {\n provider: 'twitch',\n strategy: 'oauth_twitch',\n name: 'Twitch',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/twitch',\n },\n {\n provider: 'twitter',\n strategy: 'oauth_twitter',\n name: 'Twitter',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/twitter',\n },\n {\n provider: 'microsoft',\n strategy: 'oauth_microsoft',\n name: 'Microsoft',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/microsoft',\n },\n {\n provider: 'tiktok',\n strategy: 'oauth_tiktok',\n name: 'TikTok',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/tiktok',\n },\n {\n provider: 'linkedin',\n strategy: 'oauth_linkedin',\n name: 'LinkedIn',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/linkedin',\n },\n {\n provider: 'linkedin_oidc',\n strategy: 'oauth_linkedin_oidc',\n name: 'LinkedIn',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/linkedin-oidc',\n },\n {\n provider: 'github',\n strategy: 'oauth_github',\n name: 'GitHub',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/github',\n },\n {\n provider: 'gitlab',\n strategy: 'oauth_gitlab',\n name: 'GitLab',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/gitlab',\n },\n {\n provider: 'dropbox',\n strategy: 'oauth_dropbox',\n name: 'Dropbox',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/dropbox',\n },\n {\n provider: 'atlassian',\n strategy: 'oauth_atlassian',\n name: 'Atlassian',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/atlassian',\n },\n {\n provider: 'bitbucket',\n strategy: 'oauth_bitbucket',\n name: 'Bitbucket',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/bitbucket',\n },\n {\n provider: 'hubspot',\n strategy: 'oauth_hubspot',\n name: 'HubSpot',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/hubspot',\n },\n {\n provider: 'notion',\n strategy: 'oauth_notion',\n name: 'Notion',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/notion',\n },\n {\n provider: 'apple',\n strategy: 'oauth_apple',\n name: 'Apple',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/apple',\n },\n {\n provider: 'line',\n strategy: 'oauth_line',\n name: 'LINE',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/line',\n },\n {\n provider: 'instagram',\n strategy: 'oauth_instagram',\n name: 'Instagram',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/instagram',\n },\n {\n provider: 'coinbase',\n strategy: 'oauth_coinbase',\n name: 'Coinbase',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/coinbase',\n },\n {\n provider: 'spotify',\n strategy: 'oauth_spotify',\n name: 'Spotify',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/spotify',\n },\n {\n provider: 'xero',\n strategy: 'oauth_xero',\n name: 'Xero',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/xero',\n },\n {\n provider: 'box',\n strategy: 'oauth_box',\n name: 'Box',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/box',\n },\n {\n provider: 'slack',\n strategy: 'oauth_slack',\n name: 'Slack',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/slack',\n },\n {\n provider: 'linear',\n strategy: 'oauth_linear',\n name: 'Linear',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/linear',\n },\n {\n provider: 'x',\n strategy: 'oauth_x',\n name: 'X / Twitter',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/x-twitter-v2',\n },\n {\n provider: 'enstall',\n strategy: 'oauth_enstall',\n name: 'Enstall',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/enstall',\n },\n {\n provider: 'huggingface',\n strategy: 'oauth_huggingface',\n name: 'Hugging Face',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/huggingface',\n },\n];\n\ninterface getOAuthProviderDataProps {\n provider?: OAuthProvider;\n strategy?: OAuthStrategy;\n}\n\n/**\n * @deprecated This utility will be dropped in the next major release.\n *\n * @hidden\n */\nexport function getOAuthProviderData({\n provider,\n strategy,\n}: getOAuthProviderDataProps): OAuthProviderData | undefined | null {\n if (provider) {\n return OAUTH_PROVIDERS.find(oauth_provider => oauth_provider.provider == provider);\n }\n\n return OAUTH_PROVIDERS.find(oauth_provider => oauth_provider.strategy == strategy);\n}\n\n/**\n * @deprecated This utility will be dropped in the next major release.\n *\n * @hidden\n */\nexport function sortedOAuthProviders(sortingArray: OAuthStrategy[]) {\n return OAUTH_PROVIDERS.slice().sort((a, b) => {\n let aPos = sortingArray.indexOf(a.strategy);\n if (aPos == -1) {\n aPos = Number.MAX_SAFE_INTEGER;\n }\n\n let bPos = sortingArray.indexOf(b.strategy);\n if (bPos == -1) {\n bPos = Number.MAX_SAFE_INTEGER;\n }\n\n return aPos - bPos;\n });\n}\n","export type SamlIdpSlug = 'saml_okta' | 'saml_google' | 'saml_microsoft' | 'saml_custom';\n\nexport type SamlIdp = {\n name: string;\n logo: string;\n};\n\nexport type SamlIdpMap = Record<SamlIdpSlug, SamlIdp>;\n\nexport const SAML_IDPS: SamlIdpMap = {\n saml_okta: {\n name: 'Okta Workforce',\n logo: 'okta',\n },\n saml_google: {\n name: 'Google Workspace',\n logo: 'google',\n },\n saml_microsoft: {\n name: 'Microsoft Entra ID (Formerly AD)',\n logo: 'azure',\n },\n saml_custom: {\n name: 'SAML',\n logo: 'saml',\n },\n};\n","import type { Web3Strategy } from './strategies';\n\nexport interface Web3ProviderData {\n provider: Web3Provider;\n strategy: Web3Strategy;\n name: string;\n}\n\nexport type MetamaskWeb3Provider = 'metamask';\nexport type CoinbaseWalletWeb3Provider = 'coinbase_wallet';\nexport type OKXWalletWeb3Provider = 'okx_wallet';\n\nexport type Web3Provider = MetamaskWeb3Provider | CoinbaseWalletWeb3Provider | OKXWalletWeb3Provider;\n\n/**\n * @deprecated Use `import { WEB3_PROVIDERS } from \"@clerk/shared/web3\"` instead.\n *\n * @hidden\n */\nexport const WEB3_PROVIDERS: Web3ProviderData[] = [\n {\n provider: 'metamask',\n strategy: 'web3_metamask_signature',\n name: 'MetaMask',\n },\n {\n provider: 'coinbase_wallet',\n strategy: 'web3_coinbase_wallet_signature',\n name: 'Coinbase Wallet',\n },\n {\n provider: 'okx_wallet',\n strategy: 'web3_okx_wallet_signature',\n name: 'OKX Wallet',\n },\n];\n\ninterface getWeb3ProviderDataProps {\n provider?: Web3Provider;\n strategy?: Web3Strategy;\n}\n\n/**\n * @deprecated This utility will be dropped in the next major release.\n *\n * @hidden\n */\nexport function getWeb3ProviderData({\n provider,\n strategy,\n}: getWeb3ProviderDataProps): Web3ProviderData | undefined | null {\n if (provider) {\n return WEB3_PROVIDERS.find(p => p.provider == provider);\n }\n\n return WEB3_PROVIDERS.find(p => p.strategy == strategy);\n}\n"],"mappings":"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","names":[]}
1
+ {"version":3,"sources":["../src/index.ts","../src/oauth.ts","../src/saml.ts","../src/web3.ts"],"sourcesContent":["export * from './api';\nexport * from './appearance';\nexport * from './elementIds';\nexport * from './attributes';\nexport * from './authConfig';\nexport * from './backupCode';\nexport * from './clerk';\nexport * from './client';\nexport * from './commerce';\nexport * from './commerceSettings';\nexport * from './deletedObject';\nexport * from './displayConfig';\nexport * from './emailAddress';\nexport * from './environment';\nexport * from './externalAccount';\nexport * from './enterpriseAccount';\nexport * from './factors';\nexport * from './hooks';\nexport * from './identificationLink';\nexport * from './identifiers';\nexport * from './image';\nexport * from './instance';\nexport * from './json';\nexport * from './jwt';\nexport * from './key';\nexport * from './localization';\nexport * from './jwtv2';\nexport * from './multiDomain';\nexport * from './oauth';\nexport * from './organization';\nexport * from './organizationDomain';\nexport * from './organizationInvitation';\nexport * from './organizationMembership';\nexport * from './organizationMembershipRequest';\nexport * from './organizationSettings';\nexport * from './organizationSuggestion';\nexport * from './passwords';\nexport * from './permission';\nexport * from './phoneNumber';\nexport * from './redirects';\nexport * from './resource';\nexport * from './role';\nexport * from './router';\nexport * from './saml';\nexport * from './samlAccount';\nexport * from './session';\nexport * from './sessionVerification';\nexport * from './signIn';\nexport * from './signUp';\nexport * from './ssr';\nexport * from './strategies';\nexport * from './theme';\nexport * from './token';\nexport * from './totp';\nexport * from './telemetry';\nexport * from './user';\nexport * from './userOrganizationInvitation';\nexport * from './userSettings';\nexport * from './utils';\nexport * from './verification';\nexport * from './web3';\nexport * from './web3Wallet';\nexport * from './customPages';\nexport * from './pagination';\nexport * from './passkey';\nexport * from './customMenuItems';\nexport * from './samlConnection';\nexport * from './waitlist';\nexport * from './snapshots';\nexport * from './authObject';\n","import type { OAuthStrategy } from './strategies';\n\nexport type OAuthScope = string;\n\nexport interface OAuthProviderData {\n provider: OAuthProvider;\n strategy: OAuthStrategy;\n name: string;\n docsUrl: string;\n}\n\nexport type FacebookOauthProvider = 'facebook';\nexport type GoogleOauthProvider = 'google';\nexport type HubspotOauthProvider = 'hubspot';\nexport type GithubOauthProvider = 'github';\nexport type TiktokOauthProvider = 'tiktok';\nexport type GitlabOauthProvider = 'gitlab';\nexport type DiscordOauthProvider = 'discord';\nexport type TwitterOauthProvider = 'twitter';\nexport type TwitchOauthProvider = 'twitch';\nexport type LinkedinOauthProvider = 'linkedin';\nexport type LinkedinOIDCOauthProvider = 'linkedin_oidc';\nexport type DropboxOauthProvider = 'dropbox';\nexport type AtlassianOauthProvider = 'atlassian';\nexport type BitbucketOauthProvider = 'bitbucket';\nexport type MicrosoftOauthProvider = 'microsoft';\nexport type NotionOauthProvider = 'notion';\nexport type AppleOauthProvider = 'apple';\nexport type LineOauthProvider = 'line';\nexport type InstagramOauthProvider = 'instagram';\nexport type CoinbaseOauthProvider = 'coinbase';\nexport type SpotifyOauthProvider = 'spotify';\nexport type XeroOauthProvider = 'xero';\nexport type BoxOauthProvider = 'box';\nexport type SlackOauthProvider = 'slack';\nexport type LinearOauthProvider = 'linear';\nexport type XOauthProvider = 'x';\nexport type EnstallOauthProvider = 'enstall';\nexport type HuggingfaceOAuthProvider = 'huggingface';\nexport type CustomOauthProvider = `custom_${string}`;\n\nexport type OAuthProvider =\n | FacebookOauthProvider\n | GoogleOauthProvider\n | HubspotOauthProvider\n | GithubOauthProvider\n | TiktokOauthProvider\n | GitlabOauthProvider\n | DiscordOauthProvider\n | TwitterOauthProvider\n | TwitchOauthProvider\n | LinkedinOauthProvider\n | LinkedinOIDCOauthProvider\n | DropboxOauthProvider\n | AtlassianOauthProvider\n | BitbucketOauthProvider\n | MicrosoftOauthProvider\n | NotionOauthProvider\n | AppleOauthProvider\n | LineOauthProvider\n | InstagramOauthProvider\n | CoinbaseOauthProvider\n | SpotifyOauthProvider\n | XeroOauthProvider\n | BoxOauthProvider\n | SlackOauthProvider\n | LinearOauthProvider\n | XOauthProvider\n | EnstallOauthProvider\n | HuggingfaceOAuthProvider\n | CustomOauthProvider;\n\n/**\n * @deprecated Use `import { OAUTH_PROVIDERS } from \"@clerk/shared/oauth\"` instead.\n *\n * @hidden\n */\nexport const OAUTH_PROVIDERS: OAuthProviderData[] = [\n {\n provider: 'google',\n strategy: 'oauth_google',\n name: 'Google',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/google',\n },\n {\n provider: 'discord',\n strategy: 'oauth_discord',\n name: 'Discord',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/discord',\n },\n {\n provider: 'facebook',\n strategy: 'oauth_facebook',\n name: 'Facebook',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/facebook',\n },\n {\n provider: 'twitch',\n strategy: 'oauth_twitch',\n name: 'Twitch',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/twitch',\n },\n {\n provider: 'twitter',\n strategy: 'oauth_twitter',\n name: 'Twitter',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/twitter',\n },\n {\n provider: 'microsoft',\n strategy: 'oauth_microsoft',\n name: 'Microsoft',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/microsoft',\n },\n {\n provider: 'tiktok',\n strategy: 'oauth_tiktok',\n name: 'TikTok',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/tiktok',\n },\n {\n provider: 'linkedin',\n strategy: 'oauth_linkedin',\n name: 'LinkedIn',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/linkedin',\n },\n {\n provider: 'linkedin_oidc',\n strategy: 'oauth_linkedin_oidc',\n name: 'LinkedIn',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/linkedin-oidc',\n },\n {\n provider: 'github',\n strategy: 'oauth_github',\n name: 'GitHub',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/github',\n },\n {\n provider: 'gitlab',\n strategy: 'oauth_gitlab',\n name: 'GitLab',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/gitlab',\n },\n {\n provider: 'dropbox',\n strategy: 'oauth_dropbox',\n name: 'Dropbox',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/dropbox',\n },\n {\n provider: 'atlassian',\n strategy: 'oauth_atlassian',\n name: 'Atlassian',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/atlassian',\n },\n {\n provider: 'bitbucket',\n strategy: 'oauth_bitbucket',\n name: 'Bitbucket',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/bitbucket',\n },\n {\n provider: 'hubspot',\n strategy: 'oauth_hubspot',\n name: 'HubSpot',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/hubspot',\n },\n {\n provider: 'notion',\n strategy: 'oauth_notion',\n name: 'Notion',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/notion',\n },\n {\n provider: 'apple',\n strategy: 'oauth_apple',\n name: 'Apple',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/apple',\n },\n {\n provider: 'line',\n strategy: 'oauth_line',\n name: 'LINE',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/line',\n },\n {\n provider: 'instagram',\n strategy: 'oauth_instagram',\n name: 'Instagram',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/instagram',\n },\n {\n provider: 'coinbase',\n strategy: 'oauth_coinbase',\n name: 'Coinbase',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/coinbase',\n },\n {\n provider: 'spotify',\n strategy: 'oauth_spotify',\n name: 'Spotify',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/spotify',\n },\n {\n provider: 'xero',\n strategy: 'oauth_xero',\n name: 'Xero',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/xero',\n },\n {\n provider: 'box',\n strategy: 'oauth_box',\n name: 'Box',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/box',\n },\n {\n provider: 'slack',\n strategy: 'oauth_slack',\n name: 'Slack',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/slack',\n },\n {\n provider: 'linear',\n strategy: 'oauth_linear',\n name: 'Linear',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/linear',\n },\n {\n provider: 'x',\n strategy: 'oauth_x',\n name: 'X / Twitter',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/x-twitter-v2',\n },\n {\n provider: 'enstall',\n strategy: 'oauth_enstall',\n name: 'Enstall',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/enstall',\n },\n {\n provider: 'huggingface',\n strategy: 'oauth_huggingface',\n name: 'Hugging Face',\n docsUrl: 'https://clerk.com/docs/authentication/social-connections/huggingface',\n },\n];\n\ninterface getOAuthProviderDataProps {\n provider?: OAuthProvider;\n strategy?: OAuthStrategy;\n}\n\n/**\n * @deprecated This utility will be dropped in the next major release.\n *\n * @hidden\n */\nexport function getOAuthProviderData({\n provider,\n strategy,\n}: getOAuthProviderDataProps): OAuthProviderData | undefined | null {\n if (provider) {\n return OAUTH_PROVIDERS.find(oauth_provider => oauth_provider.provider == provider);\n }\n\n return OAUTH_PROVIDERS.find(oauth_provider => oauth_provider.strategy == strategy);\n}\n\n/**\n * @deprecated This utility will be dropped in the next major release.\n *\n * @hidden\n */\nexport function sortedOAuthProviders(sortingArray: OAuthStrategy[]) {\n return OAUTH_PROVIDERS.slice().sort((a, b) => {\n let aPos = sortingArray.indexOf(a.strategy);\n if (aPos == -1) {\n aPos = Number.MAX_SAFE_INTEGER;\n }\n\n let bPos = sortingArray.indexOf(b.strategy);\n if (bPos == -1) {\n bPos = Number.MAX_SAFE_INTEGER;\n }\n\n return aPos - bPos;\n });\n}\n","export type SamlIdpSlug = 'saml_okta' | 'saml_google' | 'saml_microsoft' | 'saml_custom';\n\nexport type SamlIdp = {\n name: string;\n logo: string;\n};\n\nexport type SamlIdpMap = Record<SamlIdpSlug, SamlIdp>;\n\nexport const SAML_IDPS: SamlIdpMap = {\n saml_okta: {\n name: 'Okta Workforce',\n logo: 'okta',\n },\n saml_google: {\n name: 'Google Workspace',\n logo: 'google',\n },\n saml_microsoft: {\n name: 'Microsoft Entra ID (Formerly AD)',\n logo: 'azure',\n },\n saml_custom: {\n name: 'SAML',\n logo: 'saml',\n },\n};\n","import type { Web3Strategy } from './strategies';\n\nexport interface Web3ProviderData {\n provider: Web3Provider;\n strategy: Web3Strategy;\n name: string;\n}\n\nexport type MetamaskWeb3Provider = 'metamask';\nexport type CoinbaseWalletWeb3Provider = 'coinbase_wallet';\nexport type OKXWalletWeb3Provider = 'okx_wallet';\n\nexport type Web3Provider = MetamaskWeb3Provider | CoinbaseWalletWeb3Provider | OKXWalletWeb3Provider;\n\n/**\n * @deprecated Use `import { WEB3_PROVIDERS } from \"@clerk/shared/web3\"` instead.\n *\n * @hidden\n */\nexport const WEB3_PROVIDERS: Web3ProviderData[] = [\n {\n provider: 'metamask',\n strategy: 'web3_metamask_signature',\n name: 'MetaMask',\n },\n {\n provider: 'coinbase_wallet',\n strategy: 'web3_coinbase_wallet_signature',\n name: 'Coinbase Wallet',\n },\n {\n provider: 'okx_wallet',\n strategy: 'web3_okx_wallet_signature',\n name: 'OKX Wallet',\n },\n];\n\ninterface getWeb3ProviderDataProps {\n provider?: Web3Provider;\n strategy?: Web3Strategy;\n}\n\n/**\n * @deprecated This utility will be dropped in the next major release.\n *\n * @hidden\n */\nexport function getWeb3ProviderData({\n provider,\n strategy,\n}: getWeb3ProviderDataProps): Web3ProviderData | undefined | null {\n if (provider) {\n return WEB3_PROVIDERS.find(p => p.provider == provider);\n }\n\n return WEB3_PROVIDERS.find(p => p.strategy == strategy);\n}\n"],"mappings":"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","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clerk/types",
3
- "version": "4.58.0-snapshot.v20250512155159",
3
+ "version": "4.58.0",
4
4
  "description": "Typings for Clerk libraries.",
5
5
  "keywords": [
6
6
  "clerk",