diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-06 18:11:35 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-06 18:11:35 +0800 |
commit | f014a97e9ad583f5bdcece330ce2baf4847a6661 (patch) | |
tree | 658582e6515f4334d359d62e04a66deec66cdd28 /packages/0x.js | |
parent | 5a90fece8020f9be5c0f52f6ccf65dacb824b1cd (diff) | |
parent | 5dd065410517f511b2e087dcd91839526bac95b5 (diff) | |
download | dexon-sol-tools-f014a97e9ad583f5bdcece330ce2baf4847a6661.tar dexon-sol-tools-f014a97e9ad583f5bdcece330ce2baf4847a6661.tar.gz dexon-sol-tools-f014a97e9ad583f5bdcece330ce2baf4847a6661.tar.bz2 dexon-sol-tools-f014a97e9ad583f5bdcece330ce2baf4847a6661.tar.lz dexon-sol-tools-f014a97e9ad583f5bdcece330ce2baf4847a6661.tar.xz dexon-sol-tools-f014a97e9ad583f5bdcece330ce2baf4847a6661.tar.zst dexon-sol-tools-f014a97e9ad583f5bdcece330ce2baf4847a6661.zip |
Merge branch 'development' into extractDocs
* development:
Also show staging 0x.js docs on development
Fix source links in docs with a hack to support old and new versions of the TypeDoc JSON files
remove from devDeps
Remove date for now
Add ethers typescript typings to 0x.js deps. The library works without this atm since another dep of 0x.js has it as a dep. But it's more robust to have it here.
Add missing instructions to add external types to tsconfig.json after installing the package
Diffstat (limited to 'packages/0x.js')
-rw-r--r-- | packages/0x.js/CHANGELOG.md | 4 | ||||
-rw-r--r-- | packages/0x.js/README.md | 9 | ||||
-rw-r--r-- | packages/0x.js/package.json | 2 |
3 files changed, 14 insertions, 1 deletions
diff --git a/packages/0x.js/CHANGELOG.md b/packages/0x.js/CHANGELOG.md index f0377160b..976ae35b2 100644 --- a/packages/0x.js/CHANGELOG.md +++ b/packages/0x.js/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## v0.33.1 - _TBD, 2018_ + + * Add missing EthersJs typescript typings as dependency + ## v0.33.0 - _March 4, 2018_ * Validate and lowercase all addresses in public methods (#373) diff --git a/packages/0x.js/README.md b/packages/0x.js/README.md index 18c771234..2d0394726 100644 --- a/packages/0x.js/README.md +++ b/packages/0x.js/README.md @@ -18,6 +18,15 @@ npm install 0x.js --save import { ZeroEx } from '0x.js'; ``` +If your project is in [TypeScript](https://www.typescriptlang.org/), add the following to your `tsconfig.json`: + +``` +"include": [ + "./node_modules/web3-typescript-typings/index.d.ts", + "./node_modules/ethers-typescript-typings/index.d.ts" +] +``` + #### UMD: **Install** diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 18bf20ee3..2196fa777 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -61,7 +61,6 @@ "copyfiles": "^1.2.0", "coveralls": "^3.0.0", "dirty-chai": "^2.0.1", - "ethers-typescript-typings": "^0.0.2", "json-loader": "^0.5.4", "mocha": "^4.0.1", "npm-run-all": "^4.1.2", @@ -93,6 +92,7 @@ "ethereumjs-blockstream": "^2.0.6", "ethereumjs-util": "^5.1.1", "ethers-contracts": "^2.2.1", + "ethers-typescript-typings": "^0.0.2", "js-sha3": "^0.7.0", "lodash": "^4.17.4", "uuid": "^3.1.0", |