aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-11-23 14:15:24 +0100
committerFlorian Dold <florian@dold.me>2023-11-23 14:15:24 +0100
commit074d5986c5ba2d0fd181046f27ba0f2ffce5840f (patch)
tree5fb2aa054416c9d2b87d917a1ac176c64dd4bdc0 /packages
parenta0d746ad8d80490f9c2f1e017ff0c6a56b7d435c (diff)
downloadwallet-core-074d5986c5ba2d0fd181046f27ba0f2ffce5840f.tar.xz
-deprecate field
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[];