@algolia/client-search 5.57.0 → 5.59.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 +5 -1
- package/dist/builds/browser.js +2 -2
- package/dist/builds/browser.js.map +1 -1
- package/dist/builds/browser.min.js +4 -4
- package/dist/builds/browser.min.js.map +1 -1
- package/dist/builds/browser.umd.js +6 -6
- package/dist/builds/fetch.js +2 -2
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +2 -2
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +2 -2
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +2 -2
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +5 -1
- package/dist/node.d.cts +5 -1
- package/dist/node.d.ts +5 -1
- package/dist/src/searchClient.cjs +2 -2
- package/dist/src/searchClient.cjs.map +1 -1
- package/dist/src/searchClient.js +4 -7
- package/dist/src/searchClient.js.map +1 -1
- package/dist/worker.d.ts +5 -1
- package/package.json +9 -9
package/dist/src/searchClient.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
validateRequired,
|
|
12
12
|
withRequestId
|
|
13
13
|
} from "@algolia/client-common";
|
|
14
|
-
var apiClientVersion = "5.
|
|
14
|
+
var apiClientVersion = "5.59.0";
|
|
15
15
|
function getDefaultHosts(appId) {
|
|
16
16
|
return [
|
|
17
17
|
{
|
|
@@ -281,7 +281,7 @@ function createSearchClient({
|
|
|
281
281
|
requestOptions = withRequestId(transporter, requestOptions);
|
|
282
282
|
const params = {
|
|
283
283
|
...searchRulesParams,
|
|
284
|
-
hitsPerPage: searchRulesParams
|
|
284
|
+
hitsPerPage: (searchRulesParams == null ? void 0 : searchRulesParams.hitsPerPage) || 1e3
|
|
285
285
|
};
|
|
286
286
|
return createIterablePromise({
|
|
287
287
|
func: (previousResponse) => {
|
|
@@ -319,11 +319,11 @@ function createSearchClient({
|
|
|
319
319
|
requestOptions = withRequestId(transporter, requestOptions);
|
|
320
320
|
const params = {
|
|
321
321
|
...searchSynonymsParams,
|
|
322
|
-
page: searchSynonymsParams
|
|
322
|
+
page: (searchSynonymsParams == null ? void 0 : searchSynonymsParams.page) || 0,
|
|
323
323
|
hitsPerPage: 1e3
|
|
324
324
|
};
|
|
325
325
|
return createIterablePromise({
|
|
326
|
-
func: (
|
|
326
|
+
func: (__) => {
|
|
327
327
|
const resp = this.searchSynonyms(
|
|
328
328
|
{
|
|
329
329
|
indexName,
|
|
@@ -4016,7 +4016,4 @@ export {
|
|
|
4016
4016
|
apiClientVersion,
|
|
4017
4017
|
createSearchClient
|
|
4018
4018
|
};
|
|
4019
|
-
//# sourceMappingURL=searchClient.js.mapClientVersion,
|
|
4020
|
-
createSearchClient
|
|
4021
|
-
};
|
|
4022
4019
|
//# sourceMappingURL=searchClient.js.map
|