Skip to content

Commit

Permalink
fix(replay): Do not export types from @sentry-internal/rrweb (#8329)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mydea committed Jun 14, 2023
1 parent 2868626 commit 7563d56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions packages/replay/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export { Replay } from './integration';
export type {
eventWithTime,
BreadcrumbFrame,
BreadcrumbFrameEvent,
OptionFrameEvent,
Expand All @@ -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';
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 7563d56

Please sign in to comment.