diff options
author | Fabio Berger <me@fabioberger.com> | 2017-05-26 19:24:05 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-05-26 19:24:05 +0800 |
commit | e1e50bba3d08a96d4cb5a9314c255e5d5c19d51a (patch) | |
tree | 52bd5c0193b752a7fc23790bec26c0438b0542f6 | |
parent | 8c61af28db02129fb1d79930b32cea0ab8b55954 (diff) | |
download | dexon-0x-contracts-e1e50bba3d08a96d4cb5a9314c255e5d5c19d51a.tar.gz dexon-0x-contracts-e1e50bba3d08a96d4cb5a9314c255e5d5c19d51a.tar.zst dexon-0x-contracts-e1e50bba3d08a96d4cb5a9314c255e5d5c19d51a.zip |
Fix web3 imports again
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | src/ts/0x.js.ts | 2 | ||||
-rw-r--r-- | src/ts/utils/assert.ts | 2 | ||||
-rw-r--r-- | src/ts/web3_wrapper.ts | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/package.json b/package.json index 9ff476e09..36a79eba0 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "tslint-config-0xproject": "^0.0.2", "typedoc": "^0.7.1", "typescript": "^2.3.3", - "web3-typescript-typings": "0.0.7", + "web3-typescript-typings": "0.0.8", "webpack": "^2.6.0" }, "dependencies": { diff --git a/src/ts/0x.js.ts b/src/ts/0x.js.ts index 78abff681..cc3c43e79 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 = require('web3'); +import * as Web3 from '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 809acb875..1baf572d1 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 = require('web3'); +import * as Web3 from '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 0c44ef514..ec3be994f 100644 --- a/src/ts/web3_wrapper.ts +++ b/src/ts/web3_wrapper.ts @@ -1,5 +1,5 @@ import * as _ from 'lodash'; -import Web3 = require('web3'); +import * as Web3 from 'web3'; import * as BigNumber from 'bignumber.js'; import promisify = require('es6-promisify'); |