@djust-b2b/djust-front-sdk 1.18.3 → 1.18.5

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.
@@ -355,7 +355,9 @@ async function getCartLines(params) {
355
355
  path: `/v2/shop/carts/${cartId}/lines`,
356
356
  params: {
357
357
  currency,
358
- pageable,
358
+ page: pageable.page,
359
+ size: pageable.size,
360
+ sort: pageable.sort,
359
361
  supplierId,
360
362
  productVariantId,
361
363
  offerPriceId,
@@ -460,7 +460,6 @@ async function getCustomerAccountUsers({ pageable, }) {
460
460
  method: "GET",
461
461
  path: `/v1/shop/customer-accounts/users`,
462
462
  params: {
463
- pageable,
464
463
  page: pageable.page,
465
464
  size: pageable.size,
466
465
  sort: pageable.sort,
@@ -99,6 +99,7 @@ async function getProductsList({ locale, filters, pageable, }) {
99
99
  locale,
100
100
  page: pageable === null || pageable === void 0 ? void 0 : pageable.page,
101
101
  size: pageable === null || pageable === void 0 ? void 0 : pageable.size,
102
+ sort: pageable === null || pageable === void 0 ? void 0 : pageable.sort,
102
103
  },
103
104
  });
104
105
  return data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djust-b2b/djust-front-sdk",
3
- "version": "1.18.3",
3
+ "version": "1.18.5",
4
4
  "description": "DJUST Front SDK is a versatile JavaScript Software Development Kit (SDK) ",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",