@types/nodemailer 6.4.19 → 6.4.20

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.
@@ -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/v6.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Wed, 20 Aug 2025 15:37:01 GMT
11
+ * Last updated: Mon, 29 Sep 2025 19:02:13 GMT
12
12
  * Dependencies: [@aws-sdk/client-ses](https://npmjs.com/package/@aws-sdk/client-ses), [@types/node](https://npmjs.com/package/@types/node)
13
13
 
14
14
  # Credits
@@ -196,7 +196,9 @@ declare class Mail<T = any, DefaultTransportOptions = TransportOptions> extends
196
196
  mailOptions: Mail.Options & Partial<DefaultTransportOptions>,
197
197
  callback: (err: Error | null, info: T) => void,
198
198
  ): void;
199
+ sendMail(mailOptions: Mail.Options, callback: (err: Error | null, info: T) => void): void;
199
200
  sendMail(mailOptions: Mail.Options & Partial<DefaultTransportOptions>): Promise<T>;
201
+ sendMail(mailOptions: Mail.Options): Promise<T>;
200
202
 
201
203
  getVersionString(): string;
202
204
 
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
 
3
- import aws from "@aws-sdk/client-ses";
3
+ import * as aws from "@aws-sdk/client-ses";
4
4
  import { EventEmitter } from "node:events";
5
5
 
6
6
  import { Transport, TransportOptions } from "../..";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/nodemailer",
3
- "version": "6.4.19",
3
+ "version": "6.4.20",
4
4
  "description": "TypeScript definitions for nodemailer",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer",
6
6
  "license": "MIT",
@@ -34,6 +34,6 @@
34
34
  "@types/node": "*"
35
35
  },
36
36
  "peerDependencies": {},
37
- "typesPublisherContentHash": "23fb8a30b9f1e925478a1a4b26755e7a1b5a048bb692092a972c3fd1de7915c9",
37
+ "typesPublisherContentHash": "85468ddda6c30bb29564099dcd4c1a3610e206150c252ec4d9e9248e05293e83",
38
38
  "typeScriptVersion": "5.2"
39
39
  }