kxco-pq-agent 1.0.1 → 1.0.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/package.json +1 -1
- package/src/agent-identity.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kxco-pq-agent",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "AI agent and robot identity for the KXCO post-quantum stack. Any KxcoIdentity holder may sponsor an agent with a locked ML-DSA-65 keypair and capability scope — payments, attestations, audit anchoring.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"post-quantum",
|
package/src/agent-identity.js
CHANGED
|
@@ -294,6 +294,6 @@ export class KxcoAgentIdentity {
|
|
|
294
294
|
static async revoke(agentKid, { chain, reason = '' } = {}) {
|
|
295
295
|
if (!agentKid) throw new KxcoPqAgentError('revoke: agentKid is required')
|
|
296
296
|
if (!chain) throw new KxcoPqAgentError('revoke: chain is required for on-chain revocation')
|
|
297
|
-
|
|
297
|
+
return chain.revokeAgentCredential({ agentKid, reason })
|
|
298
298
|
}
|
|
299
299
|
}
|