|
1 | 1 | import * as abi from '@0xsequence/abi' |
| 2 | +import * as api from '@0xsequence/api' |
| 3 | +import * as auth from '@0xsequence/auth' |
| 4 | +import * as chaind from '@0xsequence/chaind' |
| 5 | +import * as config from '@0xsequence/config' |
| 6 | +import * as guard from '@0xsequence/guard' |
| 7 | +import * as multicall from '@0xsequence/multicall' |
| 8 | +import * as network from '@0xsequence/network' |
2 | 9 | import * as provider from '@0xsequence/provider' |
3 | | -import * as wallet from '@0xsequence/wallet' |
4 | | - |
5 | | -export const sequence = { |
6 | | - abi, |
7 | | - provider, |
8 | | - // ... etc. |
9 | | -} |
10 | | - |
11 | | -// NOTE: 0xsequence top-level package will not export the entiure @0xsequence/wallet |
12 | | -// module, only utility methods. |
13 | | - |
14 | | -// TODO: utils.recover, etc.. from 0xsequence/wallet |
15 | | -// TODO: for utils, included utils.typedData.encode(), etc..TypedDataUtils |
16 | | -// or typedData.XX at same level as utils |
17 | | -// or utils.wallet, utils.typedData, etc. |
| 10 | +import * as relayer from '@0xsequence/relayer' |
| 11 | +import * as transactions from '@0xsequence/transactions' |
| 12 | +import * as _utils from '@0xsequence/utils' |
18 | 13 |
|
19 | 14 | // pkg-level export of 0xsequence/provider for easier consumption |
20 | 15 | import { Wallet } from '@0xsequence/provider' |
21 | 16 |
|
| 17 | +// utility methods |
| 18 | +// TODO: add util methods from @0xsequence/wallet to utils |
| 19 | +const utils = { |
| 20 | + ..._utils |
| 21 | +} |
| 22 | + |
| 23 | +// sequence meta-package types |
22 | 24 | export { |
| 25 | + abi, |
| 26 | + api, |
| 27 | + auth, |
| 28 | + chaind, |
| 29 | + config, |
| 30 | + guard, |
| 31 | + multicall, |
| 32 | + network, |
| 33 | + provider, |
| 34 | + relayer, |
| 35 | + transactions, |
| 36 | + utils, |
| 37 | + |
23 | 38 | Wallet |
24 | | - // etc..... |
25 | 39 | } |
0 commit comments