@algolia/client-search 5.57.0 → 5.59.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 CHANGED
@@ -40,11 +40,11 @@ All of our clients comes with type definition, and are available for both browse
40
40
  ### With a package manager
41
41
 
42
42
  ```bash
43
- yarn add @algolia/client-search@5.57.0
43
+ yarn add @algolia/client-search@5.59.0
44
44
  # or
45
- npm install @algolia/client-search@5.57.0
45
+ npm install @algolia/client-search@5.59.0
46
46
  # or
47
- pnpm add @algolia/client-search@5.57.0
47
+ pnpm add @algolia/client-search@5.59.0
48
48
  ```
49
49
 
50
50
  ### Without a package manager
@@ -52,7 +52,7 @@ pnpm add @algolia/client-search@5.57.0
52
52
  Add the following JavaScript snippet to the <head> of your website:
53
53
 
54
54
  ```html
55
- <script src="https://cdn.jsdelivr.net/npm/@algolia/client-search@5.57.0/dist/builds/browser.umd.js"></script>
55
+ <script src="https://cdn.jsdelivr.net/npm/@algolia/client-search@5.59.0/dist/builds/browser.umd.js"></script>
56
56
  ```
57
57
 
58
58
  ### Usage
package/dist/browser.d.ts CHANGED
@@ -748,6 +748,10 @@ type LogQuery = {
748
748
  };
749
749
 
750
750
  type Log = {
751
+ /**
752
+ * Correlation ID of the logged API request, also returned in that request\'s `Correlation-ID` response header.
753
+ */
754
+ cid?: string | undefined;
751
755
  /**
752
756
  * Date and time of the API request, in RFC 3339 format.
753
757
  */
@@ -3242,7 +3246,7 @@ type AccountCopyIndexOptions = ChunkedHelperOptions & {
3242
3246
  batchSize?: number | undefined;
3243
3247
  };
3244
3248
 
3245
- declare const apiClientVersion = "5.57.0";
3249
+ declare const apiClientVersion = "5.59.0";
3246
3250
  declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
3247
3251
  transporter: _algolia_client_common.TransporterWithHttpInfo;
3248
3252
  /**
@@ -20,7 +20,7 @@ import {
20
20
  validateRequired,
21
21
  withRequestId
22
22
  } from "@algolia/client-common";
23
- var apiClientVersion = "5.57.0";
23
+ var apiClientVersion = "5.59.0";
24
24
  function getDefaultHosts(appId) {
25
25
  return [
26
26
  {
@@ -332,7 +332,7 @@ function createSearchClient({
332
332
  hitsPerPage: 1e3
333
333
  };
334
334
  return createIterablePromise({
335
- func: (_) => {
335
+ func: (__) => {
336
336
  const resp = this.searchSynonyms(
337
337
  {
338
338
  indexName,