@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.
- package/dist/browser.d.ts +1 -1
- package/dist/builds/browser.js +3 -1
- package/dist/builds/browser.js.map +1 -1
- package/dist/builds/browser.min.js +1 -1
- package/dist/builds/browser.min.js.map +1 -1
- package/dist/builds/browser.umd.js +5 -5
- package/dist/builds/fetch.js +3 -1
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +2 -1
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +3 -1
- package/dist/builds/node.js.map +1 -1
- package/dist/fetch.d.ts +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/src/ingestionClient.cjs +1 -1
- package/dist/src/ingestionClient.cjs.map +1 -1
- package/dist/src/ingestionClient.js +1 -1
- package/dist/src/ingestionClient.js.map +1 -1
- package/package.json +7 -7
package/dist/builds/node.js
CHANGED
|
@@ -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.
|
|
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(),
|