@nwire/queue 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 +7 -5
package/README.md
CHANGED
|
@@ -40,17 +40,7 @@ await worker.start();
|
|
|
40
40
|
|
|
41
41
|
## When to use
|
|
42
42
|
|
|
43
|
-
Whenever a request shouldn't block the caller — sending emails, building reports, syncing to a third party. Same handler shape as an HTTP action, so behavior is identical across transports.
|
|
44
|
-
|
|
45
|
-
## Standalone use
|
|
46
|
-
|
|
47
|
-
For developers using `@nwire/queue` **without the rest of Nwire** — pair it with any TypeScript project, any container, any HTTP framework.
|
|
48
|
-
|
|
49
|
-
```ts
|
|
50
|
-
// See the package's main entry (src/) for the standalone surface.
|
|
51
|
-
// The exports below work without @nwire/app or @nwire/forge.
|
|
52
|
-
import {} from /* ...standalone exports... */ "@nwire/queue";
|
|
53
|
-
```
|
|
43
|
+
Whenever a request shouldn't block the caller — sending emails, building reports, syncing to a third party. Same handler shape as an HTTP action, so behavior is identical across transports.
|
|
54
44
|
|
|
55
45
|
## Within nwire-app
|
|
56
46
|
|
|
@@ -64,8 +54,3 @@ const app = createApp({
|
|
|
64
54
|
});
|
|
65
55
|
// Adapter/plugin wiring happens here when applicable.
|
|
66
56
|
```
|
|
67
|
-
|
|
68
|
-
## See also
|
|
69
|
-
|
|
70
|
-
- [Architecture sketch §05 — Interfaces tier](../../architecture-sketch.html#packages)
|
|
71
|
-
- Sibling packages: [@nwire/queue-bullmq](../nwire-queue-bullmq), [@nwire/dead-letter](../nwire-dead-letter), [@nwire/cron](../nwire-cron)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nwire/queue",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Nwire — queue transport contract + InMemory default + createQueueWorker. Production adapters land as @nwire/queue-bullmq, @nwire/queue-sqs, @nwire/queue-pgboss.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bus",
|
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
"transport",
|
|
10
10
|
"worker"
|
|
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/queue.js",
|
|
@@ -26,15 +28,15 @@
|
|
|
26
28
|
"access": "public"
|
|
27
29
|
},
|
|
28
30
|
"dependencies": {
|
|
29
|
-
"@nwire/forge": "0.7.
|
|
30
|
-
"@nwire/envelope": "0.7.
|
|
31
|
+
"@nwire/forge": "0.7.1",
|
|
32
|
+
"@nwire/envelope": "0.7.1"
|
|
31
33
|
},
|
|
32
34
|
"devDependencies": {
|
|
33
35
|
"@types/node": "^22.19.9",
|
|
34
36
|
"typescript": "^5.9.3",
|
|
35
37
|
"vitest": "^4.0.18",
|
|
36
38
|
"zod": "^4.0.0",
|
|
37
|
-
"@nwire/messages": "0.7.
|
|
39
|
+
"@nwire/messages": "0.7.1"
|
|
38
40
|
},
|
|
39
41
|
"scripts": {
|
|
40
42
|
"build": "tsc",
|