aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-util/src/wallet-types.ts10
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts
index ba6f53cca..8d44fd1c5 100644
--- a/packages/taler-util/src/wallet-types.ts
+++ b/packages/taler-util/src/wallet-types.ts
@@ -380,6 +380,7 @@ export enum BalanceFlag {
IncomingConfirmation = "incoming-confirmation",
OutgoingKyc = "outgoing-kyc",
}
+
export interface WalletBalance {
scopeInfo: ScopeInfo;
available: AmountString;
@@ -390,12 +391,15 @@ export interface WalletBalance {
* Does the balance for this currency have a pending
* transaction?
*
- * FIXME: Represent as a flag!
+ * @deprecated use flags and pendingIncoming/pendingOutgoing instead
*/
hasPendingTransactions: boolean;
- // Is there a pending transaction that would affect the balance
- // and requires user input?
+ /**
+ * Is there a transaction that requires user input?
+ *
+ * @deprecated use flags instead
+ */
requiresUserInput: boolean;
flags: BalanceFlag[];