@clerk/types 4.77.0 → 4.78.0-canary.v20250814171124
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 +10 -2
- package/dist/index.d.ts +10 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3704,14 +3704,19 @@ interface SignInResource extends ClerkResource {
|
|
|
3704
3704
|
__internal_toSnapshot: () => SignInJSONSnapshot;
|
|
3705
3705
|
}
|
|
3706
3706
|
interface SignInFutureResource {
|
|
3707
|
+
fetchStatus: 'idle' | 'fetching';
|
|
3708
|
+
availableStrategies: SignInFirstFactor[];
|
|
3707
3709
|
status: SignInStatus | null;
|
|
3708
3710
|
create: (params: {
|
|
3709
|
-
identifier
|
|
3711
|
+
identifier?: string;
|
|
3712
|
+
strategy?: OAuthStrategy | 'saml' | 'enterprise_sso';
|
|
3713
|
+
redirectUrl?: string;
|
|
3714
|
+
actionCompleteRedirectUrl?: string;
|
|
3710
3715
|
}) => Promise<{
|
|
3711
3716
|
error: unknown;
|
|
3712
3717
|
}>;
|
|
3713
3718
|
password: (params: {
|
|
3714
|
-
identifier
|
|
3719
|
+
identifier?: string;
|
|
3715
3720
|
password: string;
|
|
3716
3721
|
}) => Promise<{
|
|
3717
3722
|
error: unknown;
|
|
@@ -3752,6 +3757,9 @@ interface SignInFutureResource {
|
|
|
3752
3757
|
}) => Promise<{
|
|
3753
3758
|
error: unknown;
|
|
3754
3759
|
}>;
|
|
3760
|
+
finalize: () => Promise<{
|
|
3761
|
+
error: unknown;
|
|
3762
|
+
}>;
|
|
3755
3763
|
}
|
|
3756
3764
|
type SignInStatus = 'needs_identifier' | 'needs_first_factor' | 'needs_second_factor' | 'needs_new_password' | 'complete';
|
|
3757
3765
|
type SignInIdentifier = UsernameIdentifier | EmailAddressIdentifier | PhoneNumberIdentifier | Web3WalletIdentifier;
|
package/dist/index.d.ts
CHANGED
|
@@ -3704,14 +3704,19 @@ interface SignInResource extends ClerkResource {
|
|
|
3704
3704
|
__internal_toSnapshot: () => SignInJSONSnapshot;
|
|
3705
3705
|
}
|
|
3706
3706
|
interface SignInFutureResource {
|
|
3707
|
+
fetchStatus: 'idle' | 'fetching';
|
|
3708
|
+
availableStrategies: SignInFirstFactor[];
|
|
3707
3709
|
status: SignInStatus | null;
|
|
3708
3710
|
create: (params: {
|
|
3709
|
-
identifier
|
|
3711
|
+
identifier?: string;
|
|
3712
|
+
strategy?: OAuthStrategy | 'saml' | 'enterprise_sso';
|
|
3713
|
+
redirectUrl?: string;
|
|
3714
|
+
actionCompleteRedirectUrl?: string;
|
|
3710
3715
|
}) => Promise<{
|
|
3711
3716
|
error: unknown;
|
|
3712
3717
|
}>;
|
|
3713
3718
|
password: (params: {
|
|
3714
|
-
identifier
|
|
3719
|
+
identifier?: string;
|
|
3715
3720
|
password: string;
|
|
3716
3721
|
}) => Promise<{
|
|
3717
3722
|
error: unknown;
|
|
@@ -3752,6 +3757,9 @@ interface SignInFutureResource {
|
|
|
3752
3757
|
}) => Promise<{
|
|
3753
3758
|
error: unknown;
|
|
3754
3759
|
}>;
|
|
3760
|
+
finalize: () => Promise<{
|
|
3761
|
+
error: unknown;
|
|
3762
|
+
}>;
|
|
3755
3763
|
}
|
|
3756
3764
|
type SignInStatus = 'needs_identifier' | 'needs_first_factor' | 'needs_second_factor' | 'needs_new_password' | 'complete';
|
|
3757
3765
|
type SignInIdentifier = UsernameIdentifier | EmailAddressIdentifier | PhoneNumberIdentifier | Web3WalletIdentifier;
|