aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-16 23:45:43 +0800
committerFabio Berger <me@fabioberger.com>2018-08-16 23:45:43 +0800
commit60f026e6fdac855daef3ab8b2e8e2ade9d3d26af (patch)
treebb9885abdcc7ada92f4c3d15e5132af1e92ea57c /packages/0x.js
parentbaab0f27b543f8f17bad0e3a40b803763236edb9 (diff)
downloaddexon-sol-tools-60f026e6fdac855daef3ab8b2e8e2ade9d3d26af.tar
dexon-sol-tools-60f026e6fdac855daef3ab8b2e8e2ade9d3d26af.tar.gz
dexon-sol-tools-60f026e6fdac855daef3ab8b2e8e2ade9d3d26af.tar.bz2
dexon-sol-tools-60f026e6fdac855daef3ab8b2e8e2ade9d3d26af.tar.lz
dexon-sol-tools-60f026e6fdac855daef3ab8b2e8e2ade9d3d26af.tar.xz
dexon-sol-tools-60f026e6fdac855daef3ab8b2e8e2ade9d3d26af.tar.zst
dexon-sol-tools-60f026e6fdac855daef3ab8b2e8e2ade9d3d26af.zip
Export Web3ProviderEngine directly instead of indirectly via subproviders
Diffstat (limited to 'packages/0x.js')
-rw-r--r--packages/0x.js/package.json5
-rw-r--r--packages/0x.js/src/index.ts10
2 files changed, 6 insertions, 9 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json
index 49dca2923..006c1ed27 100644
--- a/packages/0x.js/package.json
+++ b/packages/0x.js/package.json
@@ -78,8 +78,8 @@
"@0xproject/base-contract": "^2.0.0-rc.1",
"@0xproject/contract-wrappers": "^1.0.1-rc.3",
"@0xproject/order-utils": "^1.0.1-rc.3",
- "@0xproject/sol-compiler": "^1.0.5",
"@0xproject/order-watcher": "1.0.1-rc.3",
+ "@0xproject/sol-compiler": "^1.0.5",
"@0xproject/subproviders": "^1.0.5",
"@0xproject/types": "^1.0.1-rc.4",
"@0xproject/typescript-typings": "^1.0.4",
@@ -87,7 +87,8 @@
"@0xproject/web3-wrapper": "^1.2.0",
"ethereum-types": "^1.0.4",
"ethers": "3.0.22",
- "lodash": "^4.17.5"
+ "lodash": "^4.17.5",
+ "web3-provider-engine": "14.0.6"
},
"publishConfig": {
"access": "public"
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';