@algolia/ingestion 1.5.3 → 1.6.0

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/browser.d.ts CHANGED
@@ -2237,7 +2237,7 @@ type TransformationUpdateResponse = {
2237
2237
  updatedAt: string;
2238
2238
  };
2239
2239
 
2240
- declare const apiClientVersion = "1.5.3";
2240
+ declare const apiClientVersion = "1.6.0";
2241
2241
  declare const REGIONS: readonly ["eu", "us"];
2242
2242
  type Region = (typeof REGIONS)[number];
2243
2243
  /**
@@ -1,5 +1,6 @@
1
1
  // builds/browser.ts
2
2
  import {
3
+ createNullLogger,
3
4
  createMemoryCache,
4
5
  createFallbackableCache,
5
6
  createBrowserLocalStorageCache,
@@ -11,7 +12,7 @@ import { createXhrRequester } from "@algolia/requester-browser-xhr";
11
12
 
12
13
  // src/ingestionClient.ts
13
14
  import { createAuth, createTransporter, getAlgoliaAgent } from "@algolia/client-common";
14
- var apiClientVersion = "1.5.3";
15
+ var apiClientVersion = "1.6.0";
15
16
  var REGIONS = ["eu", "us"];
16
17
  function getDefaultHosts(region) {
17
18
  const url = "data.{region}.algolia.com".replace("{region}", region);
@@ -1975,6 +1976,7 @@ function ingestionClient(appId, apiKey, region, options) {
1975
1976
  read: DEFAULT_READ_TIMEOUT_BROWSER,
1976
1977
  write: DEFAULT_WRITE_TIMEOUT_BROWSER
1977
1978
  },
1979
+ logger: createNullLogger(),
1978
1980
  requester: createXhrRequester(),
1979
1981
  algoliaAgents: [{ segment: "Browser" }],
1980
1982
  authMode: "WithinQueryParameters",