@iblai/web-utils 1.12.0 → 1.13.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/web-utils",
3
- "version": "1.11.12",
3
+ "version": "1.12.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -56,7 +56,6 @@ import { StorageService } from "@iblai/data-layer";
56
56
  * On React Native, this is a no-op
57
57
  */
58
58
  export declare function syncAuthToCookies(storageService: StorageService): Promise<void>;
59
- export declare function hasNonExpiredAuthToken(): boolean;
60
59
  /**
61
60
  * Clear current tenant cookie only (web only)
62
61
  * Should be called before tenant switching
@@ -21,6 +21,8 @@ export declare function sendMessageToParentWebsite(payload: unknown): void;
21
21
  * @param domain - Cookie domain
22
22
  */
23
23
  export declare function deleteCookie(name: string, path: string, domain: string): void;
24
+ export declare function isJwtExpired(token: string): boolean;
25
+ export declare function hasNonExpiredAuthToken(): boolean;
24
26
  /**
25
27
  * Get all possible domain parts for cookie deletion
26
28
  * @param domain - The domain to split