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
14 lines
756 B
Plaintext
14 lines
756 B
Plaintext
import type { Breadcrumb } from '@sentry/core';
|
|
import type { ReplayContainer } from '../types';
|
|
import type { ReplayFrame } from '../types/replayFrame';
|
|
type BreadcrumbWithCategory = Required<Pick<Breadcrumb, 'category'>>;
|
|
/**
|
|
* Handle breadcrumbs that Sentry captures, and make sure to capture relevant breadcrumbs to Replay as well.
|
|
*/
|
|
export declare function handleBreadcrumbs(replay: ReplayContainer): void;
|
|
/** Exported only for tests. */
|
|
export declare function normalizeBreadcrumb(breadcrumb: Breadcrumb): Breadcrumb | null;
|
|
/** exported for tests only */
|
|
export declare function normalizeConsoleBreadcrumb(breadcrumb: Omit<Breadcrumb, 'category'> & BreadcrumbWithCategory): ReplayFrame;
|
|
export {};
|
|
//# sourceMappingURL=handleBreadcrumbs.d.ts.map |