@suveren/gateway 0.3.14 → 0.3.15

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.
@@ -1883,8 +1883,8 @@ app.get("/auth/oauth/:integrationId/health", authGuard, async (req, res) => {
1883
1883
  res.json({ status: "ok", account: probed || account });
1884
1884
  return;
1885
1885
  }
1886
- if (r.status === 401 || r.status === 403) {
1887
- res.json({ status: "failed", account, error: `token rejected (HTTP ${r.status})` });
1886
+ if (r.status === 401) {
1887
+ res.json({ status: "failed", account, error: "token expired or revoked (HTTP 401)" });
1888
1888
  return;
1889
1889
  }
1890
1890
  res.json({ status: "unverified", account });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suveren/gateway",
3
- "version": "0.3.14",
3
+ "version": "0.3.15",
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",