Skip to content

v6.0.1

Choose a tag to compare

@ryanio ryanio released this 01 Dec 00:29
501b6f3

orderFromJson and orderComponentsFromJson now reject a malformed order shape (a null order or parameters, a non-array offer or consideration, a null item) with SeaportError("INVALID_ORDER_JSON") instead of a TypeError, and their error message no longer fails on a value it cannot JSON.stringify. No API changes. (#1108)

For the 6.0 changes and migrating from 5.x, see v6.0.0.