@algolia/client-search 5.27.0 → 5.28.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 +4 -4
- package/dist/browser.d.ts +359 -359
- package/dist/builds/browser.js +4 -4
- package/dist/builds/browser.js.map +1 -1
- package/dist/builds/browser.min.js +1 -1
- package/dist/builds/browser.min.js.map +1 -1
- package/dist/builds/browser.umd.js +1 -1
- package/dist/builds/fetch.js +4 -4
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +4 -4
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +4 -4
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +4 -4
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +359 -359
- package/dist/node.d.cts +359 -359
- package/dist/node.d.ts +359 -359
- package/dist/src/searchClient.cjs +4 -4
- package/dist/src/searchClient.cjs.map +1 -1
- package/dist/src/searchClient.js +4 -4
- package/dist/src/searchClient.js.map +1 -1
- package/dist/worker.d.ts +359 -359
- package/package.json +7 -7
package/dist/builds/node.js
CHANGED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
getAlgoliaAgent,
|
|
21
21
|
shuffle
|
|
22
22
|
} from "@algolia/client-common";
|
|
23
|
-
var apiClientVersion = "5.
|
|
23
|
+
var apiClientVersion = "5.28.0";
|
|
24
24
|
function getDefaultHosts(appId) {
|
|
25
25
|
return [
|
|
26
26
|
{
|
|
@@ -284,8 +284,8 @@ function createSearchClient({
|
|
|
284
284
|
*/
|
|
285
285
|
browseRules({ indexName, searchRulesParams, ...browseRulesOptions }, requestOptions) {
|
|
286
286
|
const params = {
|
|
287
|
-
|
|
288
|
-
|
|
287
|
+
...searchRulesParams,
|
|
288
|
+
hitsPerPage: (searchRulesParams == null ? void 0 : searchRulesParams.hitsPerPage) || 1e3
|
|
289
289
|
};
|
|
290
290
|
return createIterablePromise({
|
|
291
291
|
func: (previousResponse) => {
|
|
@@ -321,8 +321,8 @@ function createSearchClient({
|
|
|
321
321
|
...browseSynonymsOptions
|
|
322
322
|
}, requestOptions) {
|
|
323
323
|
const params = {
|
|
324
|
-
page: 0,
|
|
325
324
|
...searchSynonymsParams,
|
|
325
|
+
page: (searchSynonymsParams == null ? void 0 : searchSynonymsParams.page) || 0,
|
|
326
326
|
hitsPerPage: 1e3
|
|
327
327
|
};
|
|
328
328
|
return createIterablePromise({
|