@corbado/web-core
Advanced tools
Comparing version 2.6.2-alpha.0 to 2.8.0
@@ -1,1 +0,1 @@ | ||
export { BlockType, AuthType, VerificationMethod, LoginIdentifierType, LoginIdentifierWithError, GeneralBlockLoginInit, BlockBody, GeneralBlockPasskeyAppend, GeneralBlockVerifyIdentifier, ProcessResponse, ProcessCommon, ContinueOnOtherDevice, GeneralBlockSignupInit, LoginIdentifier, ContinueOnOtherDeviceReasonEnum, SocialProviderType, SocialDataStatusEnum, } from './v2'; | ||
export { BlockType, AuthType, VerificationMethod, LoginIdentifierType, LoginIdentifierWithError, GeneralBlockLoginInit, BlockBody, GeneralBlockPasskeyAppend, GeneralBlockVerifyIdentifier, ProcessResponse, ProcessCommon, ContinueOnOtherDevice, GeneralBlockSignupInit, LoginIdentifier, ContinueOnOtherDeviceReasonEnum, SocialProviderType, SocialDataStatusEnum, GeneralBlockPasskeyAppendAfterHybrid, } from './v2'; |
@@ -1,3 +0,2 @@ | ||
export * from './utils/constants'; | ||
export * from './utils/errors'; | ||
export * from './utils'; | ||
export * from './services'; | ||
@@ -7,1 +6,2 @@ export * from './api'; | ||
export * from './models/lastIdentifier'; | ||
export { CredentialRequestOptionsJSON } from '@github/webauthn-json'; |
@@ -38,3 +38,3 @@ import type { AxiosResponse } from 'axios'; | ||
appendPasskey(): Promise<Result<ProcessResponse, CorbadoError>>; | ||
loginWithPasskey(): Promise<Result<ProcessResponse, CorbadoError>>; | ||
loginWithPasskey(skipIfOnlyHybrid?: boolean): Promise<Result<ProcessResponse, CorbadoError>>; | ||
isConditionalUISupported(): Promise<boolean>; | ||
@@ -46,2 +46,3 @@ loginWithPasskeyChallenge(challenge: string): Promise<Result<ProcessResponse, CorbadoError>>; | ||
dispose(): void; | ||
skipPasskeyAppendAfterHybrid(skip: boolean): void; | ||
} |
@@ -11,3 +11,3 @@ import type { Result } from 'ts-results'; | ||
createPasskey(serializedChallenge: string): Promise<Result<string, CorbadoError>>; | ||
login(serializedChallenge: string, conditional: boolean): Promise<Result<string, CorbadoError>>; | ||
login(serializedChallenge: string, conditional: boolean, skipIfOnlyHybrid?: boolean): Promise<Result<string, CorbadoError>>; | ||
static doesBrowserSupportPasskeys(): Promise<boolean>; | ||
@@ -14,0 +14,0 @@ static doesBrowserSupportConditionalUI(): Promise<boolean>; |
export declare const defaultTimeout = 30000; | ||
export declare const skipPasskeyAppendAfterHybridKey = "cbo_skip_passkey_append_after_hybrid"; |
@@ -22,2 +22,3 @@ import type { AxiosError } from 'axios'; | ||
static noPasskeyAvailable(): CorbadoError; | ||
static onlyHybridPasskeyAvailable(): CorbadoError; | ||
} | ||
@@ -66,2 +67,5 @@ /** | ||
} | ||
export declare class OnlyHybridPasskeyAvailableError extends RecoverableError { | ||
constructor(); | ||
} | ||
export declare class InvalidPasskeyError extends RecoverableError { | ||
@@ -68,0 +72,0 @@ constructor(); |
export * from './getEmailLinkToken'; | ||
export * from './checkIfOnlyHybridPasskeysAvailable'; |
{ | ||
"name": "@corbado/web-core", | ||
"version": "2.6.2-alpha.0", | ||
"version": "2.8.0", | ||
"description": "This package contains core functionalities which are exported by all the SDKs and UI packages of our JavaScript library", | ||
@@ -44,7 +44,7 @@ "author": "Abdullah Shahbaz <abdullah_ghani@live.com>", | ||
"devDependencies": { | ||
"@corbado/types": "^2.5.2-alpha.0", | ||
"@corbado/types": "^2.6.0", | ||
"@types/web-bluetooth": "^0.0.20", | ||
"user-agent-data-types": "^0.4.2" | ||
}, | ||
"gitHead": "d8b5380af746a4cc1860e76f91932bbae7ccb8f3" | ||
"gitHead": "9d4fb86d6f5c43e5638bb380d8d30b909d52a1bd" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
35
0
765412
6640