MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / textFetch

Function textFetch

packages/cli/src/auth/client.test.ts:14–16  ·  view source on GitHub ↗
(body: string, status: number)

Source from the content-addressed store, hash-verified

12}
13
14function textFetch(body: string, status: number): typeof fetch {
15 return (async () => new Response(body, { status })) as unknown as typeof fetch;
16}
17
18function apiKeyCred(): ResolvedCredential {
19 return { type: "api_key", key: "hg_x", source: "env" };

Callers 1

client.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected