@thorprovider/adapters 4.2.1 → 4.2.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.mjs CHANGED
@@ -523,6 +523,9 @@ async function fetchWithRetry(url, init, retryConfig) {
523
523
  }
524
524
  throw lastError;
525
525
  }
526
+ function createFetchWithRetry(retryConfig) {
527
+ return (url, init) => fetchWithRetry(url, init, retryConfig);
528
+ }
526
529
 
527
530
  // src/resilience/circuit-breaker.ts
528
531
  var CircuitBreaker = class {
@@ -10113,8 +10116,11 @@ export {
10113
10116
  buildChannelScopeMetadata,
10114
10117
  calculateDistance,
10115
10118
  createBackendMetadataAdapter,
10119
+ createFetchWithRetry,
10116
10120
  createLogger,
10117
10121
  createProvider,
10122
+ extractErrorMessage,
10123
+ fetchWithRetry,
10118
10124
  filterByChannel,
10119
10125
  filterGlobalOnly,
10120
10126
  geocodeAddress,