@algolia/ingestion 1.20.3 → 1.21.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/README.md +4 -4
- package/dist/browser.d.ts +8 -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 +8 -5
- package/dist/node.d.cts +8 -5
- package/dist/node.d.ts +8 -5
- package/dist/src/ingestionClient.cjs +5 -5
- package/dist/src/ingestionClient.cjs.map +1 -1
- package/dist/src/ingestionClient.js +5 -5
- package/dist/src/ingestionClient.js.map +1 -1
- package/dist/worker.d.ts +8 -5
- package/package.json +10 -10
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/ingestionClient.ts
|
|
2
2
|
import { createAuth, createTransporter, getAlgoliaAgent } from "@algolia/client-common";
|
|
3
|
-
var apiClientVersion = "1.
|
|
3
|
+
var apiClientVersion = "1.21.0";
|
|
4
4
|
var REGIONS = ["eu", "us"];
|
|
5
5
|
function getDefaultHosts(region) {
|
|
6
6
|
const url = "data.{region}.algolia.com".replace("{region}", region);
|
|
@@ -279,7 +279,7 @@ function createIngestionClient({
|
|
|
279
279
|
return transporter.request(request, requestOptions);
|
|
280
280
|
},
|
|
281
281
|
/**
|
|
282
|
-
* This method
|
|
282
|
+
* This method lets you send requests to the Algolia REST API.
|
|
283
283
|
* @param customDelete - The customDelete object.
|
|
284
284
|
* @param customDelete.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
285
285
|
* @param customDelete.parameters - Query parameters to apply to the current query.
|
|
@@ -301,7 +301,7 @@ function createIngestionClient({
|
|
|
301
301
|
return transporter.request(request, requestOptions);
|
|
302
302
|
},
|
|
303
303
|
/**
|
|
304
|
-
* This method
|
|
304
|
+
* This method lets you send requests to the Algolia REST API.
|
|
305
305
|
* @param customGet - The customGet object.
|
|
306
306
|
* @param customGet.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
307
307
|
* @param customGet.parameters - Query parameters to apply to the current query.
|
|
@@ -323,7 +323,7 @@ function createIngestionClient({
|
|
|
323
323
|
return transporter.request(request, requestOptions);
|
|
324
324
|
},
|
|
325
325
|
/**
|
|
326
|
-
* This method
|
|
326
|
+
* This method lets you send requests to the Algolia REST API.
|
|
327
327
|
* @param customPost - The customPost object.
|
|
328
328
|
* @param customPost.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
329
329
|
* @param customPost.parameters - Query parameters to apply to the current query.
|
|
@@ -347,7 +347,7 @@ function createIngestionClient({
|
|
|
347
347
|
return transporter.request(request, requestOptions);
|
|
348
348
|
},
|
|
349
349
|
/**
|
|
350
|
-
* This method
|
|
350
|
+
* This method lets you send requests to the Algolia REST API.
|
|
351
351
|
* @param customPut - The customPut object.
|
|
352
352
|
* @param customPut.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
353
353
|
* @param customPut.parameters - Query parameters to apply to the current query.
|