@23blocks/block-search 4.2.1 → 4.2.3

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/dist/index.esm.js CHANGED
@@ -289,10 +289,10 @@ const searchIdentityMapper = {
289
289
  if (!params) return {};
290
290
  const queryParams = {};
291
291
  if (params.page) {
292
- queryParams['page[number]'] = params.page;
292
+ queryParams['page'] = params.page;
293
293
  }
294
294
  if (params.perPage) {
295
- queryParams['page[size]'] = params.perPage;
295
+ queryParams['records'] = params.perPage;
296
296
  }
297
297
  if (params.sort) {
298
298
  const sorts = Array.isArray(params.sort) ? params.sort : [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@23blocks/block-search",
3
- "version": "4.2.1",
3
+ "version": "4.2.3",
4
4
  "description": "Search block for 23blocks SDK - full-text search, history, favorites",
5
5
  "license": "MIT",
6
6
  "author": "23blocks <hello@23blocks.com>",