@types/nodemailer 6.4.5 → 6.4.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.
nodemailer/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Nodemailer (https://github.com/nodema
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 05 Aug 2022 02:02:10 GMT
11
+ * Last updated: Sat, 17 Dec 2022 03:33:05 GMT
12
12
  * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
13
13
  * Global values: none
14
14
 
@@ -104,8 +104,8 @@ declare namespace Mail {
104
104
  cc?: string | Address | Array<string | Address> | undefined;
105
105
  /** Comma separated list or an array of recipients e-mail addresses that will appear on the Bcc: field */
106
106
  bcc?: string | Address | Array<string | Address> | undefined;
107
- /** An e-mail address that will appear on the Reply-To: field */
108
- replyTo?: string | Address | undefined;
107
+ /** Comma separated list or an array of e-mail addresses that will appear on the Reply-To: field */
108
+ replyTo?: string | Address | Array<string | Address> | undefined;
109
109
  /** The message-id this message is replying */
110
110
  inReplyTo?: string | Address | undefined;
111
111
  /** Message-id list (an array or space separated string) */
@@ -151,6 +151,8 @@ declare namespace Mail {
151
151
  /** method to normalize header keys for custom caseing */
152
152
  normalizeHeaderKey?(key: string): string;
153
153
  priority?: "high"|"normal"|"low" | undefined;
154
+ /** if set to true then converts data:images in the HTML content of message to embedded attachments */
155
+ attachDataUrls?: boolean | undefined;
154
156
  }
155
157
 
156
158
  type PluginFunction<T = any> = (mail: MailMessage<T>, callback: (err?: Error | null) => void) => void;
nodemailer/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/nodemailer",
3
- "version": "6.4.5",
3
+ "version": "6.4.7",
4
4
  "description": "TypeScript definitions for Nodemailer",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer",
6
6
  "license": "MIT",
@@ -32,6 +32,6 @@
32
32
  "dependencies": {
33
33
  "@types/node": "*"
34
34
  },
35
- "typesPublisherContentHash": "bc82ddff0202008408f4563e28ee614c01a323d55d6ea96181d36a5a74a5a6d6",
36
- "typeScriptVersion": "4.0"
35
+ "typesPublisherContentHash": "cd73c4be307c49eb2d905f96230801f0250528c272be45414126ceb547d31d51",
36
+ "typeScriptVersion": "4.2"
37
37
  }