@types/nodemailer 3.1.11 → 3.1.12

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 v3.1/LICENSE CHANGED
File without changes
@@ -8,7 +8,7 @@ This package contains type definitions for Nodemailer (https://github.com/andris
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer/v3.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 30 Jan 2023 16:02:42 GMT
11
+ * Last updated: Sat, 23 Sep 2023 20:38:33 GMT
12
12
  * Dependencies: [@types/node](https://npmjs.com/package/@types/node), [@types/nodemailer-direct-transport](https://npmjs.com/package/@types/nodemailer-direct-transport), [@types/nodemailer-ses-transport](https://npmjs.com/package/@types/nodemailer-ses-transport), [@types/nodemailer-smtp-transport](https://npmjs.com/package/@types/nodemailer-smtp-transport)
13
13
  * Global values: none
14
14
 
@@ -7,7 +7,7 @@
7
7
 
8
8
  import directTransport = require("nodemailer-direct-transport");
9
9
  import smtpTransport = require("nodemailer-smtp-transport");
10
- import sesTransport = require("nodemailer-ses-transport")
10
+ import sesTransport = require("nodemailer-ses-transport");
11
11
 
12
12
  /**
13
13
  * Transporter plugin
@@ -91,7 +91,7 @@ export interface AttachmentObject {
91
91
  /**
92
92
  * String, Buffer or a Stream contents for the attachment
93
93
  */
94
- content: string|Buffer|NodeJS.ReadableStream;
94
+ content: string | Buffer | NodeJS.ReadableStream;
95
95
  /**
96
96
  * If set and content is string, then encodes the content to a Buffer using the specified encoding. Example values: base64, hex, 'binary' etc. Useful if you want to use binary attachments in a JSON formatted e-mail object.
97
97
  */
@@ -146,11 +146,11 @@ export interface SendMailOptions {
146
146
  /**
147
147
  * The plaintext version of the message as an Unicode string, Buffer, Stream or an object {path: '...'}
148
148
  */
149
- text?: string|Buffer|NodeJS.ReadableStream|AttachmentObject | undefined;
149
+ text?: string | Buffer | NodeJS.ReadableStream | AttachmentObject | undefined;
150
150
  /**
151
151
  * The HTML version of the message as an Unicode string, Buffer, Stream or an object {path: '...'}
152
152
  */
153
- html?: string|Buffer|NodeJS.ReadableStream|AttachmentObject | undefined;
153
+ html?: string | Buffer | NodeJS.ReadableStream | AttachmentObject | undefined;
154
154
  /**
155
155
  * An object or array of additional header fields (e.g. {"X-Key-Name": "key value"} or [{key: "X-Key-Name", value: "val1"}, {key: "X-Key-Name", value: "val2"}])
156
156
  */
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/nodemailer",
3
- "version": "3.1.11",
3
+ "version": "3.1.12",
4
4
  "description": "TypeScript definitions for Nodemailer",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer",
6
6
  "license": "MIT",
@@ -25,6 +25,6 @@
25
25
  "@types/nodemailer-ses-transport": "*",
26
26
  "@types/nodemailer-smtp-transport": "*"
27
27
  },
28
- "typesPublisherContentHash": "c72f094f189254ba144cf20bd1e71e2d28f457e39f68daee12c396dbc19039cd",
29
- "typeScriptVersion": "4.2"
28
+ "typesPublisherContentHash": "89b2c1766890af98ea54cc70e944077db9d92d532d91630acdc436fac2271a60",
29
+ "typeScriptVersion": "4.5"
30
30
  }