diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-16 23:45:43 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-16 23:45:43 +0800 |
commit | 60f026e6fdac855daef3ab8b2e8e2ade9d3d26af (patch) | |
tree | bb9885abdcc7ada92f4c3d15e5132af1e92ea57c /packages/0x.js/src | |
parent | baab0f27b543f8f17bad0e3a40b803763236edb9 (diff) | |
download | dexon-0x-contracts-60f026e6fdac855daef3ab8b2e8e2ade9d3d26af.tar dexon-0x-contracts-60f026e6fdac855daef3ab8b2e8e2ade9d3d26af.tar.gz dexon-0x-contracts-60f026e6fdac855daef3ab8b2e8e2ade9d3d26af.tar.bz2 dexon-0x-contracts-60f026e6fdac855daef3ab8b2e8e2ade9d3d26af.tar.lz dexon-0x-contracts-60f026e6fdac855daef3ab8b2e8e2ade9d3d26af.tar.xz dexon-0x-contracts-60f026e6fdac855daef3ab8b2e8e2ade9d3d26af.tar.zst dexon-0x-contracts-60f026e6fdac855daef3ab8b2e8e2ade9d3d26af.zip |
Export Web3ProviderEngine directly instead of indirectly via subproviders
Diffstat (limited to 'packages/0x.js/src')
-rw-r--r-- | packages/0x.js/src/index.ts | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/packages/0x.js/src/index.ts b/packages/0x.js/src/index.ts index 5ac3da00d..aa59d81cc 100644 --- a/packages/0x.js/src/index.ts +++ b/packages/0x.js/src/index.ts @@ -47,13 +47,9 @@ export { ContractWrapper } from '@0xproject/contract-wrappers/lib/src/contract_w export { OrderWatcher, OnOrderStateChangeCallback, OrderWatcherConfig } from '@0xproject/order-watcher'; -export { - Web3ProviderEngine, - RPCSubprovider, - Callback, - JSONRPCRequestPayloadWithMethod, - ErrorCallback, -} from '@0xproject/subproviders'; +export import Web3ProviderEngine = require('web3-provider-engine'); + +export { RPCSubprovider, Callback, JSONRPCRequestPayloadWithMethod, ErrorCallback } from '@0xproject/subproviders'; export { AbiDecoder } from '@0xproject/utils'; |