aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-05-26 18:57:37 +0800
committerFabio Berger <me@fabioberger.com>2017-05-26 18:57:37 +0800
commit8c61af28db02129fb1d79930b32cea0ab8b55954 (patch)
tree7b0436de1c1f1818524612501355875163858232
parentff403f3f8f4e36a2c85e3262bd4e46a654dbb422 (diff)
downloaddexon-sol-tools-8c61af28db02129fb1d79930b32cea0ab8b55954.tar
dexon-sol-tools-8c61af28db02129fb1d79930b32cea0ab8b55954.tar.gz
dexon-sol-tools-8c61af28db02129fb1d79930b32cea0ab8b55954.tar.bz2
dexon-sol-tools-8c61af28db02129fb1d79930b32cea0ab8b55954.tar.lz
dexon-sol-tools-8c61af28db02129fb1d79930b32cea0ab8b55954.tar.xz
dexon-sol-tools-8c61af28db02129fb1d79930b32cea0ab8b55954.tar.zst
dexon-sol-tools-8c61af28db02129fb1d79930b32cea0ab8b55954.zip
Fix web3 imports
-rw-r--r--src/ts/0x.js.ts2
-rw-r--r--src/ts/utils/assert.ts2
-rw-r--r--src/ts/web3_wrapper.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/ts/0x.js.ts b/src/ts/0x.js.ts
index 7ea32b87a..78abff681 100644
--- a/src/ts/0x.js.ts
+++ b/src/ts/0x.js.ts
@@ -1,6 +1,6 @@
import * as BigNumber from 'bignumber.js';
import * as ethUtil from 'ethereumjs-util';
-import Web3 from 'web3';
+import Web3 = require('web3');
import {assert} from './utils/assert';
import {Web3Wrapper} from './web3_wrapper';
import {ExchangeWrapper} from './contract_wrappers/exchange_wrapper';
diff --git a/src/ts/utils/assert.ts b/src/ts/utils/assert.ts
index 15d3031ff..809acb875 100644
--- a/src/ts/utils/assert.ts
+++ b/src/ts/utils/assert.ts
@@ -1,6 +1,6 @@
import * as _ from 'lodash';
import * as BigNumber from 'bignumber.js';
-import Web3 from 'web3';
+import Web3 = require('web3');
import {SchemaValidator} from './schema_validator';
const HEX_REGEX = /^0x[0-9A-F]*$/i;
diff --git a/src/ts/web3_wrapper.ts b/src/ts/web3_wrapper.ts
index 92781687e..0c44ef514 100644
--- a/src/ts/web3_wrapper.ts
+++ b/src/ts/web3_wrapper.ts
@@ -1,5 +1,5 @@
import * as _ from 'lodash';
-import Web3 from 'web3';
+import Web3 = require('web3');
import * as BigNumber from 'bignumber.js';
import promisify = require('es6-promisify');