Evicts revoked bearer tokens; revokes grants on disconnect
@vercel/connect@0.2.3
1 enhancement1 fixThis release1 enhancementImprovements to existing features1 fixBug fixesAI-tallied from the release notes
Patch Changes
- 2f22f21: Add a targeted
deleteTokenCacheEntry(connector, params)export that drops a single in-process token cache entry, and wire it into the Eveconnect()adapter as anevict()hook. When Eve rejects a resolved bearer (a downstream401mapped torequireAuth(), or an MCP server rejecting the token) it now cascades invalidation from its own per-step cache down into the Connect adapter's cache, so the nextgetTokenperforms a genuine refresh instead of re-serving the revoked-but-unexpired token. Theevict()hook also accepts an opt-inrevoke: trueto tear the grant down at Vercel Connect (refresh token included) for user-initiated disconnects; revocation is best-effort and falls back to a local cache drop on failure.
Fetched June 11, 2026

