idea-aws 4.0.9 → 4.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/src/ses.js +1 -1
  2. package/package.json +1 -1
package/dist/src/ses.js CHANGED
@@ -169,7 +169,7 @@ class SES {
169
169
  // note: Nodemailer doesn't support SESv2 as of August 2023
170
170
  const ses = new client_ses_1.SESClient({ region: sesParams.region });
171
171
  this.logger.debug('SES send email (Nodemailer)');
172
- return await (0, nodemailer_1.createTransport)({ SES: ses }).sendMail(mailOptions);
172
+ return await (0, nodemailer_1.createTransport)({ SES: { ses, aws: { SendRawEmailCommand: client_ses_1.SendRawEmailCommand } } }).sendMail(mailOptions);
173
173
  }
174
174
  prepareEmailDestination(emailData) {
175
175
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "idea-aws",
3
- "version": "4.0.9",
3
+ "version": "4.0.10",
4
4
  "description": "AWS wrappers to use in IDEA's back-ends",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",