@routstr/sdk 0.3.5 → 0.3.6

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.
@@ -3291,7 +3291,10 @@ var hydrateStoreFromDriver = async (store, driver) => {
3291
3291
  driver.getItem(SDK_STORAGE_KEYS.CLIENT_IDS, []),
3292
3292
  driver.getItem(SDK_STORAGE_KEYS.FAILED_PROVIDERS, []),
3293
3293
  driver.getItem(SDK_STORAGE_KEYS.LAST_FAILED, {}),
3294
- driver.getItem(SDK_STORAGE_KEYS.PROVIDERS_ON_COOLDOWN, [])
3294
+ driver.getItem(
3295
+ SDK_STORAGE_KEYS.PROVIDERS_ON_COOLDOWN,
3296
+ []
3297
+ )
3295
3298
  ]);
3296
3299
  const modelsFromAllProviders = Object.fromEntries(
3297
3300
  Object.entries(rawModels).map(([baseUrl, models]) => [
@@ -3359,7 +3362,9 @@ var hydrateStoreFromDriver = async (store, driver) => {
3359
3362
  createdAt: entry.createdAt ?? Date.now(),
3360
3363
  lastUsed: entry.lastUsed ?? null
3361
3364
  }));
3362
- const failedProviders = rawFailedProviders.map((url) => normalizeBaseUrl5(url));
3365
+ const failedProviders = rawFailedProviders.map(
3366
+ (url) => normalizeBaseUrl5(url)
3367
+ );
3363
3368
  const lastFailed = Object.fromEntries(
3364
3369
  Object.entries(rawLastFailed).map(([baseUrl, timestamp]) => [
3365
3370
  normalizeBaseUrl5(baseUrl),