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;
// 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;