@veloxts/queue 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 -28
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,34 +1,8 @@
1
1
  # @veloxts/queue
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
- Background job processing with type-safe job definitions and multiple drivers.
6
-
7
- ## Installation
8
-
9
- ```bash
10
- npm install @veloxts/queue
11
- ```
12
-
13
- ## Quick Start
14
-
15
- ```typescript
16
- import { queuePlugin, defineJob } from '@veloxts/queue';
17
-
18
- app.use(queuePlugin({ driver: 'sync' }));
19
-
20
- const sendEmail = defineJob({
21
- name: 'email.send',
22
- handler: async ({ data }) => {
23
- await mailer.send(data.to, data.subject, data.body);
24
- },
25
- });
26
-
27
- // Dispatch a job
28
- await ctx.queue.dispatch(sendEmail, { to: 'user@example.com', subject: 'Hello' });
29
- ```
30
-
31
- See [GUIDE.md](./GUIDE.md) for detailed documentation.
5
+ Background job processing for VeloxTS Framework - provides sync and BullMQ drivers with type-safe job definitions and reliable execution. Learn more at [@veloxts/velox](https://www.npmjs.com/package/@veloxts/velox).
32
6
 
33
7
  ## License
34
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veloxts/queue",
3
- "version": "0.6.57",
3
+ "version": "0.6.58",
4
4
  "description": "Background job processing for VeloxTS framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -23,7 +23,7 @@
23
23
  "ioredis": "5.6.1",
24
24
  "superjson": "2.2.2",
25
25
  "zod": "3.24.4",
26
- "@veloxts/core": "0.6.57"
26
+ "@veloxts/core": "0.6.58"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@biomejs/biome": "2.0.0",
@@ -32,7 +32,7 @@
32
32
  "fastify": "5.6.2",
33
33
  "typescript": "5.8.3",
34
34
  "vitest": "4.0.16",
35
- "@veloxts/testing": "0.6.57"
35
+ "@veloxts/testing": "0.6.58"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "fastify": "^5.0.0"