@wild-framework/mail 0.1.0 → 0.2.0
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 +9 -2
- package/dist/mail.d.ts +1 -1
- package/dist/mail.d.ts.map +1 -1
- package/dist/mail.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @wild-framework/mail
|
|
2
2
|
|
|
3
|
-
Mail abstraction for [Wild Framework](https://github.com/
|
|
3
|
+
Mail abstraction for [Wild Framework](https://github.com/KhandaSoftware/wild-framework).
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -20,7 +20,14 @@ await mail.send({
|
|
|
20
20
|
});
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Ships with an in-memory driver for development/testing.
|
|
23
|
+
Ships with an in-memory driver for development/testing.
|
|
24
|
+
|
|
25
|
+
Real backends:
|
|
26
|
+
|
|
27
|
+
- `@wild-framework/mail-smtp` — SMTP (nodemailer; covers Postmark, Resend, SendGrid, SES, Mailgun, Mailpit)
|
|
28
|
+
- `@wild-framework/mail-auto` — env-driven (`MAIL_DRIVER=smtp`)
|
|
29
|
+
|
|
30
|
+
Implement `MailDriver` for any other provider.
|
|
24
31
|
|
|
25
32
|
## License
|
|
26
33
|
|
package/dist/mail.d.ts
CHANGED
package/dist/mail.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mail.d.ts","sourceRoot":"","sources":["../src/mail.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C;;;;;GAKG;AACH,qBAAa,IAAI;
|
|
1
|
+
{"version":3,"file":"mail.d.ts","sourceRoot":"","sources":["../src/mail.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C;;;;;GAKG;AACH,qBAAa,IAAI;aACe,MAAM,EAAE,UAAU;gBAAlB,MAAM,EAAE,UAAU;IAE9C;;OAEG;IACH,IAAI,CAAC,OAAO,EAAE,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;CAGlE"}
|
package/dist/mail.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mail.js","sourceRoot":"","sources":["../src/mail.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,MAAM,OAAO,IAAI;
|
|
1
|
+
{"version":3,"file":"mail.js","sourceRoot":"","sources":["../src/mail.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,MAAM,OAAO,IAAI;IACe;IAA5B,YAA4B,MAAkB;QAAlB,WAAM,GAAN,MAAM,CAAY;IAAG,CAAC;IAElD;;OAEG;IACH,IAAI,CAAC,OAA0C;QAC3C,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC;CACJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wild-framework/mail",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"resend"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@wild-framework/core": "0.
|
|
35
|
-
"@wild-framework/container": "0.
|
|
34
|
+
"@wild-framework/core": "0.2.0",
|
|
35
|
+
"@wild-framework/container": "0.2.0"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "tsc",
|