v0.18.0
What's Changed
- Hash the manifest as served, per ERC-8257 §2: the full JCS document including any namespaced extension fields, with no schema stripping and no injected defaults. The result agrees with any RFC 8785 implementation and with the OpenSea backend.
computeManifestHashnow accepts the raw served or authored object and hashes it as-is.- The manifest schema is open: namespaced extension fields (reverse-DNS, e.g.
io.opensea.paymentHint, or the legacyx-prefix) are preserved. Thetypefield is no longer defaulted. validate,hash, andregisterwarn about bare un-namespaced extension fields. NewfindBareExtensionKeys(data)export.
Compatibility: tools whose served manifest contains extra fields or omits type will now produce a different (correct) hash than prior versions, and should re-register or update so their onchain hash matches the served document.
Full Changelog: ProjectOpenSea/opensea-devtools@tool-sdk-v0.17.1...tool-sdk-v0.18.0