@algolia/ingestion 1.51.0 → 1.52.1

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.
@@ -1,6 +1,6 @@
1
1
  // src/ingestionClient.ts
2
2
  import { createAuth, createIterablePromise, createTransporter, getAlgoliaAgent } from "@algolia/client-common";
3
- var apiClientVersion = "1.51.0";
3
+ var apiClientVersion = "1.52.1";
4
4
  var REGIONS = ["eu", "us"];
5
5
  function getDefaultHosts(region) {
6
6
  const url = "data.{region}.algolia.com".replace("{region}", region);
@@ -144,7 +144,7 @@ function createIngestionClient({
144
144
  validate: () => retryCount >= 50,
145
145
  message: () => `The maximum number of retries exceeded. (${retryCount}/${50})`
146
146
  },
147
- timeout: () => Math.min(retryCount * 500, 5e3)
147
+ timeout: () => Math.min(retryCount * 1500, 5e3)
148
148
  });
149
149
  }
150
150
  offset += waitBatchSize;
@@ -2173,4 +2173,11 @@ export {
2173
2173
  isScheduleTrigger,
2174
2174
  isSubscriptionTrigger
2175
2175
  };
2176
+ //# sourceMappingURL=ingestionClient.js.mapEGIONS,
2177
+ apiClientVersion,
2178
+ createIngestionClient,
2179
+ isOnDemandTrigger,
2180
+ isScheduleTrigger,
2181
+ isSubscriptionTrigger
2182
+ };
2176
2183
  //# sourceMappingURL=ingestionClient.js.map