@supabase/gotrue-js
Advanced tools
Comparing version 1.12.2 to 1.12.3
@@ -407,3 +407,3 @@ "use strict"; | ||
// schedule a refresh 60 seconds before token due to expire | ||
setTimeout(this._callRefreshToken, (expiresAt - timeNow - 60) * 1000); | ||
setTimeout(() => this._callRefreshToken(), (expiresAt - timeNow - 60) * 1000); | ||
} | ||
@@ -432,3 +432,3 @@ } | ||
if (this.autoRefreshToken && tokenExpirySeconds) { | ||
setTimeout(this._callRefreshToken, (tokenExpirySeconds - 60) * 1000); | ||
setTimeout(() => this._callRefreshToken(), (tokenExpirySeconds - 60) * 1000); | ||
} | ||
@@ -435,0 +435,0 @@ if (this.persistSession && this.currentUser) { |
@@ -402,3 +402,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
// schedule a refresh 60 seconds before token due to expire | ||
setTimeout(this._callRefreshToken, (expiresAt - timeNow - 60) * 1000); | ||
setTimeout(() => this._callRefreshToken(), (expiresAt - timeNow - 60) * 1000); | ||
} | ||
@@ -427,3 +427,3 @@ } | ||
if (this.autoRefreshToken && tokenExpirySeconds) { | ||
setTimeout(this._callRefreshToken, (tokenExpirySeconds - 60) * 1000); | ||
setTimeout(() => this._callRefreshToken(), (tokenExpirySeconds - 60) * 1000); | ||
} | ||
@@ -430,0 +430,0 @@ if (this.persistSession && this.currentUser) { |
{ | ||
"name": "@supabase/gotrue-js", | ||
"version": "1.12.2", | ||
"version": "1.12.3", | ||
"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
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
187722