Files
klz-cables.com/.pnpm-store/v10/files/17/eaacece7ac5c70c5aca998fdb4e8255154072b87e7de351c9f3aa55f03c6098bafb3a5180422101b305996ea603e23e551dbb4963339aa7e2f1be47bfbc9a0
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

11 lines
691 B
Plaintext

import { IncomingMessage } from 'node:http';
import { 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