Releases: wevm/abitype
Releases · wevm/abitype
[email protected]
Patch Changes
-
#194
380c9d9Thanks @mathieu-bour! - Changed the following types to readonly in zod package:AbiContructor.inputsAbiError.inputsAbiEvent.inputsAbiFunction.inputs/AbiFunction.outputs
[email protected]
Patch Changes
- #192
998fc3cThanks @Raiden1411! - Fixed an issue where Zod's parsed ABIs where not assignable to theAbitype.
[email protected]
[email protected]
Patch Changes
- #185
f5b27a8Thanks @StanleyDing! - Fixed a bug where an empty string on thenameproperty in AbiParameter wasn't allowed.
[email protected]
Patch Changes
- #179
f0f2503Thanks @Raiden1411! - Fixed a bug onTypedDataToPrimitiveTypeswhere it would create an infinite cyclic type if thetypewas an array type ofkeyof TypedData.
[email protected]
Patch Changes
-
#175
af5af6bThanks @Raiden1411! - Fixed a bug onformatAbiParameterwhere it would infer incorrectly if the nested elements of thecomponentsproperty had nonameproperty and thetypeproperty was of typetupletype.Before:
type test = FormatAbiParameter<{ // ^? test = "(tuple)" type: "tuple"; components: [{ type: "tuple"; components: [{ type: "string" }] }]; }>;
After:
type test = FormatAbiParameter<{ // ^? type test = "((string))" type: "tuple"; components: [{ type: "tuple"; components: [{ type: "string" }] }]; }>;
[email protected]
[email protected]
Patch Changes
- #170
dbe16a2Thanks @Raiden1411! - Fixed bug where type instantiation is excessively deep and possibly infinite when usingformatAbiParameterwithexactOptionalPropertyTypesset tofalse.
[email protected]
Patch Changes
- #165
27b763bThanks @Raiden1411! - Added zod EIP-712 typed data parser.