Skip to content

v0.18.0

Choose a tag to compare

@ryanio ryanio released this 16 Jun 18:44
· 19 commits to main since this release

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.
  • computeManifestHash now 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 legacy x- prefix) are preserved. The type field is no longer defaulted.
  • validate, hash, and register warn about bare un-namespaced extension fields. New findBareExtensionKeys(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