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,7 +1,7 @@
export { Web3Wrapper } from './web3_wrapper';
export { marshaller } from './marshaller';
export { AbiDecoder } from '@0xproject/utils';
export { AbiDecoder } from '@0x/utils';
export {
BlockParam,

View File

@@ -1,4 +1,4 @@
import { addressUtils } from '@0xproject/utils';
import { addressUtils } from '@0x/utils';
import {
BlockParam,
BlockParamLiteral,

View File

@@ -1,4 +1,4 @@
import { BigNumber } from '@0xproject/utils';
import { BigNumber } from '@0x/utils';
import * as _ from 'lodash';
export const utils = {

View File

@@ -1,6 +1,6 @@
import { assert } from '@0xproject/assert';
import { schemas } from '@0xproject/json-schemas';
import { AbiDecoder, addressUtils, BigNumber, intervalUtils, promisify } from '@0xproject/utils';
import { assert } from '@0x/assert';
import { schemas } from '@0x/json-schemas';
import { AbiDecoder, addressUtils, BigNumber, intervalUtils, promisify } from '@0x/utils';
import {
BlockParam,
BlockParamLiteral,
@@ -145,7 +145,7 @@ export class Web3Wrapper {
if (_.isUndefined((provider as any).sendAsync)) {
// Web3@1.0 provider doesn't support synchronous http requests,
// so it only has an async `send` method, instead of a `send` and `sendAsync` in web3@0.x.x`
// We re-assign the send method so that Web3@1.0 providers work with @0xproject/web3-wrapper
// We re-assign the send method so that Web3@1.0 providers work with @0x/web3-wrapper
(provider as any).sendAsync = (provider as any).send;
}
this.abiDecoder = new AbiDecoder([]);