chore: change package org from 0xproject to 0x

This commit is contained in:
Jacob Evans
2018-10-18 21:51:56 +11:00
parent 9e8bca69a8
commit 9f924e459c
344 changed files with 986 additions and 978 deletions

View File

@@ -1,5 +1,5 @@
{
"name": "@0xproject/connect",
"name": "@0x/connect",
"version": "3.0.1",
"engines": {
"node": ">=6.12"
@@ -44,12 +44,12 @@
},
"homepage": "https://github.com/0xProject/0x-monorepo/packages/connect/README.md",
"dependencies": {
"@0xproject/assert": "^1.0.13",
"@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",
"@0x/assert": "^1.0.13",
"@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",
"lodash": "^4.17.5",
"query-string": "^5.0.1",
"sinon": "^4.0.0",
@@ -57,7 +57,7 @@
"websocket": "^1.0.25"
},
"devDependencies": {
"@0xproject/tslint-config": "^1.0.8",
"@0x/tslint-config": "^1.0.8",
"@types/fetch-mock": "^6.0.3",
"@types/lodash": "4.14.104",
"@types/mocha": "^2.2.42",

View File

@@ -1,5 +1,5 @@
import { assert } from '@0xproject/assert';
import { schemas } from '@0xproject/json-schemas';
import { assert } from '@0x/assert';
import { schemas } from '@0x/json-schemas';
import {
APIOrder,
AssetPairsRequestOpts,
@@ -14,8 +14,8 @@ import {
PagedRequestOpts,
RequestOpts,
SignedOrder,
} from '@0xproject/types';
import { fetchAsync } from '@0xproject/utils';
} from '@0x/types';
import { fetchAsync } from '@0x/utils';
import * as _ from 'lodash';
import * as queryString from 'query-string';

View File

@@ -17,4 +17,4 @@ export {
PaginatedCollection,
RequestOpts,
SignedOrder,
} from '@0xproject/types';
} from '@0x/types';

View File

@@ -12,7 +12,7 @@ import {
PagedRequestOpts,
PaginatedCollection,
SignedOrder,
} from '@0xproject/types';
} from '@0x/types';
export interface Client {
getAssetPairsAsync: (

View File

@@ -1,11 +1,11 @@
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-next-line:no-unused-variable
import { Schema, schemas } from '@0xproject/json-schemas';
import { Schema, schemas } from '@0x/json-schemas';
// tslint:disable-next-line:no-unused-variable
import { ECSignature } from '@0xproject/types';
import { ECSignature } from '@0x/types';
// tslint:disable-next-line:no-unused-variable
import { BigNumber } from '@0xproject/utils';
import { BigNumber } from '@0x/utils';
import * as _ from 'lodash';
export const assert = {

View File

@@ -1,8 +1,8 @@
import { assert } from '@0xproject/assert';
import { schemas } from '@0xproject/json-schemas';
import { assert } from '@0x/assert';
import { schemas } from '@0x/json-schemas';
import * as _ from 'lodash';
import { OrdersChannelMessage, OrdersChannelMessageTypes } from '@0xproject/types';
import { OrdersChannelMessage, OrdersChannelMessageTypes } from '@0x/types';
import { relayerResponseJsonParsers } from './relayer_response_json_parsers';

View File

@@ -1,6 +1,6 @@
import { assert } from '@0xproject/assert';
import { schemas } from '@0xproject/json-schemas';
import { orderParsingUtils } from '@0xproject/order-utils';
import { assert } from '@0x/assert';
import { schemas } from '@0x/json-schemas';
import { orderParsingUtils } from '@0x/order-utils';
import {
APIOrder,
@@ -9,7 +9,7 @@ import {
OrderbookResponse,
OrderConfigResponse,
OrdersResponse,
} from '@0xproject/types';
} from '@0x/types';
import { typeConverters } from './type_converters';

View File

@@ -1,7 +1,7 @@
import { orderParsingUtils } from '@0xproject/order-utils';
import { orderParsingUtils } from '@0x/order-utils';
import * as _ from 'lodash';
import { APIOrder } from '@0xproject/types';
import { APIOrder } from '@0x/types';
export const typeConverters = {
convertOrderbookStringFieldsToBigNumber(orderbook: any): any {

View File

@@ -1,4 +1,4 @@
import { OrdersChannelMessageTypes, OrdersChannelSubscriptionOpts } from '@0xproject/types';
import { OrdersChannelMessageTypes, OrdersChannelSubscriptionOpts } from '@0x/types';
import * as _ from 'lodash';
import { v4 as uuid } from 'uuid';
import * as WebSocket from 'websocket';

View File

@@ -1,6 +1,6 @@
import { BigNumber } from '@0xproject/utils';
import { BigNumber } from '@0x/utils';
import { AssetPairsResponse } from '@0xproject/types';
import { AssetPairsResponse } from '@0x/types';
export const assetDataPairsResponse: AssetPairsResponse = {
total: 43,

View File

@@ -1,4 +1,4 @@
import { FeeRecipientsResponse } from '@0xproject/types';
import { FeeRecipientsResponse } from '@0x/types';
export const feeRecipientsResponse: FeeRecipientsResponse = {
total: 3,

View File

@@ -1,4 +1,4 @@
import { BigNumber } from '@0xproject/utils';
import { BigNumber } from '@0x/utils';
export const orderResponse = {
order: {

View File

@@ -1,6 +1,6 @@
import { BigNumber } from '@0xproject/utils';
import { BigNumber } from '@0x/utils';
import { OrderConfigResponse } from '@0xproject/types';
import { OrderConfigResponse } from '@0x/types';
export const orderConfigResponse: OrderConfigResponse = {
senderAddress: '0xa2b31dacf30a9c50ca473337c01d8a201ae33e32',

View File

@@ -1,6 +1,6 @@
import { BigNumber } from '@0xproject/utils';
import { BigNumber } from '@0x/utils';
import { OrderbookResponse } from '@0xproject/types';
import { OrderbookResponse } from '@0x/types';
export const orderbookResponse: OrderbookResponse = {
bids: {

View File

@@ -1,6 +1,6 @@
import { BigNumber } from '@0xproject/utils';
import { BigNumber } from '@0x/utils';
import { OrdersResponse } from '@0xproject/types';
import { OrdersResponse } from '@0x/types';
export const ordersResponse: OrdersResponse = {
total: 984,

View File

@@ -1,4 +1,4 @@
import { BigNumber } from '@0xproject/utils';
import { BigNumber } from '@0x/utils';
import * as chai from 'chai';
import * as chaiAsPromised from 'chai-as-promised';
import * as dirtyChai from 'dirty-chai';