Skip to content

Conversation

@JacobLuckForLoop
Copy link
Contributor

@JacobLuckForLoop JacobLuckForLoop commented Dec 6, 2025

Adds missing error code names as described in issue: #765

Reorders code names to match documentation.


Summary by cubic

Added missing RESEND error codes, removed an outdated one, and reordered the union to match the API docs. Aligns client types with server responses to prevent undefined code handling.

  • Bug Fixes
    • Added: restricted_api_key, invalid_attachment, monthly_quota_exceeded, daily_quota_exceeded, security_error
    • Reordered existing codes to mirror API documentation

Written for commit 8d91059. Summary will update automatically on new commits.

@JacobLuckForLoop JacobLuckForLoop requested a review from a team as a code owner December 6, 2025 12:14
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 1 file

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 8, 2025

Open in StackBlitz

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

commit: 8d91059

Copy link
Member

@gabrielmfern gabrielmfern left a comment

Choose a reason for hiding this comment

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

Thank you!

@gabrielmfern gabrielmfern linked an issue Dec 8, 2025 that may be closed by this pull request
@gabrielmfern gabrielmfern removed the request for review from brunorubin December 8, 2025 13:06
@gabrielmfern gabrielmfern merged commit 81eedde into resend:canary Dec 8, 2025
9 of 10 checks passed
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.

Missing error code names

2 participants