Update dependency @typechain/ethers-v5 to v11 #683
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
9.0.0->11.1.2Release Notes
ethereum-ts/Typechain (@typechain/ethers-v5)
v11.1.2Compare Source
Patch Changes
3469800]v11.1.1Compare Source
Patch Changes
9107713]v11.1.0Compare Source
Minor Changes
c4720b9: fix tuples in event signatures and also arrays of tuples in functionsPatch Changes
c4720b9]v11.0.1Compare Source
Patch Changes
cd4bb0f]v11.0.0Compare Source
Major Changes
3eb6ed6: Removes PromiseOrValueMinor Changes
15541e4: Support fornodenextstyle import paths with new CLI flag:--node16-modulesPatch Changes
15541e4]v10.2.1Compare Source
Patch Changes
5b0759d: Remove obsolete peer dependency@ethersproject/bytes@^5.0.0fromtarget-ethers-v5a036651: Fix for unused type in new ethers-v5 codegenv10.2.0Compare Source
Minor Changes
31e6957: Add const assertion for exported ABIv10.1.1Compare Source
Patch Changes
bbc9656]v10.1.0Compare Source
Minor Changes
015abb2: Added support for inputs wrapped in promise for ethers-v5 target.Patch Changes
63691c4]v10.0.0Compare Source
Depends on
typechain ^8.0.0.Major Changes
3a8a99a: Directory tree in generated types now reflects the directory tree in the inputs. Also, only the main contracttype is reexported from each file.
This change solves a number of name clashing problems. All generated code can still be imported after updating the
import path.
978490f: We are not emittingcontractNamefields on contracts and factories anymore.Why?
contractNamebreaks polymorphism for example: exact token implementation is not assignable to token interface.What do to?
We are adding optional flag
--discriminate-typesto continue emittingcontractName.Minor Changes
d86d048: The method overloads forgetEvent,getFunction,decodeFunctionResult,encodeFunctionDatafollow these rules:--always-generate-overloadsis off, just theentities' names are used (without the signature)
disambiguate them
--always-generate-overloadsis on, additional overloads are generated for functions that arenot ambiguous
(that's according to the ethers API - they don't use shorthand naming).
e447bfb: Added optionalconfig.inputDirproperty and--input-dirflag to control directory structure in generatedtypes. If not set, it's inferred as lowest common path of all ABI files.
a59ae6e: Preferimport typein generated files when possible47ab651: For every event, TypeChain now emits an interface with its named properties.Before
After
Patch Changes
2395289: ContractFactory subclasses now use explicit "override" modifiers.TypeScript version 4.3 or newer is now required.
975a9dc: Fix type generation for arrays of nested structs ex:GovernanceMessage.Call[][] calldata _remoteCalls.Fix structs parser in typechain package. Now only struct tuples are registered.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.