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

Function unique

e2e/cloud/oauth-callback-org-scope.test.ts:24–24  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

22const api = composePluginApi([openApiHttpPlugin()] as const);
23
24const unique = (prefix: string) => `${prefix}_${randomBytes(4).toString("hex")}`;
25
26const cookiePair = (response: Response, name: string): string | undefined => {
27 for (const header of response.headers.getSetCookie?.() ?? []) {

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected