Use configured version of bignumber in all packages
This commit is contained in:
@@ -39,7 +39,6 @@
|
||||
"@0xproject/assert": "^0.0.9",
|
||||
"@0xproject/json-schemas": "^0.7.1",
|
||||
"@0xproject/utils": "^0.1.2",
|
||||
"bignumber.js": "~4.1.0",
|
||||
"isomorphic-fetch": "^2.2.1",
|
||||
"lodash": "^4.17.4",
|
||||
"query-string": "^5.0.1",
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
import { bigNumberConfigs } from '@0xproject/utils';
|
||||
|
||||
// Customize our BigNumber instances
|
||||
bigNumberConfigs.configure();
|
||||
|
||||
export { HttpClient } from './http_client';
|
||||
export { WebSocketOrderbookChannel } from './ws_orderbook_channel';
|
||||
export {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { BigNumber } from 'bignumber.js';
|
||||
import { BigNumber } from '@0xproject/utils';
|
||||
|
||||
// TODO: Consolidate Order, SignedOrder and ECSignature into a shared package instead of duplicating them from 0x.js
|
||||
export interface Order {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { BigNumber } from 'bignumber.js';
|
||||
import { BigNumber } from '@0xproject/utils';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
// TODO: convert all of these to non-mutating, pure functions
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { BigNumber } from 'bignumber.js';
|
||||
import { BigNumber } from '@0xproject/utils';
|
||||
|
||||
import { FeesResponse } from '../../../src/types';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { BigNumber } from 'bignumber.js';
|
||||
import { BigNumber } from '@0xproject/utils';
|
||||
|
||||
export const orderResponse = {
|
||||
maker: '0x9e56625509c2f60af937f23b7b532600390e8c8b',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { BigNumber } from 'bignumber.js';
|
||||
import { BigNumber } from '@0xproject/utils';
|
||||
|
||||
export const orderbookResponse = {
|
||||
bids: [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { BigNumber } from 'bignumber.js';
|
||||
import { BigNumber } from '@0xproject/utils';
|
||||
|
||||
export const ordersResponse = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { BigNumber } from 'bignumber.js';
|
||||
import { BigNumber } from '@0xproject/utils';
|
||||
|
||||
import { TokenPairsItem } from '../../../src/types';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { BigNumber } from 'bignumber.js';
|
||||
import { BigNumber } from '@0xproject/utils';
|
||||
import * as chai from 'chai';
|
||||
import * as chaiAsPromised from 'chai-as-promised';
|
||||
import * as dirtyChai from 'dirty-chai';
|
||||
|
||||
Reference in New Issue
Block a user