@algolia/ingestion 1.20.2 → 1.20.4
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/README.md +4 -4
- package/dist/browser.d.ts +5 -5
- package/dist/builds/browser.js +5 -5
- 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 +1 -1
- package/dist/builds/fetch.js +5 -5
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +5 -5
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +5 -5
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +5 -5
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +5 -5
- package/dist/node.d.cts +5 -5
- package/dist/node.d.ts +5 -5
- package/dist/src/ingestionClient.cjs +5 -5
- package/dist/src/ingestionClient.cjs.map +1 -1
- package/dist/src/ingestionClient.js +9 -9
- package/dist/src/ingestionClient.js.map +1 -1
- package/dist/worker.d.ts +5 -5
- package/package.json +10 -10
package/dist/builds/node.js
CHANGED
|
@@ -4,7 +4,7 @@ import { createMemoryCache, createNullCache, createNullLogger } from "@algolia/c
|
|
|
4
4
|
|
|
5
5
|
// src/ingestionClient.ts
|
|
6
6
|
import { createAuth, createTransporter, getAlgoliaAgent } from "@algolia/client-common";
|
|
7
|
-
var apiClientVersion = "1.20.
|
|
7
|
+
var apiClientVersion = "1.20.4";
|
|
8
8
|
var REGIONS = ["eu", "us"];
|
|
9
9
|
function getDefaultHosts(region) {
|
|
10
10
|
const url = "data.{region}.algolia.com".replace("{region}", region);
|
|
@@ -283,7 +283,7 @@ function createIngestionClient({
|
|
|
283
283
|
return transporter.request(request, requestOptions);
|
|
284
284
|
},
|
|
285
285
|
/**
|
|
286
|
-
* This method
|
|
286
|
+
* This method lets you send requests to the Algolia REST API.
|
|
287
287
|
* @param customDelete - The customDelete object.
|
|
288
288
|
* @param customDelete.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
289
289
|
* @param customDelete.parameters - Query parameters to apply to the current query.
|
|
@@ -305,7 +305,7 @@ function createIngestionClient({
|
|
|
305
305
|
return transporter.request(request, requestOptions);
|
|
306
306
|
},
|
|
307
307
|
/**
|
|
308
|
-
* This method
|
|
308
|
+
* This method lets you send requests to the Algolia REST API.
|
|
309
309
|
* @param customGet - The customGet object.
|
|
310
310
|
* @param customGet.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
311
311
|
* @param customGet.parameters - Query parameters to apply to the current query.
|
|
@@ -327,7 +327,7 @@ function createIngestionClient({
|
|
|
327
327
|
return transporter.request(request, requestOptions);
|
|
328
328
|
},
|
|
329
329
|
/**
|
|
330
|
-
* This method
|
|
330
|
+
* This method lets you send requests to the Algolia REST API.
|
|
331
331
|
* @param customPost - The customPost object.
|
|
332
332
|
* @param customPost.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
333
333
|
* @param customPost.parameters - Query parameters to apply to the current query.
|
|
@@ -351,7 +351,7 @@ function createIngestionClient({
|
|
|
351
351
|
return transporter.request(request, requestOptions);
|
|
352
352
|
},
|
|
353
353
|
/**
|
|
354
|
-
* This method
|
|
354
|
+
* This method lets you send requests to the Algolia REST API.
|
|
355
355
|
* @param customPut - The customPut object.
|
|
356
356
|
* @param customPut.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
357
357
|
* @param customPut.parameters - Query parameters to apply to the current query.
|