github triggerdotdev/trigger.dev @trigger.dev/sdk@3.3.16

latest releases: build-chris-test-blacksmith-2, build-chris-test-blacksmith, re2-test-supervisor-podcount-backpressure-rc2...
16 months ago

Patch Changes

  • You can add Alerts in the dashboard. One of these is a webhook, which this change greatly improves. (#1703)

    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"
  • Updated dependencies:

    • @trigger.dev/core@3.3.16

Don't miss a new trigger.dev release

NewReleases is sending notifications on new releases.