@corbado/web-core
Advanced tools
Comparing version 0.1.7-alpha.1 to 0.1.7-alpha.2
import type { SessionUser } from '@corbado/types'; | ||
import { BehaviorSubject } from 'rxjs'; | ||
import type { Result } from 'ts-results'; | ||
@@ -24,11 +25,11 @@ import type { AppendPasskeyError, CompleteLoginWithEmailOTPError, CompleteSignupWithEmailOTPError, InitLoginWithEmailOTPError, InitSignUpWithEmailOTPError, LoginWithPasskeyError, RecoverableError, SignUpWithPasskeyError } from '../utils'; | ||
*/ | ||
get userChanges(): import("rxjs").Observable<SessionUser | undefined>; | ||
get userChanges(): BehaviorSubject<SessionUser | undefined>; | ||
/** | ||
* Exposes changes to the shortSession | ||
*/ | ||
get shortSessionChanges(): import("rxjs").Observable<string | undefined>; | ||
get shortSessionChanges(): BehaviorSubject<string | undefined>; | ||
/** | ||
* Exposes changes to the auth state | ||
*/ | ||
get authStateChanges(): import("rxjs").Observable<AuthState>; | ||
get authStateChanges(): BehaviorSubject<AuthState>; | ||
/** | ||
@@ -35,0 +36,0 @@ * Method to start registration of a user by sending an email with an OTP. |
import type { CorbadoAppParams } from '@corbado/types'; | ||
import { BehaviorSubject } from 'rxjs'; | ||
import { NonRecoverableError } from '../utils'; | ||
@@ -23,3 +24,4 @@ import { ApiService } from './ApiService'; | ||
get projectService(): ProjectService; | ||
get globalErrors(): import("rxjs").Observable<NonRecoverableError | undefined>; | ||
get globalErrors(): BehaviorSubject<NonRecoverableError | undefined>; | ||
get initialized(): boolean; | ||
/** | ||
@@ -26,0 +28,0 @@ * Method to initialize the application. |
@@ -57,2 +57,5 @@ import type { AxiosError } from 'axios'; | ||
} | ||
export declare class PasskeyAlreadyExistsError extends RecoverableError { | ||
constructor(); | ||
} | ||
export declare class UnknownUserError extends RecoverableError { | ||
@@ -59,0 +62,0 @@ constructor(); |
{ | ||
"name": "@corbado/web-core", | ||
"version": "0.1.7-alpha.1", | ||
"version": "0.1.7-alpha.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": "^0.1.1-alpha.1" | ||
"@corbado/types": "^0.1.1-alpha.2" | ||
}, | ||
"gitHead": "b03d031d5a3cafdf798d2170d9c0c0803b3c9b4f" | ||
"gitHead": "170d17f6c315a8e0ee26e8726ff547e3cc7f06d5" | ||
} |
@@ -0,0 +0,0 @@ # `web-core` |
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
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
655836
3983
0