@routstr/sdk 0.3.1 → 0.3.3
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/client/index.d.mts +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +2 -2
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +2 -2
- package/dist/client/index.mjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/client/index.d.mts
CHANGED
|
@@ -32,7 +32,7 @@ declare class ProviderManager {
|
|
|
32
32
|
private lastFailed;
|
|
33
33
|
/** Providers on cooldown: [provider_url, cooldown_started_timestamp][] */
|
|
34
34
|
private providersOnCoolDown;
|
|
35
|
-
/** Cooldown duration in milliseconds (
|
|
35
|
+
/** Cooldown duration in milliseconds (42 seconds) */
|
|
36
36
|
private static readonly COOLDOWN_DURATION_MS;
|
|
37
37
|
/** Optional persistent store for failure tracking */
|
|
38
38
|
private store;
|
package/dist/client/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ declare class ProviderManager {
|
|
|
32
32
|
private lastFailed;
|
|
33
33
|
/** Providers on cooldown: [provider_url, cooldown_started_timestamp][] */
|
|
34
34
|
private providersOnCoolDown;
|
|
35
|
-
/** Cooldown duration in milliseconds (
|
|
35
|
+
/** Cooldown duration in milliseconds (42 seconds) */
|
|
36
36
|
private static readonly COOLDOWN_DURATION_MS;
|
|
37
37
|
/** Optional persistent store for failure tracking */
|
|
38
38
|
private store;
|
package/dist/client/index.js
CHANGED
|
@@ -1766,8 +1766,8 @@ var ProviderManager = class _ProviderManager {
|
|
|
1766
1766
|
lastFailed = /* @__PURE__ */ new Map();
|
|
1767
1767
|
/** Providers on cooldown: [provider_url, cooldown_started_timestamp][] */
|
|
1768
1768
|
providersOnCoolDown = [];
|
|
1769
|
-
/** Cooldown duration in milliseconds (
|
|
1770
|
-
static COOLDOWN_DURATION_MS =
|
|
1769
|
+
/** Cooldown duration in milliseconds (42 seconds) */
|
|
1770
|
+
static COOLDOWN_DURATION_MS = 42 * 1e3;
|
|
1771
1771
|
/** Optional persistent store for failure tracking */
|
|
1772
1772
|
store = null;
|
|
1773
1773
|
/** Instance ID for debugging */
|