diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-19 04:44:09 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-06 19:04:24 +0800 |
commit | 8701f9a7b0bdf25e8075db52061df449a0b1a93b (patch) | |
tree | 20b40e947b3e1146c6dbde2d27274e2453db3609 | |
parent | 427c2cd164f841f6b296b059c119fabb113c4e65 (diff) | |
download | dexon-sol-tools-8701f9a7b0bdf25e8075db52061df449a0b1a93b.tar dexon-sol-tools-8701f9a7b0bdf25e8075db52061df449a0b1a93b.tar.gz dexon-sol-tools-8701f9a7b0bdf25e8075db52061df449a0b1a93b.tar.bz2 dexon-sol-tools-8701f9a7b0bdf25e8075db52061df449a0b1a93b.tar.lz dexon-sol-tools-8701f9a7b0bdf25e8075db52061df449a0b1a93b.tar.xz dexon-sol-tools-8701f9a7b0bdf25e8075db52061df449a0b1a93b.tar.zst dexon-sol-tools-8701f9a7b0bdf25e8075db52061df449a0b1a93b.zip |
Update pipeline to use new @0x npm org for imports
7 files changed, 16 insertions, 16 deletions
diff --git a/packages/pipeline/src/data_sources/contract-wrappers/exchange_events.ts b/packages/pipeline/src/data_sources/contract-wrappers/exchange_events.ts index 77217c601..46f115705 100644 --- a/packages/pipeline/src/data_sources/contract-wrappers/exchange_events.ts +++ b/packages/pipeline/src/data_sources/contract-wrappers/exchange_events.ts @@ -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. diff --git a/packages/pipeline/src/index.ts b/packages/pipeline/src/index.ts index 77c92cc34..d4bca65c5 100644 --- a/packages/pipeline/src/index.ts +++ b/packages/pipeline/src/index.ts @@ -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'; diff --git a/packages/pipeline/src/parsers/events/index.ts b/packages/pipeline/src/parsers/events/index.ts index 66f382dda..b9b4d02cb 100644 --- a/packages/pipeline/src/parsers/events/index.ts +++ b/packages/pipeline/src/parsers/events/index.ts @@ -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'; diff --git a/packages/pipeline/src/parsers/sra_orders/index.ts b/packages/pipeline/src/parsers/sra_orders/index.ts index fb2b74dfe..39c222afd 100644 --- a/packages/pipeline/src/parsers/sra_orders/index.ts +++ b/packages/pipeline/src/parsers/sra_orders/index.ts @@ -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'; diff --git a/packages/pipeline/src/utils/index.ts b/packages/pipeline/src/utils/index.ts index 8fe7f9685..ebc1f8e0f 100644 --- a/packages/pipeline/src/utils/index.ts +++ b/packages/pipeline/src/utils/index.ts @@ -1,4 +1,4 @@ -import { BigNumber } from '@0xproject/utils'; +import { BigNumber } from '@0x/utils'; export function bigNumbertoStringOrNull(n: BigNumber): string | null { if (n == null) { diff --git a/packages/pipeline/test/parsers/events/index_test.ts b/packages/pipeline/test/parsers/events/index_test.ts index 2a2db1a94..0730e4013 100644 --- a/packages/pipeline/test/parsers/events/index_test.ts +++ b/packages/pipeline/test/parsers/events/index_test.ts @@ -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'; diff --git a/packages/pipeline/test/parsers/sra_orders/index_test.ts b/packages/pipeline/test/parsers/sra_orders/index_test.ts index 952a6f3c6..eb181ece5 100644 --- a/packages/pipeline/test/parsers/sra_orders/index_test.ts +++ b/packages/pipeline/test/parsers/sra_orders/index_test.ts @@ -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'; |