@trigger.dev/sdk
4.8.8 · 20 Nov 2026MIT1.7M / weekRepositoryHomepagenpmAtom feed
3.3.17 is the newest release of 3.x.
In short
1 fixed1 internal
Release note
Patch Changes
You can add Alerts in the dashboard. One of these is a webhook, which this change greatly improves.
The main change is that there's now an SDK function to verify and parse them (similar to Stripe SDK).
const event = await webhooks.constructEvent(request, process.env.ALERT_WEBHOOK_SECRET!);
If the signature you provide matches the one from the dashboard when you create the webhook, you will get a nicely typed object back for these three types:
"alert.run.failed"
"alert.deployment.success"
"alert.deployment.failed"
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.