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

Function captureExportHeaders

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

Source from the content-addressed store, hash-verified

108): Promise<Array<string>> => (await captureExports(env, options)).map((request) => request.url);
109
110const captureExportHeaders = async (
111 env: Record<string, string | undefined>,
112): Promise<Record<string, string> | undefined> => {
113 const requests = await captureExports(env);
114 const headers = requests[0]?.headers;
115 return headers ? Object.fromEntries(headers.entries()) : undefined;
116};
117
118const captureExports = async (
119 env: Record<string, string | undefined>,

Callers 1

telemetry.test.tsFile · 0.85

Calls 1

captureExportsFunction · 0.85

Tested by

no test coverage detected