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

@supabase/gotrue-js

Package Overview
Dependencies
Maintainers
9
Versions
299
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.63.0-rc.rc.11 to 2.63.0-rc.rc.rc.11

3

dist/main/GoTrueClient.d.ts

@@ -5,3 +5,3 @@ import GoTrueAdminApi from './GoTrueAdminApi';

import { Deferred } from './lib/helpers';
import type { AuthChangeEvent, AuthResponse, AuthTokenResponse, AuthTokenResponsePassword, AuthOtpResponse, CallRefreshTokenResult, GoTrueClientOptions, InitializeResult, OAuthResponse, SSOResponse, Session, SignInWithIdTokenCredentials, SignInWithOAuthCredentials, SignInWithPasswordCredentials, SignInWithPasswordlessCredentials, SignUpWithPasswordCredentials, SignInWithSSO, SignOut, Subscription, SupportedStorage, UserAttributes, UserResponse, VerifyOtpParams, GoTrueMFAApi, ResendParams, AuthFlowType, LockFunc, UserIdentity } from './lib/types';
import type { AuthChangeEvent, AuthResponse, AuthTokenResponse, AuthTokenResponsePassword, AuthOtpResponse, CallRefreshTokenResult, GoTrueClientOptions, InitializeResult, OAuthResponse, SSOResponse, Session, SignInWithIdTokenCredentials, SignInWithOAuthCredentials, SignInWithPasswordCredentials, SignInWithPasswordlessCredentials, SignUpWithPasswordCredentials, SignInWithSSO, SignOut, Subscription, SupportedStorage, UserAttributes, UserResponse, VerifyOtpParams, GoTrueMFAApi, ResendParams, AuthFlowType, LockFunc, UserIdentity, SignInAnonymouslyCredentials } from './lib/types';
export default class GoTrueClient {

@@ -75,2 +75,3 @@ private static nextInstanceID;

private _initialize;
signInAnonymously(credentials?: SignInAnonymouslyCredentials): Promise<AuthResponse>;
/**

@@ -77,0 +78,0 @@ * Creates a new user.

@@ -294,3 +294,3 @@ import { AuthError } from './errors';

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -304,3 +304,3 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -373,2 +373,14 @@ *

}
export declare type SignInAnonymouslyCredentials = {
options?: {
/**
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*
* The `data` should be a JSON object that includes user-specific info, such as their first and last name.
*/
data?: object;
/** Verification token received when the user completes the captcha on the site. */
captchaToken?: string;
};
};
export declare type SignUpWithPasswordCredentials = {

@@ -383,3 +395,3 @@ /** The user's email address. */

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -399,3 +411,3 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -439,3 +451,3 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -455,3 +467,3 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -608,3 +620,3 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -611,0 +623,0 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

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

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

@@ -5,3 +5,3 @@ import GoTrueAdminApi from './GoTrueAdminApi';

import { Deferred } from './lib/helpers';
import type { AuthChangeEvent, AuthResponse, AuthTokenResponse, AuthTokenResponsePassword, AuthOtpResponse, CallRefreshTokenResult, GoTrueClientOptions, InitializeResult, OAuthResponse, SSOResponse, Session, SignInWithIdTokenCredentials, SignInWithOAuthCredentials, SignInWithPasswordCredentials, SignInWithPasswordlessCredentials, SignUpWithPasswordCredentials, SignInWithSSO, SignOut, Subscription, SupportedStorage, UserAttributes, UserResponse, VerifyOtpParams, GoTrueMFAApi, ResendParams, AuthFlowType, LockFunc, UserIdentity } from './lib/types';
import type { AuthChangeEvent, AuthResponse, AuthTokenResponse, AuthTokenResponsePassword, AuthOtpResponse, CallRefreshTokenResult, GoTrueClientOptions, InitializeResult, OAuthResponse, SSOResponse, Session, SignInWithIdTokenCredentials, SignInWithOAuthCredentials, SignInWithPasswordCredentials, SignInWithPasswordlessCredentials, SignUpWithPasswordCredentials, SignInWithSSO, SignOut, Subscription, SupportedStorage, UserAttributes, UserResponse, VerifyOtpParams, GoTrueMFAApi, ResendParams, AuthFlowType, LockFunc, UserIdentity, SignInAnonymouslyCredentials } from './lib/types';
export default class GoTrueClient {

@@ -75,2 +75,3 @@ private static nextInstanceID;

private _initialize;
signInAnonymously(credentials?: SignInAnonymouslyCredentials): Promise<AuthResponse>;
/**

@@ -77,0 +78,0 @@ * Creates a new user.

@@ -294,3 +294,3 @@ import { AuthError } from './errors';

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -304,3 +304,3 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -373,2 +373,14 @@ *

}
export declare type SignInAnonymouslyCredentials = {
options?: {
/**
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*
* The `data` should be a JSON object that includes user-specific info, such as their first and last name.
*/
data?: object;
/** Verification token received when the user completes the captcha on the site. */
captchaToken?: string;
};
};
export declare type SignUpWithPasswordCredentials = {

@@ -383,3 +395,3 @@ /** The user's email address. */

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -399,3 +411,3 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -439,3 +451,3 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -455,3 +467,3 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -608,3 +620,3 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -611,0 +623,0 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

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

export declare const version = "2.63.0-rc.rc.11";
export declare const version = "2.63.0-rc.rc.rc.11";
//# sourceMappingURL=version.d.ts.map

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

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

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

@@ -369,3 +369,3 @@ import { AuthError } from './errors'

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -380,3 +380,3 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -457,2 +457,15 @@ *

export type SignInAnonymouslyCredentials = {
options?: {
/**
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*
* The `data` should be a JSON object that includes user-specific info, such as their first and last name.
*/
data?: object
/** Verification token received when the user completes the captcha on the site. */
captchaToken?: string
}
}
export type SignUpWithPasswordCredentials =

@@ -468,3 +481,3 @@ | {

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -485,3 +498,3 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -529,3 +542,3 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -546,3 +559,3 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -718,3 +731,3 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

/**
* A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.
* A custom data object to store the user's metadata. This maps to the `auth.users.raw_user_meta_data` column.
*

@@ -721,0 +734,0 @@ * The `data` should be a JSON object that includes user-specific info, such as their first and last name.

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

export const version = '2.63.0-rc.rc.11'
export const version = '2.63.0-rc.rc.rc.11'

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