@clerk/types
Advanced tools
Comparing version 1.14.0 to 1.14.1
@@ -11,2 +11,6 @@ import { IdentificationLinkResource } from './identificationLink'; | ||
}; | ||
export declare type VerifyEmailAddressWithMagicLinkParams = { | ||
redirect_url: string; | ||
signal?: AbortSignal; | ||
}; | ||
export interface EmailAddressResource extends ClerkResource { | ||
@@ -18,3 +22,3 @@ id: string; | ||
toString: () => string; | ||
prepareVerification: () => Promise<EmailAddressResource>; | ||
prepareVerification: (params?: PrepareEmailAddressVerificationParams) => Promise<EmailAddressResource>; | ||
attemptVerification(code: string): Promise<EmailAddressResource>; | ||
@@ -24,4 +28,5 @@ attemptVerification(params: { | ||
}): Promise<EmailAddressResource>; | ||
attemptVerificationWithMagicLink(params: VerifyEmailAddressWithMagicLinkParams): Promise<EmailAddressResource>; | ||
destroy: () => Promise<void>; | ||
} | ||
//# sourceMappingURL=emailAddress.d.ts.map |
@@ -6,3 +6,3 @@ import { AuthenticateWithRedirectParams, OAuthCallbacks, OAuthStrategy } from './oauth'; | ||
import { PhoneNumberVerificationStrategy, PreparePhoneNumberVerificationParams } from './phoneNumber'; | ||
import { EmailAddressVerificationStrategy, PrepareEmailAddressVerificationParams } from './emailAddress'; | ||
import { EmailAddressVerificationStrategy, PrepareEmailAddressVerificationParams, VerifyEmailAddressWithMagicLinkParams } from './emailAddress'; | ||
export interface SignUpResource extends ClerkResource { | ||
@@ -80,6 +80,2 @@ status: SignUpStatus | null; | ||
} | ||
export declare type VerifyEmailAddressWithMagicLinkParams = { | ||
redirect_url: string; | ||
signal?: AbortSignal; | ||
}; | ||
export declare type SignUpStatus = 'missing_requirements' | 'complete' | 'abandoned'; | ||
@@ -86,0 +82,0 @@ export declare type SignUpField = SignUpAttribute | SignUpIdentificationField; |
{ | ||
"name": "@clerk/types", | ||
"version": "1.14.0", | ||
"version": "1.14.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Clerk.dev Types", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
100120
1479