Skip to content

Normalize inbound webhook event types - #35

Merged
ralyodio merged 1 commit into
moshcoder:masterfrom
aiirvizionz:clientkit/inbound-event-type-normalization
Jul 20, 2026
Merged

Normalize inbound webhook event types#35
ralyodio merged 1 commit into
moshcoder:masterfrom
aiirvizionz:clientkit/inbound-event-type-normalization

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • add a small inbound webhook event-type normalizer
  • reject non-string, blank, overlong, or unsafe event names before recording/fan-out
  • fall back to inbound.event instead of emitting values like inbound.[object Object]

Test

  • node --test tests\webhook-events.test.mjs

Note: the existing tests\url-guard.test.mjs private IPv6 case is failing on current origin/master; this PR leaves that unrelated behavior untouched.

@ralyodio
ralyodio merged commit bb1e0b5 into moshcoder:master Jul 20, 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