@pattern-js/mod-email-smtp 0.4.0 → 0.5.0-main.79cf721
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/index.md +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ The SMTP driver for
|
|
|
4
4
|
[`@pattern-js/mod-email`](https://www.npmjs.com/package/@pattern-js/mod-email)
|
|
5
5
|
on [Pattern](../../README.md), built on nodemailer — any relay, your own
|
|
6
6
|
server, or a local catcher (Mailpit) in dev. Host/port/user are account
|
|
7
|
-
options in admin →
|
|
7
|
+
options in admin → Resources → Email; the password comes from the vault or an
|
|
8
8
|
env var.
|
|
9
9
|
|
|
10
10
|
**Links:** [pattern-js.dev](https://pattern-js.dev) · [npm](https://www.npmjs.com/package/@pattern-js/mod-email-smtp)
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* All the sending logic lives in driver.ts; this mod just registers it on
|
|
5
5
|
* mod-email's service in `ready` (after every setup ran — two-phase install,
|
|
6
6
|
* so listing order in pattern.config.json doesn't matter). Host/port/user are
|
|
7
|
-
* account options in admin →
|
|
7
|
+
* account options in admin → Resources → Email; the password comes from the
|
|
8
8
|
* vault or an env var.
|
|
9
9
|
*/
|
|
10
10
|
import { type PatternMod } from "@pattern-js/core";
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* All the sending logic lives in driver.ts; this mod just registers it on
|
|
5
5
|
* mod-email's service in `ready` (after every setup ran — two-phase install,
|
|
6
6
|
* so listing order in pattern.config.json doesn't matter). Host/port/user are
|
|
7
|
-
* account options in admin →
|
|
7
|
+
* account options in admin → Resources → Email; the password comes from the
|
|
8
8
|
* vault or an env var.
|
|
9
9
|
*/
|
|
10
10
|
import { existsSync } from "node:fs";
|
package/docs/index.md
CHANGED
|
@@ -11,7 +11,7 @@ like [Mailpit](https://mailpit.axllent.org) in dev.
|
|
|
11
11
|
|
|
12
12
|
## Fields
|
|
13
13
|
|
|
14
|
-
Configured per account in admin → **
|
|
14
|
+
Configured per account in admin → **Resources → Email**:
|
|
15
15
|
|
|
16
16
|
- **Option `host`** (required) — the SMTP server.
|
|
17
17
|
- **Option `port`** — default `587`.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pattern-js/mod-email-smtp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "SMTP driver for @pattern-js/mod-email, built on nodemailer — any relay, your own server, or a local catcher. Host/port/user are account options in admin →
|
|
3
|
+
"version": "0.5.0-main.79cf721",
|
|
4
|
+
"description": "SMTP driver for @pattern-js/mod-email, built on nodemailer — any relay, your own server, or a local catcher. Host/port/user are account options in admin → Resources → Email; the password comes from the vault or an env var.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pattern",
|
|
7
7
|
"mod",
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
"README.md"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"nodemailer": "^
|
|
30
|
-
"zod": "^4.
|
|
31
|
-
"@pattern-js/core": "0.
|
|
32
|
-
"@pattern-js/
|
|
33
|
-
"@pattern-js/
|
|
29
|
+
"nodemailer": "^10.3.1",
|
|
30
|
+
"zod": "^4.6.7",
|
|
31
|
+
"@pattern-js/core": "0.5.0-main.79cf721",
|
|
32
|
+
"@pattern-js/runtime-node": "0.5.0-main.79cf721",
|
|
33
|
+
"@pattern-js/mod-email": "0.5.0-main.79cf721"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^22.0.0",
|
|
37
|
-
"@types/nodemailer": "^8.0.
|
|
37
|
+
"@types/nodemailer": "^8.0.2",
|
|
38
38
|
"typescript": "^5.6.0"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|