chore: deps upgrades (#2712)

This commit is contained in:
Lucas Smith
2026-04-21 14:43:49 +10:00
committed by GitHub
parent 198dafc8ec
commit 34b31c0d80
16 changed files with 784 additions and 5164 deletions
+2 -2
View File
@@ -37,12 +37,12 @@
"@react-email/section": "0.0.16",
"@react-email/tailwind": "^2.0.1",
"@react-email/text": "0.1.5",
"nodemailer": "^7.0.10",
"nodemailer": "^8.0.5",
"react-email": "^5.0.6",
"resend": "^6.5.2"
},
"devDependencies": {
"@documenso/tsconfig": "*",
"@types/nodemailer": "^7.0.4"
"@types/nodemailer": "^8.0.0"
}
}
+5 -7
View File
@@ -54,13 +54,11 @@ export class MailChannelsTransport implements Transport<SentMessageInfo> {
const mailCc = this.toMailChannelsAddresses(mail.data.cc);
const mailBcc = this.toMailChannelsAddresses(mail.data.bcc);
const from: MailChannelsAddress =
typeof mail.data.from === 'string'
? { email: mail.data.from }
: {
email: mail.data.from?.address,
name: mail.data.from?.name,
};
const [from] = this.toMailChannelsAddresses(mail.data.from);
if (!from) {
return callback(new Error('Missing required field "from"'), null);
}
const requestHeaders: Record<string, string> = {
'Content-Type': 'application/json',