Skip to content

Releases: wevm/abitype

[email protected]

09 Oct 16:30
e2797ef

Choose a tag to compare

Patch Changes

  • #194 380c9d9 Thanks @mathieu-bour! - Changed the following types to readonly in zod package:

    • AbiContructor.inputs
    • AbiError.inputs
    • AbiEvent.inputs
    • AbiFunction.inputs / AbiFunction.outputs

[email protected]

03 Oct 17:40
529da5c

Choose a tag to compare

Patch Changes

  • #192 998fc3c Thanks @Raiden1411! - Fixed an issue where Zod's parsed ABIs where not assignable to the Abi type.

[email protected]

18 Aug 15:50
bb4bf39

Choose a tag to compare

Patch Changes

[email protected]

17 Aug 07:21
54a8985

Choose a tag to compare

Patch Changes

  • #185 f5b27a8 Thanks @StanleyDing! - Fixed a bug where an empty string on the name property in AbiParameter wasn't allowed.

[email protected]

28 Jul 07:34
74899ee

Choose a tag to compare

Patch Changes

  • #179 f0f2503 Thanks @Raiden1411! - Fixed a bug on TypedDataToPrimitiveTypes where it would create an infinite cyclic type if the type was an array type of keyof TypedData.

[email protected]

22 Jul 05:11
debaa4e

Choose a tag to compare

Patch Changes

  • #175 af5af6b Thanks @Raiden1411! - Fixed a bug on formatAbiParameter where it would infer incorrectly if the nested elements of the components property had no name property and the type property was of type tuple type.

    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]

22 Jul 05:10
06b7d28

Choose a tag to compare

Patch Changes

  • #176 bf526d8 Thanks @tmm! - Fixed issue with format utils where empty name (e.g. name: '') would add extra space after type.

[email protected]

18 Jul 19:26
8def0ae

Choose a tag to compare

Patch Changes

  • #170 dbe16a2 Thanks @Raiden1411! - Fixed bug where type instantiation is excessively deep and possibly infinite when using formatAbiParameter with exactOptionalPropertyTypes set to false.

[email protected]

12 Jul 20:27
fb53bb6

Choose a tag to compare

Patch Changes

[email protected]

12 Jul 16:15
7379f25

Choose a tag to compare

Patch Changes

  • #164 ff7a76c Thanks @ardislu! - Fixed human-readable identifiers to allow single leading dollar-sign or underscore, and disallow single leading number.