refactor: example client does not import non-api modules of nim-status
There's one remaining import of a non-api (private) module in `examples/client/client/tasks.nim`: ``` ../../status/private/protocol ``` That one will be removed in a forthcoming PR that moves import/usage of nim-waku from the example client to the nim-status library itself.
This commit is contained in:
parent
79357de59a
commit
ac8771d0f3
|
@ -5,12 +5,12 @@ import # vendor libs
|
|||
task_runner
|
||||
|
||||
import # status lib
|
||||
../../../status/private/accounts/public_accounts
|
||||
../../../status/api/accounts
|
||||
|
||||
import # client modules
|
||||
../config
|
||||
|
||||
export config, public_accounts, sets, strformat, strutils, task_runner, times
|
||||
export accounts, config, sets, strformat, strutils, task_runner, times
|
||||
|
||||
logScope:
|
||||
topics = "client"
|
||||
|
|
|
@ -2,7 +2,7 @@ import # vendor libs
|
|||
web3/ethtypes
|
||||
|
||||
import # status lib
|
||||
../../../status/[api, private/tokens]
|
||||
../../../status/api/[tokens, wallet]
|
||||
|
||||
import # client modules
|
||||
./common
|
||||
|
|
|
@ -7,14 +7,13 @@ import # vendor libs
|
|||
stew/byteutils
|
||||
|
||||
import # status lib
|
||||
../../status/api,
|
||||
../../status/private/accounts/[accounts, public_accounts],
|
||||
../../status/private/[alias, conversions, database, extkeys/types, protocol]
|
||||
../../status/api/[tokens, wallet],
|
||||
../../status/private/protocol
|
||||
|
||||
import # client modules
|
||||
./events, ./waku_chat2
|
||||
|
||||
export conversions, events
|
||||
export events
|
||||
|
||||
logScope:
|
||||
topics = "client"
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
import # status modules
|
||||
./status/[account, accounts, alias, chats, client, identicon, messages,
|
||||
permissions, util]
|
||||
./status/api
|
||||
|
||||
export account, accounts, alias, chats, client, identicon, messages,
|
||||
permissions, util
|
||||
export api
|
||||
|
|
Loading…
Reference in New Issue