File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -572,7 +572,8 @@ export namespace Api {
572572 authorized : boolean ;
573573 clawback : boolean ;
574574 authorizedToMaintainLiabilities ?: boolean ; // only present for trustlines
575-
575+ /** @deprecated Please use `authorizedToMaintainLiabilities` instead */
576+ revocable ?: boolean ;
576577 lastModifiedLedgerSeq ?: number ;
577578 liveUntilLedgerSeq ?: number ;
578579 } ;
Original file line number Diff line number Diff line change @@ -421,6 +421,7 @@ export class RpcServer {
421421 authorized : Boolean ( tl . flags ( ) & 0x1 ) , // AUTHORIZED_FLAG
422422 clawback : Boolean ( tl . flags ( ) & 0x4 ) , // TRUSTLINE_CLAWBACK_ENABLED_FLAG
423423 authorizedToMaintainLiabilities : Boolean ( tl . flags ( ) & 0x2 ) , // AUTHORIZED_TO_MAINTAIN_LIABILITIES_FLAG
424+ revocable : Boolean ( tl . flags ( ) & 0x2 ) , // AUTHORIZED_TO_MAINTAIN_LIABILITIES_FLAG (deprecated, will be removed in a future major release)
424425 } ,
425426 } ;
426427 } else if ( StrKey . isValidContract ( addr ) ) {
You can’t perform that action at this time.
0 commit comments