Skip to content

Commit

Permalink
remove sentry-internal
Browse files Browse the repository at this point in the history
  • Loading branch information
billyvg committed Jan 8, 2025
1 parent 441c567 commit bb7e95f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import type { Mirror } from '@sentry-internal/rrweb-snapshot';
import type { Mirror } from 'rrweb-snapshot';
import SimplePeer from 'simple-peer-light';
import type {
RecordPlugin,
ICrossOriginIframeMirror,
} from '@sentry-internal/rrweb-types';
import type { RecordPlugin, ICrossOriginIframeMirror } from '@rrweb/types';
import type { WebRTCDataChannel } from './types';

export const PLUGIN_NAME = 'rrweb/canvas-webrtc@1';
Expand Down
8 changes: 2 additions & 6 deletions packages/plugins/rrweb-plugin-console-record/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import type {
listenerHandler,
RecordPlugin,
IWindow,
} from '@sentry-internal/rrweb-types';
import { utils } from '@sentry-internal/rrweb';
import type { listenerHandler, RecordPlugin, IWindow } from '@rrweb/types';
import { utils } from 'rrweb';
import { ErrorStackParser, StackFrame } from './error-stack-parser';
import { stringify } from './stringify';

Expand Down
6 changes: 3 additions & 3 deletions packages/plugins/rrweb-plugin-console-replay/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import {
LogData,
PLUGIN_NAME,
} from '@rrweb/rrweb-plugin-console-record';
import type { eventWithTime } from '@sentry-internal/rrweb-types';
import { EventType, IncrementalSource } from '@sentry-internal/rrweb-types';
import type { ReplayPlugin, Replayer } from '@sentry-internal/rrweb';
import type { eventWithTime } from '@rrweb/types';
import { EventType, IncrementalSource } from '@rrweb/types';
import type { ReplayPlugin, Replayer } from 'rrweb';

/**
* define an interface to replay log records
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RecordPlugin } from '@sentry-internal/rrweb-types';
import type { RecordPlugin } from '@rrweb/types';

export type SequentialIdOptions = {
key: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { SequentialIdOptions } from '@rrweb/rrweb-plugin-sequential-id-record';
import type { ReplayPlugin } from '@sentry-internal/rrweb';
import type { eventWithTime } from '@sentry-internal/rrweb-types';
import type { ReplayPlugin } from 'rrweb';
import type { eventWithTime } from '@rrweb/types';

type Options = SequentialIdOptions & {
warnOnMissingId: boolean;
Expand Down

0 comments on commit bb7e95f

Please sign in to comment.