@pax2pay/model-banking 0.0.19 → 0.0.20

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.
@@ -3,7 +3,7 @@ import { Balances } from "../Balances"
3
3
 
4
4
  export type Status = "pending" | "success" | "failed" //| "cancelled"
5
5
 
6
- type ChangeType = { type: "add" | "subtract"; amount: number; status: Status }
6
+ type ChangeType = { type: "add" | "subtract"; amount: number; status: Status; result: number }
7
7
  export type Change = Partial<Record<Balances.Entry, ChangeType>>
8
8
 
9
9
  export namespace Change {
@@ -5,6 +5,7 @@ type ChangeType = {
5
5
  type: "add" | "subtract";
6
6
  amount: number;
7
7
  status: Status;
8
+ result: number;
8
9
  };
9
10
  export type Change = Partial<Record<Balances.Entry, ChangeType>>;
10
11
  export declare namespace Change {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",