@pax2pay/model-banking 0.0.23 → 0.0.24
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" | "
|
|
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
|
}
|
package/dist/Balances/type.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type BalanceEntry = "actual" | "
|
|
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
|
}
|
package/dist/Balances/type.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export var BalanceEntry;
|
|
2
2
|
(function (BalanceEntry) {
|
|
3
3
|
function is(value) {
|
|
4
|
-
return
|
|
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,
|
|
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"}
|