Skip to content

Releases: wevm/abitype

[email protected]

10 May 22:51
ed8d95a
Compare
Choose a tag to compare

Patch Changes

[email protected]

30 Apr 08:13
6d97a7c
Compare
Choose a tag to compare

Patch Changes

[email protected]

29 Apr 22:28
56228df
Compare
Choose a tag to compare

Patch Changes

[email protected]

20 Apr 18:33
ba06a97
Compare
Choose a tag to compare

Minor Changes

  • #122 0c38841 Thanks @Raiden1411! - Changed errors for parseAbiItem, parseAbiParameter and parseAbiParameters into to custom error classes.

[email protected]

10 Mar 21:13
484151e
Compare
Choose a tag to compare

Patch Changes

  • #112 1e347ca Thanks @tmm! - Updated human-readable ABI parsing to convert dynamic integer alias types (e.g. int and uint) to fixed types (e.g. int256 and uint256).

[email protected]

09 Mar 21:15
2551dca
Compare
Choose a tag to compare

Minor Changes

  • #111 5d17c7c Thanks @tmm! - Changed TypedDataDomain['chainId'] to number.

  • #106 355647b Thanks @tmm! - Refactored AbiFunction into AbiConstructor, AbiFallback, AbiFunction, and AbiReceive.

    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 the AbiFunction 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 handling Uint8Array (or any other type) instead of opting out of it.

Patch Changes

  • #110 4544125 Thanks @tmm! - Fixed constructor, fallback, and receive signature parsing.

[email protected]

07 Mar 23:49
6c9e328
Compare
Choose a tag to compare

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, and storage on non-array types (or string, bytes, and tuple).

[email protected]

06 Mar 23:43
e019297
Compare
Choose a tag to compare

Patch Changes

  • 228f083 Thanks @jxom! - Updated published package.json attributes

[email protected]

06 Mar 23:36
25ce031
Compare
Choose a tag to compare

Patch Changes

[email protected]

05 Mar 21:04
e542f40
Compare
Choose a tag to compare

Patch Changes