@react-email/render by @vcapretz in https://github.com/resend/resend-node/pull/4384.0.1 by @vcapretz in https://github.com/resend/resend-node/pull/447Full Changelog: https://github.com/resend/resend-node/compare/v4.0.0...v4.0.1
reply_to -> replyToattachments[].content_type -> attachments[].contentTypecontent_type property to the Attachment type https://github.com/resend/resend-node/pull/391fetch so instead of throwing we return the error object https://github.com/resend/resend-node/pull/389@react-email/render to v0.0.12 #304first_name -> firstNamelast_name -> lastNameaudienceId -> audienceIdts-node to v10.9.7 #293typescript-eslint monorepo to v6.19.0 #295@react-email/render to v0.0.11 #297prettier to v3.2.4 #300const data = resend.emails.send({ ... })
return data.id
const { data, error } = resend.emails.send({ ... })
if (error || !data) {
throw new Error(error.message)
}
return data.id
render https://github.com/resendlabs/resend-node/pull/252node-fetch in favor of native fetch for Nodeaxios with node-fetch #149JSdoc for create email types #132GetEmailResponse type #146tslint file #170prettier to v3.0.1 #148jest to v29.6.2 #145@types/node to v18.17.5 #120@types/react to v18.2.20 #113prettier to v3.0.2 #160node-fetch to v2.6.12 #161node.js to v18.17.1 #114resend.emails.send() method missing React https://github.com/resendlabs/resend-node/pull/98Patches