Skip to content

Commit 7563d56

Browse files
authored
fix(replay): Do not export types from @sentry-internal/rrweb (#8329)
This breaks, as we do not have these packages as dependencies but devDependencies, but the types are not inlined... This was introduced here: #8284 Fixes #8326
1 parent 2868626 commit 7563d56

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

packages/replay/src/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export { Replay } from './integration';
22
export type {
3+
eventWithTime,
34
BreadcrumbFrame,
45
BreadcrumbFrameEvent,
56
OptionFrameEvent,
@@ -8,7 +9,3 @@ export type {
89
SpanFrame,
910
SpanFrameEvent,
1011
} from './types';
11-
export { EventType } from '@sentry-internal/rrweb';
12-
export { NodeType } from '@sentry-internal/rrweb-snapshot';
13-
export type { eventWithTime, fullSnapshotEvent } from '@sentry-internal/rrweb';
14-
export type { serializedNodeWithId } from '@sentry-internal/rrweb-snapshot';

packages/replay/test/integration/beforeAddRecordingEvent.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
import type { EventType } from '@sentry-internal/rrweb';
12
import * as SentryCore from '@sentry/core';
23
import type { Transport } from '@sentry/types';
34
import * as SentryUtils from '@sentry/utils';
45

5-
import type { EventType, Replay } from '../../src';
6+
import type { Replay } from '../../src';
67
import type { ReplayContainer } from '../../src/replay';
78
import { clearSession } from '../../src/session/clearSession';
89
import * as SendReplayRequest from '../../src/util/sendReplayRequest';

0 commit comments

Comments
 (0)