diff options
author | F. Eugene Aumson <gene@aumson.org> | 2018-09-21 00:51:30 +0800 |
---|---|---|
committer | F. Eugene Aumson <gene@aumson.org> | 2018-09-21 00:51:30 +0800 |
commit | 301e491952707cdad8929cb918209a3792201a7d (patch) | |
tree | 3092f1f3592d3c4b937bc3d11cdfdcdc66871248 /packages/contract-wrappers | |
parent | 30622631ff588b4b87a05e4ce3ca2906ed1edf9f (diff) | |
parent | 3e70ab015ba2cf00064c985c0b76137b182abf7f (diff) | |
download | dexon-sol-tools-301e491952707cdad8929cb918209a3792201a7d.tar dexon-sol-tools-301e491952707cdad8929cb918209a3792201a7d.tar.gz dexon-sol-tools-301e491952707cdad8929cb918209a3792201a7d.tar.bz2 dexon-sol-tools-301e491952707cdad8929cb918209a3792201a7d.tar.lz dexon-sol-tools-301e491952707cdad8929cb918209a3792201a7d.tar.xz dexon-sol-tools-301e491952707cdad8929cb918209a3792201a7d.tar.zst dexon-sol-tools-301e491952707cdad8929cb918209a3792201a7d.zip |
Merge remote-tracking branch 'upstream/development' into sol-doc
Diffstat (limited to 'packages/contract-wrappers')
-rw-r--r-- | packages/contract-wrappers/CHANGELOG.json | 18 | ||||
-rw-r--r-- | packages/contract-wrappers/CHANGELOG.md | 8 | ||||
-rw-r--r-- | packages/contract-wrappers/package.json | 10 | ||||
-rw-r--r-- | packages/contract-wrappers/src/utils/decorators.ts | 2 |
4 files changed, 32 insertions, 6 deletions
diff --git a/packages/contract-wrappers/CHANGELOG.json b/packages/contract-wrappers/CHANGELOG.json index 477537bb3..a9e631157 100644 --- a/packages/contract-wrappers/CHANGELOG.json +++ b/packages/contract-wrappers/CHANGELOG.json @@ -1,5 +1,23 @@ [ { + "version": "1.0.3", + "changes": [ + { + "note": "Drastically reduce the bundle size by removing unused parts of included contract artifacts." + } + ], + "timestamp": 1537369748 + }, + { + "version": "1.0.2", + "changes": [ + { + "note": "Add ZRX & WETH mainnet contract addresses into the included artifacts" + } + ], + "timestamp": 1537265493 + }, + { "version": "1.0.1", "changes": [ { diff --git a/packages/contract-wrappers/CHANGELOG.md b/packages/contract-wrappers/CHANGELOG.md index b5be34d36..69561213e 100644 --- a/packages/contract-wrappers/CHANGELOG.md +++ b/packages/contract-wrappers/CHANGELOG.md @@ -5,6 +5,14 @@ Edit the package's CHANGELOG.json file only. CHANGELOG +## v1.0.3 - _September 19, 2018_ + + * Drastically reduce the bundle size by removing unused parts of included contract artifacts. + +## v1.0.2 - _September 18, 2018_ + + * Add ZRX & WETH mainnet contract addresses into the included artifacts + ## v1.0.1 - _September 5, 2018_ * Add `OrderValidatorWrapper` diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index 5cfe8f6b5..ece5c9649 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -1,6 +1,6 @@ { "name": "@0xproject/contract-wrappers", - "version": "1.0.1", + "version": "1.0.3", "description": "Smart TS wrappers for 0x smart contracts", "keywords": [ "0xproject", @@ -20,7 +20,7 @@ "rebuild_and_test": "run-s build test", "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", - "update_artifacts": "for i in ${npm_package_config_contracts_v2}; do copyfiles -u 4 ../migrations/artifacts/2.0.0/$i.json src/artifacts; done;", + "update_artifacts": "for i in ${npm_package_config_contracts_v2}; do copyfiles -u 4 ../migrations/artifacts/2.0.0-trimmed/$i.json src/artifacts; done;", "copy_artifacts": "copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts", "clean": "shx rm -rf _bundles lib test_temp test/artifacts src/contract_wrappers/generated src/artifacts generated_docs", "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js lib/test/global_hooks.js --timeout 10000 --bail --exit", @@ -43,7 +43,7 @@ "devDependencies": { "@0xproject/abi-gen": "^1.0.8", "@0xproject/dev-utils": "^1.0.7", - "@0xproject/migrations": "^1.0.7", + "@0xproject/migrations": "^1.0.9", "@0xproject/subproviders": "^2.0.2", "@0xproject/tslint-config": "^1.0.7", "@types/lodash": "4.14.104", @@ -74,9 +74,9 @@ "dependencies": { "@0xproject/assert": "^1.0.8", "@0xproject/base-contract": "^2.0.2", - "@0xproject/fill-scenarios": "^1.0.1", + "@0xproject/fill-scenarios": "^1.0.2", "@0xproject/json-schemas": "^1.0.1", - "@0xproject/order-utils": "^1.0.1", + "@0xproject/order-utils": "^1.0.2", "@0xproject/types": "^1.0.1", "@0xproject/typescript-typings": "^2.0.0", "@0xproject/utils": "^1.0.8", diff --git a/packages/contract-wrappers/src/utils/decorators.ts b/packages/contract-wrappers/src/utils/decorators.ts index 6e77450e8..d6bf6ec1e 100644 --- a/packages/contract-wrappers/src/utils/decorators.ts +++ b/packages/contract-wrappers/src/utils/decorators.ts @@ -24,7 +24,7 @@ const contractCallErrorTransformer = (error: Error) => { const schemaErrorTransformer = (error: Error) => { if (_.includes(error.message, constants.INVALID_TAKER_FORMAT)) { const errMsg = - 'Order taker must be of type string. If you want anyone to be able to fill an order - pass ZeroEx.NULL_ADDRESS'; + 'Order taker must be of type string. If you want anyone to be able to fill an order - pass NULL_ADDRESS'; return new Error(errMsg); } return error; |