Releases: wevm/abitype
Releases · wevm/abitype
[email protected]
[email protected]
Patch Changes
- #126
7ccc347
Thanks @Raiden1411! - Switched fromtsup
totsc
.
[email protected]
[email protected]
Minor Changes
- #122
0c38841
Thanks @Raiden1411! - Changed errors forparseAbiItem
,parseAbiParameter
andparseAbiParameters
into to custom error classes.
[email protected]
[email protected]
Minor Changes
-
#111
5d17c7c
Thanks @tmm! - ChangedTypedDataDomain['chainId']
tonumber
. -
#106
355647b
Thanks @tmm! - RefactoredAbiFunction
intoAbiConstructor
,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 theAbiFunction
type.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
4263277
Thanks @Raiden1411! - Bug fixes:- Fixed
splitParameters
parsing behavior for tuples with too many closing or opening parentheses. - Fixed modifiers parsing for
error
,event
,struct
signatures. - Stopped allowing protected Solidity keywords as parameter names.
- Stopped allowing
calldata
,memory
, andstorage
on non-array types (orstring
,bytes
, andtuple
).
- Fixed