chore: change package org from 0xproject to 0x
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@0xproject/order-watcher",
|
||||
"name": "@0x/order-watcher",
|
||||
"version": "2.1.1",
|
||||
"description": "An order watcher daemon that watches for order validity",
|
||||
"keywords": [
|
||||
@@ -33,9 +33,9 @@
|
||||
"node": ">=6.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@0xproject/dev-utils": "^1.0.12",
|
||||
"@0xproject/migrations": "^1.0.14",
|
||||
"@0xproject/tslint-config": "^1.0.8",
|
||||
"@0x/dev-utils": "^1.0.12",
|
||||
"@0x/migrations": "^1.0.14",
|
||||
"@0x/tslint-config": "^1.0.8",
|
||||
"@types/bintrees": "^1.0.2",
|
||||
"@types/lodash": "4.14.104",
|
||||
"@types/mocha": "^2.2.42",
|
||||
@@ -57,19 +57,19 @@
|
||||
"typescript": "3.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@0xproject/abi-gen-wrappers": "^1.0.0",
|
||||
"@0xproject/assert": "^1.0.13",
|
||||
"@0xproject/base-contract": "^3.0.1",
|
||||
"@0xproject/contract-addresses": "^1.0.0",
|
||||
"@0xproject/contract-artifacts": "^1.0.0",
|
||||
"@0xproject/contract-wrappers": "^2.0.2",
|
||||
"@0xproject/fill-scenarios": "^1.0.7",
|
||||
"@0xproject/json-schemas": "^1.0.7",
|
||||
"@0xproject/order-utils": "^1.0.7",
|
||||
"@0xproject/types": "^1.1.4",
|
||||
"@0xproject/typescript-typings": "^3.0.2",
|
||||
"@0xproject/utils": "^2.0.2",
|
||||
"@0xproject/web3-wrapper": "^3.0.3",
|
||||
"@0x/abi-gen-wrappers": "^1.0.0",
|
||||
"@0x/assert": "^1.0.13",
|
||||
"@0x/base-contract": "^3.0.1",
|
||||
"@0x/contract-addresses": "^1.0.0",
|
||||
"@0x/contract-artifacts": "^1.0.0",
|
||||
"@0x/contract-wrappers": "^2.0.2",
|
||||
"@0x/fill-scenarios": "^1.0.7",
|
||||
"@0x/json-schemas": "^1.0.7",
|
||||
"@0x/order-utils": "^1.0.7",
|
||||
"@0x/types": "^1.1.4",
|
||||
"@0x/typescript-typings": "^3.0.2",
|
||||
"@0x/utils": "^2.0.2",
|
||||
"@0x/web3-wrapper": "^3.0.3",
|
||||
"bintrees": "^1.0.2",
|
||||
"ethereum-types": "^1.0.11",
|
||||
"ethereumjs-blockstream": "6.0.0",
|
||||
|
||||
@@ -8,12 +8,12 @@ export {
|
||||
ExchangeContractErrs,
|
||||
OrderRelevantState,
|
||||
Stats,
|
||||
} from '@0xproject/types';
|
||||
} from '@0x/types';
|
||||
|
||||
export { OnOrderStateChangeCallback, OrderWatcherConfig } from './types';
|
||||
|
||||
export { ContractAddresses } from '@0xproject/contract-addresses';
|
||||
export { SignedOrder } from '@0xproject/types';
|
||||
export { ContractAddresses } from '@0x/contract-addresses';
|
||||
export { SignedOrder } from '@0x/types';
|
||||
export {
|
||||
JSONRPCRequestPayload,
|
||||
JSONRPCErrorCallback,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { AbiDecoder } from '@0xproject/utils';
|
||||
import { AbiDecoder } from '@0x/utils';
|
||||
import { ContractAbi, DecodedLogArgs, LogEntry, LogWithDecodedArgs, RawLog } from 'ethereum-types';
|
||||
|
||||
const TOKEN_TYPE_COLLISION = `Token can't be marked as ERC20 and ERC721 at the same time`;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// tslint:disable:no-unnecessary-type-assertion
|
||||
import { assetDataUtils, orderHashUtils } from '@0xproject/order-utils';
|
||||
import { AssetProxyId, ERC20AssetData, ERC721AssetData, SignedOrder } from '@0xproject/types';
|
||||
import { BigNumber } from '@0xproject/utils';
|
||||
import { assetDataUtils, orderHashUtils } from '@0x/order-utils';
|
||||
import { AssetProxyId, ERC20AssetData, ERC721AssetData, SignedOrder } from '@0x/types';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
export interface OrderHashesByMakerAddress {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { intervalUtils, logUtils } from '@0xproject/utils';
|
||||
import { marshaller, Web3Wrapper } from '@0xproject/web3-wrapper';
|
||||
import { intervalUtils, logUtils } from '@0x/utils';
|
||||
import { marshaller, Web3Wrapper } from '@0x/web3-wrapper';
|
||||
import { BlockParamLiteral, FilterObject, LogEntry, Provider, RawLogEntry } from 'ethereum-types';
|
||||
import { Block, BlockAndLogStreamer, Log } from 'ethereumjs-blockstream';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { BigNumber, intervalUtils } from '@0xproject/utils';
|
||||
import { BigNumber, intervalUtils } from '@0x/utils';
|
||||
import { RBTree } from 'bintrees';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// tslint:disable:no-unnecessary-type-assertion
|
||||
import { ContractAddresses } from '@0xproject/contract-addresses';
|
||||
import * as artifacts from '@0xproject/contract-artifacts';
|
||||
import { ContractAddresses } from '@0x/contract-addresses';
|
||||
import * as artifacts from '@0x/contract-artifacts';
|
||||
import {
|
||||
AssetBalanceAndProxyAllowanceFetcher,
|
||||
ContractWrappers,
|
||||
@@ -23,17 +23,17 @@ import {
|
||||
WETH9EventArgs,
|
||||
WETH9Events,
|
||||
WETH9WithdrawalEventArgs,
|
||||
} from '@0xproject/contract-wrappers';
|
||||
import { schemas } from '@0xproject/json-schemas';
|
||||
} from '@0x/contract-wrappers';
|
||||
import { schemas } from '@0x/json-schemas';
|
||||
import {
|
||||
assetDataUtils,
|
||||
BalanceAndProxyAllowanceLazyStore,
|
||||
OrderFilledCancelledLazyStore,
|
||||
orderHashUtils,
|
||||
OrderStateUtils,
|
||||
} from '@0xproject/order-utils';
|
||||
import { AssetProxyId, ExchangeContractErrs, OrderState, SignedOrder, Stats } from '@0xproject/types';
|
||||
import { errorUtils, intervalUtils } from '@0xproject/utils';
|
||||
} from '@0x/order-utils';
|
||||
import { AssetProxyId, ExchangeContractErrs, OrderState, SignedOrder, Stats } from '@0x/types';
|
||||
import { errorUtils, intervalUtils } from '@0x/utils';
|
||||
import { BlockParamLiteral, LogEntryEvent, LogWithDecodedArgs, Provider } from 'ethereum-types';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { OrderState } from '@0xproject/types';
|
||||
import { OrderState } from '@0x/types';
|
||||
import { LogEntryEvent } from 'ethereum-types';
|
||||
|
||||
export enum OrderWatcherError {
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import { assert as sharedAssert } from '@0xproject/assert';
|
||||
import { assert as sharedAssert } from '@0x/assert';
|
||||
// HACK: We need those two unused imports because they're actually used by sharedAssert which gets injected here
|
||||
// tslint:disable:no-unused-variable
|
||||
import { Schema } from '@0xproject/json-schemas';
|
||||
import { ECSignature } from '@0xproject/types';
|
||||
import { BigNumber } from '@0xproject/utils';
|
||||
import { Schema } from '@0x/json-schemas';
|
||||
import { ECSignature } from '@0x/types';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
// tslint:enable:no-unused-variable
|
||||
import { Provider } from 'ethereum-types';
|
||||
|
||||
import { signatureUtils } from '@0xproject/order-utils';
|
||||
import { signatureUtils } from '@0x/order-utils';
|
||||
|
||||
export const assert = {
|
||||
...sharedAssert,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { BigNumber } from '@0xproject/utils';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
|
||||
export const utils = {
|
||||
getCurrentUnixTimestampSec(): BigNumber {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { tokenUtils } from '@0xproject/contract-wrappers/lib/test/utils/token_utils';
|
||||
import { BlockchainLifecycle, callbackErrorReporter } from '@0xproject/dev-utils';
|
||||
import { FillScenarios } from '@0xproject/fill-scenarios';
|
||||
import { assetDataUtils, orderHashUtils } from '@0xproject/order-utils';
|
||||
import { DoneCallback } from '@0xproject/types';
|
||||
import { BigNumber } from '@0xproject/utils';
|
||||
import { tokenUtils } from '@0x/contract-wrappers/lib/test/utils/token_utils';
|
||||
import { BlockchainLifecycle, callbackErrorReporter } from '@0x/dev-utils';
|
||||
import { FillScenarios } from '@0x/fill-scenarios';
|
||||
import { assetDataUtils, orderHashUtils } from '@0x/order-utils';
|
||||
import { DoneCallback } from '@0x/types';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import * as chai from 'chai';
|
||||
import * as _ from 'lodash';
|
||||
import 'mocha';
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// tslint:disable:no-unnecessary-type-assertion
|
||||
import { ContractWrappers } from '@0xproject/contract-wrappers';
|
||||
import { tokenUtils } from '@0xproject/contract-wrappers/lib/test/utils/token_utils';
|
||||
import { BlockchainLifecycle, callbackErrorReporter } from '@0xproject/dev-utils';
|
||||
import { FillScenarios } from '@0xproject/fill-scenarios';
|
||||
import { assetDataUtils, orderHashUtils } from '@0xproject/order-utils';
|
||||
import { ContractWrappers } from '@0x/contract-wrappers';
|
||||
import { tokenUtils } from '@0x/contract-wrappers/lib/test/utils/token_utils';
|
||||
import { BlockchainLifecycle, callbackErrorReporter } from '@0x/dev-utils';
|
||||
import { FillScenarios } from '@0x/fill-scenarios';
|
||||
import { assetDataUtils, orderHashUtils } from '@0x/order-utils';
|
||||
import {
|
||||
DoneCallback,
|
||||
ExchangeContractErrs,
|
||||
@@ -11,9 +11,9 @@ import {
|
||||
OrderStateInvalid,
|
||||
OrderStateValid,
|
||||
SignedOrder,
|
||||
} from '@0xproject/types';
|
||||
import { BigNumber } from '@0xproject/utils';
|
||||
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
||||
} from '@0x/types';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import { Web3Wrapper } from '@0x/web3-wrapper';
|
||||
import * as chai from 'chai';
|
||||
import * as _ from 'lodash';
|
||||
import 'mocha';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { ContractAddresses } from '@0xproject/contract-addresses';
|
||||
import { devConstants } from '@0xproject/dev-utils';
|
||||
import { runMigrationsOnceAsync } from '@0xproject/migrations';
|
||||
import { ContractAddresses } from '@0x/contract-addresses';
|
||||
import { devConstants } from '@0x/dev-utils';
|
||||
import { runMigrationsOnceAsync } from '@0x/migrations';
|
||||
|
||||
import { provider } from './web3_wrapper';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { web3Factory } from '@0xproject/dev-utils';
|
||||
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
||||
import { web3Factory } from '@0x/dev-utils';
|
||||
import { Web3Wrapper } from '@0x/web3-wrapper';
|
||||
import { Provider } from 'ethereum-types';
|
||||
|
||||
const provider: Provider = web3Factory.getRpcProvider({ shouldUseInProcessGanache: true });
|
||||
|
||||
Reference in New Issue
Block a user