Skip to content

Releases: dethcrypto/TypeChain

@typechain/[email protected]

27 Oct 19:49
ced568d
Compare
Choose a tag to compare

Major Changes

  • 0e555af: Generate types to .ts files instead of .d.ts in Ethers v5 and Web3.js targets

Patch Changes

@typechain/[email protected]

27 Oct 19:49
ced568d
Compare
Choose a tag to compare

Patch Changes

@typechain/[email protected]

27 Oct 19:49
ced568d
Compare
Choose a tag to compare

Major Changes

  • 99fafbe: Change default output directory to "typechain-types"
  • 0e555af: Generate types to .ts files instead of .d.ts in Ethers v5 and Web3.js targets

Patch Changes

@typechain/[email protected]

27 Oct 19:49
ced568d
Compare
Choose a tag to compare

Major Changes

  • 5c217a6: Changed emitted event types — named events are now used in Contract methods.
  • 0e555af: Generate types to .ts files instead of .d.ts in Ethers v5 and Web3.js targets

Minor Changes

  • 95517e9: Add support for Solidity structs

    // before
    function deposit(amount: { token: string; value: BigNumberish }): Promise<ContractTransaction>
    
    // after
    export type AmountStruct = { token: string; value: BigNumberish }
    
    function deposit(amount: AmountStruct): Promise<ContractTransaction>

Patch Changes

@typechain/[email protected]

27 Oct 19:49
ced568d
Compare
Choose a tag to compare

Patch Changes

[email protected]

12 Oct 09:48
d4e30eb
Compare
Choose a tag to compare

Minor Changes

  • c7c2913: Escaped reserved words in argument names

@typechain/[email protected]

12 Oct 09:48
d4e30eb
Compare
Choose a tag to compare

Patch Changes

  • c93a1e7: Fixed generated contract factory constructors to accept 3 parameters when called from ContractFactory methods
    (this.constructor(interface, bytecode, signer)).

    Fixes #487

@typechain/[email protected]

12 Oct 09:48
d4e30eb
Compare
Choose a tag to compare

Minor Changes

  • ed871ca: Fix contract interface functions name for tuples

Patch Changes

  • c93a1e7: Fixed generated contract factory constructors to accept 3 parameters when called from ContractFactory methods
    (this.constructor(interface, bytecode, signer)).

    Fixes #487

@typechain/[email protected]

25 Sep 07:42
f40f489
Compare
Choose a tag to compare

Patch Changes

  • e6bd016: Fix typing for getContractAt when using Hardhat

@typechain/[email protected]

23 Sep 19:12
f15a72c
Compare
Choose a tag to compare

Patch Changes

  • 7f57ff8: Support typings for getContractAt when using Hardhat