aboutsummaryrefslogtreecommitdiffstats
path: root/packages
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
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')
-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
-rw-r--r--packages/pipeline/test/parsers/events/index_test.ts4
-rw-r--r--packages/pipeline/test/parsers/sra_orders/index_test.ts4
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';