@sentry/replay
Advanced tools
Comparing version 0.5.11 to 0.5.12
@@ -21,8 +21,4 @@ import { Breadcrumb, Event, Integration } from '@sentry/types'; | ||
name: string; | ||
eventBuffer: IEventBuffer; | ||
eventBuffer: IEventBuffer | null; | ||
/** | ||
* Buffer of breadcrumbs to be uploaded | ||
*/ | ||
breadcrumbs: Breadcrumb[]; | ||
/** | ||
* List of PerformanceEntry from PerformanceObserver | ||
@@ -57,2 +53,15 @@ */ | ||
/** | ||
* Is the integration currently active? | ||
*/ | ||
private isEnabled; | ||
/** | ||
* Have we attached listeners to the core SDK? | ||
* Note we have to track this as there is no way to remove instrumentation handlers. | ||
*/ | ||
private hasInitializedCoreListeners; | ||
/** | ||
* Function to stop recording | ||
*/ | ||
private stopRecording; | ||
/** | ||
* Captured state when integration is first initialized | ||
@@ -59,0 +68,0 @@ */ |
@@ -21,8 +21,4 @@ import { Breadcrumb, Event, Integration } from '@sentry/types'; | ||
name: string; | ||
eventBuffer: IEventBuffer; | ||
eventBuffer: IEventBuffer | null; | ||
/** | ||
* Buffer of breadcrumbs to be uploaded | ||
*/ | ||
breadcrumbs: Breadcrumb[]; | ||
/** | ||
* List of PerformanceEntry from PerformanceObserver | ||
@@ -57,2 +53,15 @@ */ | ||
/** | ||
* Is the integration currently active? | ||
*/ | ||
private isEnabled; | ||
/** | ||
* Have we attached listeners to the core SDK? | ||
* Note we have to track this as there is no way to remove instrumentation handlers. | ||
*/ | ||
private hasInitializedCoreListeners; | ||
/** | ||
* Function to stop recording | ||
*/ | ||
private stopRecording; | ||
/** | ||
* Captured state when integration is first initialized | ||
@@ -59,0 +68,0 @@ */ |
{ | ||
"name": "@sentry/replay", | ||
"version": "0.5.11", | ||
"version": "0.5.12", | ||
"description": "User replays for Sentry", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -49,3 +49,15 @@ # sentry-replay | ||
### Stopping Replays | ||
To stop replays you can call the `destroy()` method on the integration instance. It's possible to resume recording by calling `setup()`. | ||
```javascript | ||
const replay = new SentryReplay(); // This will begin recording replays | ||
replay.destroy(); // Stop recording | ||
replay.setup(); // Start recording again | ||
``` | ||
## Configuration | ||
@@ -52,0 +64,0 @@ |
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
458687
5025
77