diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-02 03:15:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-02 03:15:34 +0800 |
commit | a220b56736bcacfcce045329c99091af5932e723 (patch) | |
tree | c2350f7b9cf586552e9c1077a9af4f079d15bf46 /packages/0x.js/src/0x.ts | |
parent | 19454a92dcf29c3c50d3d62cbda3c62b7bafe37f (diff) | |
parent | ff7c3012a56d0744fa2bcaec0158c85b04293980 (diff) | |
download | dexon-sol-tools-a220b56736bcacfcce045329c99091af5932e723.tar dexon-sol-tools-a220b56736bcacfcce045329c99091af5932e723.tar.gz dexon-sol-tools-a220b56736bcacfcce045329c99091af5932e723.tar.bz2 dexon-sol-tools-a220b56736bcacfcce045329c99091af5932e723.tar.lz dexon-sol-tools-a220b56736bcacfcce045329c99091af5932e723.tar.xz dexon-sol-tools-a220b56736bcacfcce045329c99091af5932e723.tar.zst dexon-sol-tools-a220b56736bcacfcce045329c99091af5932e723.zip |
Merge pull request #491 from 0xProject/fix/buildErrors
Fix build errors
Diffstat (limited to 'packages/0x.js/src/0x.ts')
-rw-r--r-- | packages/0x.js/src/0x.ts | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/packages/0x.js/src/0x.ts b/packages/0x.js/src/0x.ts index 7627f1d6e..b82cc820f 100644 --- a/packages/0x.js/src/0x.ts +++ b/packages/0x.js/src/0x.ts @@ -15,7 +15,7 @@ import { OrderStateWatcher } from './order_watcher/order_state_watcher'; import { zeroExConfigSchema } from './schemas/zero_ex_config_schema'; import { zeroExPrivateNetworkConfigSchema } from './schemas/zero_ex_private_network_config_schema'; import { zeroExPublicNetworkConfigSchema } from './schemas/zero_ex_public_network_config_schema'; -import { OrderStateWatcherConfig, ZeroExConfig, ZeroExError } from './types'; +import { OrderStateWatcherConfig, Web3Provider, ZeroExConfig, ZeroExError } from './types'; import { assert } from './utils/assert'; import { constants } from './utils/constants'; import { decorators } from './utils/decorators'; @@ -331,13 +331,7 @@ export class ZeroEx { * @return An instance of the 0x.js OrderStateWatcher class. */ public createOrderStateWatcher(config?: OrderStateWatcherConfig) { - return new OrderStateWatcher( - this._web3Wrapper, - this._abiDecoder, - this.token, - this.exchange, - config, - ); + return new OrderStateWatcher(this._web3Wrapper, this._abiDecoder, this.token, this.exchange, config); } /* * HACK: `TokenWrapper` needs a token transfer proxy address. `TokenTransferProxy` address is fetched from |