@corbado/web-core
Advanced tools
Comparing version 1.1.0 to 1.1.2
@@ -18,3 +18,3 @@ import type { SessionUser } from '@corbado/types'; | ||
*/ | ||
constructor(apiService: ApiService, globalErrors: GlobalError); | ||
constructor(apiService: ApiService, globalErrors: GlobalError, setShortSessionCookie: boolean); | ||
/** | ||
@@ -91,2 +91,3 @@ * Exposes changes to the user object | ||
loginWithConditionalUI(): Promise<Result<void, LoginWithPasskeyError | undefined>>; | ||
abortOngoingPasskeyOperation(): void; | ||
/** | ||
@@ -93,0 +94,0 @@ * Method to append a passkey. |
@@ -31,2 +31,3 @@ import type { CorbadoAppParams } from '@corbado/types'; | ||
init(): Promise<void>; | ||
dispose(): void; | ||
/** | ||
@@ -33,0 +34,0 @@ * Method to clear the global errors. |
@@ -13,3 +13,3 @@ import type { CorbadoUser, SessionUser } from '@corbado/types'; | ||
#private; | ||
constructor(apiService: ApiService); | ||
constructor(apiService: ApiService, setShortSessionCookie: boolean); | ||
/** | ||
@@ -16,0 +16,0 @@ * Initializes the SessionService by registering a callback that is called when the shortSession changes. |
@@ -13,2 +13,3 @@ import type { Subject } from 'rxjs'; | ||
login(serializedChallenge: string, conditional: boolean): Promise<Result<string, CorbadoError>>; | ||
abortOngoingOperation(): void; | ||
} |
@@ -56,11 +56,11 @@ import type { AxiosError } from 'axios'; | ||
readonly type: 'client' | 'server'; | ||
readonly link: string; | ||
readonly link?: string; | ||
readonly details?: string; | ||
readonly detailedType?: string; | ||
readonly requestId?: string; | ||
constructor(type: 'client' | 'server', message: string, link: string, details?: string, detailedType?: string, requestId?: string); | ||
constructor(type: 'client' | 'server', message: string, link?: string, details?: string, detailedType?: string, requestId?: string); | ||
static unknown(): NonRecoverableError; | ||
static invalidConfig(message: string): NonRecoverableError; | ||
static server(message: string, requestId: string, link: string, detailedType: string, details?: string): NonRecoverableError; | ||
static client(message: string, link: string): NonRecoverableError; | ||
static client(message: string, link?: string): NonRecoverableError; | ||
static userRegistrationNotAllowed(): NonRecoverableError; | ||
@@ -67,0 +67,0 @@ } |
{ | ||
"name": "@corbado/web-core", | ||
"version": "1.1.0", | ||
"version": "1.1.2", | ||
"description": "This package contains core functionalities which are exported by all the SDKs and UI packages of our JavaScript library", | ||
@@ -43,5 +43,5 @@ "author": "Abdullah Shahbaz <abdullah_ghani@live.com>", | ||
"devDependencies": { | ||
"@corbado/types": "^1.1.0" | ||
"@corbado/types": "^1.1.2" | ||
}, | ||
"gitHead": "a3b51cc8c8f501c8cc0790569e22dc7e5a9344aa" | ||
"gitHead": "3e8b8918a10f969cfdb086dd023eaed18f4e6ec2" | ||
} |
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
691088
4158