@kya-os/verifier 1.5.8 → 1.6.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 +8 -8
  2. package/package.json +13 -13
package/README.md CHANGED
@@ -191,14 +191,14 @@ The verifier performs comprehensive validation in the following order:
191
191
 
192
192
  On successful verification, the following headers are injected:
193
193
 
194
- - `X-Agent-DID`: Agent's decentralized identifier
195
- - `X-Agent-KeyId`: Key identifier used for signing
196
- - `X-Agent-Session`: Session identifier
197
- - `X-Agent-Confidence`: Always "verified" for successful verification
198
- - `X-Agent-Registry`: URL to agent's registry page for traceability
199
- - `X-Agent-Verified-At`: Unix timestamp of verification
200
- - `X-Agent-Scopes`: Comma-separated list of scopes (if present)
201
- - `X-Agent-Delegation-Ref`: Delegation reference (if present)
194
+ - `KYA-Agent-DID`: Agent's decentralized identifier
195
+ - `KYA-Agent-KeyId`: Key identifier used for signing
196
+ - `KYA-Agent-Session`: Session identifier
197
+ - `KYA-Agent-Confidence`: Always "verified" for successful verification
198
+ - `KYA-Agent-Registry`: URL to agent's registry page for traceability
199
+ - `KYA-Verified-At`: Unix timestamp of verification
200
+ - `KYA-Agent-Scopes`: Comma-separated list of scopes (if present)
201
+ - `KYA-Delegation-Ref`: Delegation reference (if present)
202
202
 
203
203
  ## Error Handling
204
204
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/verifier",
3
- "version": "1.5.8",
3
+ "version": "1.6.0",
4
4
  "description": "Isomorphic verifier middleware for XMCP-I proof validation",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -23,16 +23,24 @@
23
23
  "dist/**/*",
24
24
  "README.md"
25
25
  ],
26
+ "scripts": {
27
+ "build": "tsc -p tsconfig.build.json",
28
+ "dev": "tsc -p tsconfig.build.json --watch",
29
+ "test": "vitest run",
30
+ "test:coverage": "vitest run --coverage",
31
+ "test:watch": "vitest",
32
+ "clean": "rm -rf dist"
33
+ },
26
34
  "dependencies": {
27
- "@kya-os/contracts": "^1.7.20",
35
+ "@kya-os/contracts": "^1.8.0",
28
36
  "jose": "^5.2.0",
29
37
  "json-canonicalize": "^2.0.0"
30
38
  },
31
39
  "devDependencies": {
32
40
  "@types/node": "^20.11.0",
33
- "@vitest/coverage-v8": "^4.0.5",
41
+ "@vitest/coverage-v8": "^4.0.18",
34
42
  "typescript": "^5.3.0",
35
- "vitest": "^4.0.5"
43
+ "vitest": "^4.0.18"
36
44
  },
37
45
  "peerDependencies": {
38
46
  "@types/express": "^4.17.0",
@@ -58,13 +66,5 @@
58
66
  "type": "git",
59
67
  "url": "https://github.com/kya-os/xmcp-i.git",
60
68
  "directory": "packages/verifier"
61
- },
62
- "scripts": {
63
- "build": "tsc -p tsconfig.build.json",
64
- "dev": "tsc -p tsconfig.build.json --watch",
65
- "test": "vitest run",
66
- "test:coverage": "vitest run --coverage",
67
- "test:watch": "vitest",
68
- "clean": "rm -rf dist"
69
69
  }
70
- }
70
+ }