Files
klz-cables.com/.pnpm-store/v10/files/cd/730a42b2eb7ea616fe2fc414486941bf1cf2c0a3d27873a3deb065257f7b4cbdbd79058bafce70bc5627e83569d1e1e5802c6544cebd9fa3075fccee44d6b9
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

37 lines
1.3 KiB
Plaintext

import { Breadcrumb, XhrBreadcrumbData } from '@sentry/core';
import { NetworkMetaWarning, XhrHint } from '@sentry-internal/browser-utils';
import { ReplayContainer, ReplayNetworkOptions } from '../../types';
/**
* Capture an XHR breadcrumb to a replay.
* This adds additional data (where appropriate).
*/
export declare function captureXhrBreadcrumbToReplay(breadcrumb: Breadcrumb & {
data: XhrBreadcrumbData;
}, hint: Partial<XhrHint>, options: ReplayNetworkOptions & {
replay: ReplayContainer;
}): Promise<void>;
/**
* Enrich a breadcrumb with additional data.
* This has to be sync & mutate the given breadcrumb,
* as the breadcrumb is afterwards consumed by other handlers.
*/
export declare function enrichXhrBreadcrumb(breadcrumb: Breadcrumb & {
data: XhrBreadcrumbData;
}, hint: Partial<XhrHint>): void;
/**
* Get the string representation of the XHR response.
* Based on MDN, these are the possible types of the response:
* string
* ArrayBuffer
* Blob
* Document
* POJO
*
* Exported only for tests.
*/
export declare function _parseXhrResponse(body: XMLHttpRequest['response'], responseType: XMLHttpRequest['responseType']): [
string | undefined,
NetworkMetaWarning?
];
//# sourceMappingURL=xhrUtils.d.ts.map