@pax2pay/model-banking 0.1.163 → 0.1.165

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.
@@ -1,4 +1,4 @@
1
1
  export type Category = typeof Category.type[number]
2
2
  export namespace Category {
3
- export const type = ["safeguarded", "unsafe", "other", "external"] as const
3
+ export const type = ["safeguarded", "unsafe", "buffer", "other", "external"] as const
4
4
  }
@@ -3,7 +3,8 @@ import { Account } from "../Account"
3
3
  export interface Fiat {
4
4
  safe: number
5
5
  unsafe: number
6
+ total: number // emoney issuable total amount
6
7
  other: number
7
- total: number
8
+ buffer: number
8
9
  accounts: Account[]
9
10
  }
@@ -1,4 +1,4 @@
1
1
  export type Category = typeof Category.type[number];
2
2
  export declare namespace Category {
3
- const type: readonly ["safeguarded", "unsafe", "other", "external"];
3
+ const type: readonly ["safeguarded", "unsafe", "buffer", "other", "external"];
4
4
  }
@@ -1,5 +1,5 @@
1
1
  export var Category;
2
2
  (function (Category) {
3
- Category.type = ["safeguarded", "unsafe", "other", "external"];
3
+ Category.type = ["safeguarded", "unsafe", "buffer", "other", "external"];
4
4
  })(Category || (Category = {}));
5
5
  //# sourceMappingURL=Category.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Category.js","sourceRoot":"../","sources":["Treasury/Account/Category.ts"],"names":[],"mappings":"AACA,MAAM,KAAW,QAAQ,CAExB;AAFD,WAAiB,QAAQ;IACX,aAAI,GAAG,CAAC,aAAa,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,CAAU,CAAA;AAC5E,CAAC,EAFgB,QAAQ,KAAR,QAAQ,QAExB"}
1
+ {"version":3,"file":"Category.js","sourceRoot":"../","sources":["Treasury/Account/Category.ts"],"names":[],"mappings":"AACA,MAAM,KAAW,QAAQ,CAExB;AAFD,WAAiB,QAAQ;IACX,aAAI,GAAG,CAAC,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,CAAU,CAAA;AACtF,CAAC,EAFgB,QAAQ,KAAR,QAAQ,QAExB"}
@@ -2,7 +2,8 @@ import { Account } from "../Account";
2
2
  export interface Fiat {
3
3
  safe: number;
4
4
  unsafe: number;
5
- other: number;
6
5
  total: number;
6
+ other: number;
7
+ buffer: number;
7
8
  accounts: Account[];
8
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.163",
3
+ "version": "0.1.165",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",
@@ -70,7 +70,7 @@
70
70
  "typescript": "^5.1.3"
71
71
  },
72
72
  "dependencies": {
73
- "@userwidgets/model": "^0.8.7",
73
+ "@userwidgets/model": "0.8.12",
74
74
  "authly": "^3.0.6",
75
75
  "cloudly-http": "^0.1.6",
76
76
  "cloudly-rest": "^0.1.3",