@types/nodemailer 7.0.1 → 7.0.2

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: 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-sesv2](https://npmjs.com/package/@aws-sdk/client-sesv2), [@types/node](https://npmjs.com/package/@types/node)
13
13
 
14
14
  # Credits
@@ -194,7 +194,9 @@ declare class Mail<T = any, DefaultTransportOptions = TransportOptions> extends
194
194
  mailOptions: Mail.Options & Partial<DefaultTransportOptions>,
195
195
  callback: (err: Error | null, info: T) => void,
196
196
  ): void;
197
+ sendMail(mailOptions: Mail.Options, callback: (err: Error | null, info: T) => void): void;
197
198
  sendMail(mailOptions: Mail.Options & Partial<DefaultTransportOptions>): Promise<T>;
199
+ sendMail(mailOptions: Mail.Options): Promise<T>;
198
200
 
199
201
  getVersionString(): string;
200
202
 
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
 
3
- import aws from "@aws-sdk/client-sesv2";
3
+ import * as aws from "@aws-sdk/client-sesv2";
4
4
  import { EventEmitter } from "node:events";
5
5
 
6
6
  import { Transport, TransportOptions } from "../..";
nodemailer/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/nodemailer",
3
- "version": "7.0.1",
3
+ "version": "7.0.2",
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": "e07627e046f83f3bfb74106a025ce22a556035c41f4f3856fcca214604b5c05a",
37
+ "typesPublisherContentHash": "f16b96ef828252b3ffc0396dad6d731eff543651ed32b17e4383a056a8429601",
38
38
  "typeScriptVersion": "5.2"
39
39
  }