@sentry/replay
Advanced tools
Comparing version 0.5.12 to 0.5.13
import { Breadcrumb, Event, Integration } from '@sentry/types'; | ||
import { CaptureReplayParams } from './api/captureReplay'; | ||
import { CaptureReplayUpdateParams } from './api/captureReplayUpdate'; | ||
import { CaptureReplayEventParams } from './api/captureReplayEvent'; | ||
import { Session } from './session/Session'; | ||
@@ -45,8 +44,6 @@ import { ReplayPerformanceEntry } from './createPerformanceEntry'; | ||
/** | ||
* Flag to make sure we only create a replay event when | ||
* necessary (i.e. we only want to have a single replay | ||
* event per session and it should only be created | ||
* immediately before sending recording) | ||
* Flag when a new session has been created. Captured replay events behave | ||
* slightly differently in this case: `replay_start_timestamp` is included. | ||
*/ | ||
private needsCaptureReplay; | ||
private newSessionCreated; | ||
/** | ||
@@ -221,3 +218,3 @@ * Is the integration currently active? | ||
timestamp?: number; | ||
}): CaptureReplayParams & CaptureReplayUpdateParams; | ||
}): CaptureReplayEventParams; | ||
/** | ||
@@ -233,3 +230,3 @@ * Flushes replay event buffer to Sentry. | ||
*/ | ||
sendReplayRequest({ endpoint, events }: ReplayRequest): Promise<void>; | ||
sendReplayRequest({ endpoint, events, replayId: event_id, segmentId: segment_id, }: ReplayRequest): Promise<void>; | ||
resetRetries(): void; | ||
@@ -239,4 +236,4 @@ /** | ||
*/ | ||
sendReplay(eventId: string, events: RecordedEvents): Promise<boolean | undefined>; | ||
sendReplay(replayId: string, events: RecordedEvents, segmentId: number): Promise<true | undefined>; | ||
} | ||
export {}; |
@@ -9,2 +9,4 @@ import { record } from 'rrweb'; | ||
events: RecordedEvents; | ||
replayId: string; | ||
segmentId: number; | ||
} | ||
@@ -11,0 +13,0 @@ export declare type InstrumentationTypeBreadcrumb = 'dom' | 'scope'; |
import { Breadcrumb, Event, Integration } from '@sentry/types'; | ||
import { CaptureReplayParams } from './api/captureReplay'; | ||
import { CaptureReplayUpdateParams } from './api/captureReplayUpdate'; | ||
import { CaptureReplayEventParams } from './api/captureReplayEvent'; | ||
import { Session } from './session/Session'; | ||
@@ -45,8 +44,6 @@ import { ReplayPerformanceEntry } from './createPerformanceEntry'; | ||
/** | ||
* Flag to make sure we only create a replay event when | ||
* necessary (i.e. we only want to have a single replay | ||
* event per session and it should only be created | ||
* immediately before sending recording) | ||
* Flag when a new session has been created. Captured replay events behave | ||
* slightly differently in this case: `replay_start_timestamp` is included. | ||
*/ | ||
private needsCaptureReplay; | ||
private newSessionCreated; | ||
/** | ||
@@ -221,3 +218,3 @@ * Is the integration currently active? | ||
timestamp?: number; | ||
}): CaptureReplayParams & CaptureReplayUpdateParams; | ||
}): CaptureReplayEventParams; | ||
/** | ||
@@ -233,3 +230,3 @@ * Flushes replay event buffer to Sentry. | ||
*/ | ||
sendReplayRequest({ endpoint, events }: ReplayRequest): Promise<void>; | ||
sendReplayRequest({ endpoint, events, replayId: event_id, segmentId: segment_id, }: ReplayRequest): Promise<void>; | ||
resetRetries(): void; | ||
@@ -239,4 +236,4 @@ /** | ||
*/ | ||
sendReplay(eventId: string, events: RecordedEvents): Promise<boolean | undefined>; | ||
sendReplay(replayId: string, events: RecordedEvents, segmentId: number): Promise<true | undefined>; | ||
} | ||
export {}; |
@@ -9,2 +9,4 @@ import { record } from 'rrweb'; | ||
events: RecordedEvents; | ||
replayId: string; | ||
segmentId: number; | ||
} | ||
@@ -11,0 +13,0 @@ export declare type InstrumentationTypeBreadcrumb = 'dom' | 'scope'; |
{ | ||
"name": "@sentry/replay", | ||
"version": "0.5.12", | ||
"version": "0.5.13", | ||
"description": "User replays for Sentry", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
457549
86
4976
1
45