@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/dist/fetch.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
  /**
package/dist/node.d.cts 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
  /**
package/dist/node.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
  /**
@@ -25,7 +25,7 @@ __export(searchClient_exports, {
25
25
  });
26
26
  module.exports = __toCommonJS(searchClient_exports);
27
27
  var import_client_common = require("@algolia/client-common");
28
- var apiClientVersion = "5.57.0";
28
+ var apiClientVersion = "5.59.0";
29
29
  function getDefaultHosts(appId) {
30
30
  return [
31
31
  {
@@ -337,7 +337,7 @@ function createSearchClient({
337
337
  hitsPerPage: 1e3
338
338
  };
339
339
  return (0, import_client_common.createIterablePromise)({
340
- func: (_) => {
340
+ func: (__) => {
341
341
  const resp = this.searchSynonyms(
342
342
  {
343
343
  indexName,