@@ -13,12 +13,12 @@ import {
13
13
import { Flags } from '@oclif/core'
14
14
import { IronfishCommand } from '../../command'
15
15
import { RemoteFlags } from '../../flags'
16
- import { checkWalletUnlocked , table , TableColumns , TableFlags } from '../../ui'
16
+ import * as ui from '../../ui'
17
17
import { getAssetsByIDs , useAccount } from '../../utils'
18
18
import { extractChainportDataFromTransaction } from '../../utils/chainport'
19
19
import { Format , TableCols } from '../../utils/table'
20
20
21
- const { sort : _ , ...tableFlags } = TableFlags
21
+ const { sort : _ , ...tableFlags } = ui . TableFlags
22
22
export class TransactionsCommand extends IronfishCommand {
23
23
static description = `list the account's transactions`
24
24
@@ -64,7 +64,7 @@ export class TransactionsCommand extends IronfishCommand {
64
64
: Format . cli
65
65
66
66
const client = await this . connectRpc ( )
67
- await checkWalletUnlocked ( client )
67
+ await ui . checkWalletUnlocked ( client )
68
68
69
69
const account = await useAccount ( client , flags . account )
70
70
@@ -114,7 +114,7 @@ export class TransactionsCommand extends IronfishCommand {
114
114
transactionRows = this . getTransactionRows ( assetLookup , transaction , format )
115
115
}
116
116
117
- table ( transactionRows , columns , {
117
+ ui . table ( transactionRows , columns , {
118
118
printLine : this . log . bind ( this ) ,
119
119
...flags ,
120
120
'no-header' : ! showHeader ,
@@ -254,8 +254,8 @@ export class TransactionsCommand extends IronfishCommand {
254
254
extended : boolean ,
255
255
notes : boolean ,
256
256
format : Format ,
257
- ) : TableColumns < PartialRecursive < TransactionRow > > {
258
- let columns : TableColumns < PartialRecursive < TransactionRow > > = {
257
+ ) : ui . TableColumns < PartialRecursive < TransactionRow > > {
258
+ let columns : ui . TableColumns < PartialRecursive < TransactionRow > > = {
259
259
timestamp : TableCols . timestamp ( {
260
260
streaming : true ,
261
261
} ) ,
0 commit comments