@longvansoftware/storefront-js-client 3.3.7 → 3.3.8

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.
@@ -45,8 +45,8 @@ exports.PAYMENTS_BY_ORDERS = (0, graphql_tag_1.gql) `
45
45
  }
46
46
  `;
47
47
  exports.PAYMENT_METHODS = (0, graphql_tag_1.gql) `
48
- query PaymentMethods($partnerCode: String) {
49
- paymentMethods(partnerCode: $partnerCode) {
48
+ query PaymentMethods {
49
+ paymentMethods {
50
50
  id
51
51
  code
52
52
  name
@@ -51,9 +51,7 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
51
51
  paymentMethods() {
52
52
  return __awaiter(this, void 0, void 0, function* () {
53
53
  const query = queries_1.PAYMENT_METHODS;
54
- const variables = {
55
- partnerCode: this.orgId,
56
- };
54
+ const variables = {};
57
55
  try {
58
56
  const response = yield this.graphqlQueryV3(query, variables);
59
57
  return response.paymentMethods;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "3.3.7",
3
+ "version": "3.3.8",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [