blockstack-auth
Advanced tools
Comparing version 0.1.11 to 0.1.12
@@ -41,3 +41,3 @@ 'use strict'; | ||
value: function isUserLoggedIn() { | ||
return window.localStorage.getItem(localStorageKeyName) ? true : false; | ||
return window.localStorage.getItem(this.localStorageKeyName) ? true : false; | ||
} | ||
@@ -52,3 +52,3 @@ }, { | ||
var authRequest = _base64url2.default.encode(JSON.stringify(payload)); | ||
window.location = identityHost + "?authRequest=" + authRequest; | ||
window.location = this.identityProviderURL + "?authRequest=" + authRequest; | ||
} | ||
@@ -86,3 +86,3 @@ }, { | ||
value: function logout() { | ||
window.localStorage.removeItem(localStorageKeyName); | ||
window.localStorage.removeItem(this.localStorageKeyName); | ||
window.location = this.currentHost; | ||
@@ -89,0 +89,0 @@ } |
{ | ||
"name": "blockstack-auth", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"description": "Blockstack Auth Library", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
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
1904900