@longvansoftware/storefront-js-client 2.5.0 → 2.5.1

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.
@@ -495,12 +495,16 @@ exports.GET_PRODUCT = (0, graphql_tag_1.gql) `
495
495
  $storeChannel: String!
496
496
  $keyword: String
497
497
  $category: String
498
+ $currentPage: Int
499
+ $maxResult: Int
498
500
  ) {
499
501
  getProducts(
500
502
  partnerId: $partnerId
501
503
  storeChannel: $storeChannel
502
504
  keyword: $keyword
503
505
  category: $category
506
+ currentPage: $currentPage
507
+ maxResult: $maxResult
504
508
  ) {
505
509
  total
506
510
  currentPage
@@ -220,6 +220,8 @@ class ProductService extends serviceSDK_1.Service {
220
220
  storeChannel: this.storeId,
221
221
  keyword: dataQuery.keyword,
222
222
  category: dataQuery.category,
223
+ currentPage: dataQuery.currentPage,
224
+ maxResult: dataQuery.maxResult,
223
225
  };
224
226
  try {
225
227
  const response = yield this.graphqlQuery(query, variables);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [