@veloxts/mail 0.6.57 → 0.6.58

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.
Files changed (2) hide show
  1. package/README.md +2 -25
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,31 +1,8 @@
1
1
  # @veloxts/mail
2
2
 
3
- > **Early Preview** - APIs may change before v1.0.
3
+ > **Early Preview (v0.6.x)** - APIs are stabilizing but may still change. Use with caution in production.
4
4
 
5
- Email sending with React Email templates and multiple transport drivers.
6
-
7
- ## Installation
8
-
9
- ```bash
10
- npm install @veloxts/mail
11
- ```
12
-
13
- ## Quick Start
14
-
15
- ```typescript
16
- import { mailPlugin, defineMail } from '@veloxts/mail';
17
-
18
- app.use(mailPlugin({ driver: 'log' }));
19
-
20
- const WelcomeEmail = defineMail({
21
- subject: ({ name }) => `Welcome, ${name}!`,
22
- template: ({ name }) => <Text>Hello {name}, welcome to our app!</Text>,
23
- });
24
-
25
- await ctx.mail.send(WelcomeEmail, { to: 'user@example.com', data: { name: 'John' } });
26
- ```
27
-
28
- See [GUIDE.md](./GUIDE.md) for detailed documentation.
5
+ Email sending for VeloxTS Framework - provides SMTP and Resend drivers with React Email template support. Learn more at [@veloxts/velox](https://www.npmjs.com/package/@veloxts/velox).
29
6
 
30
7
  ## License
31
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veloxts/mail",
3
- "version": "0.6.57",
3
+ "version": "0.6.58",
4
4
  "description": "Email templating and sending for VeloxTS framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,7 +24,7 @@
24
24
  "nodemailer": "6.10.1",
25
25
  "resend": "4.1.2",
26
26
  "zod": "3.24.4",
27
- "@veloxts/core": "0.6.57"
27
+ "@veloxts/core": "0.6.58"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@biomejs/biome": "2.0.0",
@@ -36,7 +36,7 @@
36
36
  "react": "19.2.3",
37
37
  "typescript": "5.8.3",
38
38
  "vitest": "4.0.16",
39
- "@veloxts/testing": "0.6.57"
39
+ "@veloxts/testing": "0.6.58"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "fastify": "^5.0.0",