@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.
@@ -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.0",
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",
@@ -68,7 +68,6 @@
68
68
  "enum": [
69
69
  "text",
70
70
  "image",
71
- "link",
72
71
  "article"
73
72
  ],
74
73
  "constraint": {
@@ -85,7 +84,6 @@
85
84
  "description": "Authorized audience visibility",
86
85
  "enum": [
87
86
  "public",
88
- "followers",
89
87
  "connections"
90
88
  ],
91
89
  "constraint": {