Change imports order
This commit is contained in:
parent
8704c34a0f
commit
bbfbfcda85
@ -3,10 +3,11 @@
|
|||||||
// we are not running in a browser env.
|
// we are not running in a browser env.
|
||||||
// Filed issue: https://github.com/ethereum/web3.js/issues/844
|
// Filed issue: https://github.com/ethereum/web3.js/issues/844
|
||||||
(global as any).XMLHttpRequest = undefined;
|
(global as any).XMLHttpRequest = undefined;
|
||||||
import { EmptyWalletSubprovider, FakeGasEstimateSubprovider } from '@0xproject/subproviders';
|
|
||||||
import ProviderEngine = require('web3-provider-engine');
|
import ProviderEngine = require('web3-provider-engine');
|
||||||
import RpcSubprovider = require('web3-provider-engine/subproviders/rpc');
|
import RpcSubprovider = require('web3-provider-engine/subproviders/rpc');
|
||||||
|
|
||||||
|
import { EmptyWalletSubprovider, FakeGasEstimateSubprovider } from '@0xproject/subproviders';
|
||||||
|
|
||||||
import { constants } from './constants';
|
import { constants } from './constants';
|
||||||
|
|
||||||
// HACK: web3 leaks XMLHttpRequest into the global scope and causes requests to hang
|
// HACK: web3 leaks XMLHttpRequest into the global scope and causes requests to hang
|
||||||
|
Loading…
x
Reference in New Issue
Block a user