diff --git a/.changeset/selfish-years-speak.md b/.changeset/selfish-years-speak.md deleted file mode 100644 index 21e4df051..000000000 --- a/.changeset/selfish-years-speak.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@typechain/truffle-v5': patch ---- - -Add missing properties to `Truffle.ContractInstance` diff --git a/packages/target-truffle-v5/CHANGELOG.md b/packages/target-truffle-v5/CHANGELOG.md index 19c3c35b8..5363aef3b 100644 --- a/packages/target-truffle-v5/CHANGELOG.md +++ b/packages/target-truffle-v5/CHANGELOG.md @@ -1,26 +1,33 @@ # @typechain/truffle-v5 +## 4.0.1 + +### Patch Changes + +- ebaeffc: Add missing properties to `Truffle.ContractInstance` + ## 4.0.0 + ### Major Changes - f8711eb: Changed return type of functions from an array to a object. This represents better runtime types. - + Before, solidity function like this: - + ``` function x() public pure returns (uint256) ``` - + Generated such method signature: - + ```typescript x(txDetails?: Truffle.TransactionDetails): Promise<[BigNumber]>; ``` - + New output is: - + ```typescript x(txDetails?: Truffle.TransactionDetails): Promise<{0: BigNumber}>; ``` - + The difference is that now you can use standard object destructuring while working with output types. diff --git a/packages/target-truffle-v5/package.json b/packages/target-truffle-v5/package.json index 1fe1313c3..dfbc7342a 100644 --- a/packages/target-truffle-v5/package.json +++ b/packages/target-truffle-v5/package.json @@ -7,7 +7,7 @@ "TypeChain", "TypeScript" ], - "version": "4.0.0", + "version": "4.0.1", "license": "MIT", "repository": "https://github.com/ethereum-ts/Typechain", "main": "./dist/index.js",