mark status as deprecated

This commit is contained in:
Sebastian 2023-01-13 15:08:44 -03:00
parent 42acac06aa
commit e573c56873
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -91,14 +91,20 @@ export interface TransactionCommon {
extendedStatus: ExtendedStatus; extendedStatus: ExtendedStatus;
// true if the transaction is still pending, false otherwise /**
// If a transaction is not longer pending, its timestamp will be updated, * true if the transaction is still pending, false otherwise
// but its transactionId will remain unchanged * If a transaction is not longer pending, its timestamp will be updated,
* but its transactionId will remain unchanged
*
* @deprecated show extendedStatus
*/
pending: boolean; pending: boolean;
/** /**
* True if the transaction encountered a problem that might be * True if the transaction encountered a problem that might be
* permanent. A frozen transaction won't be automatically retried. * permanent. A frozen transaction won't be automatically retried.
*
* @deprecated show extendedStatus
*/ */
frozen: boolean; frozen: boolean;
@ -345,6 +351,8 @@ export interface TransactionPayment extends TransactionCommon {
/** /**
* How far did the wallet get with processing the payment? * How far did the wallet get with processing the payment?
*
* @deprecated use extendedStatus
*/ */
status: PaymentStatus; status: PaymentStatus;