Browse Source
Events now publish successfully but don't appear in feed yet. Fixed the "Failed to execute 'postMessage' on 'Window'" error by ensuring all event data is properly serialized before passing between components. Changes: - Remove non-serializable tree property from exported events - Convert all NDKEvent properties to primitives in eventToPublishableObject - Add JSON deep cloning in handlePublish to ensure full serializability - Add debug logging to track event structure and serialization issues Status: Publishing works (events are sent to relays) but feed display needs investigation for relay read/write configuration mismatch. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>master
2 changed files with 54 additions and 20 deletions
Loading…
Reference in new issue