@riligar/auth-react 1.6.0 → 1.6.2
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.js
CHANGED
|
@@ -151,10 +151,6 @@ function isTokenExpired(token) {
|
|
|
151
151
|
function isAuthenticated() {
|
|
152
152
|
const token = getStoredToken();
|
|
153
153
|
const valid = token && !isTokenExpired(token);
|
|
154
|
-
console.log('[AuthSDK] isAuthenticated check:', {
|
|
155
|
-
hasToken: !!token,
|
|
156
|
-
valid
|
|
157
|
-
});
|
|
158
154
|
return valid;
|
|
159
155
|
}
|
|
160
156
|
|