diff options
author | Sebastian <sebasjm@gmail.com> | 2023-01-13 15:08:44 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-01-13 15:08:44 -0300 |
commit | e573c56873a954abdc3eae3de7afc57e4e092f7a (patch) | |
tree | bb9fa3662708493d81e08b373cda4a090ab8b757 /packages | |
parent | 42acac06aac7bdb34f9231b3b1ec0e8dfcab9821 (diff) | |
download | wallet-core-e573c56873a954abdc3eae3de7afc57e4e092f7a.tar.xz |
mark status as deprecated
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-util/src/transactions-types.ts | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/packages/taler-util/src/transactions-types.ts b/packages/taler-util/src/transactions-types.ts index 59116a150..3678dfa86 100644 --- a/packages/taler-util/src/transactions-types.ts +++ b/packages/taler-util/src/transactions-types.ts @@ -91,14 +91,20 @@ export interface TransactionCommon { extendedStatus: ExtendedStatus; - // true if the transaction is still pending, false otherwise - // If a transaction is not longer pending, its timestamp will be updated, - // but its transactionId will remain unchanged + /** + * true if the transaction is still pending, false otherwise + * If a transaction is not longer pending, its timestamp will be updated, + * but its transactionId will remain unchanged + * + * @deprecated show extendedStatus + */ pending: boolean; /** * True if the transaction encountered a problem that might be * permanent. A frozen transaction won't be automatically retried. + * + * @deprecated show extendedStatus */ frozen: boolean; @@ -345,6 +351,8 @@ export interface TransactionPayment extends TransactionCommon { /** * How far did the wallet get with processing the payment? + * + * @deprecated use extendedStatus */ status: PaymentStatus; |