Skip to content

Version Packages#48

Merged
ALLiDoizCode merged 1 commit into
mainfrom
changeset-release/main
Jul 2, 2026
Merged

Version Packages#48
ALLiDoizCode merged 1 commit into
mainfrom
changeset-release/main

Conversation

@toon-backlog-bot

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@toon-protocol/relay@2.0.1

Patch Changes

  • add0c47: Serve canonical NIP-01 JSON on outbound EVENT frames (relay serves non-canonical EVENT serialization — breaks standard NIP-01 clients and signature verification #46). The WebSocket read surface previously encoded the event as a TOON-text string inside the frame (["EVENT", subId, "<toon text>"]), which standard nostr clients could neither parse nor signature-verify from the wire. Both the stored-query (REQ) and live-subscription (broadcast) paths now emit ["EVENT", subId, {id, pubkey, created_at, kind, tags, content, sig}] with the event as a plain JSON object, byte-compatible with vanilla NIP-01 libraries. The TOON codec remains exported for library consumers but is no longer used on the wire.

@ALLiDoizCode ALLiDoizCode merged commit a8693a9 into main Jul 2, 2026
3 checks passed
@ALLiDoizCode ALLiDoizCode deleted the changeset-release/main branch July 2, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant