@longvansoftware/storefront-js-client 2.2.7-beta.4 → 2.2.7-beta.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.
@@ -13,5 +13,5 @@ export declare class CampaignService extends Service {
13
13
  getCampaignActiveNow(campaignActionType: string, customerId: string): Promise<any>;
14
14
  getPromotionProductPrice(productId: String, productPrice: number): Promise<any>;
15
15
  getVoucherAvailableForCustomer(campaignId: string, customerId: string, excludeExpired: Boolean): Promise<any>;
16
- addCustomerIdIntoVoucher(partyId: string, customerId: string, voucherCode: string): Promise<any>;
16
+ addCustomerIdIntoVoucher(customerId: string, voucherCode: string): Promise<any>;
17
17
  }
@@ -139,7 +139,7 @@ class CampaignService extends serviceSDK_1.Service {
139
139
  }
140
140
  });
141
141
  }
142
- addCustomerIdIntoVoucher(partyId, customerId, voucherCode) {
142
+ addCustomerIdIntoVoucher(customerId, voucherCode) {
143
143
  return __awaiter(this, void 0, void 0, function* () {
144
144
  const query = mutations_1.ADD_CUSTOMER_ID_INTO_VOUCHER;
145
145
  const variables = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "2.2.7-beta.4",
3
+ "version": "2.2.7-beta.5",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [