Provides preset webhook verifier configurations for common providers like Stripe, GitHub, Svix, etc.
// Source: https://github.com/triggerdotdev/trigger.dev | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import type {
WebhookAsymmetricConfig,
WebhookHmacConfig,
WebhookSecretProvisioning,
WebhookValueSource,
WebhookVerifierConfig,
} from "../schemas/webhookConfig.js";
/**
* Preset verifier-config builders: the single source of truth for how each supported provider signs.
* The public SDK `webhooks.stripe()` producers wrap these (attaching provider + secretProvisioning +
* the phantom event type), and `@internal/webhook-sources` uses them to sign-and-verify its samples.
* These carry zero SDK dependency (pure `WebhookVerifierConfig` data), so they live in core.
*/
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key