Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@corbado/web-core

Package Overview
Dependencies
Maintainers
4
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@corbado/web-core - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

3

dist/services/ApiService.d.ts

@@ -5,2 +5,3 @@ import type { ProjectConfig, UserAuthMethods } from '@corbado/types';

import { Result } from 'ts-results';
import type { SessionRefreshRsp } from '../api';
import { AssetsApi, ProjectsApi, SessionsApi, UsersApi } from '../api';

@@ -32,2 +33,3 @@ import { AuthenticationResponse } from '../models/auth';

get sessionsApi(): SessionsApi;
get sessionsApiWithAuth(): SessionsApi;
/**

@@ -56,2 +58,3 @@ * Public method to update the API instances with a new authentication token.

userExists(userIdentifierType: UserIdentifier, identifier: string): Promise<Result<boolean, UserExistsError | undefined>>;
sessionRefresh(): Promise<Result<SessionRefreshRsp | undefined, NonRecoverableError | undefined>>;
}

@@ -7,5 +7,6 @@ import type { AxiosError } from 'axios';

export type GlobalError = BehaviorSubject<NonRecoverableError | undefined>;
export type SessionRefreshError = UnknownError;
/** Passkey Authentication Errors */
export type SignUpWithPasskeyError = UserAlreadyExistsError | InvalidEmailError | InvalidFullnameError | PasskeyChallengeCancelledError | UnknownError;
export type AppendPasskeyError = PasskeyChallengeCancelledError | UnknownError;
export type AppendPasskeyError = PasskeyAlreadyExistsError | PasskeyChallengeCancelledError | UnknownError;
export type LoginWithPasskeyError = InvalidEmailError | InvalidPasskeyError | PasskeyChallengeCancelledError | InitAutocompletedLoginWithPasskeyError | ConditionalUiNotSupportedError | UnknownError;

@@ -68,2 +69,5 @@ export type InitAutocompletedLoginWithPasskeyError = UnknownError;

}
export declare class UnAuthenticatedError extends RecoverableError {
constructor();
}
export declare class UserAlreadyExistsError extends RecoverableError {

@@ -70,0 +74,0 @@ constructor();

4

package.json
{
"name": "@corbado/web-core",
"version": "1.1.6",
"version": "1.1.7",
"description": "This package contains core functionalities which are exported by all the SDKs and UI packages of our JavaScript library",

@@ -45,3 +45,3 @@ "author": "Abdullah Shahbaz <abdullah_ghani@live.com>",

},
"gitHead": "dd68aab23d09370ce1e4a95e0437697d053e7113"
"gitHead": "4f736538e2ac182dc74a63c52d2112b787769988"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc