File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
packages/replay-internal/src Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { getWorkerURL } from '@sentry-internal/replay-worker' ;
2
2
3
3
import { DEBUG_BUILD } from '../debug-build' ;
4
- import type { EventBuffer } from '../types' ;
5
4
import { logger } from '../util/logger' ;
6
5
import { EventBufferArray } from './EventBufferArray' ;
7
6
import { EventBufferProxy } from './EventBufferProxy' ;
@@ -20,7 +19,7 @@ declare const __SENTRY_EXCLUDE_REPLAY_WORKER__: boolean;
20
19
export function createEventBuffer ( {
21
20
useCompression,
22
21
workerUrl : customWorkerUrl ,
23
- } : CreateEventBufferParams ) : EventBuffer {
22
+ } : CreateEventBufferParams ) : EventBufferProxy {
24
23
if (
25
24
useCompression &&
26
25
// eslint-disable-next-line no-restricted-globals
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ import type {
27
27
AddUpdateCallback ,
28
28
AllPerformanceEntry ,
29
29
AllPerformanceEntryData ,
30
- EventBuffer ,
31
30
InternalEventContext ,
32
31
PopEventContext ,
33
32
RecordingEvent ,
@@ -58,12 +57,13 @@ import { sendReplay } from './util/sendReplay';
58
57
import { RateLimitError } from './util/sendReplayRequest' ;
59
58
import type { SKIPPED } from './util/throttle' ;
60
59
import { THROTTLED , throttle } from './util/throttle' ;
60
+ import type { EventBufferProxy } from './eventBuffer/EventBufferProxy' ;
61
61
62
62
/**
63
63
* The main replay container class, which holds all the state and methods for recording and sending replays.
64
64
*/
65
65
export class ReplayContainer implements ReplayContainerInterface {
66
- public eventBuffer : EventBuffer | null ;
66
+ public eventBuffer : EventBufferProxy | null ;
67
67
68
68
public performanceEntries : AllPerformanceEntry [ ] ;
69
69
You can’t perform that action at this time.
0 commit comments