Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 846 Bytes

CHANGELOG.md

File metadata and controls

42 lines (26 loc) · 846 Bytes

@typechain/truffle-v5

5.0.0

Patch Changes

  • Updated dependencies [d60a343]
  • Updated dependencies [5a60d00]
  • Updated dependencies [d60a343]

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:

    x(txDetails?: Truffle.TransactionDetails): Promise<[BigNumber]>;

    New output is:

    x(txDetails?: Truffle.TransactionDetails): Promise<{0: BigNumber}>;

    The difference is that now you can use standard object destructuring while working with output types.