@obelisk/auth
Advanced tools
Comparing version 3.4.0 to 3.5.0
@@ -437,2 +437,3 @@ var AuthEventType; | ||
body: JSON.stringify(query_1), | ||
// credentials: 'include', | ||
mode: 'cors', | ||
@@ -462,7 +463,7 @@ headers: { | ||
ObeliskAuthClient.prototype.pushCodeVerifier = function (verifier) { | ||
sessionStorage.setItem(KEY_CODE_VERIFIER, verifier); | ||
localStorage.setItem(KEY_CODE_VERIFIER, verifier); | ||
}; | ||
ObeliskAuthClient.prototype.popCodeVerifier = function () { | ||
var verifier = sessionStorage.getItem(KEY_CODE_VERIFIER); | ||
sessionStorage.removeItem(KEY_CODE_VERIFIER); | ||
var verifier = localStorage.getItem(KEY_CODE_VERIFIER); | ||
localStorage.removeItem(KEY_CODE_VERIFIER); | ||
return verifier; | ||
@@ -469,0 +470,0 @@ }; |
@@ -440,2 +440,3 @@ 'use strict'; | ||
body: JSON.stringify(query_1), | ||
// credentials: 'include', | ||
mode: 'cors', | ||
@@ -465,7 +466,7 @@ headers: { | ||
ObeliskAuthClient.prototype.pushCodeVerifier = function (verifier) { | ||
sessionStorage.setItem(KEY_CODE_VERIFIER, verifier); | ||
localStorage.setItem(KEY_CODE_VERIFIER, verifier); | ||
}; | ||
ObeliskAuthClient.prototype.popCodeVerifier = function () { | ||
var verifier = sessionStorage.getItem(KEY_CODE_VERIFIER); | ||
sessionStorage.removeItem(KEY_CODE_VERIFIER); | ||
var verifier = localStorage.getItem(KEY_CODE_VERIFIER); | ||
localStorage.removeItem(KEY_CODE_VERIFIER); | ||
return verifier; | ||
@@ -472,0 +473,0 @@ }; |
{ | ||
"name": "@obelisk/auth", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
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
153370
1223