Files
klz-cables.com/.pnpm-store/v10/files/44/09032d5be4f55033de5665b67d717bbe5350466265c30dd8f8c4e4e5695d7cbe4c665270ff9a7c7a09e458a6c8edafb7ae0666a8cd0d1bd89a88afe9efa2c8
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

33 lines
1.2 KiB
Plaintext

import type { Breadcrumb, XhrBreadcrumbData } from '@sentry/core';
import type { NetworkMetaWarning, XhrHint } from '@sentry-internal/browser-utils';
import type { 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