@sentry/replay
Advanced tools
Comparing version 0.5.9 to 0.5.10
@@ -61,4 +61,3 @@ import { Breadcrumb, Event, Integration } from '@sentry/types'; | ||
session: Session | undefined; | ||
constructor({ flushMinDelay, flushMaxDelay, initialFlushDelay, stickySession, // TBD: Making this opt-in for now | ||
useCompression, captureOnlyOnError, replaysSamplingRate, recordingConfig: { maskAllInputs, blockClass, ignoreClass, maskTextClass, ...recordingOptions }, }?: SentryReplayConfiguration); | ||
constructor({ flushMinDelay, flushMaxDelay, initialFlushDelay, stickySession, useCompression, captureOnlyOnError, replaysSamplingRate, recordingConfig: { maskAllInputs, blockClass, ignoreClass, maskTextClass, ...recordingOptions }, }?: SentryReplayConfiguration); | ||
/** | ||
@@ -207,3 +206,3 @@ * Because we create a transaction in `setupOnce`, we can potentially create a | ||
*/ | ||
conditionalFlush(lastActivity?: number): Promise<void> | undefined; | ||
conditionalFlush(): Promise<void> | undefined; | ||
/** | ||
@@ -221,3 +220,3 @@ * Return and clear context | ||
*/ | ||
flushUpdate(lastActivity?: number): Promise<void>; | ||
flushUpdate(): Promise<void>; | ||
/** | ||
@@ -224,0 +223,0 @@ * Send replay attachment using `fetch()` |
@@ -7,4 +7,4 @@ declare const logger: { | ||
enable(): void; | ||
info: (...args: unknown[]) => void; | ||
debug: (...args: unknown[]) => void; | ||
info: (...args: unknown[]) => void; | ||
assert: (...args: unknown[]) => void; | ||
@@ -11,0 +11,0 @@ trace: (...args: unknown[]) => void; |
@@ -61,4 +61,3 @@ import { Breadcrumb, Event, Integration } from '@sentry/types'; | ||
session: Session | undefined; | ||
constructor({ flushMinDelay, flushMaxDelay, initialFlushDelay, stickySession, // TBD: Making this opt-in for now | ||
useCompression, captureOnlyOnError, replaysSamplingRate, recordingConfig: { maskAllInputs, blockClass, ignoreClass, maskTextClass, ...recordingOptions }, }?: SentryReplayConfiguration); | ||
constructor({ flushMinDelay, flushMaxDelay, initialFlushDelay, stickySession, useCompression, captureOnlyOnError, replaysSamplingRate, recordingConfig: { maskAllInputs, blockClass, ignoreClass, maskTextClass, ...recordingOptions }, }?: SentryReplayConfiguration); | ||
/** | ||
@@ -207,3 +206,3 @@ * Because we create a transaction in `setupOnce`, we can potentially create a | ||
*/ | ||
conditionalFlush(lastActivity?: number): Promise<void> | undefined; | ||
conditionalFlush(): Promise<void> | undefined; | ||
/** | ||
@@ -221,3 +220,3 @@ * Return and clear context | ||
*/ | ||
flushUpdate(lastActivity?: number): Promise<void>; | ||
flushUpdate(): Promise<void>; | ||
/** | ||
@@ -224,0 +223,0 @@ * Send replay attachment using `fetch()` |
{ | ||
"name": "@sentry/replay", | ||
"version": "0.5.9", | ||
"version": "0.5.10", | ||
"description": "User replays for Sentry", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -39,3 +39,3 @@ # sentry-replay | ||
new SentryReplay({ | ||
stickySession: true, // Default is false | ||
stickySession: false, // Default is true | ||
recordingConfig: { | ||
@@ -58,3 +58,3 @@ maskAllInputs: false, // Default is true | ||
| `initialFlushDelay` | `number` | `5000` | The amount of time to wait (in ms) before sending the initial recording payload. This helps drop recordings where users visit and close the page quickly. | | ||
| `stickySession` | `boolean` | `false` | Keep track of the user across page loads. Note a single user using multiple tabs will result in multiple sessions. Closing a tab will result in the session being closed as well. | | ||
| `stickySession` | `boolean` | `true` | Keep track of the user across page loads. Note a single user using multiple tabs will result in multiple sessions. Closing a tab will result in the session being closed as well. | | ||
| `useCompression` | `boolean` | `true` | Uses `WebWorkers` (if available) to compress the recording payload before uploading to Sentry. | | ||
@@ -61,0 +61,0 @@ | `captureOnlyOnError` | `boolean` | `false` | Only capture the recording when an error happens. | |
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
451250
86
4914