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

@supabase/gotrue-js

Package Overview
Dependencies
Maintainers
3
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 1.12.6 to 1.13.0

6

dist/main/GoTrueClient.js

@@ -258,7 +258,9 @@ "use strict";

signOut() {
var _a;
return __awaiter(this, void 0, void 0, function* () {
const accessToken = (_a = this.currentSession) === null || _a === void 0 ? void 0 : _a.access_token;
this._removeSession();
this._notifyAllSubscribers('SIGNED_OUT');
if (this.currentSession) {
const { error } = yield this.api.signOut(this.currentSession.access_token);
if (accessToken) {
const { error } = yield this.api.signOut(accessToken);
if (error)

@@ -265,0 +267,0 @@ return { error };

@@ -253,7 +253,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

signOut() {
var _a;
return __awaiter(this, void 0, void 0, function* () {
const accessToken = (_a = this.currentSession) === null || _a === void 0 ? void 0 : _a.access_token;
this._removeSession();
this._notifyAllSubscribers('SIGNED_OUT');
if (this.currentSession) {
const { error } = yield this.api.signOut(this.currentSession.access_token);
if (accessToken) {
const { error } = yield this.api.signOut(accessToken);
if (error)

@@ -260,0 +262,0 @@ return { error };

{
"name": "@supabase/gotrue-js",
"version": "1.12.6",
"version": "1.13.0",
"description": "Isomorphic GoTrue client",

@@ -5,0 +5,0 @@ "keywords": [

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

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