Skip to content

feat: add broadcasts.cancel() method (#1064) - #1065

Merged
dielduarte merged 1 commit into
canaryfrom
cherry-pick-cancel-broadcast-to-canary
Aug 10, 2026
Merged

feat: add broadcasts.cancel() method (#1064)#1065
dielduarte merged 1 commit into
canaryfrom
cherry-pick-cancel-broadcast-to-canary

Conversation

@dielduarte

@dielduarte dielduarte commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • npx vitest run src/broadcasts — 21 passed
  • npx tsc --noEmit — clean

Summary by cubic

Adds broadcasts.cancel(id) to the resend SDK to cancel queued or scheduled broadcasts. Includes response types and tests; bumps version to 6.19.0.

  • New Features
    • Added broadcasts.cancel(id) (POST /broadcasts/{id}/cancel).
    • Exported CancelBroadcastResponse types; tests cover success and 403 when not cancelable.

Written for commit 683dce5. Summary will update on new commits.

Review in cubic

@dielduarte
dielduarte requested a review from a team as a code owner August 10, 2026 21:16
@dielduarte
dielduarte requested a review from Cisneiros August 10, 2026 21:16
@pkg-pr-new

pkg-pr-new Bot commented Aug 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/resend@1065

commit: 683dce5

@dielduarte
dielduarte merged commit 47dcc08 into canary Aug 10, 2026
16 checks passed
@dielduarte
dielduarte deleted the cherry-pick-cancel-broadcast-to-canary branch August 10, 2026 21:18
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.

2 participants