File tree Expand file tree Collapse file tree 6 files changed +20
-4
lines changed Expand file tree Collapse file tree 6 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 44
55- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
66
7+ ## 7.55.2
8+
9+ - fix(replay): Stop exporting ` EventType ` from ` @sentry-internal/rrweb ` (#8334 )
10+ - fix(serverless): Export captureCheckIn (#8333 )
11+
712## 7.55.1
813
914- fix(replay): Do not export types from ` @sentry-internal/rrweb ` (#8329 )
Original file line number Diff line number Diff line change 11export { Replay } from './integration' ;
22export type {
3+ EventType ,
34 eventWithTime ,
45 BreadcrumbFrame ,
56 BreadcrumbFrameEvent ,
Original file line number Diff line number Diff line change 1- import type { EventType } from '@sentry-internal/rrweb' ;
21import type { Breadcrumb } from '@sentry/types' ;
32
43import type {
@@ -10,6 +9,7 @@ import type {
109 PaintData ,
1110 ResourceData ,
1211} from './performance' ;
12+ import type { EventType } from './rrweb' ;
1313
1414interface BaseBreadcrumbFrame {
1515 timestamp : number ;
Original file line number Diff line number Diff line change 11/* eslint-disable @typescript-eslint/naming-convention */
22
3- import type { EventType } from '@sentry-internal/rrweb' ;
4-
53type blockClass = string | RegExp ;
64type maskTextClass = string | RegExp ;
75
6+ /** Duplicate this from @sentry-internal/rrweb so we can export this as well. */
7+ export enum EventType {
8+ DomContentLoaded = 0 ,
9+ Load = 1 ,
10+ FullSnapshot = 2 ,
11+ IncrementalSnapshot = 3 ,
12+ Meta = 4 ,
13+ Custom = 5 ,
14+ Plugin = 6 ,
15+ }
16+
817/**
918 * This is a partial copy of rrweb's eventWithTime type which only contains the properties
1019 * we specifcally need in the SDK.
Original file line number Diff line number Diff line change 1- import type { EventType } from '@sentry-internal/rrweb' ;
21import * as SentryCore from '@sentry/core' ;
32import type { Transport } from '@sentry/types' ;
43import * as SentryUtils from '@sentry/utils' ;
54
65import type { Replay } from '../../src' ;
76import type { ReplayContainer } from '../../src/replay' ;
87import { clearSession } from '../../src/session/clearSession' ;
8+ import type { EventType } from '../../src/types' ;
99import * as SendReplayRequest from '../../src/util/sendReplayRequest' ;
1010import { BASE_TIMESTAMP , mockRrweb , mockSdk } from '../index' ;
1111import { useFakeTimers } from '../utils/use-fake-timers' ;
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ export {
1818 captureEvent ,
1919 captureException ,
2020 captureMessage ,
21+ captureCheckIn ,
2122 configureScope ,
2223 createTransport ,
2324 getActiveTransaction ,
You can’t perform that action at this time.
0 commit comments