Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency typechain to v5 #41

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 9, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
typechain 2.0.1 -> 5.0.0 age adoption passing confidence

Release Notes

ethereum-ts/Typechain

v5.0.0

Compare Source

Major Changes
  • d60a343: Rename --outDir CLI option to --out-dir
  • 5a60d00: Remove dependency on ts-generator
Minor Changes
  • d60a343: Add --always-generate-overloads option and by default stop generating types for overloaded functions if
    there are no overloads (reduces bloat)

v4.0.3

Compare Source

Patch Changes
  • dbfe92a: Improve error message in case of a missing target

v4.0.2

Compare Source

Patch Changes
  • d07ae43: Fix signature of overloaded methods with struct in arguments

v4.0.1

@​typechain/ethers-v4@​4.0.0

Major Changes
  • 0d4b293: Changed return type of functions from a object with number indexes, to an array merged with object containing named
    outputs.

    Before, solidity function like this:

    function x() public pure returns (uint256)
    

    Generated such method signature:

    x(overrides?: CallOverrides): Promise<{0: BigNumber}>;

    New output is:

    x(overrides?: CallOverrides): Promise<[BigNumber]>;

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

Patch Changes
  • db5baa5: Do not generate typings in contract type itself for reserved keywords that would collide with ethers internals

@​typechain/ethers-v5@​5.0.0

Major Changes
  • 0d4b293: Changed return type of functions from a object with number indexes, to an array merged with object containing named
    outputs.

    Before, solidity function like this:

    function x() public pure returns (uint256)
    

    Generated such method signature:

    x(overrides?: CallOverrides): Promise<{0: BigNumber}>;

    New output is:

    x(overrides?: CallOverrides): Promise<[BigNumber]>;

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

Patch Changes
  • db5baa5: Do not generate typings in contract type itself for reserved keywords that would collide with ethers internals

@​typechain/truffle-v5@​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.

[email protected]

Patch Changes
  • 82633bb: Do not ship tests and original source files with the npm package

v4.0.0

v3.0.0

Compare Source

  • BREAKING - bump ts-generator which results in a slightly different preamble for generated files and different formatting

target-ethers-v5


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@sambacha sambacha closed this Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants