@riligar/auth-react 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +0 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +0 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -148,10 +148,6 @@ function isTokenExpired(token) {
|
|
|
148
148
|
function isAuthenticated() {
|
|
149
149
|
const token = getStoredToken();
|
|
150
150
|
const valid = token && !isTokenExpired(token);
|
|
151
|
-
console.log('[AuthSDK] isAuthenticated check:', {
|
|
152
|
-
hasToken: !!token,
|
|
153
|
-
valid
|
|
154
|
-
});
|
|
155
151
|
return valid;
|
|
156
152
|
}
|
|
157
153
|
|