File tree Expand file tree Collapse file tree 6 files changed +4
-11
lines changed
integration-tests/suites/replay Expand file tree Collapse file tree 6 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import * as Sentry from '@sentry/browser';
33window . Sentry = Sentry ;
44window . Replay = new Sentry . Replay ( {
55 flushMinDelay : 200 ,
6- initialFlushDelay : 200 ,
6+ flushMaxDelay : 200 ,
77} ) ;
88
99Sentry . init ( {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { Replay } from '@sentry/replay';
44window . Sentry = Sentry ;
55window . Replay = new Replay ( {
66 flushMinDelay : 200 ,
7- initialFlushDelay : 200 ,
7+ flushMaxDelay : 200 ,
88} ) ;
99
1010Sentry . init ( {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { Replay } from '@sentry/replay';
44window . Sentry = Sentry ;
55window . Replay = new Replay ( {
66 flushMinDelay : 200 ,
7- initialFlushDelay : 200 ,
7+ flushMaxDelay : 200 ,
88} ) ;
99
1010Sentry . init ( {
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ export class Replay implements Integration {
4343 public constructor ( {
4444 flushMinDelay = DEFAULT_FLUSH_MIN_DELAY ,
4545 flushMaxDelay = DEFAULT_FLUSH_MAX_DELAY ,
46- initialFlushDelay = INITIAL_FLUSH_DELAY ,
4746 stickySession = true ,
4847 useCompression = true ,
4948 sessionSampleRate,
@@ -73,7 +72,6 @@ export class Replay implements Integration {
7372 flushMinDelay,
7473 flushMaxDelay,
7574 stickySession,
76- initialFlushDelay,
7775 sessionSampleRate : DEFAULT_SESSION_SAMPLE_RATE ,
7876 errorSampleRate : DEFAULT_ERROR_SAMPLE_RATE ,
7977 useCompression,
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ export class ReplayContainer implements ReplayContainerInterface {
178178 this . _updateSessionActivity ( ) ;
179179
180180 this . eventBuffer = createEventBuffer ( {
181- useCompression : Boolean ( this . _options . useCompression ) ,
181+ useCompression : this . _options . useCompression ,
182182 } ) ;
183183
184184 this . _addListeners ( ) ;
Original file line number Diff line number Diff line change @@ -85,11 +85,6 @@ export interface ReplayPluginOptions extends SessionOptions {
8585 */
8686 flushMaxDelay : number ;
8787
88- /**
89- * The amount of time to buffer the initial snapshot
90- */
91- initialFlushDelay : number ;
92-
9388 /**
9489 * Attempt to use compression when web workers are available
9590 *
You can’t perform that action at this time.
0 commit comments