react-auth-kit
Advanced tools
Comparing version
{ | ||
"name": "react-auth-kit", | ||
"version": "3.1.2-alpha.1", | ||
"version": "3.1.2-alpha.2", | ||
"description": "Authentication Library for React, which makes Token based auth very easy", | ||
@@ -76,3 +76,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "8cf3cddfb208038232ccaecc98e14212e8c66566" | ||
"gitHead": "da80a5ba1abef0943506cbfa447d08863c350338" | ||
} |
@@ -178,2 +178,3 @@ "use strict"; | ||
${authToken} ${stateCookie}`); | ||
this.log(e); | ||
auth = null; | ||
@@ -415,5 +416,5 @@ authState = null; | ||
}; | ||
log = msg => { | ||
log = (msg, ...optionalParams) => { | ||
if (this.debug) { | ||
console.log(`[Auth Kit] - ${msg}`); | ||
console.log(`[Auth Kit] - ${msg}`, optionalParams); | ||
} | ||
@@ -420,0 +421,0 @@ }; |
88404
0.07%2310
0.04%