idea-aws 3.16.0 → 3.16.1

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.
package/dist/src/ses.d.ts CHANGED
@@ -130,7 +130,7 @@ export interface TemplatedEmailData extends BasicEmailData {
130
130
  /**
131
131
  * The name of the configuration set to use for the sending.
132
132
  */
133
- configurationSet: string;
133
+ configurationSet?: string;
134
134
  }
135
135
  /**
136
136
  * SES configuration.
package/dist/src/ses.js CHANGED
@@ -53,7 +53,7 @@ class SES {
53
53
  const request = {
54
54
  Destination: this.prepareEmailDestination(emailData),
55
55
  Template: emailData.template,
56
- TemplateData: JSON.stringify(emailData.templateData || {}),
56
+ TemplateData: JSON.stringify(emailData.templateData ?? {}),
57
57
  ConfigurationSetName: emailData.configurationSet,
58
58
  ReplyToAddresses: emailData.replyToAddresses,
59
59
  Source: sesParams.sourceName ? `${sesParams.sourceName} <${sesParams.source}>` : sesParams.source,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "idea-aws",
3
- "version": "3.16.0",
3
+ "version": "3.16.1",
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",