@algolia/client-search 5.55.1 → 5.55.2

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.
@@ -9,7 +9,7 @@ import {
9
9
  shuffle,
10
10
  validateRequired
11
11
  } from "@algolia/client-common";
12
- var apiClientVersion = "5.55.1";
12
+ var apiClientVersion = "5.55.2";
13
13
  function getDefaultHosts(appId) {
14
14
  return [
15
15
  {
@@ -274,7 +274,7 @@ function createSearchClient({
274
274
  browseRules({ indexName, searchRulesParams, ...browseRulesOptions }, requestOptions) {
275
275
  const params = {
276
276
  ...searchRulesParams,
277
- hitsPerPage: (searchRulesParams == null ? void 0 : searchRulesParams.hitsPerPage) || 1e3
277
+ hitsPerPage: searchRulesParams?.hitsPerPage || 1e3
278
278
  };
279
279
  return createIterablePromise({
280
280
  func: (previousResponse) => {
@@ -311,7 +311,7 @@ function createSearchClient({
311
311
  }, requestOptions) {
312
312
  const params = {
313
313
  ...searchSynonymsParams,
314
- page: (searchSynonymsParams == null ? void 0 : searchSynonymsParams.page) || 0,
314
+ page: searchSynonymsParams?.page || 0,
315
315
  hitsPerPage: 1e3
316
316
  };
317
317
  return createIterablePromise({
@@ -2171,4 +2171,7 @@ export {
2171
2171
  apiClientVersion,
2172
2172
  createSearchClient
2173
2173
  };
2174
+ //# sourceMappingURL=searchClient.js.mapClientVersion,
2175
+ createSearchClient
2176
+ };
2174
2177
  //# sourceMappingURL=searchClient.js.map