Update pipeline to use new @0x npm org for imports

This commit is contained in:
Alex Browne
2018-10-18 13:44:09 -07:00
committed by Fred Carlsen
parent 427c2cd164
commit 8701f9a7b0
7 changed files with 16 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
import { ContractWrappers, ExchangeEvents, ExchangeFillEventArgs, ExchangeWrapper } from '@0xproject/contract-wrappers';
import { Web3ProviderEngine } from '@0xproject/subproviders';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import { ContractWrappers, ExchangeEvents, ExchangeFillEventArgs, ExchangeWrapper } from '@0x/contract-wrappers';
import { Web3ProviderEngine } from '@0x/subproviders';
import { Web3Wrapper } from '@0x/web3-wrapper';
import { LogWithDecodedArgs } from 'ethereum-types';
const BLOCK_FINALITY_THRESHOLD = 10; // When to consider blocks as final. Used to compute default toBlock.

View File

@@ -1,5 +1,5 @@
import { HttpClient } from '@0xproject/connect';
import { web3Factory } from '@0xproject/dev-utils';
import { HttpClient } from '@0x/connect';
import { web3Factory } from '@0x/dev-utils';
import 'reflect-metadata';
import { Connection, createConnection } from 'typeorm';

View File

@@ -3,9 +3,9 @@ import {
ExchangeCancelUpToEventArgs,
ExchangeEventArgs,
ExchangeFillEventArgs,
} from '@0xproject/contract-wrappers';
import { assetDataUtils } from '@0xproject/order-utils';
import { AssetProxyId, ERC721AssetData } from '@0xproject/types';
} from '@0x/contract-wrappers';
import { assetDataUtils } from '@0x/order-utils';
import { AssetProxyId, ERC721AssetData } from '@0x/types';
import { LogWithDecodedArgs } from 'ethereum-types';
import * as R from 'ramda';

View File

@@ -1,6 +1,6 @@
import { APIOrder, OrdersResponse } from '@0xproject/connect';
import { assetDataUtils, orderHashUtils } from '@0xproject/order-utils';
import { AssetProxyId, ERC721AssetData } from '@0xproject/types';
import { APIOrder, OrdersResponse } from '@0x/connect';
import { assetDataUtils, orderHashUtils } from '@0x/order-utils';
import { AssetProxyId, ERC721AssetData } from '@0x/types';
import * as R from 'ramda';
import { SraOrder } from '../../entities/SraOrder';

View File

@@ -1,4 +1,4 @@
import { BigNumber } from '@0xproject/utils';
import { BigNumber } from '@0x/utils';
export function bigNumbertoStringOrNull(n: BigNumber): string | null {
if (n == null) {

View File

@@ -1,5 +1,5 @@
import { ExchangeFillEventArgs } from '@0xproject/contract-wrappers';
import { BigNumber } from '@0xproject/utils';
import { ExchangeFillEventArgs } from '@0x/contract-wrappers';
import { BigNumber } from '@0x/utils';
import * as chai from 'chai';
import { LogWithDecodedArgs } from 'ethereum-types';
import 'mocha';

View File

@@ -1,5 +1,5 @@
import { APIOrder } from '@0xproject/types';
import { BigNumber } from '@0xproject/utils';
import { APIOrder } from '@0x/types';
import { BigNumber } from '@0x/utils';
import * as chai from 'chai';
import 'mocha';