@algolia/ingestion 1.5.2 → 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.
@@ -1,5 +1,6 @@
1
1
  // builds/node.ts
2
2
  import {
3
+ createNullLogger,
3
4
  createMemoryCache,
4
5
  createNullCache,
5
6
  DEFAULT_CONNECT_TIMEOUT_NODE,
@@ -10,7 +11,7 @@ import { createHttpRequester } from "@algolia/requester-node-http";
10
11
 
11
12
  // src/ingestionClient.ts
12
13
  import { createAuth, createTransporter, getAlgoliaAgent } from "@algolia/client-common";
13
- var apiClientVersion = "1.5.2";
14
+ var apiClientVersion = "1.6.0";
14
15
  var REGIONS = ["eu", "us"];
15
16
  function getDefaultHosts(region) {
16
17
  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_NODE,
1976
1977
  write: DEFAULT_WRITE_TIMEOUT_NODE
1977
1978
  },
1979
+ logger: createNullLogger(),
1978
1980
  requester: createHttpRequester(),
1979
1981
  algoliaAgents: [{ segment: "Node.js", version: process.versions.node }],
1980
1982
  responsesCache: createNullCache(),