@dotdev/harmony-sdk 1.9.0 → 1.10.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.
@@ -25,6 +25,7 @@ export class ApiHelper {
25
25
  });
26
26
  break;
27
27
  }
28
+ console.log(`Response from Harmony: `, { response });
28
29
  const result = (await parseXml(response?.data)); // fix type
29
30
  return result["S:Envelope"]["S:Body"][0];
30
31
  }
@@ -125,6 +125,7 @@ export declare enum LineOperation {
125
125
  export declare enum CardName {
126
126
  VISA = "VISA",
127
127
  MASTERCARD = "MASTC",
128
+ ZIP = "ZIPPA",
128
129
  AMEX = "AMEX",
129
130
  DINER = "DINER",
130
131
  EFTPOS = "EFPOS",
@@ -33,6 +33,7 @@ export var CardName;
33
33
  (function (CardName) {
34
34
  CardName["VISA"] = "VISA";
35
35
  CardName["MASTERCARD"] = "MASTC";
36
+ CardName["ZIP"] = "ZIPPA";
36
37
  CardName["AMEX"] = "AMEX";
37
38
  CardName["DINER"] = "DINER";
38
39
  CardName["EFTPOS"] = "EFPOS";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotdev/harmony-sdk",
3
- "version": "1.9.0",
3
+ "version": "1.10.1",
4
4
  "description": "Harmony API SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",