@source-repo/rpc 3.2.0 → 3.4.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -23,7 +23,7 @@ A class is the contract: the server hands one live instance to `exposeClassInsta
23
23
  npm install @source-repo/rpc
24
24
  ```
25
25
 
26
- ESM only, Node 18.17 or later, and it runs in the browser.
26
+ ESM only, Node 22 or later, and it runs in the browser.
27
27
 
28
28
  **If all you need is a browser talking to a Node server, use [tRPC](https://trpc.io).** It is very good at that and far more widely used. This is for the case it does not cover: more than two parties, not all on the same kind of link, and commands where sending one twice is not free.
29
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@source-repo/rpc",
3
- "version": "3.2.0",
3
+ "version": "3.4.0",
4
4
  "description": "Source RPC: TypeScript RPC over socket.io and MQTT 5, using classes as contracts shared by client and server",
5
5
  "keywords": [
6
6
  "rpc",
@@ -19,7 +19,7 @@
19
19
  "directory": "packages/rpc"
20
20
  },
21
21
  "engines": {
22
- "node": ">=18.17"
22
+ "node": ">=22"
23
23
  },
24
24
  "sideEffects": false,
25
25
  "main": "./dist/index.js",