@vaara/client 0.61.0 → 0.61.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.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Vaara is a runtime AI agent governance kernel: conformal risk scoring, hash-chai
|
|
|
10
10
|
npm install @vaara/client
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Requires Node.js 18+ (global `fetch`). Works in modern browsers too
|
|
13
|
+
Requires Node.js 18+ (global `fetch`). Works in modern browsers too. Pass your own `fetch` if you want to inject one explicitly.
|
|
14
14
|
|
|
15
15
|
## Quick start
|
|
16
16
|
|
|
@@ -66,7 +66,7 @@ try {
|
|
|
66
66
|
// Server returned 4xx/5xx with a structured `{ error: { code, message } }`.
|
|
67
67
|
console.error(`Vaara ${err.status} ${err.code}: ${err.message}`);
|
|
68
68
|
} else if (err instanceof VaaraTransportError) {
|
|
69
|
-
// Network failure / non-JSON response. Treat fail-closed
|
|
69
|
+
// Network failure / non-JSON response. Treat fail-closed, do not
|
|
70
70
|
// assume the server saw the request.
|
|
71
71
|
console.error(err);
|
|
72
72
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaara/client",
|
|
3
|
-
"version": "0.61.
|
|
3
|
+
"version": "0.61.2",
|
|
4
4
|
"mcpName": "io.github.vaaraio/vaara",
|
|
5
5
|
"description": "TypeScript client for the Vaara HTTP API: EU AI Act runtime evidence for MCP tool calls. Conformal risk scoring, policy gating, hash-chained tamper-evident audit, named detectors.",
|
|
6
6
|
"main": "dist/index.js",
|