@nwire/mail 0.7.0 → 0.7.1
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 -16
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -45,17 +45,7 @@ expect(mailer.sent[0].subject).toBe("Welcome!");
|
|
|
45
45
|
|
|
46
46
|
## When to use
|
|
47
47
|
|
|
48
|
-
Any app sending transactional mail (welcome, password reset, receipts).
|
|
49
|
-
|
|
50
|
-
## Standalone use
|
|
51
|
-
|
|
52
|
-
For developers using `@nwire/mail` **without the rest of Nwire** — pair it with any TypeScript project, any container, any HTTP framework.
|
|
53
|
-
|
|
54
|
-
```ts
|
|
55
|
-
// See the package's main entry (src/) for the standalone surface.
|
|
56
|
-
// The exports below work without @nwire/app or @nwire/forge.
|
|
57
|
-
import {} from /* ...standalone exports... */ "@nwire/mail";
|
|
58
|
-
```
|
|
48
|
+
Any app sending transactional mail (welcome, password reset, receipts).
|
|
59
49
|
|
|
60
50
|
## Within nwire-app
|
|
61
51
|
|
|
@@ -69,8 +59,3 @@ const app = createApp({
|
|
|
69
59
|
});
|
|
70
60
|
// Adapter/plugin wiring happens here when applicable.
|
|
71
61
|
```
|
|
72
|
-
|
|
73
|
-
## See also
|
|
74
|
-
|
|
75
|
-
- [Architecture sketch §05 — Adapters tier](../../architecture-sketch.html#packages)
|
|
76
|
-
- Sibling packages: [@nwire/mail-nodemailer](../nwire-mail-nodemailer)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nwire/mail",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Nwire — transactional-mail contract + InMemoryMailer default + mailPlugin. Adapters (SMTP/nodemailer, SES, SendGrid, …) live in separate packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"adapter",
|
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
"nwire",
|
|
10
10
|
"smtp"
|
|
11
11
|
],
|
|
12
|
+
"license": "MIT",
|
|
12
13
|
"files": [
|
|
13
14
|
"dist",
|
|
14
|
-
"README.md"
|
|
15
|
+
"README.md",
|
|
16
|
+
"LICENSE"
|
|
15
17
|
],
|
|
16
18
|
"type": "module",
|
|
17
19
|
"main": "./dist/mail.js",
|
|
@@ -26,7 +28,7 @@
|
|
|
26
28
|
"access": "public"
|
|
27
29
|
},
|
|
28
30
|
"dependencies": {
|
|
29
|
-
"@nwire/forge": "0.7.
|
|
31
|
+
"@nwire/forge": "0.7.1"
|
|
30
32
|
},
|
|
31
33
|
"devDependencies": {
|
|
32
34
|
"@types/node": "^22.19.9",
|