@algolia/client-search 5.51.0 → 5.52.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
@@ -3173,7 +3173,7 @@ type AccountCopyIndexOptions = {
3173
3173
  batchSize?: number | undefined;
3174
3174
  };
3175
3175
 
3176
- declare const apiClientVersion = "5.51.0";
3176
+ declare const apiClientVersion = "5.52.1";
3177
3177
  declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
3178
3178
  transporter: _algolia_client_common.Transporter;
3179
3179
  /**
@@ -3926,11 +3926,11 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3926
3926
  */
3927
3927
  saveSynonyms({ indexName, synonymHit, forwardToReplicas, replaceExistingSynonyms }: SaveSynonymsProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
3928
3928
  /**
3929
- * Sends multiple search requests to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters. Use the helper `searchForHits` or `searchForFacets` to get the results in a more convenient format, if you already know the return type you want.
3929
+ * Runs multiple search queries against one or more indices in a single API request. Use cases include: - Searching different indices, such as products and marketing content. - Run multiple queries on the same index with different parameters or filters. If you know the expected result type, use the `searchForHits` or `searchForFacets` helper to simplify the response format.
3930
3930
  *
3931
3931
  * Required API Key ACLs:
3932
3932
  * - search
3933
- * @param searchMethodParams - Muli-search request body. Results are returned in the same order as the requests.
3933
+ * @param searchMethodParams - Multi-query search request body. Results are returned in the same order as the requests.
3934
3934
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
3935
3935
  */
3936
3936
  search<T>(searchMethodParams: SearchMethodParams | LegacySearchMethodProps, requestOptions?: RequestOptions): Promise<SearchResponses<T>>;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.51.0",
2
+ "version": "5.52.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.51.0",
58
- "@algolia/requester-browser-xhr": "5.51.0",
59
- "@algolia/requester-fetch": "5.51.0",
60
- "@algolia/requester-node-http": "5.51.0"
57
+ "@algolia/client-common": "5.52.1",
58
+ "@algolia/requester-browser-xhr": "5.52.1",
59
+ "@algolia/requester-fetch": "5.52.1",
60
+ "@algolia/requester-node-http": "5.52.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": "442b543382061403f5b12c9619d8970ec33cdea9"
73
+ "gitHead": "787a83878b02bcf0a007fc5b14af89e2a6948206"
74
74
  }