@poolzfinance/api4 1.16.5 → 1.16.7

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.
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Get the storage key for an account's auth token
3
+ */
4
+ export declare const getStorageKey: (account: string) => string;
5
+ /**
6
+ * Get the auth token for an account
7
+ */
8
+ export declare const getAuthToken: (account: string | null | undefined) => string | null;
9
+ /**
10
+ * Set the auth token for an account with TTL
11
+ * @param account - The account identifier
12
+ * @param token - The auth token to store
13
+ * @param ttlSeconds - Time to live in seconds
14
+ */
15
+ export declare const setAuthToken: (account: string, token: string, ttlSeconds: number) => void;
16
+ /**
17
+ * Remove the auth token for an account
18
+ */
19
+ export declare const removeAuthToken: (account: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.16.5",
3
+ "version": "1.16.7",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",