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

Function cookieOf

e2e/cloud/mcp-browser-approval-org-scope.test.ts:40–41  ·  view source on GitHub ↗
(identity: { readonly headers?: Record<string, string> })

Source from the content-addressed store, hash-verified

38};
39
40const cookieOf = (identity: { readonly headers?: Record<string, string> }): string =>
41 identity.headers?.cookie ?? "";
42
43const originHeaders = (baseUrl: string) => ({ origin: new URL(baseUrl).origin });
44

Calls

no outgoing calls

Tested by

no test coverage detected