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

Function cookieOf

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

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected