@clerk/types 4.69.0-snapshot.v20250722091530 → 4.69.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 +39 -2
- package/dist/index.d.ts +39 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1586,6 +1586,14 @@ interface CommerceSettingsJSON extends ClerkResourceJSON {
|
|
|
1586
1586
|
stripe_publishable_key: string;
|
|
1587
1587
|
has_paid_user_plans: boolean;
|
|
1588
1588
|
has_paid_org_plans: boolean;
|
|
1589
|
+
organization: {
|
|
1590
|
+
enabled: boolean;
|
|
1591
|
+
has_paid_plans: boolean;
|
|
1592
|
+
};
|
|
1593
|
+
user: {
|
|
1594
|
+
enabled: boolean;
|
|
1595
|
+
has_paid_plans: boolean;
|
|
1596
|
+
};
|
|
1589
1597
|
};
|
|
1590
1598
|
}
|
|
1591
1599
|
interface CommerceSettingsResource extends ClerkResource {
|
|
@@ -1594,6 +1602,14 @@ interface CommerceSettingsResource extends ClerkResource {
|
|
|
1594
1602
|
stripePublishableKey: string;
|
|
1595
1603
|
hasPaidUserPlans: boolean;
|
|
1596
1604
|
hasPaidOrgPlans: boolean;
|
|
1605
|
+
organization: {
|
|
1606
|
+
enabled: boolean;
|
|
1607
|
+
hasPaidPlans: boolean;
|
|
1608
|
+
};
|
|
1609
|
+
user: {
|
|
1610
|
+
enabled: boolean;
|
|
1611
|
+
hasPaidPlans: boolean;
|
|
1612
|
+
};
|
|
1597
1613
|
};
|
|
1598
1614
|
__internal_toSnapshot: () => CommerceSettingsJSONSnapshot;
|
|
1599
1615
|
}
|
|
@@ -2808,8 +2824,15 @@ interface PublicUserData {
|
|
|
2808
2824
|
identifier: string;
|
|
2809
2825
|
userId?: string;
|
|
2810
2826
|
}
|
|
2827
|
+
/**
|
|
2828
|
+
* Represents a required action that a user must complete
|
|
2829
|
+
* before their session becomes fully active
|
|
2830
|
+
*/
|
|
2811
2831
|
interface SessionTask {
|
|
2812
|
-
|
|
2832
|
+
/**
|
|
2833
|
+
* The unique identifier for the type of task that needs to be completed
|
|
2834
|
+
*/
|
|
2835
|
+
key: 'select-organization';
|
|
2813
2836
|
}
|
|
2814
2837
|
type GetTokenOptions = {
|
|
2815
2838
|
template?: string;
|
|
@@ -5335,7 +5358,9 @@ type Variables = {
|
|
|
5335
5358
|
type BaseThemeTaggedType = {
|
|
5336
5359
|
__type: 'prebuilt_appearance';
|
|
5337
5360
|
};
|
|
5338
|
-
type BaseTheme = BaseThemeTaggedType
|
|
5361
|
+
type BaseTheme = BaseThemeTaggedType & {
|
|
5362
|
+
cssLayerName?: string;
|
|
5363
|
+
};
|
|
5339
5364
|
type Theme = {
|
|
5340
5365
|
/**
|
|
5341
5366
|
* A theme used as the base theme for the components.
|
|
@@ -7658,6 +7683,11 @@ interface Clerk {
|
|
|
7658
7683
|
* initiated outside of the Clerk class.
|
|
7659
7684
|
*/
|
|
7660
7685
|
__internal_setActiveInProgress: boolean;
|
|
7686
|
+
/**
|
|
7687
|
+
* Internal flag indicating whether after-auth flows are enabled based on instance settings.
|
|
7688
|
+
* @internal
|
|
7689
|
+
*/
|
|
7690
|
+
__internal_hasAfterAuthFlows: boolean;
|
|
7661
7691
|
/**
|
|
7662
7692
|
* API Keys Object
|
|
7663
7693
|
* @experimental
|
|
@@ -7829,6 +7859,13 @@ type ClerkOptions = PendingSessionOptions & ClerkOptionsNavigation & SignInForce
|
|
|
7829
7859
|
* @internal
|
|
7830
7860
|
*/
|
|
7831
7861
|
__internal_keyless_dismissPrompt?: (() => Promise<void>) | null;
|
|
7862
|
+
/**
|
|
7863
|
+
* Customize the URL paths users are redirected to after sign-in or sign-up when specific
|
|
7864
|
+
* session tasks need to be completed.
|
|
7865
|
+
*
|
|
7866
|
+
* @default undefined - Uses Clerk's default task flow URLs
|
|
7867
|
+
*/
|
|
7868
|
+
taskUrls?: Record<SessionTask['key'], string>;
|
|
7832
7869
|
};
|
|
7833
7870
|
interface NavigateOptions {
|
|
7834
7871
|
replace?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -1586,6 +1586,14 @@ interface CommerceSettingsJSON extends ClerkResourceJSON {
|
|
|
1586
1586
|
stripe_publishable_key: string;
|
|
1587
1587
|
has_paid_user_plans: boolean;
|
|
1588
1588
|
has_paid_org_plans: boolean;
|
|
1589
|
+
organization: {
|
|
1590
|
+
enabled: boolean;
|
|
1591
|
+
has_paid_plans: boolean;
|
|
1592
|
+
};
|
|
1593
|
+
user: {
|
|
1594
|
+
enabled: boolean;
|
|
1595
|
+
has_paid_plans: boolean;
|
|
1596
|
+
};
|
|
1589
1597
|
};
|
|
1590
1598
|
}
|
|
1591
1599
|
interface CommerceSettingsResource extends ClerkResource {
|
|
@@ -1594,6 +1602,14 @@ interface CommerceSettingsResource extends ClerkResource {
|
|
|
1594
1602
|
stripePublishableKey: string;
|
|
1595
1603
|
hasPaidUserPlans: boolean;
|
|
1596
1604
|
hasPaidOrgPlans: boolean;
|
|
1605
|
+
organization: {
|
|
1606
|
+
enabled: boolean;
|
|
1607
|
+
hasPaidPlans: boolean;
|
|
1608
|
+
};
|
|
1609
|
+
user: {
|
|
1610
|
+
enabled: boolean;
|
|
1611
|
+
hasPaidPlans: boolean;
|
|
1612
|
+
};
|
|
1597
1613
|
};
|
|
1598
1614
|
__internal_toSnapshot: () => CommerceSettingsJSONSnapshot;
|
|
1599
1615
|
}
|
|
@@ -2808,8 +2824,15 @@ interface PublicUserData {
|
|
|
2808
2824
|
identifier: string;
|
|
2809
2825
|
userId?: string;
|
|
2810
2826
|
}
|
|
2827
|
+
/**
|
|
2828
|
+
* Represents a required action that a user must complete
|
|
2829
|
+
* before their session becomes fully active
|
|
2830
|
+
*/
|
|
2811
2831
|
interface SessionTask {
|
|
2812
|
-
|
|
2832
|
+
/**
|
|
2833
|
+
* The unique identifier for the type of task that needs to be completed
|
|
2834
|
+
*/
|
|
2835
|
+
key: 'select-organization';
|
|
2813
2836
|
}
|
|
2814
2837
|
type GetTokenOptions = {
|
|
2815
2838
|
template?: string;
|
|
@@ -5335,7 +5358,9 @@ type Variables = {
|
|
|
5335
5358
|
type BaseThemeTaggedType = {
|
|
5336
5359
|
__type: 'prebuilt_appearance';
|
|
5337
5360
|
};
|
|
5338
|
-
type BaseTheme = BaseThemeTaggedType
|
|
5361
|
+
type BaseTheme = BaseThemeTaggedType & {
|
|
5362
|
+
cssLayerName?: string;
|
|
5363
|
+
};
|
|
5339
5364
|
type Theme = {
|
|
5340
5365
|
/**
|
|
5341
5366
|
* A theme used as the base theme for the components.
|
|
@@ -7658,6 +7683,11 @@ interface Clerk {
|
|
|
7658
7683
|
* initiated outside of the Clerk class.
|
|
7659
7684
|
*/
|
|
7660
7685
|
__internal_setActiveInProgress: boolean;
|
|
7686
|
+
/**
|
|
7687
|
+
* Internal flag indicating whether after-auth flows are enabled based on instance settings.
|
|
7688
|
+
* @internal
|
|
7689
|
+
*/
|
|
7690
|
+
__internal_hasAfterAuthFlows: boolean;
|
|
7661
7691
|
/**
|
|
7662
7692
|
* API Keys Object
|
|
7663
7693
|
* @experimental
|
|
@@ -7829,6 +7859,13 @@ type ClerkOptions = PendingSessionOptions & ClerkOptionsNavigation & SignInForce
|
|
|
7829
7859
|
* @internal
|
|
7830
7860
|
*/
|
|
7831
7861
|
__internal_keyless_dismissPrompt?: (() => Promise<void>) | null;
|
|
7862
|
+
/**
|
|
7863
|
+
* Customize the URL paths users are redirected to after sign-in or sign-up when specific
|
|
7864
|
+
* session tasks need to be completed.
|
|
7865
|
+
*
|
|
7866
|
+
* @default undefined - Uses Clerk's default task flow URLs
|
|
7867
|
+
*/
|
|
7868
|
+
taskUrls?: Record<SessionTask['key'], string>;
|
|
7832
7869
|
};
|
|
7833
7870
|
interface NavigateOptions {
|
|
7834
7871
|
replace?: boolean;
|