@supabase/gotrue-js
Advanced tools
Comparing version 1.12.0 to 1.12.1
@@ -185,2 +185,5 @@ "use strict"; | ||
this.currentUser = data; | ||
const session = Object.assign(Object.assign({}, this.currentSession), { user: data }); | ||
this.currentSession = session; | ||
this._saveSession(session); | ||
this._notifyAllSubscribers('USER_UPDATED'); | ||
@@ -187,0 +190,0 @@ return { data, user: this.currentUser, error: null }; |
@@ -180,2 +180,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
this.currentUser = data; | ||
const session = Object.assign(Object.assign({}, this.currentSession), { user: data }); | ||
this.currentSession = session; | ||
this._saveSession(session); | ||
this._notifyAllSubscribers('USER_UPDATED'); | ||
@@ -182,0 +185,0 @@ return { data, user: this.currentUser, error: null }; |
{ | ||
"name": "@supabase/gotrue-js", | ||
"version": "1.12.0", | ||
"version": "1.12.1", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
180617
2757