aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-10-19 04:44:09 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-12-05 06:24:48 +0800
commitbbe1a843ef44e518fc957ea36325d5a730502de5 (patch)
treefef149187ca401d390cd47b604243717f091af93 /packages/pipeline/src
parent91e7485ecc4e780ef454b642a52c3d93faa95af1 (diff)
downloaddexon-sol-tools-bbe1a843ef44e518fc957ea36325d5a730502de5.tar
dexon-sol-tools-bbe1a843ef44e518fc957ea36325d5a730502de5.tar.gz
dexon-sol-tools-bbe1a843ef44e518fc957ea36325d5a730502de5.tar.bz2
dexon-sol-tools-bbe1a843ef44e518fc957ea36325d5a730502de5.tar.lz
dexon-sol-tools-bbe1a843ef44e518fc957ea36325d5a730502de5.tar.xz
dexon-sol-tools-bbe1a843ef44e518fc957ea36325d5a730502de5.tar.zst
dexon-sol-tools-bbe1a843ef44e518fc957ea36325d5a730502de5.zip
Update pipeline to use new @0x npm org for imports
Diffstat (limited to 'packages/pipeline/src')
-rw-r--r--packages/pipeline/src/data_sources/contract-wrappers/exchange_events.ts6
-rw-r--r--packages/pipeline/src/index.ts4
-rw-r--r--packages/pipeline/src/parsers/events/index.ts6
-rw-r--r--packages/pipeline/src/parsers/sra_orders/index.ts6
-rw-r--r--packages/pipeline/src/utils/index.ts2
5 files changed, 12 insertions, 12 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) {