bunqueue 1.0.0 → 1.0.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 CHANGED
@@ -1,11 +1,11 @@
1
1
  <p align="center">
2
- <img src=".github/banner.svg" alt="bunQ - High-performance job queue for Bun" width="700" />
2
+ <img src=".github/banner.svg" alt="bunqueue - High-performance job queue for Bun" width="700" />
3
3
  </p>
4
4
 
5
5
  <p align="center">
6
- <a href="https://github.com/egeominotti/bunq/actions"><img src="https://github.com/egeominotti/bunq/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
7
- <a href="https://github.com/egeominotti/bunq/releases"><img src="https://img.shields.io/github/v/release/egeominotti/bunq" alt="Release"></a>
8
- <a href="https://github.com/egeominotti/bunq/blob/main/LICENSE"><img src="https://img.shields.io/github/license/egeominotti/bunq" alt="License"></a>
6
+ <a href="https://github.com/egeominotti/bunqueue/actions"><img src="https://github.com/egeominotti/bunqueue/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
7
+ <a href="https://github.com/egeominotti/bunqueue/releases"><img src="https://img.shields.io/github/v/release/egeominotti/bunqueue" alt="Release"></a>
8
+ <a href="https://github.com/egeominotti/bunqueue/blob/main/LICENSE"><img src="https://img.shields.io/github/license/egeominotti/bunqueue" alt="License"></a>
9
9
  </p>
10
10
 
11
11
  <p align="center">
@@ -18,12 +18,58 @@
18
18
  </p>
19
19
 
20
20
  <p align="center">
21
- <a href="https://www.npmjs.com/package/flashq"><img src="https://img.shields.io/npm/v/flashq" alt="npm"></a>
21
+ <a href="https://www.npmjs.com/package/bunqueue"><img src="https://img.shields.io/npm/v/bunqueue?label=bunqueue" alt="bunqueue npm"></a>
22
+ <a href="https://www.npmjs.com/package/flashq"><img src="https://img.shields.io/npm/v/flashq?label=flashq" alt="flashq npm"></a>
22
23
  <a href="https://www.npmjs.com/package/flashq"><img src="https://img.shields.io/npm/dm/flashq" alt="npm downloads"></a>
23
24
  </p>
24
25
 
25
26
  ---
26
27
 
