Add canonical standardwebhooks platform and STANDARD_WEBHOOKS_BASE + factory; remove Twilio/PagerDuty#54
Merged
Prateek32177 merged 1 commit intocodex/add-webhook-signature-verification-for-providers-3hr9dyfrom Mar 23, 2026
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
ed2510d
into
codex/add-webhook-signature-verification-for-providers-3hr9dy
3 checks passed
Prateek32177
added a commit
that referenced
this pull request
Mar 23, 2026
…ndling and verifier enhancements (#52) * fix: support twilioBaseUrl override and proxy-aware URL reconstruction * feat: add explanatory signature failure messages across verifiers * refactor: remove normalization support and add Twilio usage docs * fix: support twilioBaseUrl across all framework adapters * Add canonical standardwebhooks platform and remove twilio/pagerduty (#54) * 4.3.0-beta.1 * updates on svix * audit and version update * svix error foxed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
standardwebhooksto theWebhookPlatformunion andWebhookPlatformKeysenum to represent the canonical Standard Webhooks style.STANDARD_WEBHOOKS_BASEandcreateStandardWebhooksConfig(...)to provide a reusable base config and a factory for building Standard Webhooks signature configs with header aliases.standardwebhooksentry toplatformAlgorithmConfigsusingcreateStandardWebhooksConfig(...)withwebhook-*headers andsvix-*aliases, leaving other platform shapes intact.signatureHeaderAliasesandtimestampHeaderAliaseswhen extracting signatures and building the signed payload; remove Twilio/PagerDuty-specific platform entries and the Twilio URL override plumbing from adapters and verifier messaging.Testing
npm test(executests-node src/test.ts) and all tests passed successfully.npm run build(tsc) and the TypeScript build completed without errors.Codex Task