diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c123a1545b5..53e54fd33bba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ - "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott +## 7.55.1 + +- fix(replay): Do not export types from `@sentry-internal/rrweb` (#8329) + ## 7.55.0 - feat(replay): Capture slow clicks (GA) (#8298) diff --git a/packages/replay/src/index.ts b/packages/replay/src/index.ts index 3e6b01f39f5c..7664b4d4e592 100644 --- a/packages/replay/src/index.ts +++ b/packages/replay/src/index.ts @@ -1,5 +1,6 @@ export { Replay } from './integration'; export type { + eventWithTime, BreadcrumbFrame, BreadcrumbFrameEvent, OptionFrameEvent, @@ -8,7 +9,3 @@ export type { SpanFrame, SpanFrameEvent, } from './types'; -export { EventType } from '@sentry-internal/rrweb'; -export { NodeType } from '@sentry-internal/rrweb-snapshot'; -export type { eventWithTime, fullSnapshotEvent } from '@sentry-internal/rrweb'; -export type { serializedNodeWithId } from '@sentry-internal/rrweb-snapshot'; diff --git a/packages/replay/test/integration/beforeAddRecordingEvent.test.ts b/packages/replay/test/integration/beforeAddRecordingEvent.test.ts index ba1a63d904fd..9f89aba9b517 100644 --- a/packages/replay/test/integration/beforeAddRecordingEvent.test.ts +++ b/packages/replay/test/integration/beforeAddRecordingEvent.test.ts @@ -1,8 +1,9 @@ +import type { EventType } from '@sentry-internal/rrweb'; import * as SentryCore from '@sentry/core'; import type { Transport } from '@sentry/types'; import * as SentryUtils from '@sentry/utils'; -import type { EventType, Replay } from '../../src'; +import type { Replay } from '../../src'; import type { ReplayContainer } from '../../src/replay'; import { clearSession } from '../../src/session/clearSession'; import * as SendReplayRequest from '../../src/util/sendReplayRequest';