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

@supabase/auth-js

Package Overview
Dependencies
Maintainers
9
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@supabase/auth-js - npm Package Compare versions

Comparing version 2.64.5-rc.1 to 2.65.0-rc.2

35

dist/main/lib/types.d.ts

@@ -239,6 +239,5 @@ import { AuthError } from './errors';

/**
* Type of factor. Only `totp` supported with this version but may change in
* future versions.
* Type of factor. `totp` and `phone` supported with this version
*/
factor_type: 'totp' | string;
factor_type: 'totp' | 'phone' | string;
/** Factor's status. */

@@ -389,5 +388,2 @@ status: 'verified' | 'unverified';

}
export interface UpdatableFactorAttributes {
friendlyName: string;
}
export declare type SignInAnonymouslyCredentials = {

@@ -686,2 +682,9 @@ options?: {

friendlyName?: string;
} | {
/** The type of factor being enrolled. */
factorType: 'phone';
/** Human readable name assigned to the factor. */
friendlyName?: string;
/** Phone number associated with a factor. Number should conform to E.164 format */
phone: string;
};

@@ -703,2 +706,4 @@ export declare type MFAUnenrollParams = {

factorId: string;
/** Messaging channel to use (e.g. whatsapp or sms). Only relevant for phone factors */
channel?: 'sms' | 'whatsapp';
};

@@ -733,3 +738,3 @@ export declare type MFAChallengeAndVerifyParams = {

id: string;
/** Type of MFA factor. Only `totp` supported for now. */
/** Type of MFA factor.*/
type: 'totp';

@@ -755,2 +760,14 @@ /** TOTP enrollment information. */

} | {
data: {
/** ID of the factor that was just enrolled (in an unverified state). */
id: string;
/** Type of MFA factor. */
type: 'phone';
/** Friendly name of the factor, useful for distinguishing between factors **/
friendly_name?: string;
/** Phone number of the MFA factor in E.164 format. Used to send messages */
phone: string;
};
error: null;
} | {
data: null;

@@ -773,2 +790,4 @@ error: AuthError;

id: string;
/** Factor Type which generated the challenge */
type: 'totp' | 'phone';
/** Timestamp in UNIX seconds when this challenge will no longer be usable. */

@@ -788,2 +807,4 @@ expires_at: number;

totp: Factor[];
/** Only verified Phone factors. (A subset of `all`.) */
phone: Factor[];
};

@@ -790,0 +811,0 @@ error: null;

2

dist/main/lib/version.d.ts

@@ -1,2 +0,2 @@

export declare const version = "2.64.5-rc.1";
export declare const version = "2.65.0-rc.2";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = '2.64.5-rc.1';
exports.version = '2.65.0-rc.2';
//# sourceMappingURL=version.js.map

@@ -239,6 +239,5 @@ import { AuthError } from './errors';

/**
* Type of factor. Only `totp` supported with this version but may change in
* future versions.
* Type of factor. `totp` and `phone` supported with this version
*/
factor_type: 'totp' | string;
factor_type: 'totp' | 'phone' | string;
/** Factor's status. */

@@ -389,5 +388,2 @@ status: 'verified' | 'unverified';

}
export interface UpdatableFactorAttributes {
friendlyName: string;
}
export declare type SignInAnonymouslyCredentials = {

@@ -686,2 +682,9 @@ options?: {

friendlyName?: string;
} | {
/** The type of factor being enrolled. */
factorType: 'phone';
/** Human readable name assigned to the factor. */
friendlyName?: string;
/** Phone number associated with a factor. Number should conform to E.164 format */
phone: string;
};

@@ -703,2 +706,4 @@ export declare type MFAUnenrollParams = {

factorId: string;
/** Messaging channel to use (e.g. whatsapp or sms). Only relevant for phone factors */
channel?: 'sms' | 'whatsapp';
};

@@ -733,3 +738,3 @@ export declare type MFAChallengeAndVerifyParams = {

id: string;
/** Type of MFA factor. Only `totp` supported for now. */
/** Type of MFA factor.*/
type: 'totp';

@@ -755,2 +760,14 @@ /** TOTP enrollment information. */

} | {
data: {
/** ID of the factor that was just enrolled (in an unverified state). */
id: string;
/** Type of MFA factor. */
type: 'phone';
/** Friendly name of the factor, useful for distinguishing between factors **/
friendly_name?: string;
/** Phone number of the MFA factor in E.164 format. Used to send messages */
phone: string;
};
error: null;
} | {
data: null;

@@ -773,2 +790,4 @@ error: AuthError;

id: string;
/** Factor Type which generated the challenge */
type: 'totp' | 'phone';
/** Timestamp in UNIX seconds when this challenge will no longer be usable. */

@@ -788,2 +807,4 @@ expires_at: number;

totp: Factor[];
/** Only verified Phone factors. (A subset of `all`.) */
phone: Factor[];
};

@@ -790,0 +811,0 @@ error: null;

@@ -1,2 +0,2 @@

export declare const version = "2.64.5-rc.1";
export declare const version = "2.65.0-rc.2";
//# sourceMappingURL=version.d.ts.map

@@ -1,2 +0,2 @@

export const version = '2.64.5-rc.1';
export const version = '2.65.0-rc.2';
//# sourceMappingURL=version.js.map
{
"name": "@supabase/auth-js",
"version": "2.64.5-rc.1",
"version": "2.65.0-rc.2",
"private": false,

@@ -5,0 +5,0 @@ "description": "Official client library for Supabase Auth",

@@ -305,6 +305,5 @@ import { AuthError } from './errors'

/**
* Type of factor. Only `totp` supported with this version but may change in
* future versions.
* Type of factor. `totp` and `phone` supported with this version
*/
factor_type: 'totp' | string
factor_type: 'totp' | 'phone' | string

@@ -475,6 +474,2 @@ /** Factor's status. */

export interface UpdatableFactorAttributes {
friendlyName: string
}
export type SignInAnonymouslyCredentials = {

@@ -810,10 +805,19 @@ options?: {

export type MFAEnrollParams = {
/** The type of factor being enrolled. */
factorType: 'totp'
/** Domain which the user is enrolled with. */
issuer?: string
/** Human readable name assigned to the factor. */
friendlyName?: string
}
export type MFAEnrollParams =
| {
/** The type of factor being enrolled. */
factorType: 'totp'
/** Domain which the user is enrolled with. */
issuer?: string
/** Human readable name assigned to the factor. */
friendlyName?: string
}
| {
/** The type of factor being enrolled. */
factorType: 'phone'
/** Human readable name assigned to the factor. */
friendlyName?: string
/** Phone number associated with a factor. Number should conform to E.164 format */
phone: string
}

@@ -839,2 +843,4 @@ export type MFAUnenrollParams = {

factorId: string
/** Messaging channel to use (e.g. whatsapp or sms). Only relevant for phone factors */
channel?: 'sms' | 'whatsapp'
}

@@ -880,3 +886,3 @@

/** Type of MFA factor. Only `totp` supported for now. */
/** Type of MFA factor.*/
type: 'totp'

@@ -906,2 +912,18 @@

| {
data: {
/** ID of the factor that was just enrolled (in an unverified state). */
id: string
/** Type of MFA factor. */
type: 'phone'
/** Friendly name of the factor, useful for distinguishing between factors **/
friendly_name?: string
/** Phone number of the MFA factor in E.164 format. Used to send messages */
phone: string
}
error: null
}
| {
data: null

@@ -927,2 +949,5 @@ error: AuthError

/** Factor Type which generated the challenge */
type: 'totp' | 'phone'
/** Timestamp in UNIX seconds when this challenge will no longer be usable. */

@@ -943,2 +968,4 @@ expires_at: number

totp: Factor[]
/** Only verified Phone factors. (A subset of `all`.) */
phone: Factor[]
}

@@ -945,0 +972,0 @@ error: null

@@ -1,1 +0,1 @@

export const version = '2.64.5-rc.1'
export const version = '2.65.0-rc.2'

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

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

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