rpc-express-toolkit-safe 4.5.1 → 4.5.2

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 +5 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  This package is a thin wrapper around `rpc-express-toolkit/safe` that enables a “safe preset” import path.
4
4
 
5
+ Version **4.5.2** targets `rpc-express-toolkit` 4.5.2. The proxy inherits the
6
+ core's default unexpected-error sanitization and
7
+ public application-error contract; see [error handling](../../README_ADVANCED.md#error-handling).
8
+ Safe Mode preserves value types, not authentication or encryption.
9
+
5
10
  - Server class: `new RpcSafeEndpoint(app, context, options?)`
6
11
  - Applies `{ safeEnabled: true, strictMode: true }` by default
7
12
  - Client class: `new RpcSafeClient(endpoint, headers?, options?)`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rpc-express-toolkit-safe",
3
- "version": "4.5.1",
3
+ "version": "4.5.2",
4
4
  "description": "Safe preset wrapper for rpc-express-toolkit (safeEnabled defaults to true).",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -27,9 +27,9 @@
27
27
  "node": "\u003e=18.0.0"
28
28
  },
29
29
  "peerDependencies": {
30
- "rpc-express-toolkit": "^4.5.1"
30
+ "rpc-express-toolkit": "^4.5.2"
31
31
  },
32
32
  "dependencies": {
33
- "rpc-express-toolkit": "^4.5.1"
33
+ "rpc-express-toolkit": "^4.5.2"
34
34
  }
35
35
  }