@longvansoftware/storefront-js-client 2.3.8 → 2.3.9

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.
@@ -91,6 +91,7 @@ exports.GET_VOUCHERS = (0, graphql_tag_1.gql) `
91
91
  exports.CHECK_VALID_VOUCHER = (0, graphql_tag_1.gql) `
92
92
  query CheckValidVoucher(
93
93
  $partyId: String
94
+ $productStoreId: String
94
95
  $customerId: String
95
96
  $voucherCode: String!
96
97
  ) {
@@ -98,6 +99,7 @@ exports.CHECK_VALID_VOUCHER = (0, graphql_tag_1.gql) `
98
99
  checkValidVoucherRequest: {
99
100
  customerId: $customerId
100
101
  voucherCode: $voucherCode
102
+ productStoreId: $productStoreId
101
103
  }
102
104
  partyId: $partyId
103
105
  ) {
@@ -70,6 +70,7 @@ class CampaignService extends serviceSDK_1.Service {
70
70
  const query = queries_1.CHECK_VALID_VOUCHER;
71
71
  const variables = {
72
72
  partyId: this.orgId,
73
+ productStoreId: this.storeId,
73
74
  customerId,
74
75
  voucherCode,
75
76
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "2.3.8",
3
+ "version": "2.3.9",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [