MCPcopy Create free account
hub / github.com/Web3Auth/Auth / mixedMiddleware

Function mixedMiddleware

test/v2/jrpcEngineV2.test.ts:1077–1079  ·  view source on GitHub ↗
({ request })

Source from the content-addressed store, hash-verified

1075
1076 it("constructs a mixed engine", async () => {
1077 const mixedMiddleware: JRPCMiddlewareV2 = ({ request }) => {
1078 return isRequest(request) ? null : undefined;
1079 };
1080 const engine = JRPCEngineV2.create({
1081 middleware: [mixedMiddleware],
1082 });

Callers

nothing calls this directly

Calls 1

isRequestFunction · 0.90

Tested by

no test coverage detected