Files
klz-cables.com/.pnpm-store/v10/files/96/3fad83274d33fe50b8402a424e9fc678d6a842de8e0651476552c06ec1fb31bbe22720d2cc64c664d3aca395d0597b3b66c1dbcc56f213788be937643370fd
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

10 lines
690 B
Plaintext

import type { IncomingMessage } from 'node:http';
import type { Scope } from '@sentry/core';
/**
* This method patches the request object to capture the body.
* Instead of actually consuming the streamed body ourselves, which has potential side effects,
* we monkey patch `req.on('data')` to intercept the body chunks.
* This way, we only read the body if the user also consumes the body, ensuring we do not change any behavior in unexpected ways.
*/
export declare function patchRequestToCaptureBody(req: IncomingMessage, isolationScope: Scope, maxIncomingRequestBodySize: 'small' | 'medium' | 'always', integrationName: string): void;
//# sourceMappingURL=captureRequestBody.d.ts.map