@travetto/email 3.1.6 → 3.1.7

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/package.json +1 -1
  2. package/src/service.ts +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/email",
3
- "version": "3.1.6",
3
+ "version": "3.1.7",
4
4
  "description": "Email transmission module.",
5
5
  "keywords": [
6
6
  "email",
package/src/service.ts CHANGED
@@ -79,9 +79,9 @@ export class MailService {
79
79
 
80
80
  /**
81
81
  * Build message from key/context
82
- * @param key
83
- * @param ctx
84
- * @returns
82
+ * @param key
83
+ * @param ctx
84
+ * @returns
85
85
  */
86
86
  async buildMessage(key: string | MessageOptions, ctx?: Record<string, unknown>): Promise<MessageOptions> {
87
87
  const tpl = (typeof key === 'string' ? await this.getCompiled(key) : key);
@@ -96,7 +96,7 @@ export class MailService {
96
96
  html: rawHtml ?? '',
97
97
  text,
98
98
  subject
99
- }
99
+ };
100
100
 
101
101
  if (msg.html) {
102
102
  const { html, attachments } = await MailUtil.extractImageAttachments(msg.html);