diff options
author | Hsuan Lee <boczeratul@gmail.com> | 2019-03-06 17:46:50 +0800 |
---|---|---|
committer | Hsuan Lee <boczeratul@gmail.com> | 2019-03-06 17:46:50 +0800 |
commit | 35703539d0f2b4ddb3b11d0de8c9634af59ab71f (patch) | |
tree | ae3731221dbbb3a6fa40060a8d916cfd3f738289 /packages/0x.js | |
parent | 92a1fde5b1ecd81b07cdb5bf0c9c1cd3544799db (diff) | |
download | dexon-0x-contracts-stable.tar.gz dexon-0x-contracts-stable.tar.zst dexon-0x-contracts-stable.zip |
Deploy @dexon-foundation/0x.jsstable
Diffstat (limited to 'packages/0x.js')
-rw-r--r-- | packages/0x.js/README.md | 2 | ||||
-rw-r--r-- | packages/0x.js/package.json | 11 | ||||
-rw-r--r-- | packages/0x.js/src/index.ts | 4 | ||||
-rw-r--r-- | packages/0x.js/tsconfig.json | 3 |
4 files changed, 10 insertions, 10 deletions
diff --git a/packages/0x.js/README.md b/packages/0x.js/README.md index 5b7a2308c..62f56a45b 100644 --- a/packages/0x.js/README.md +++ b/packages/0x.js/README.md @@ -33,7 +33,7 @@ If your project is in [TypeScript](https://www.typescriptlang.org/), add the fol ```json "compilerOptions": { - "typeRoots": ["node_modules/@0x/typescript-typings/types", "node_modules/@types"], + "typeRoots": ["node_modules/@dexon-foundation/typescript-typings/types", "node_modules/@types"], } ``` diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index b02176811..03a7aecda 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -1,5 +1,5 @@ { - "name": "0x.js", + "name": "@dexon-foundation/0x.js", "version": "4.0.3", "engines": { "node": ">=6.12" @@ -77,16 +77,15 @@ "@0x/contract-wrappers": "^7.0.2", "@0x/order-utils": "^6.0.1", "@0x/order-watcher": "^3.0.3", - "@0x/subproviders": "^3.0.2", "@0x/types": "^2.0.2", - "@0x/typescript-typings": "^4.0.0", "@0x/utils": "^4.0.3", "@0x/web3-wrapper": "^4.0.2", - "@types/web3-provider-engine": "^14.0.0", + "@dexon-foundation/subproviders": "^3.0.2", + "@dexon-foundation/typescript-typings": "^4.0.2", + "@dexon-foundation/web3-provider-engine": "^14.1.1", "ethereum-types": "^2.0.0", "ethers": "~4.0.4", - "lodash": "^4.17.11", - "web3-provider-engine": "14.0.6" + "lodash": "^4.17.11" }, "publishConfig": { "access": "public" diff --git a/packages/0x.js/src/index.ts b/packages/0x.js/src/index.ts index 082b09727..17cb9e3ee 100644 --- a/packages/0x.js/src/index.ts +++ b/packages/0x.js/src/index.ts @@ -64,7 +64,7 @@ export { export { OrderWatcher, OnOrderStateChangeCallback, OrderWatcherConfig } from '@0x/order-watcher'; -export import Web3ProviderEngine = require('web3-provider-engine'); +export import Web3ProviderEngine = require('@dexon-foundation/web3-provider-engine'); export { RPCSubprovider, @@ -72,7 +72,7 @@ export { JSONRPCRequestPayloadWithMethod, ErrorCallback, MetamaskSubprovider, -} from '@0x/subproviders'; +} from '@dexon-foundation/subproviders'; export { AbiDecoder, DecodedCalldata } from '@0x/utils'; diff --git a/packages/0x.js/tsconfig.json b/packages/0x.js/tsconfig.json index a96536716..0d4e43df5 100644 --- a/packages/0x.js/tsconfig.json +++ b/packages/0x.js/tsconfig.json @@ -2,7 +2,8 @@ "extends": "../../tsconfig", "compilerOptions": { "outDir": "lib", - "rootDir": "src" + "rootDir": "src", + "strictFunctionTypes": false }, "include": ["./src/**/*"] } |