@molecule/api-emails-sendmail 1.0.1 → 1.0.3

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.
package/README.md CHANGED
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
3
  Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
4
  Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
5
  To change this document, edit the module-level JSDoc in src/index.ts.
6
- Generated: 2026-08-04T01:48:04.838Z
6
+ Generated: 2026-09-18T12:28:46.314Z
7
7
  -->
8
8
 
9
9
  # @molecule/api-emails-sendmail
@@ -156,7 +156,7 @@ function sendMail(message: EmailMessage): Promise<EmailSendResult>
156
156
  Legacy export - the raw nodemailer transport.
157
157
 
158
158
  ```typescript
159
- const email: nodemailer.Transporter<SentMessageInfo, Options>
159
+ const email: Mail<SendmailSentMessageInfo>
160
160
  ```
161
161
 
162
162
  #### `nodemailerTransport`
@@ -171,7 +171,7 @@ with a `spawn ... ENOENT` error at send time — install sendmail or point
171
171
  `SENDMAIL_PATH` at a compatible binary.
172
172
 
173
173
  ```typescript
174
- const nodemailerTransport: nodemailer.Transporter<SentMessageInfo, Options>
174
+ const nodemailerTransport: Mail<SendmailSentMessageInfo>
175
175
  ```
176
176
 
177
177
  #### `provider`
@@ -187,7 +187,7 @@ const provider: EmailTransport
187
187
  Legacy export - the raw nodemailer transport.
188
188
 
189
189
  ```typescript
190
- const transport: nodemailer.Transporter<SentMessageInfo, Options>
190
+ const transport: Mail<SendmailSentMessageInfo>
191
191
  ```
192
192
 
193
193
  ## Core Interface
@@ -3,7 +3,6 @@
3
3
  *
4
4
  * @module
5
5
  */
6
- import nodemailer from 'nodemailer';
7
6
  /**
8
7
  * The underlying nodemailer transport.
9
8
  *
@@ -16,15 +15,15 @@ import nodemailer from 'nodemailer';
16
15
  *
17
16
  * @see https://www.npmjs.com/package/nodemailer
18
17
  */
19
- export declare const nodemailerTransport: nodemailer.Transporter<import("nodemailer/lib/sendmail-transport/index.js").SentMessageInfo, import("nodemailer/lib/sendmail-transport/index.js").Options>;
18
+ export declare const nodemailerTransport: import("nodemailer").Mail<import("nodemailer").SendmailSentMessageInfo>;
20
19
  /**
21
20
  * Legacy export - the raw nodemailer transport.
22
21
  * @deprecated Use sendMail() or provider instead.
23
22
  */
24
- export declare const transport: nodemailer.Transporter<import("nodemailer/lib/sendmail-transport/index.js").SentMessageInfo, import("nodemailer/lib/sendmail-transport/index.js").Options>;
23
+ export declare const transport: import("nodemailer").Mail<import("nodemailer").SendmailSentMessageInfo>;
25
24
  /**
26
25
  * Legacy export - the raw nodemailer transport.
27
26
  * @deprecated Use sendMail() or provider instead.
28
27
  */
29
- export declare const email: nodemailer.Transporter<import("nodemailer/lib/sendmail-transport/index.js").SentMessageInfo, import("nodemailer/lib/sendmail-transport/index.js").Options>;
28
+ export declare const email: import("nodemailer").Mail<import("nodemailer").SendmailSentMessageInfo>;
30
29
  //# sourceMappingURL=transport.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../src/transport.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,UAAU,MAAM,YAAY,CAAA;AAEnC;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,mBAAmB,4JAI9B,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,4JAAsB,CAAA;AAE5C;;;GAGG;AACH,eAAO,MAAM,KAAK,4JAAsB,CAAA"}
1
+ {"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../src/transport.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,mBAAmB,yEAI9B,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,yEAAsB,CAAA;AAE5C;;;GAGG;AACH,eAAO,MAAM,KAAK,yEAAsB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/api-emails-sendmail",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Sendmail email provider for molecule.dev.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -28,14 +28,14 @@
28
28
  ],
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "nodemailer": "9.0.3"
31
+ "nodemailer": "9.1.1"
32
32
  },
33
33
  "devDependencies": {
34
- "@molecule/api-bond": "1.0.1",
34
+ "@molecule/api-bond": "1.0.2",
35
35
  "@types/node": "26.1.2",
36
36
  "@types/nodemailer": "8.0.1",
37
37
  "typescript": "6.0.3",
38
- "vitest": "4.1.10"
38
+ "vitest": "4.1.11"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@molecule/api-bond": "^1.0.1",
@@ -46,7 +46,7 @@
46
46
  "url": "https://github.com/molecule-dev/molecule.git",
47
47
  "directory": "packages/api/bonds/emails/sendmail"
48
48
  },
49
- "homepage": "https://github.com/molecule-dev/molecule/tree/main/packages/api/bonds/emails/sendmail",
49
+ "homepage": "https://www.molecule.dev/packages/api-emails-sendmail",
50
50
  "bugs": "https://github.com/molecule-dev/molecule/issues",
51
51
  "publishConfig": {
52
52
  "access": "public"