v12.0.1
What's changed
- The ERC20 fulfillment preflight reads the basic-order struct from the field the API actually sends. It looked for
basicOrderParameterswhile the response carriesinputData.parameters, so the guard was inert. The test fixture used the same wrong name, which is why a green suite hid it for months; the tests are now pinned to four captured realPOST /api/v2/listings/fulfillment_datapayloads. - EIP-712 signing infers the primary type as the root of the type graph rather than the first declared struct, in both the viem adapter and the seaport bridge. Declaring a dependency before the root signed the dependency. Both call sites share one helper, which refuses an ambiguous or circular type set instead of guessing.
cancelOrdersno longer rejects a batch whose orders name the same Seaport protocol address in different letter cases.- The agent handshake bodies have their wire shape pinned end to end.
Community contributions
- ERC20 preflight field name, thanks @Mabolla (#1997)
- EIP-712 primary type in the seaport bridge, thanks @Mabolla (#1998)
- EIP-712 primary type in the viem adapter, thanks @Mabolla (#2000)
cancelOrdersprotocol address casing, thanks @Mabolla (#1999)
Full changelog: v12.0.0...v12.0.1