From e573c56873a954abdc3eae3de7afc57e4e092f7a Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 13 Jan 2023 15:08:44 -0300 Subject: [PATCH] mark status as deprecated --- packages/taler-util/src/transactions-types.ts | 14 +++++++++++--- 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 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;