MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / captureExportHeaders

Function captureExportHeaders

apps/host-selfhost/src/telemetry.test.ts:205–211  ·  view source on GitHub ↗
(
  env: Record<string, string | undefined>,
)

Source from the content-addressed store, hash-verified

203): Promise<Array<string>> => (await captureExports(env, options)).map((request) => request.url);
204
205const captureExportHeaders = async (
206 env: Record<string, string | undefined>,
207): Promise<Record<string, string> | undefined> => {
208 const requests = await captureExports(env);
209 const headers = requests[0]?.headers;
210 return headers ? Object.fromEntries(headers.entries()) : undefined;
211};
212
213const captureExports = async (
214 env: Record<string, string | undefined>,

Callers 1

telemetry.test.tsFile · 0.85

Calls 1

captureExportsFunction · 0.85

Tested by

no test coverage detected