commit e573c56873a954abdc3eae3de7afc57e4e092f7a
parent 42acac06aac7bdb34f9231b3b1ec0e8dfcab9821
Author: Sebastian <sebasjm@gmail.com>
Date: Fri, 13 Jan 2023 15:08:44 -0300
mark status as deprecated
Diffstat:
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git 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;