@corbado/web-core
Advanced tools
Comparing version 2.12.0 to 2.13.0
@@ -12,5 +12,6 @@ import type { ConnectAppendInitData, ConnectLoginInitData, ConnectManageInitData } from './login'; | ||
isValid(): boolean; | ||
copyWithLoginData(loginData: ConnectLoginInitData): ConnectProcess; | ||
copyWithAppendData(appendData: ConnectAppendInitData): ConnectProcess; | ||
copyWithManageData(manageData: ConnectManageInitData): ConnectProcess; | ||
resetLoginData(): ConnectProcess; | ||
copyWithLoginData(loginData: ConnectLoginInitData, expiresAt: number): ConnectProcess; | ||
copyWithAppendData(appendData: ConnectAppendInitData, expiresAt: number): ConnectProcess; | ||
copyWithManageData(manageData: ConnectManageInitData, expiresAt: number): ConnectProcess; | ||
static loadFromStorage(projectId: string): ConnectProcess | undefined; | ||
@@ -17,0 +18,0 @@ persistToStorage(): void; |
@@ -11,8 +11,6 @@ import { type AxiosResponse } from 'axios'; | ||
constructor(projectId: string, frontendApiUrlSuffix: string, isDebug: boolean); | ||
clearProcess(): void; | ||
wrapWithErr<T>(callback: () => Promise<AxiosResponse<T>>): Promise<Result<T, CorbadoError>>; | ||
loginInit(abortController: AbortController): Promise<Result<ConnectLoginInitData, CorbadoError>>; | ||
login(identifier: string, source: PasskeyLoginSource, loadedMs: number): Promise<Result<ConnectLoginFinishRsp, CorbadoError>>; | ||
loginStart(identifier: string, source: PasskeyLoginSource, loadedMs: number): Promise<Result<ConnectLoginStartRsp, CorbadoError>>; | ||
loginContinue(resStart: Result<ConnectLoginStartRsp, CorbadoError>): Promise<Result<ConnectLoginFinishRsp, CorbadoError>>; | ||
loginContinue(start: ConnectLoginStartRsp): Promise<Result<ConnectLoginFinishRsp, CorbadoError>>; | ||
conditionalUILogin(preWebAuthn: (ac: AbortController) => void, postWebAuthn: () => void, onLoginEnd: () => void): Promise<Result<ConnectLoginFinishRsp, CorbadoError>>; | ||
@@ -30,2 +28,3 @@ appendInit(abortController: AbortController): Promise<Result<ConnectAppendInitData, CorbadoError>>; | ||
recordEventLoginOneTapSwitch(): Promise<Result<void, CorbadoError>> | undefined; | ||
recordEventLoginErrorUntyped(): Promise<Result<void, CorbadoError>> | undefined; | ||
recordEventUserAppendAfterCrossPlatformBlacklisted(): Promise<Result<void, CorbadoError>> | undefined; | ||
@@ -32,0 +31,0 @@ recordEventUserAppendAfterLoginErrorBlacklisted(): Promise<Result<void, CorbadoError>> | undefined; |
@@ -109,1 +109,4 @@ import type { AxiosError } from 'axios'; | ||
} | ||
export declare class ConnectConditionalUIPasskeyDeleted extends RecoverableError { | ||
constructor(); | ||
} |
{ | ||
"name": "@corbado/web-core", | ||
"version": "2.12.0", | ||
"version": "2.13.0", | ||
"description": "This package contains core functionalities which are exported by all the SDKs and UI packages of our JavaScript library", | ||
@@ -45,7 +45,7 @@ "author": "Abdullah Shahbaz <abdullah_ghani@live.com>", | ||
"devDependencies": { | ||
"@corbado/types": "^2.8.1-alpha.0", | ||
"@corbado/types": "^2.9.0", | ||
"@types/web-bluetooth": "^0.0.20", | ||
"user-agent-data-types": "^0.4.2" | ||
}, | ||
"gitHead": "8e292071fe82d0b87a8bd6701666c9a322b18ebe" | ||
"gitHead": "73ae734f4a39e80a3451d196dc8bb66312dcdf71" | ||
} |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
1196088
8399
3