aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-04-01 14:54:09 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-01 14:54:09 +0800
commit1bac5019e84a11843fed3100c36c9b3c47abe430 (patch)
treefabf1a3be43a10f599d40a5edff67f70f8cb972f /packages/0x.js
parent19454a92dcf29c3c50d3d62cbda3c62b7bafe37f (diff)
downloaddexon-sol-tools-1bac5019e84a11843fed3100c36c9b3c47abe430.tar
dexon-sol-tools-1bac5019e84a11843fed3100c36c9b3c47abe430.tar.gz
dexon-sol-tools-1bac5019e84a11843fed3100c36c9b3c47abe430.tar.bz2
dexon-sol-tools-1bac5019e84a11843fed3100c36c9b3c47abe430.tar.lz
dexon-sol-tools-1bac5019e84a11843fed3100c36c9b3c47abe430.tar.xz
dexon-sol-tools-1bac5019e84a11843fed3100c36c9b3c47abe430.tar.zst
dexon-sol-tools-1bac5019e84a11843fed3100c36c9b3c47abe430.zip
Add missing type import
Diffstat (limited to 'packages/0x.js')
-rw-r--r--packages/0x.js/src/0x.ts10
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