@pax2pay/model-banking 0.0.23 → 0.0.25

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.
package/Balances/type.ts CHANGED
@@ -1,9 +1,7 @@
1
- export type BalanceEntry = "actual" | "incoming reserved" | "outgoing reserved"
1
+ export type BalanceEntry = "actual" | "incomingReserved" | "outgoingReserved"
2
2
 
3
3
  export namespace BalanceEntry {
4
4
  export function is(value: any | BalanceEntry): value is BalanceEntry {
5
- return (
6
- typeof value == "string" && (value == "actual" || value == "incoming reserved" || value == "outgoing reserved")
7
- )
5
+ return typeof value == "string" && (value == "actual" || value == "incomingReserved" || value == "outgoingReserved")
8
6
  }
9
7
  }
@@ -1,4 +1,4 @@
1
- export type BalanceEntry = "actual" | "incoming reserved" | "outgoing reserved";
1
+ export type BalanceEntry = "actual" | "incomingReserved" | "outgoingReserved";
2
2
  export declare namespace BalanceEntry {
3
3
  function is(value: any | BalanceEntry): value is BalanceEntry;
4
4
  }
@@ -1,7 +1,7 @@
1
1
  export var BalanceEntry;
2
2
  (function (BalanceEntry) {
3
3
  function is(value) {
4
- return (typeof value == "string" && (value == "actual" || value == "incoming reserved" || value == "outgoing reserved"));
4
+ return typeof value == "string" && (value == "actual" || value == "incomingReserved" || value == "outgoingReserved");
5
5
  }
6
6
  BalanceEntry.is = is;
7
7
  })(BalanceEntry || (BalanceEntry = {}));
@@ -1 +1 @@
1
- {"version":3,"file":"type.js","sourceRoot":"../","sources":["Balances/type.ts"],"names":[],"mappings":"AAEA,MAAM,KAAW,YAAY,CAM5B;AAND,WAAiB,YAAY;IAC5B,SAAgB,EAAE,CAAC,KAAyB;QAC3C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ,IAAI,CAAC,KAAK,IAAI,QAAQ,IAAI,KAAK,IAAI,mBAAmB,IAAI,KAAK,IAAI,mBAAmB,CAAC,CAC/G,CAAA;IACF,CAAC;IAJe,eAAE,KAIjB,CAAA;AACF,CAAC,EANgB,YAAY,KAAZ,YAAY,QAM5B"}
1
+ {"version":3,"file":"type.js","sourceRoot":"../","sources":["Balances/type.ts"],"names":[],"mappings":"AAEA,MAAM,KAAW,YAAY,CAI5B;AAJD,WAAiB,YAAY;IAC5B,SAAgB,EAAE,CAAC,KAAyB;QAC3C,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,CAAC,KAAK,IAAI,QAAQ,IAAI,KAAK,IAAI,kBAAkB,IAAI,KAAK,IAAI,kBAAkB,CAAC,CAAA;IACrH,CAAC;IAFe,eAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,YAAY,KAAZ,YAAY,QAI5B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.0.23",
3
+ "version": "0.0.25",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",
@@ -57,6 +57,7 @@
57
57
  "@types/jest": "^29.4.0",
58
58
  "@typescript-eslint/eslint-plugin": "5.54.1",
59
59
  "@typescript-eslint/parser": "5.54.1",
60
+ "@cloudflare/workers-types": "^4.20230307.0",
60
61
  "eslint": "^8.35.0",
61
62
  "eslint-plugin-prettierx": "github:utily/eslint-plugin-prettierx#utily-20221229",
62
63
  "eslint-plugin-simple-import-sort": "^10.0.0",
@@ -67,7 +68,6 @@
67
68
  "typescript": "^4.9.5"
68
69
  },
69
70
  "dependencies": {
70
- "@cloudflare/workers-types": "^4.20230307.0",
71
71
  "cloudly-http": "^0.1.3",
72
72
  "cloudly-rest": "^0.1.1",
73
73
  "cryptly": "^3.0.2",