Skip to content

Conversation

@lucasfcosta
Copy link
Contributor

@lucasfcosta lucasfcosta commented Oct 23, 2025

This PR adds the new response field to the SDK types. This is useful for people using webhooks exclusively through the API.

Note I'm also bumping the canary version to make a release afterwards so we don't have to handle it in two separate PRs.

See: https://github.com/resend/resend-api/pull/2282


Summary by cubic

Expose signing_secret in webhook create/get responses so SDK users can retrieve the secret programmatically. Aligns SDK with the API and addresses Linear PRODUCT-968.

  • New Features
    • Added signing_secret to CreateWebhookResponseSuccess and GetWebhookResponseSuccess.
    • Updated tests to assert signing_secret is returned in both create and get responses.

@lucasfcosta lucasfcosta requested a review from a team as a code owner October 23, 2025 13:41
@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 23, 2025

Open in StackBlitz

npm i https://pkg.pr.new/resend/resend-node/resend@710

commit: 5514cd8

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

@vieiralucas vieiralucas force-pushed the feature/product-968-add-webhook-secret-in-the-return-value-of-creating-and branch from b2412d4 to 5514cd8 Compare October 23, 2025 14:23
@lucasfcosta lucasfcosta merged commit 36e3f45 into canary Oct 23, 2025
11 checks passed
@lucasfcosta lucasfcosta deleted the feature/product-968-add-webhook-secret-in-the-return-value-of-creating-and branch October 23, 2025 14:24
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.

3 participants