@algolia/ingestion 1.52.1 → 1.53.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 +5 -4
- package/dist/builds/browser.js +6 -4
- 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 +3 -3
- package/dist/builds/fetch.js +6 -4
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +6 -4
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +6 -4
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +6 -4
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +5 -4
- package/dist/node.d.cts +5 -4
- package/dist/node.d.ts +5 -4
- package/dist/src/ingestionClient.cjs +6 -4
- package/dist/src/ingestionClient.cjs.map +1 -1
- package/dist/src/ingestionClient.js +6 -11
- package/dist/src/ingestionClient.js.map +1 -1
- package/dist/worker.d.ts +5 -4
- package/package.json +9 -9
package/dist/worker.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _algolia_client_common from '@algolia/client-common';
|
|
2
|
-
import { CreateClientOptions, RequestOptions, ClientOptions } from '@algolia/client-common';
|
|
2
|
+
import { ChunkedHelperOptions, CreateClientOptions, RequestOptions, ClientOptions } from '@algolia/client-common';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Credentials for authenticating with an API key.
|
|
@@ -2513,7 +2513,7 @@ type ValidateSourceBeforeUpdateProps = {
|
|
|
2513
2513
|
sourceID: string;
|
|
2514
2514
|
sourceUpdate: SourceUpdate;
|
|
2515
2515
|
};
|
|
2516
|
-
type ChunkedPushOptions = {
|
|
2516
|
+
type ChunkedPushOptions = ChunkedHelperOptions & {
|
|
2517
2517
|
/**
|
|
2518
2518
|
* The `indexName` to replace `objects` in.
|
|
2519
2519
|
*/
|
|
@@ -2540,7 +2540,7 @@ type ChunkedPushOptions = {
|
|
|
2540
2540
|
objects: Array<Record<string, unknown>>;
|
|
2541
2541
|
};
|
|
2542
2542
|
|
|
2543
|
-
declare const apiClientVersion = "1.
|
|
2543
|
+
declare const apiClientVersion = "1.53.0";
|
|
2544
2544
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2545
2545
|
type Region = (typeof REGIONS)[number];
|
|
2546
2546
|
type RegionOptions = {
|
|
@@ -2612,9 +2612,10 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2612
2612
|
* @param chunkedPush.waitForTasks - Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable.
|
|
2613
2613
|
* @param chunkedPush.batchSize - The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
|
|
2614
2614
|
* @param chunkedPush.referenceIndexName - This is required when targeting an index that does not have a push connector setup (e.g. a tmp index), but you wish to attach another index's transformation to it (e.g. the source index name).
|
|
2615
|
+
* @param chunkedPush.maxRetries - The maximum number of retries when polling for task completion. 100 by default.
|
|
2615
2616
|
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `getEvent` method and merged with the transporter requestOptions.
|
|
2616
2617
|
*/
|
|
2617
|
-
chunkedPush({ indexName, objects, action, waitForTasks, batchSize, referenceIndexName, }: ChunkedPushOptions, requestOptions?: RequestOptions): Promise<Array<WatchResponse>>;
|
|
2618
|
+
chunkedPush({ indexName, objects, action, waitForTasks, batchSize, referenceIndexName, maxRetries, }: ChunkedPushOptions, requestOptions?: RequestOptions): Promise<Array<WatchResponse>>;
|
|
2618
2619
|
/**
|
|
2619
2620
|
* Creates a new authentication resource.
|
|
2620
2621
|
*
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.53.0",
|
|
3
3
|
"repository": {
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
|
|
@@ -54,21 +54,21 @@
|
|
|
54
54
|
"index.d.ts"
|
|
55
55
|
],
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@algolia/client-common": "5.
|
|
58
|
-
"@algolia/requester-browser-xhr": "5.
|
|
59
|
-
"@algolia/requester-fetch": "5.
|
|
60
|
-
"@algolia/requester-node-http": "5.
|
|
57
|
+
"@algolia/client-common": "5.53.0",
|
|
58
|
+
"@algolia/requester-browser-xhr": "5.53.0",
|
|
59
|
+
"@algolia/requester-fetch": "5.53.0",
|
|
60
|
+
"@algolia/requester-node-http": "5.53.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@arethetypeswrong/cli": "0.18.2",
|
|
64
|
-
"@types/node": "25.
|
|
65
|
-
"publint": "0.3.
|
|
66
|
-
"rollup": "4.
|
|
64
|
+
"@types/node": "25.8.0",
|
|
65
|
+
"publint": "0.3.21",
|
|
66
|
+
"rollup": "4.60.4",
|
|
67
67
|
"tsup": "8.5.1",
|
|
68
68
|
"typescript": "5.9.3"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">= 14.0.0"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "2658999ce3f428dfc8cab8e4946de263030245ba"
|
|
74
74
|
}
|