@clerk/types
Advanced tools
Comparing version 1.14.1 to 1.14.2
@@ -15,5 +15,3 @@ import { ClientResource } from './client'; | ||
version?: string; | ||
/** | ||
* Clerk Frontend API string. | ||
*/ | ||
/** Clerk Frontend API string. */ | ||
frontendApi: string; | ||
@@ -152,2 +150,6 @@ /** Client handling most Clerk operations. */ | ||
/** | ||
* Handles a 401 response from Frontend API by refreshing the client and session object accordingly | ||
*/ | ||
handleUnauthenticated: () => Promise<unknown>; | ||
/** | ||
* Redirects to the configured sign up URL. Retrieved from {@link environment}. | ||
@@ -154,0 +156,0 @@ * |
@@ -10,2 +10,3 @@ /** | ||
import { BoxShadow, Color, EmUnit, FontFamily, FontWeight, HexColor } from './theme'; | ||
import { VerificationStatus } from './verification'; | ||
export interface ClerkResourceJSON { | ||
@@ -202,3 +203,4 @@ object: string; | ||
export interface VerificationJSON { | ||
status: string; | ||
status: VerificationStatus; | ||
verified_at_client: string; | ||
strategy: string; | ||
@@ -205,0 +207,0 @@ external_verification_redirect_url?: string; |
import { ClerkAPIError } from './api'; | ||
export interface VerificationResource { | ||
status: string | null; | ||
status: VerificationStatus | null; | ||
verifiedAtClient: string | null; | ||
strategy: string | null; | ||
@@ -9,3 +10,5 @@ externalVerificationRedirectURL: URL | null; | ||
error: ClerkAPIError | null; | ||
verifiedFromTheSameClient: () => boolean; | ||
} | ||
export declare type VerificationStatus = 'unverified' | 'verified' | 'transferable' | 'failed' | 'expired'; | ||
export interface VerificationAttemptParams { | ||
@@ -12,0 +15,0 @@ code: string; |
{ | ||
"name": "@clerk/types", | ||
"version": "1.14.1", | ||
"version": "1.14.2", | ||
"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
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
100863
1486