Releases: wevm/abitype
Releases · wevm/abitype
[email protected]
Patch Changes
- #126
7ccc347Thanks @Raiden1411! - Switched fromtsuptotsc.
[email protected]
[email protected]
Minor Changes
- #122
0c38841Thanks @Raiden1411! - Changed errors forparseAbiItem,parseAbiParameterandparseAbiParametersinto to custom error classes.
[email protected]
[email protected]
Minor Changes
-
#111
5d17c7cThanks @tmm! - ChangedTypedDataDomain['chainId']tonumber. -
#106
355647bThanks @tmm! - RefactoredAbiFunctionintoAbiConstructor,AbiFallback,AbiFunction, andAbiReceive.AbiFunction(e.g.type: 'function') was frequently used and the only way to narrow that specific type from the others (e.g.type: 'constructor' | 'fallback' | 'receive') was to add a bunch of& { type: 'function' }to theAbiFunctiontype.Changed default value of
BytesType['inputs']back to`0x${string}`. This ends up being the most strict and sensible default so you can opt in to handlingUint8Array(or any other type) instead of opting out of it.
Patch Changes
[email protected]
Patch Changes
-
#100
4263277Thanks @Raiden1411! - Bug fixes:- Fixed
splitParametersparsing behavior for tuples with too many closing or opening parentheses. - Fixed modifiers parsing for
error,event,structsignatures. - Stopped allowing protected Solidity keywords as parameter names.
- Stopped allowing
calldata,memory, andstorageon non-array types (orstring,bytes, andtuple).
- Fixed