@kya-os/mcp-i 1.6.1-canary.clientinfo.20251125183419 → 1.6.2-canary.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.
@@ -1,10 +1,6 @@
1
1
  /**
2
2
  * Audit Logging System for MCP-I Runtime
3
3
  *
4
- * TODO: Update AuditLogger to implement IAuditLogger from @kya-os/mcp-i-core/runtime/audit-logger.
5
- * Currently using Node.js-specific implementation. This will allow the interface to be used
6
- * across all platform implementations while maintaining platform-specific crypto implementations.
7
- *
8
4
  * Handles audit record generation and logging with frozen format
9
5
  * according to requirements 5.4, 5.5, and 6.7 (configurable retention).
10
6
  *
@@ -2,10 +2,6 @@
2
2
  /**
3
3
  * Audit Logging System for MCP-I Runtime
4
4
  *
5
- * TODO: Update AuditLogger to implement IAuditLogger from @kya-os/mcp-i-core/runtime/audit-logger.
6
- * Currently using Node.js-specific implementation. This will allow the interface to be used
7
- * across all platform implementations while maintaining platform-specific crypto implementations.
8
- *
9
5
  * Handles audit record generation and logging with frozen format
10
6
  * according to requirements 5.4, 5.5, and 6.7 (configurable retention).
11
7
  *
@@ -191,9 +187,9 @@ class AuditLogger {
191
187
  type,
192
188
  data,
193
189
  ts: Date.now(),
194
- nonce: (0, crypto_1.randomBytes)(16).toString("hex"),
190
+ nonce: (0, crypto_1.randomBytes)(16).toString('hex')
195
191
  });
196
- return (0, crypto_1.createHash)("sha256").update(content).digest("hex");
192
+ return (0, crypto_1.createHash)('sha256').update(content).digest('hex');
197
193
  }
198
194
  /**
199
195
  * Format audit record as frozen audit line