aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/src/utils
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-13 20:26:02 +0800
committerFabio Berger <me@fabioberger.com>2018-07-13 20:26:02 +0800
commit512502ca0873a290accb53777ca9d93f8d28e84b (patch)
tree51dba0dbfd00021a8e84f040900283337010652b /packages/subproviders/src/utils
parent6ce662c7a4d04540920bc2a11a376c71bc051bb0 (diff)
downloaddexon-0x-contracts-512502ca0873a290accb53777ca9d93f8d28e84b.tar
dexon-0x-contracts-512502ca0873a290accb53777ca9d93f8d28e84b.tar.gz
dexon-0x-contracts-512502ca0873a290accb53777ca9d93f8d28e84b.tar.bz2
dexon-0x-contracts-512502ca0873a290accb53777ca9d93f8d28e84b.tar.lz
dexon-0x-contracts-512502ca0873a290accb53777ca9d93f8d28e84b.tar.xz
dexon-0x-contracts-512502ca0873a290accb53777ca9d93f8d28e84b.tar.zst
dexon-0x-contracts-512502ca0873a290accb53777ca9d93f8d28e84b.zip
Export Web3ProviderEngine from subproviders package
Diffstat (limited to 'packages/subproviders/src/utils')
-rw-r--r--packages/subproviders/src/utils/subprovider_utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/subproviders/src/utils/subprovider_utils.ts b/packages/subproviders/src/utils/subprovider_utils.ts
index 24ebedd06..beda408ab 100644
--- a/packages/subproviders/src/utils/subprovider_utils.ts
+++ b/packages/subproviders/src/utils/subprovider_utils.ts
@@ -1,4 +1,4 @@
-import ProviderEngine = require('web3-provider-engine');
+import Web3ProviderEngine = require('web3-provider-engine');
import { Subprovider } from '../subproviders/subprovider';
@@ -7,7 +7,7 @@ import { Subprovider } from '../subproviders/subprovider';
* @param provider Given provider
* @param subprovider Subprovider to prepend
*/
-export function prependSubprovider(provider: ProviderEngine, subprovider: Subprovider): void {
+export function prependSubprovider(provider: Web3ProviderEngine, subprovider: Subprovider): void {
subprovider.setEngine(provider);
// HACK: We use implementation details of provider engine here
// https://github.com/MetaMask/provider-engine/blob/master/index.js#L68