@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.cjs
CHANGED
|
@@ -30,7 +30,7 @@ var import_client_common2 = require("@algolia/client-common");
|
|
|
30
30
|
|
|
31
31
|
// src/searchClient.ts
|
|
32
32
|
var import_client_common = require("@algolia/client-common");
|
|
33
|
-
var apiClientVersion = "5.
|
|
33
|
+
var apiClientVersion = "5.28.0";
|
|
34
34
|
function getDefaultHosts(appId) {
|
|
35
35
|
return [
|
|
36
36
|
{
|
|
@@ -294,8 +294,8 @@ function createSearchClient({
|
|
|
294
294
|
*/
|
|
295
295
|
browseRules({ indexName, searchRulesParams, ...browseRulesOptions }, requestOptions) {
|
|
296
296
|
const params = {
|
|
297
|
-
|
|
298
|
-
|
|
297
|
+
...searchRulesParams,
|
|
298
|
+
hitsPerPage: (searchRulesParams == null ? void 0 : searchRulesParams.hitsPerPage) || 1e3
|
|
299
299
|
};
|
|
300
300
|
return (0, import_client_common.createIterablePromise)({
|
|
301
301
|
func: (previousResponse) => {
|
|
@@ -331,8 +331,8 @@ function createSearchClient({
|
|
|
331
331
|
...browseSynonymsOptions
|
|
332
332
|
}, requestOptions) {
|
|
333
333
|
const params = {
|
|
334
|
-
page: 0,
|
|
335
334
|
...searchSynonymsParams,
|
|
335
|
+
page: (searchSynonymsParams == null ? void 0 : searchSynonymsParams.page) || 0,
|
|
336
336
|
hitsPerPage: 1e3
|
|
337
337
|
};
|
|
338
338
|
return (0, import_client_common.createIterablePromise)({
|