()
| 16 | } |
| 17 | |
| 18 | function apiKeyCred(): ResolvedCredential { |
| 19 | return { type: "api_key", key: "hg_x", source: "env" }; |
| 20 | } |
| 21 | |
| 22 | function makeClient(fetchImpl: typeof fetch): AuthClient { |
| 23 | return new AuthClient({ baseUrl: "https://api.test.example", fetchImpl }); |