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
16 lines
832 B
Plaintext
16 lines
832 B
Plaintext
import type { Breadcrumb, BreadcrumbHint } from '@sentry/core';
|
|
import type { ReplayContainer, ReplayNetworkOptions } from '../types';
|
|
interface ExtendedNetworkBreadcrumbsOptions extends ReplayNetworkOptions {
|
|
replay: ReplayContainer;
|
|
}
|
|
/**
|
|
* This method does two things:
|
|
* - It enriches the regular XHR/fetch breadcrumbs with request/response size data
|
|
* - It captures the XHR/fetch breadcrumbs to the replay
|
|
* (enriching it with further data that is _not_ added to the regular breadcrumbs)
|
|
*/
|
|
export declare function handleNetworkBreadcrumbs(replay: ReplayContainer): void;
|
|
/** just exported for tests */
|
|
export declare function beforeAddNetworkBreadcrumb(options: ExtendedNetworkBreadcrumbsOptions, breadcrumb: Breadcrumb, hint?: BreadcrumbHint): void;
|
|
export {};
|
|
//# sourceMappingURL=handleNetworkBreadcrumbs.d.ts.map |