@spider-mesh/core 2.0.37 → 2.0.38
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 +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,6 +18,8 @@ Spider Mesh is now split into two main package layers:
|
|
|
18
18
|
- `@spider-mesh/core`: runtime-agnostic service runtime, decorators, linking, and shared contracts
|
|
19
19
|
- companion transport packages: concrete transport implementations such as `@spider-mesh/tcp` and `@spider-mesh/ws`
|
|
20
20
|
|
|
21
|
+
Keep companion packages on the same published version as `@spider-mesh/core` to avoid contract drift between the runtime and concrete transports.
|
|
22
|
+
|
|
21
23
|
If you are reading this package first, the practical rule is simple:
|
|
22
24
|
|
|
23
25
|
- stay in `@spider-mesh/core` for service code and runtime code
|
|
@@ -29,6 +31,8 @@ If you are reading this package first, the practical rule is simple:
|
|
|
29
31
|
bun add @spider-mesh/core rxjs reflect-metadata
|
|
30
32
|
```
|
|
31
33
|
|
|
34
|
+
If you also install a companion transport package, keep it on the same release version as `@spider-mesh/core`.
|
|
35
|
+
|
|
32
36
|
This package is ESM-only.
|
|
33
37
|
|
|
34
38
|
Practical implications:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spider-mesh/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.38",
|
|
5
5
|
"description": "Lightweight microservice framework for typescript, auto discovery, load-balancing, fault-torrent, multiple transporters",
|
|
6
6
|
"main": "./build/src/index.js",
|
|
7
7
|
"types": "./build/src/index.d.ts",
|