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

@supabase/gotrue-js

Package Overview
Dependencies
Maintainers
12
Versions
300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@supabase/gotrue-js - npm Package Compare versions

Comparing version 2.66.1-rc.2 to 2.66.1-rc.3

1

dist/main/lib/errors.d.ts

@@ -60,2 +60,3 @@ import { WeakPasswordReasons } from './types';

}
export declare function isAuthImplicitGrantRedirectError(error: any): error is AuthImplicitGrantRedirectError;
export declare class AuthPKCEGrantCodeExchangeError extends CustomAuthError {

@@ -62,0 +63,0 @@ details: {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isAuthWeakPasswordError = exports.AuthWeakPasswordError = exports.isAuthRetryableFetchError = exports.AuthRetryableFetchError = exports.AuthPKCEGrantCodeExchangeError = exports.AuthImplicitGrantRedirectError = exports.AuthInvalidCredentialsError = exports.AuthInvalidTokenResponseError = exports.isAuthSessionMissingError = exports.AuthSessionMissingError = exports.CustomAuthError = exports.AuthUnknownError = exports.isAuthApiError = exports.AuthApiError = exports.isAuthError = exports.AuthError = void 0;
exports.isAuthWeakPasswordError = exports.AuthWeakPasswordError = exports.isAuthRetryableFetchError = exports.AuthRetryableFetchError = exports.AuthPKCEGrantCodeExchangeError = exports.isAuthImplicitGrantRedirectError = exports.AuthImplicitGrantRedirectError = exports.AuthInvalidCredentialsError = exports.AuthInvalidTokenResponseError = exports.isAuthSessionMissingError = exports.AuthSessionMissingError = exports.CustomAuthError = exports.AuthUnknownError = exports.isAuthApiError = exports.AuthApiError = exports.isAuthError = exports.AuthError = void 0;
class AuthError extends Error {

@@ -85,2 +85,6 @@ constructor(message, status, code) {

exports.AuthImplicitGrantRedirectError = AuthImplicitGrantRedirectError;
function isAuthImplicitGrantRedirectError(error) {
return isAuthError(error) && error.name === 'AuthImplicitGrantRedirectError';
}
exports.isAuthImplicitGrantRedirectError = isAuthImplicitGrantRedirectError;
class AuthPKCEGrantCodeExchangeError extends CustomAuthError {

@@ -87,0 +91,0 @@ constructor(message, details = null) {

2

dist/main/lib/locks.js

@@ -143,3 +143,3 @@ "use strict";

const currentOperation = Promise.race([
previousOperation.catch((e) => {
previousOperation.catch(() => {
// ignore error of previous operation that we're waiting to finish

@@ -146,0 +146,0 @@ return null;

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

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

@@ -60,2 +60,3 @@ import { WeakPasswordReasons } from './types';

}
export declare function isAuthImplicitGrantRedirectError(error: any): error is AuthImplicitGrantRedirectError;
export declare class AuthPKCEGrantCodeExchangeError extends CustomAuthError {

@@ -62,0 +63,0 @@ details: {

@@ -71,2 +71,5 @@ export class AuthError extends Error {

}
export function isAuthImplicitGrantRedirectError(error) {
return isAuthError(error) && error.name === 'AuthImplicitGrantRedirectError';
}
export class AuthPKCEGrantCodeExchangeError extends CustomAuthError {

@@ -73,0 +76,0 @@ constructor(message, details = null) {

@@ -136,3 +136,3 @@ import { supportsLocalStorage } from './helpers';

const currentOperation = Promise.race([
previousOperation.catch((e) => {
previousOperation.catch(() => {
// ignore error of previous operation that we're waiting to finish

@@ -139,0 +139,0 @@ return null;

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

export declare const version = "2.66.1-rc.2";
export declare const version = "2.66.1-rc.3";
//# sourceMappingURL=version.d.ts.map

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

export const version = '2.66.1-rc.2';
export const version = '2.66.1-rc.3';
//# sourceMappingURL=version.js.map
{
"name": "@supabase/gotrue-js",
"version": "2.66.1-rc.2",
"version": "2.66.1-rc.3",
"private": false,

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

@@ -105,2 +105,8 @@ import { WeakPasswordReasons } from './types'

export function isAuthImplicitGrantRedirectError(
error: any
): error is AuthImplicitGrantRedirectError {
return isAuthError(error) && error.name === 'AuthImplicitGrantRedirectError'
}
export class AuthPKCEGrantCodeExchangeError extends CustomAuthError {

@@ -107,0 +113,0 @@ details: { error: string; code: string } | null = null

@@ -171,3 +171,3 @@ import { supportsLocalStorage } from './helpers'

[
previousOperation.catch((e: any) => {
previousOperation.catch(() => {
// ignore error of previous operation that we're waiting to finish

@@ -174,0 +174,0 @@ return null

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

export const version = '2.66.1-rc.2'
export const version = '2.66.1-rc.3'

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 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 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