@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
|
@@ -25,7 +25,7 @@ __export(searchClient_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(searchClient_exports);
|
|
27
27
|
var import_client_common = require("@algolia/client-common");
|
|
28
|
-
var apiClientVersion = "5.
|
|
28
|
+
var apiClientVersion = "5.28.0";
|
|
29
29
|
function getDefaultHosts(appId) {
|
|
30
30
|
return [
|
|
31
31
|
{
|
|
@@ -289,8 +289,8 @@ function createSearchClient({
|
|
|
289
289
|
*/
|
|
290
290
|
browseRules({ indexName, searchRulesParams, ...browseRulesOptions }, requestOptions) {
|
|
291
291
|
const params = {
|
|
292
|
-
|
|
293
|
-
|
|
292
|
+
...searchRulesParams,
|
|
293
|
+
hitsPerPage: (searchRulesParams == null ? void 0 : searchRulesParams.hitsPerPage) || 1e3
|
|
294
294
|
};
|
|
295
295
|
return (0, import_client_common.createIterablePromise)({
|
|
296
296
|
func: (previousResponse) => {
|
|
@@ -326,8 +326,8 @@ function createSearchClient({
|
|
|
326
326
|
...browseSynonymsOptions
|
|
327
327
|
}, requestOptions) {
|
|
328
328
|
const params = {
|
|
329
|
-
page: 0,
|
|
330
329
|
...searchSynonymsParams,
|
|
330
|
+
page: (searchSynonymsParams == null ? void 0 : searchSynonymsParams.page) || 0,
|
|
331
331
|
hitsPerPage: 1e3
|
|
332
332
|
};
|
|
333
333
|
return (0, import_client_common.createIterablePromise)({
|