@algolia/client-search 5.54.1 → 5.55.1

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/worker.d.ts CHANGED
@@ -847,7 +847,7 @@ type GetObjectsResponse<T = Record<string, unknown>> = {
847
847
  /**
848
848
  * Retrieved records.
849
849
  */
850
- results: T[];
850
+ results: (T | null)[];
851
851
  };
852
852
 
853
853
  /**
@@ -3242,7 +3242,7 @@ type AccountCopyIndexOptions = ChunkedHelperOptions & {
3242
3242
  batchSize?: number | undefined;
3243
3243
  };
3244
3244
 
3245
- declare const apiClientVersion = "5.54.1";
3245
+ declare const apiClientVersion = "5.55.1";
3246
3246
  declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
3247
3247
  transporter: _algolia_client_common.Transporter;
3248
3248
  /**
@@ -3413,10 +3413,10 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3413
3413
  * @param replaceAllObjects.objects - The array of `objects` to store in the given Algolia `indexName`.
3414
3414
  * @param replaceAllObjects.batchSize - The size of the chunk of `objects`. The number of `batch` calls will be equal to `objects.length / batchSize`. Defaults to 1000.
3415
3415
  * @param replaceAllObjects.scopes - The `scopes` to keep from the index. Defaults to ['settings', 'rules', 'synonyms'].
3416
- * @param replaceAllObjects.maxRetries - The maximum number of retries when polling for task completion. 100 by default.
3416
+ * @param replaceAllObjects.maxRetries - The maximum number of retries when polling for task completion. 800 by default.
3417
3417
  * @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch`, `operationIndex` and `getTask` method and merged with the transporter requestOptions.
3418
3418
  */
3419
- replaceAllObjects({ indexName, objects, batchSize, scopes, maxRetries }: ReplaceAllObjectsOptions, requestOptions?: RequestOptions | undefined): Promise<ReplaceAllObjectsResponse>;
3419
+ replaceAllObjects({ indexName, objects, batchSize, scopes, maxRetries, }: ReplaceAllObjectsOptions, requestOptions?: RequestOptions | undefined): Promise<ReplaceAllObjectsResponse>;
3420
3420
  indexExists({ indexName }: GetSettingsProps): Promise<boolean>;
3421
3421
  /**
3422
3422
  * Helper: calls the `search` method but with certainty that we will only request Algolia records (hits) and not facets.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.54.1",
2
+ "version": "5.55.1",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
@@ -54,10 +54,10 @@
54
54
  "index.d.ts"
55
55
  ],
56
56
  "dependencies": {
57
- "@algolia/client-common": "5.54.1",
58
- "@algolia/requester-browser-xhr": "5.54.1",
59
- "@algolia/requester-fetch": "5.54.1",
60
- "@algolia/requester-node-http": "5.54.1"
57
+ "@algolia/client-common": "5.55.1",
58
+ "@algolia/requester-browser-xhr": "5.55.1",
59
+ "@algolia/requester-fetch": "5.55.1",
60
+ "@algolia/requester-node-http": "5.55.1"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@arethetypeswrong/cli": "0.18.2",
@@ -70,5 +70,5 @@
70
70
  "engines": {
71
71
  "node": ">= 14.0.0"
72
72
  },
73
- "gitHead": "aa1012a9c8d7c87f8e0bfcf3eba0a7ccbb93822a"
73
+ "gitHead": "cd38da149a0f8a5eafd022f5ece235de5b845d4e"
74
74
  }