@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/browser.js
CHANGED
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
getAlgoliaAgent,
|
|
17
17
|
shuffle
|
|
18
18
|
} from "@algolia/client-common";
|
|
19
|
-
var apiClientVersion = "5.
|
|
19
|
+
var apiClientVersion = "5.28.0";
|
|
20
20
|
function getDefaultHosts(appId) {
|
|
21
21
|
return [
|
|
22
22
|
{
|
|
@@ -280,8 +280,8 @@ function createSearchClient({
|
|
|
280
280
|
*/
|
|
281
281
|
browseRules({ indexName, searchRulesParams, ...browseRulesOptions }, requestOptions) {
|
|
282
282
|
const params = {
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
...searchRulesParams,
|
|
284
|
+
hitsPerPage: searchRulesParams?.hitsPerPage || 1e3
|
|
285
285
|
};
|
|
286
286
|
return createIterablePromise({
|
|
287
287
|
func: (previousResponse) => {
|
|
@@ -317,8 +317,8 @@ function createSearchClient({
|
|
|
317
317
|
...browseSynonymsOptions
|
|
318
318
|
}, requestOptions) {
|
|
319
319
|
const params = {
|
|
320
|
-
page: 0,
|
|
321
320
|
...searchSynonymsParams,
|
|
321
|
+
page: searchSynonymsParams?.page || 0,
|
|
322
322
|
hitsPerPage: 1e3
|
|
323
323
|
};
|
|
324
324
|
return createIterablePromise({
|