@deepdesk/deepdesk-sdk 19.1.1-beta.1 → 19.1.1-beta.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.cjs.js +8 -8
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.esm.js +8 -8
- package/dist/index.iife.js +25 -25
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -475,7 +475,9 @@ declare class HTTPClient {
|
|
|
475
475
|
private latestRequestByUrl;
|
|
476
476
|
csrfToken?: string;
|
|
477
477
|
fetch: Fetch;
|
|
478
|
-
private
|
|
478
|
+
private refreshingToken;
|
|
479
|
+
private lastFailedRefreshAt;
|
|
480
|
+
private readonly failedRefreshCooldown;
|
|
479
481
|
constructor(baseUrl?: string, options?: HTTPClientOptions);
|
|
480
482
|
patchFetch(patch: (fetchFn: Fetch) => Fetch): void;
|
|
481
483
|
setCsrfToken(token: string): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -475,7 +475,9 @@ declare class HTTPClient {
|
|
|
475
475
|
private latestRequestByUrl;
|
|
476
476
|
csrfToken?: string;
|
|
477
477
|
fetch: Fetch;
|
|
478
|
-
private
|
|
478
|
+
private refreshingToken;
|
|
479
|
+
private lastFailedRefreshAt;
|
|
480
|
+
private readonly failedRefreshCooldown;
|
|
479
481
|
constructor(baseUrl?: string, options?: HTTPClientOptions);
|
|
480
482
|
patchFetch(patch: (fetchFn: Fetch) => Fetch): void;
|
|
481
483
|
setCsrfToken(token: string): void;
|