@iblai/web-utils 1.6.3 → 1.6.4
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.d.ts +3 -3
- package/dist/index.esm.js +2 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3094,7 +3094,9 @@ function useAuthProvider({ middleware = new Map(), onAuthSuccess, onAuthFailure,
|
|
|
3094
3094
|
const dmTokenInLocalStorage = await storageService.getItem(LOCAL_STORAGE_KEYS.DM_TOKEN_KEY);
|
|
3095
3095
|
console.log("[auth-redirect] local storage keys ", LOCAL_STORAGE_KEYS);
|
|
3096
3096
|
console.log("[auth-redirect] local storage ", JSON.stringify(localStorage));
|
|
3097
|
+
console.log("[auth-redirect] dmTokenInLocalStorage ", dmTokenInLocalStorage);
|
|
3097
3098
|
const dmTokenExpired = await isDmTokenExpired(storageService);
|
|
3099
|
+
console.log("[auth-redirect] dmTokenExpired ", dmTokenExpired);
|
|
3098
3100
|
if (!dmTokenInLocalStorage || dmTokenExpired) {
|
|
3099
3101
|
if (!!dmTokenInLocalStorage) {
|
|
3100
3102
|
console.log("[auth-redirect] DM token doesn't exists");
|