@kya-os/mcp-i-core 1.4.10 → 1.4.12

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.
@@ -31,13 +31,15 @@ export interface VCJWTHeader {
31
31
  * VC-JWT Payload structure
32
32
  *
33
33
  * Per W3C VC-JWT spec, the VC is embedded in the JWT claims.
34
- * Standard claims (iss, sub, exp, iat, jti) are derived from the VC.
34
+ * Standard claims (iss, sub, aud, exp, iat, jti) are derived from the VC.
35
35
  */
36
36
  export interface VCJWTPayload {
37
37
  /** Issuer DID (from vc.issuer) */
38
38
  iss: string;
39
39
  /** Subject DID (from vc.credentialSubject.id) */
40
40
  sub?: string;
41
+ /** Audience (e.g., project ID the credential is scoped to). Per RFC 7519, can be string or array. */
42
+ aud?: string | string[];
41
43
  /** Expiration time (from vc.expirationDate) */
42
44
  exp?: number;
43
45
  /** Issued at time (from vc.issuanceDate) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/mcp-i-core",
3
- "version": "1.4.10",
3
+ "version": "1.4.12",
4
4
  "description": "Core runtime and types for MCP-I framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",