@nwire/bus 0.7.0 → 0.8.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 +1 -16
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -32,17 +32,7 @@ await app.start();
|
|
|
32
32
|
|
|
33
33
|
## When to use
|
|
34
34
|
|
|
35
|
-
When the system is deployed as more than one process (split services, microservices
|
|
36
|
-
|
|
37
|
-
## Standalone use
|
|
38
|
-
|
|
39
|
-
For developers using `@nwire/bus` **without the rest of Nwire** — pair it with any TypeScript project, any container, any HTTP framework.
|
|
40
|
-
|
|
41
|
-
```ts
|
|
42
|
-
// See the package's main entry (src/) for the standalone surface.
|
|
43
|
-
// The exports below work without @nwire/app or @nwire/forge.
|
|
44
|
-
import {} from /* ...standalone exports... */ "@nwire/bus";
|
|
45
|
-
```
|
|
35
|
+
When the system is deployed as more than one process (split services, microservices).
|
|
46
36
|
|
|
47
37
|
## Within nwire-app
|
|
48
38
|
|
|
@@ -56,8 +46,3 @@ const app = createApp({
|
|
|
56
46
|
});
|
|
57
47
|
// Adapter/plugin wiring happens here when applicable.
|
|
58
48
|
```
|
|
59
|
-
|
|
60
|
-
## See also
|
|
61
|
-
|
|
62
|
-
- [Architecture sketch §05 — Adapters tier](../../architecture-sketch.html#packages)
|
|
63
|
-
- Sibling packages: [@nwire/bus-nats](../nwire-bus-nats), [@nwire/messages](../nwire-messages)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nwire/bus",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Nwire — cross-service event bus contract. EventBus interface + InMemoryEventBus default. Production adapters land as @nwire/bus-nats, @nwire/bus-redis, @nwire/bus-kafka.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bus",
|
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
"nwire",
|
|
10
10
|
"pubsub"
|
|
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/bus.js",
|
|
@@ -26,7 +28,7 @@
|
|
|
26
28
|
"access": "public"
|
|
27
29
|
},
|
|
28
30
|
"dependencies": {
|
|
29
|
-
"@nwire/envelope": "0.
|
|
31
|
+
"@nwire/envelope": "0.8.0"
|
|
30
32
|
},
|
|
31
33
|
"devDependencies": {
|
|
32
34
|
"@types/node": "^22.19.9",
|