@types/nodemailer 6.4.6 → 6.4.8
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:
|
|
11
|
+
* Last updated: Thu, 18 May 2023 15:32:53 GMT
|
|
12
12
|
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
|
|
13
13
|
* Global values: none
|
|
14
14
|
|
nodemailer/lib/mailer/index.d.ts
CHANGED
|
@@ -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;
|
|
@@ -168,6 +168,8 @@ declare namespace SMTPConnection {
|
|
|
168
168
|
/** connected socket to use instead of creating and connecting a new one. If secure option is true, then socket is upgraded from plaintext to ciphertext */
|
|
169
169
|
connection?: net.Socket | undefined;
|
|
170
170
|
customAuth?: CustomAuthenticationHandlers | undefined;
|
|
171
|
+
/** if true, uses LMTP instead of SMTP protocol */
|
|
172
|
+
lmtp?: boolean | undefined;
|
|
171
173
|
}
|
|
172
174
|
}
|
|
173
175
|
|
nodemailer/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/nodemailer",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.8",
|
|
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": "
|
|
36
|
-
"typeScriptVersion": "4.
|
|
35
|
+
"typesPublisherContentHash": "5d66fa1ce77d7269a50047b802e0f74407483500f2110ed28b27ce1c3dc5adb4",
|
|
36
|
+
"typeScriptVersion": "4.3"
|
|
37
37
|
}
|