28
+ ## Quick Install
29
+
30
+ bunqueue requires two packages: the **server** and the **SDK**.
31
+
32
+ ```bash
33
+ # Install both packages
34
+ bun add bunqueue flashq
35
+ ```
36
+
37
+ | Package | Description |
38
+ |---------|-------------|
39
+ | [bunqueue](https://www.npmjs.com/package/bunqueue) | Job queue server |
40
+ | [flashq](https://www.npmjs.com/package/flashq) | TypeScript SDK for clients |
41
+
42
+ ### Start Server
43
+
44
+ ```bash
45
+ # Option 1: Run directly
46
+ bunqueue
47
+
48
+ # Option 2: Run via npx
49
+ npx bunqueue
50
+
51
+ # Option 3: Docker
52
+ docker run -p 6789:6789 -p 6790:6790 ghcr.io/egeominotti/bunqueue
53
+ ```
54
+
55
+ ### Use SDK
56
+
57
+ ```typescript
58
+ import { Queue, Worker } from 'flashq';
59
+
60
+ // Producer: add jobs
61
+ const queue = new Queue('emails');
62
+ await queue.add('send-welcome', { to: 'user@example.com' });
63
+
64
+ // Consumer: process jobs
65
+ const worker = new Worker('emails', async (job) => {
66
+ console.log('Sending email to:', job.data.to);
67
+ return { sent: true };
68
+ });
69
+ ```
70
+
71
+ ---
72
+
27
73
  ## Features
28
74
 
29
75
  - **Blazing Fast** — Built on Bun runtime with native SQLite, optimized for maximum throughput
@@ -42,18 +88,16 @@
42
88
  - **Authentication** — Token-based auth for secure access
43
89
  - **Dual Protocol** — TCP (high performance) and HTTP/REST (compatibility)
44
90
 
45
- ## SDK
46
-
47
- Install the official TypeScript SDK to use bunQ in your Bun applications.
48
-
49
- > **Note:** The SDK requires Bun runtime and a running bunQ server.
91
+ ## SDK (flashq)
50
92
 
51
- ### Install
93
+ The [flashq](https://www.npmjs.com/package/flashq) SDK provides a type-safe TypeScript interface for bunqueue.
52
94
 
53
95
  ```bash
54
96
  bun add flashq
55
97
  ```
56
98
 
99
+ > **Prerequisites:** A running bunqueue server (see [Quick Install](#quick-install))
100
+
57
101
  ### Basic Usage
58
102
 
59
103
  ```typescript
@@ -187,7 +231,7 @@ For more examples, see the [SDK documentation](https://www.npmjs.com/package/fla
187
231
  bun run src/main.ts
188
232
 
189
233
  # Or with Docker
190
- docker run -p 6789:6789 -p 6790:6790 ghcr.io/egeominotti/bunq
234
+ docker run -p 6789:6789 -p 6790:6790 ghcr.io/egeominotti/bunqueue
191
235
  ```
192
236
 
193
237
  ### Push a Job (HTTP)
@@ -214,11 +258,46 @@ curl -X POST http://localhost:6790/jobs/1/ack \
214
258
 
215
259
  ## Installation
216
260
 
261
+ ### Server + SDK
262
+
263
+ bunqueue is composed of two packages:
264
+
265
+ | Package | Description | Install |
266
+ |---------|-------------|---------|
267
+ | **bunqueue** | Job queue server | `bun add bunqueue` |
268
+ | **flashq** | TypeScript SDK | `bun add flashq` |
269
+
270
+ ```bash
271
+ # Install both
272
+ bun add bunqueue flashq
273
+ ```
274
+
275
+ ### Quick Setup
276
+
277
+ ```bash
278
+ # 1. Start the server
279
+ bunqueue
280
+
281
+ # 2. Use the SDK in your app
282
+ ```
283
+
284
+ ```typescript
285
+ import { Queue, Worker } from 'flashq';
286
+
287
+ const queue = new Queue('tasks');
288
+ await queue.add('my-job', { data: 'hello' });
289
+
290
+ const worker = new Worker('tasks', async (job) => {
291
+ console.log(job.data);
292
+ return { done: true };
293
+ });
294
+ ```
295
+
217
296
  ### From Source
218
297
 
219
298
  ```bash
220
- git clone https://github.com/egeominotti/bunq.git
221
- cd bunq
299
+ git clone https://github.com/egeominotti/bunqueue.git
300
+ cd bunqueue
222
301
  bun install
223
302
  bun run start
224
303
  ```
@@ -227,18 +306,18 @@ bun run start
227
306
 
228
307
  ```bash
229
308
  bun run build
230
- ./dist/bunq
309
+ ./dist/bunqueue
231
310
  ```
232
311
 
233
312
  ### Docker
234
313
 
235
314
  ```bash
236
- docker pull ghcr.io/egeominotti/bunq
315
+ docker pull ghcr.io/egeominotti/bunqueue
237
316
  docker run -d \
238
317
  -p 6789:6789 \
239
318
  -p 6790:6790 \
240
- -v bunq-data:/app/data \
241
- ghcr.io/egeominotti/bunq
319
+ -v bunqueue-data:/app/data \
320
+ ghcr.io/egeominotti/bunqueue
242
321
  ```
243
322
 
244
323
  ### Docker Compose
@@ -246,18 +325,18 @@ docker run -d \
246
325
  ```yaml
247
326
  version: "3.8"
248
327
  services:
249
- bunq:
250
- image: ghcr.io/egeominotti/bunq
328
+ bunqueue:
329
+ image: ghcr.io/egeominotti/bunqueue
251
330
  ports:
252
331
  - "6789:6789"
253
332
  - "6790:6790"
254
333
  volumes:
255
- - bunq-data:/app/data
334
+ - bunqueue-data:/app/data
256
335
  environment:
257
336
  - AUTH_TOKENS=your-secret-token
258
337
 
259
338
  volumes:
260
- bunq-data:
339
+ bunqueue-data:
261
340
  ```
262
341
 
263
342
  ## Usage
@@ -514,10 +593,10 @@ curl http://localhost:6790/prometheus
514
593
  ```
515
594
 
516
595
  Metrics include:
517
- - `bunq_jobs_total{queue,state}` — Job counts by state
518
- - `bunq_jobs_processed_total{queue}` — Total processed jobs
519
- - `bunq_jobs_failed_total{queue}` — Total failed jobs
520
- - `bunq_queue_latency_seconds{queue}` — Processing latency
596
+ - `bunqueue_jobs_total{queue,state}` — Job counts by state
597
+ - `bunqueue_jobs_processed_total{queue}` — Total processed jobs
598
+ - `bunqueue_jobs_failed_total{queue}` — Total failed jobs
599
+ - `bunqueue_queue_latency_seconds{queue}` — Processing latency
521
600
 
522
601
  ### Statistics
523
602
 
@@ -548,25 +627,25 @@ curl http://localhost:6790/stats
548
627
  ### Build
549
628
 
550
629
  ```bash
551
- docker build -t bunq .
630
+ docker build -t bunqueue .
552
631
  ```
553
632
 
554
633
  ### Run
555
634
 
556
635
  ```bash
557
636
  # Basic
558
- docker run -p 6789:6789 -p 6790:6790 bunq
637
+ docker run -p 6789:6789 -p 6790:6790 bunqueue
559
638
 
560
639
  # With persistence
561
640
  docker run -p 6789:6789 -p 6790:6790 \
562
- -v bunq-data:/app/data \
563
- -e DATA_PATH=/app/data/bunq.db \
564
- bunq
641
+ -v bunqueue-data:/app/data \
642
+ -e DATA_PATH=/app/data/bunqueue.db \
643
+ bunqueue
565
644
 
566
645
  # With authentication
567
646
  docker run -p 6789:6789 -p 6790:6790 \
568
647
  -e AUTH_TOKENS=secret1,secret2 \
569
- bunq
648
+ bunqueue
570
649
  ```
571
650
 
572
651
  ### Docker Compose
@@ -576,14 +655,14 @@ docker run -p 6789:6789 -p 6790:6790 \
576
655
  docker compose up -d
577
656
 
578
657
  # Development (hot reload)
579
- docker compose --profile dev up bunq-dev
658
+ docker compose --profile dev up bunqueue-dev
580
659
  ```
581
660
 
582
661
  ## Architecture
583
662
 
584
663
  ```
585
664
  ┌─────────────────────────────────────────────────────────────┐
586
- bunQ Server │
665
+ bunqueue Server │
587
666
  ├─────────────────────────────────────────────────────────────┤
588
667
  │ HTTP/WS (Bun.serve) │ TCP Protocol (Bun.listen) │
589
668
  ├─────────────────────────────────────────────────────────────┤
@@ -7,73 +7,73 @@ export function generatePrometheusMetrics(stats, workerManager, webhookManager)
7
7
  const workerStats = workerManager.getStats();
8
8
  const webhookStats = webhookManager.getStats();
9
9
  const lines = [
10
- '# HELP bunq_jobs_waiting Number of jobs waiting in queue',
11
- '# TYPE bunq_jobs_waiting gauge',
12
- `bunq_jobs_waiting ${stats.waiting}`,
10
+ '# HELP bunqueue_jobs_waiting Number of jobs waiting in queue',
11
+ '# TYPE bunqueue_jobs_waiting gauge',
12
+ `bunqueue_jobs_waiting ${stats.waiting}`,
13
13
  '',
14
- '# HELP bunq_jobs_delayed Number of delayed jobs',
15
- '# TYPE bunq_jobs_delayed gauge',
16
- `bunq_jobs_delayed ${stats.delayed}`,
14
+ '# HELP bunqueue_jobs_delayed Number of delayed jobs',
15
+ '# TYPE bunqueue_jobs_delayed gauge',
16
+ `bunqueue_jobs_delayed ${stats.delayed}`,
17
17
  '',
18
- '# HELP bunq_jobs_active Number of jobs being processed',
19
- '# TYPE bunq_jobs_active gauge',
20
- `bunq_jobs_active ${stats.active}`,
18
+ '# HELP bunqueue_jobs_active Number of jobs being processed',
19
+ '# TYPE bunqueue_jobs_active gauge',
20
+ `bunqueue_jobs_active ${stats.active}`,
21
21
  '',
22
- '# HELP bunq_jobs_dlq Number of jobs in dead letter queue',
23
- '# TYPE bunq_jobs_dlq gauge',
24
- `bunq_jobs_dlq ${stats.dlq}`,
22
+ '# HELP bunqueue_jobs_dlq Number of jobs in dead letter queue',
23
+ '# TYPE bunqueue_jobs_dlq gauge',
24
+ `bunqueue_jobs_dlq ${stats.dlq}`,
25
25
  '',
26
- '# HELP bunq_jobs_completed Number of completed jobs',
27
- '# TYPE bunq_jobs_completed gauge',
28
- `bunq_jobs_completed ${stats.completed}`,
26
+ '# HELP bunqueue_jobs_completed Number of completed jobs',
27
+ '# TYPE bunqueue_jobs_completed gauge',
28
+ `bunqueue_jobs_completed ${stats.completed}`,
29
29
  '',
30
- '# HELP bunq_jobs_pushed_total Total jobs pushed',
31
- '# TYPE bunq_jobs_pushed_total counter',
32
- `bunq_jobs_pushed_total ${stats.totalPushed}`,
30
+ '# HELP bunqueue_jobs_pushed_total Total jobs pushed',
31
+ '# TYPE bunqueue_jobs_pushed_total counter',
32
+ `bunqueue_jobs_pushed_total ${stats.totalPushed}`,
33
33
  '',
34
- '# HELP bunq_jobs_pulled_total Total jobs pulled',
35
- '# TYPE bunq_jobs_pulled_total counter',
36
- `bunq_jobs_pulled_total ${stats.totalPulled}`,
34
+ '# HELP bunqueue_jobs_pulled_total Total jobs pulled',
35
+ '# TYPE bunqueue_jobs_pulled_total counter',
36
+ `bunqueue_jobs_pulled_total ${stats.totalPulled}`,
37
37
  '',
38
- '# HELP bunq_jobs_completed_total Total jobs completed',
39
- '# TYPE bunq_jobs_completed_total counter',
40
- `bunq_jobs_completed_total ${stats.totalCompleted}`,
38
+ '# HELP bunqueue_jobs_completed_total Total jobs completed',
39
+ '# TYPE bunqueue_jobs_completed_total counter',
40
+ `bunqueue_jobs_completed_total ${stats.totalCompleted}`,
41
41
  '',
42
- '# HELP bunq_jobs_failed_total Total jobs failed',
43
- '# TYPE bunq_jobs_failed_total counter',
44
- `bunq_jobs_failed_total ${stats.totalFailed}`,
42
+ '# HELP bunqueue_jobs_failed_total Total jobs failed',
43
+ '# TYPE bunqueue_jobs_failed_total counter',
44
+ `bunqueue_jobs_failed_total ${stats.totalFailed}`,
45
45
  '',
46
- '# HELP bunq_uptime_seconds Server uptime in seconds',
47
- '# TYPE bunq_uptime_seconds gauge',
48
- `bunq_uptime_seconds ${Math.floor(stats.uptime / 1000)}`,
46
+ '# HELP bunqueue_uptime_seconds Server uptime in seconds',
47
+ '# TYPE bunqueue_uptime_seconds gauge',
48
+ `bunqueue_uptime_seconds ${Math.floor(stats.uptime / 1000)}`,
49
49
  '',
50
- '# HELP bunq_cron_jobs_total Total number of cron jobs',
51
- '# TYPE bunq_cron_jobs_total gauge',
52
- `bunq_cron_jobs_total ${stats.cronJobs}`,
50
+ '# HELP bunqueue_cron_jobs_total Total number of cron jobs',
51
+ '# TYPE bunqueue_cron_jobs_total gauge',
52
+ `bunqueue_cron_jobs_total ${stats.cronJobs}`,
53
53
  '',
54
- '# HELP bunq_workers_total Total number of registered workers',
55
- '# TYPE bunq_workers_total gauge',
56
- `bunq_workers_total ${workerStats.total}`,
54
+ '# HELP bunqueue_workers_total Total number of registered workers',
55
+ '# TYPE bunqueue_workers_total gauge',
56
+ `bunqueue_workers_total ${workerStats.total}`,
57
57
  '',
58
- '# HELP bunq_workers_active Number of active workers',
59
- '# TYPE bunq_workers_active gauge',
60
- `bunq_workers_active ${workerStats.active}`,
58
+ '# HELP bunqueue_workers_active Number of active workers',
59
+ '# TYPE bunqueue_workers_active gauge',
60
+ `bunqueue_workers_active ${workerStats.active}`,
61
61
  '',
62
- '# HELP bunq_workers_processed_total Total jobs processed by workers',
63
- '# TYPE bunq_workers_processed_total counter',
64
- `bunq_workers_processed_total ${workerStats.totalProcessed}`,
62
+ '# HELP bunqueue_workers_processed_total Total jobs processed by workers',
63
+ '# TYPE bunqueue_workers_processed_total counter',
64
+ `bunqueue_workers_processed_total ${workerStats.totalProcessed}`,
65
65
  '',
66
- '# HELP bunq_workers_failed_total Total jobs failed by workers',
67
- '# TYPE bunq_workers_failed_total counter',
68
- `bunq_workers_failed_total ${workerStats.totalFailed}`,
66
+ '# HELP bunqueue_workers_failed_total Total jobs failed by workers',
67
+ '# TYPE bunqueue_workers_failed_total counter',
68
+ `bunqueue_workers_failed_total ${workerStats.totalFailed}`,
69
69
  '',
70
- '# HELP bunq_webhooks_total Total number of webhooks',
71
- '# TYPE bunq_webhooks_total gauge',
72
- `bunq_webhooks_total ${webhookStats.total}`,
70
+ '# HELP bunqueue_webhooks_total Total number of webhooks',
71
+ '# TYPE bunqueue_webhooks_total gauge',
72
+ `bunqueue_webhooks_total ${webhookStats.total}`,
73
73
  '',
74
- '# HELP bunq_webhooks_enabled Number of enabled webhooks',
75
- '# TYPE bunq_webhooks_enabled gauge',
76
- `bunq_webhooks_enabled ${webhookStats.enabled}`,
74
+ '# HELP bunqueue_webhooks_enabled Number of enabled webhooks',
75
+ '# TYPE bunqueue_webhooks_enabled gauge',
76
+ `bunqueue_webhooks_enabled ${webhookStats.enabled}`,
77
77
  ];
78
78
  return lines.join('\n');
79
79
  }
@@ -1 +1 @@
1
- {"version":3,"file":"metricsExporter.js","sourceRoot":"","sources":["../../src/application/metricsExporter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAqBH,kCAAkC;AAClC,MAAM,UAAU,yBAAyB,CACvC,KAAiB,EACjB,aAA4B,EAC5B,cAA8B;IAE9B,MAAM,WAAW,GAAG,aAAa,CAAC,QAAQ,EAAE,CAAC;IAC7C,MAAM,YAAY,GAAG,cAAc,CAAC,QAAQ,EAAE,CAAC;IAE/C,MAAM,KAAK,GAAa;QACtB,0DAA0D;QAC1D,gCAAgC;QAChC,qBAAqB,KAAK,CAAC,OAAO,EAAE;QACpC,EAAE;QACF,iDAAiD;QACjD,gCAAgC;QAChC,qBAAqB,KAAK,CAAC,OAAO,EAAE;QACpC,EAAE;QACF,wDAAwD;QACxD,+BAA+B;QAC/B,oBAAoB,KAAK,CAAC,MAAM,EAAE;QAClC,EAAE;QACF,0DAA0D;QAC1D,4BAA4B;QAC5B,iBAAiB,KAAK,CAAC,GAAG,EAAE;QAC5B,EAAE;QACF,qDAAqD;QACrD,kCAAkC;QAClC,uBAAuB,KAAK,CAAC,SAAS,EAAE;QACxC,EAAE;QACF,iDAAiD;QACjD,uCAAuC;QACvC,0BAA0B,KAAK,CAAC,WAAW,EAAE;QAC7C,EAAE;QACF,iDAAiD;QACjD,uCAAuC;QACvC,0BAA0B,KAAK,CAAC,WAAW,EAAE;QAC7C,EAAE;QACF,uDAAuD;QACvD,0CAA0C;QAC1C,6BAA6B,KAAK,CAAC,cAAc,EAAE;QACnD,EAAE;QACF,iDAAiD;QACjD,uCAAuC;QACvC,0BAA0B,KAAK,CAAC,WAAW,EAAE;QAC7C,EAAE;QACF,qDAAqD;QACrD,kCAAkC;QAClC,uBAAuB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE;QACxD,EAAE;QACF,uDAAuD;QACvD,mCAAmC;QACnC,wBAAwB,KAAK,CAAC,QAAQ,EAAE;QACxC,EAAE;QACF,8DAA8D;QAC9D,iCAAiC;QACjC,sBAAsB,WAAW,CAAC,KAAK,EAAE;QACzC,EAAE;QACF,qDAAqD;QACrD,kCAAkC;QAClC,uBAAuB,WAAW,CAAC,MAAM,EAAE;QAC3C,EAAE;QACF,qEAAqE;QACrE,6CAA6C;QAC7C,gCAAgC,WAAW,CAAC,cAAc,EAAE;QAC5D,EAAE;QACF,+DAA+D;QAC/D,0CAA0C;QAC1C,6BAA6B,WAAW,CAAC,WAAW,EAAE;QACtD,EAAE;QACF,qDAAqD;QACrD,kCAAkC;QAClC,uBAAuB,YAAY,CAAC,KAAK,EAAE;QAC3C,EAAE;QACF,yDAAyD;QACzD,oCAAoC;QACpC,yBAAyB,YAAY,CAAC,OAAO,EAAE;KAChD,CAAC;IAEF,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC"}
1
+ {"version":3,"file":"metricsExporter.js","sourceRoot":"","sources":["../../src/application/metricsExporter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAqBH,kCAAkC;AAClC,MAAM,UAAU,yBAAyB,CACvC,KAAiB,EACjB,aAA4B,EAC5B,cAA8B;IAE9B,MAAM,WAAW,GAAG,aAAa,CAAC,QAAQ,EAAE,CAAC;IAC7C,MAAM,YAAY,GAAG,cAAc,CAAC,QAAQ,EAAE,CAAC;IAE/C,MAAM,KAAK,GAAa;QACtB,8DAA8D;QAC9D,oCAAoC;QACpC,yBAAyB,KAAK,CAAC,OAAO,EAAE;QACxC,EAAE;QACF,qDAAqD;QACrD,oCAAoC;QACpC,yBAAyB,KAAK,CAAC,OAAO,EAAE;QACxC,EAAE;QACF,4DAA4D;QAC5D,mCAAmC;QACnC,wBAAwB,KAAK,CAAC,MAAM,EAAE;QACtC,EAAE;QACF,8DAA8D;QAC9D,gCAAgC;QAChC,qBAAqB,KAAK,CAAC,GAAG,EAAE;QAChC,EAAE;QACF,yDAAyD;QACzD,sCAAsC;QACtC,2BAA2B,KAAK,CAAC,SAAS,EAAE;QAC5C,EAAE;QACF,qDAAqD;QACrD,2CAA2C;QAC3C,8BAA8B,KAAK,CAAC,WAAW,EAAE;QACjD,EAAE;QACF,qDAAqD;QACrD,2CAA2C;QAC3C,8BAA8B,KAAK,CAAC,WAAW,EAAE;QACjD,EAAE;QACF,2DAA2D;QAC3D,8CAA8C;QAC9C,iCAAiC,KAAK,CAAC,cAAc,EAAE;QACvD,EAAE;QACF,qDAAqD;QACrD,2CAA2C;QAC3C,8BAA8B,KAAK,CAAC,WAAW,EAAE;QACjD,EAAE;QACF,yDAAyD;QACzD,sCAAsC;QACtC,2BAA2B,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE;QAC5D,EAAE;QACF,2DAA2D;QAC3D,uCAAuC;QACvC,4BAA4B,KAAK,CAAC,QAAQ,EAAE;QAC5C,EAAE;QACF,kEAAkE;QAClE,qCAAqC;QACrC,0BAA0B,WAAW,CAAC,KAAK,EAAE;QAC7C,EAAE;QACF,yDAAyD;QACzD,sCAAsC;QACtC,2BAA2B,WAAW,CAAC,MAAM,EAAE;QAC/C,EAAE;QACF,yEAAyE;QACzE,iDAAiD;QACjD,oCAAoC,WAAW,CAAC,cAAc,EAAE;QAChE,EAAE;QACF,mEAAmE;QACnE,8CAA8C;QAC9C,iCAAiC,WAAW,CAAC,WAAW,EAAE;QAC1D,EAAE;QACF,yDAAyD;QACzD,sCAAsC;QACtC,2BAA2B,YAAY,CAAC,KAAK,EAAE;QAC/C,EAAE;QACF,6DAA6D;QAC7D,wCAAwC;QACxC,6BAA6B,YAAY,CAAC,OAAO,EAAE;KACpD,CAAC;IAEF,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC"}
package/dist/main.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * bunQ - High-performance job queue server for Bun
2
+ * bunqueue - High-performance job queue server for Bun
3
3
  * Main entry point
4
4
  */
5
5
  export {};
package/dist/main.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * bunQ - High-performance job queue server for Bun
2
+ * bunqueue - High-performance job queue server for Bun
3
3
  * Main entry point
4
4
  */
5
5
  import { QueueManager } from './application/queueManager';
@@ -23,7 +23,7 @@ function printBanner(config) {
23
23
  console.log(`
24
24
  ╔═══════════════════════════════════════════════════════════╗
25
25
  ║ ║
26
- ║ 🐰 bunQ
26
+ ║ 🐰 bunqueue
27
27
  ║ High-performance job queue server for Bun ║
28
28
  ║ ║
29
29
  ╠═══════════════════════════════════════════════════════════╣
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bunqueue",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "High-performance job queue server for Bun. SQLite persistence, cron jobs, priorities, DLQ. Zero external dependencies.",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",