@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/worker.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
getAlgoliaAgent,
|
|
12
12
|
shuffle
|
|
13
13
|
} from "@algolia/client-common";
|
|
14
|
-
var apiClientVersion = "5.
|
|
14
|
+
var apiClientVersion = "5.28.0";
|
|
15
15
|
function getDefaultHosts(appId) {
|
|
16
16
|
return [
|
|
17
17
|
{
|
|
@@ -275,8 +275,8 @@ function createSearchClient({
|
|
|
275
275
|
*/
|
|
276
276
|
browseRules({ indexName, searchRulesParams, ...browseRulesOptions }, requestOptions) {
|
|
277
277
|
const params = {
|
|
278
|
-
|
|
279
|
-
|
|
278
|
+
...searchRulesParams,
|
|
279
|
+
hitsPerPage: (searchRulesParams == null ? void 0 : searchRulesParams.hitsPerPage) || 1e3
|
|
280
280
|
};
|
|
281
281
|
return createIterablePromise({
|
|
282
282
|
func: (previousResponse) => {
|
|
@@ -312,8 +312,8 @@ function createSearchClient({
|
|
|
312
312
|
...browseSynonymsOptions
|
|
313
313
|
}, requestOptions) {
|
|
314
314
|
const params = {
|
|
315
|
-
page: 0,
|
|
316
315
|
...searchSynonymsParams,
|
|
316
|
+
page: (searchSynonymsParams == null ? void 0 : searchSynonymsParams.page) || 0,
|
|
317
317
|
hitsPerPage: 1e3
|
|
318
318
|
};
|
|
319
319
|
return createIterablePromise({
|