taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 074d5986c5ba2d0fd181046f27ba0f2ffce5840f
parent a0d746ad8d80490f9c2f1e017ff0c6a56b7d435c
Author: Florian Dold <florian@dold.me>
Date:   Thu, 23 Nov 2023 14:15:24 +0100

-deprecate field

Diffstat:
Mpackages/taler-util/src/wallet-types.ts | 10+++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

diff --git 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[];