@suveren/gateway 0.3.0 → 0.3.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/dist/mcp-server/http.mjs
CHANGED
|
@@ -231,6 +231,11 @@ var AttestationCache = class {
|
|
|
231
231
|
async syncAuthorization(frameHash) {
|
|
232
232
|
const result = await this.spClient.getAttestations(frameHash);
|
|
233
233
|
if (!result.profile_id || !result.frame) return null;
|
|
234
|
+
if (result.revoked) {
|
|
235
|
+
this.authorizations.delete(frameHash);
|
|
236
|
+
if (result.frame_hash) this.authorizations.delete(result.frame_hash);
|
|
237
|
+
return null;
|
|
238
|
+
}
|
|
234
239
|
const storageHash = result.frame_hash ?? result.bounds_hash;
|
|
235
240
|
const bounds = result.bounds ?? result.frame;
|
|
236
241
|
let signedCommitmentMode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@suveren/gateway",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Suveren gateway — local agent gateway built in compliance with the Human Agency Protocol (HAP). Runs the UI, control plane, and MCP server in one Node process.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "server.js",
|