UNPKG

@sentry/remix

Version:
10 lines • 538 B
import type { MatcherLike, MiddlewareLike } from '../types'; /** * The middleware orchestrion prepends to every router. * * It opens no span. Remix 3 serves over `node:http`, so `httpIntegration` has already opened the * `http.server` span and forked an isolation scope by the time this runs. Opening another would double * count every request, so this only enriches what exists, as `@sentry/hono` does. */ export declare function sentryRemixMiddleware(matcher: MatcherLike): MiddlewareLike; //# sourceMappingURL=middleware.d.ts.map