@algolia/client-search 5.49.2 → 5.50.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.
@@ -24,13 +24,14 @@ __export(node_exports, {
24
24
  searchClient: () => searchClient
25
25
  });
26
26
  module.exports = __toCommonJS(node_exports);
27
+ var import_node_zlib = require("zlib");
27
28
  var import_node_crypto = require("crypto");
28
29
  var import_client_common2 = require("@algolia/client-common");
29
30
  var import_requester_node_http = require("@algolia/requester-node-http");
30
31
 
31
32
  // src/searchClient.ts
32
33
  var import_client_common = require("@algolia/client-common");
33
- var apiClientVersion = "5.49.2";
34
+ var apiClientVersion = "5.50.1";
34
35
  function getDefaultHosts(appId) {
35
36
  return [
36
37
  {
@@ -2385,6 +2386,7 @@ function searchClient(appId, apiKey, options) {
2385
2386
  responsesCache: (0, import_client_common2.createNullCache)(),
2386
2387
  requestsCache: (0, import_client_common2.createNullCache)(),
2387
2388
  hostsCache: (0, import_client_common2.createMemoryCache)(),
2389
+ compress: async (data) => (0, import_node_zlib.gzipSync)(Buffer.from(data)),
2388
2390
  ...options
2389
2391
  }),
2390
2392
  /**