Function
updateTokens
(mcpName: string, tokens: Tokens)
Source from the content-addressed store, hash-verified
| 55 | } |
| 56 | |
| 57 | export async function updateTokens(mcpName: string, tokens: Tokens): Promise<void> { |
| 58 | const entry = (await get(mcpName)) ?? {} |
| 59 | entry.tokens = tokens |
| 60 | await set(mcpName, entry) |
| 61 | } |
| 62 | |
| 63 | export async function updateClientInfo(mcpName: string, clientInfo: ClientInfo): Promise<void> { |
| 64 | const entry = (await get(mcpName)) ?? {} |
Callers
nothing calls this directly
Tested by
no test coverage detected