react-auth-kit
Advanced tools
Comparing version 3.0.0-alpha.24 to 3.0.0-alpha.25
{ | ||
"name": "react-auth-kit", | ||
"version": "3.0.0-alpha.24", | ||
"version": "3.0.0-alpha.25", | ||
"description": "Authentication Library for React, which makes Token based auth very easy", | ||
@@ -90,3 +90,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "fe1d6a1dfe2d3643aa8bf957a995c42f9ff5ef76" | ||
"gitHead": "0005a8ed8f221ef1dcd80fe4b09d2e5d2d4dd9be" | ||
} |
@@ -262,6 +262,12 @@ "use strict"; | ||
} else { | ||
console.log(`Point A ${this.authStorageName} ${authToken}`); | ||
localStorage.setItem(this.authStorageName, authToken); | ||
console.log(`Point B ${this.authStorageName} ${authToken}`); | ||
console.log(`Point C ${this.authStorageTypeName} ${authTokenType}`); | ||
localStorage.setItem(this.authStorageTypeName, authTokenType); | ||
console.log(`Point D ${this.authStorageTypeName} ${authTokenType}`); | ||
if (!!authState) { | ||
console.log(`Point E ${this.stateStorageName} ${JSON.stringify(authState)}`); | ||
localStorage.setItem(this.stateStorageName, JSON.stringify(authState)); | ||
console.log(`Point F ${this.stateStorageName} ${JSON.stringify(authState)}`); | ||
} | ||
@@ -268,0 +274,0 @@ } |
72287
1832