Skip to content

feat(webhooks): inspect inbound event payloads - #96

Merged
ralyodio merged 1 commit into
moshcoder:masterfrom
phucnguyen1707:feat/domain-event-payload-inspector
Aug 3, 2026
Merged

feat(webhooks): inspect inbound event payloads#96
ralyodio merged 1 commit into
moshcoder:masterfrom
phucnguyen1707:feat/domain-event-payload-inspector

Conversation

@phucnguyen1707

Copy link
Copy Markdown
Contributor

Summary

  • add a collapsed payload inspector and copy action to recent inbound domain events
  • pretty-print valid JSON while preserving number literals, escaped strings, and duplicate keys
  • fall back to the original payload for non-JSON, excessively deep, or over-expanded content

Tests

  • node --test tests/webhook-payload.test.mjs — 5 passed
  • bun test tests/webhook-payload.test.mjs — 5 passed
  • npx tsc --noEmit
  • npm run build

@ralyodio
ralyodio merged commit 33cb69b into moshcoder:master Aug 3, 2026
2 checks passed
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.

2 participants