From 4dfa720f2dec2be0b0758633c087579a02e482bb Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 4 Jan 2018 12:38:19 +0100 Subject: Use configured version of bignumber in all packages --- packages/web3-wrapper/package.json | 1 - packages/web3-wrapper/src/index.ts | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'packages/web3-wrapper') diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json index 6cc642c9d..053712b12 100644 --- a/packages/web3-wrapper/package.json +++ b/packages/web3-wrapper/package.json @@ -30,7 +30,6 @@ }, "dependencies": { "@0xproject/utils": "^0.1.2", - "bignumber.js": "~4.1.0", "lodash": "^4.17.4", "web3": "^0.20.0" } diff --git a/packages/web3-wrapper/src/index.ts b/packages/web3-wrapper/src/index.ts index b7dd042f2..8fa38e987 100644 --- a/packages/web3-wrapper/src/index.ts +++ b/packages/web3-wrapper/src/index.ts @@ -1,6 +1,5 @@ import { TransactionReceipt, TxData } from '@0xproject/types'; -import { bigNumberConfigs, promisify } from '@0xproject/utils'; -import BigNumber from 'bignumber.js'; +import { BigNumber, promisify } from '@0xproject/utils'; import * as _ from 'lodash'; import * as Web3 from 'web3'; @@ -15,9 +14,6 @@ interface RawLogEntry { topics: string[]; } -// Customize our BigNumber instances -bigNumberConfigs.configure(); - export class Web3Wrapper { private _web3: Web3; private _defaults: Partial; -- cgit