@sentry/replay
Advanced tools
Comparing version 7.59.3 to 7.60.0
{ | ||
"name": "@sentry/replay", | ||
"version": "7.59.3", | ||
"version": "7.60.0", | ||
"description": "User replays for Sentry", | ||
@@ -28,3 +28,3 @@ "main": "cjs/index.js", | ||
"@babel/core": "^7.17.5", | ||
"@sentry-internal/replay-worker": "7.59.3", | ||
"@sentry-internal/replay-worker": "7.60.0", | ||
"@sentry-internal/rrweb": "1.108.0", | ||
@@ -36,5 +36,5 @@ "@sentry-internal/rrweb-snapshot": "1.108.0", | ||
"dependencies": { | ||
"@sentry/core": "7.59.3", | ||
"@sentry/types": "7.59.3", | ||
"@sentry/utils": "7.59.3" | ||
"@sentry/core": "7.60.0", | ||
"@sentry/types": "7.60.0", | ||
"@sentry/utils": "7.60.0" | ||
}, | ||
@@ -41,0 +41,0 @@ "engines": { |
@@ -21,2 +21,5 @@ export declare const WINDOW: import("@sentry/utils").InternalGlobal & Window; | ||
export declare const REPLAY_MAX_EVENT_BUFFER_SIZE = 20000000; | ||
/** Replays must be min. 5s long before we send them. */ | ||
export declare const MIN_REPLAY_DURATION = 4999; | ||
export declare const MIN_REPLAY_DURATION_LIMIT = 15000; | ||
//# sourceMappingURL=constants.d.ts.map |
@@ -28,3 +28,3 @@ import type { Integration } from '@sentry/types'; | ||
private _replay?; | ||
constructor({ flushMinDelay, flushMaxDelay, stickySession, useCompression, _experiments, sessionSampleRate, errorSampleRate, maskAllText, maskAllInputs, blockAllMedia, mutationBreadcrumbLimit, mutationLimit, slowClickTimeout, slowClickIgnoreSelectors, networkDetailAllowUrls, networkDetailDenyUrls, networkCaptureBodies, networkRequestHeaders, networkResponseHeaders, mask, unmask, block, unblock, ignore, maskFn, beforeAddRecordingEvent, blockClass, blockSelector, maskInputOptions, maskTextClass, maskTextSelector, ignoreClass, }?: ReplayConfiguration); | ||
constructor({ flushMinDelay, flushMaxDelay, minReplayDuration, stickySession, useCompression, _experiments, sessionSampleRate, errorSampleRate, maskAllText, maskAllInputs, blockAllMedia, mutationBreadcrumbLimit, mutationLimit, slowClickTimeout, slowClickIgnoreSelectors, networkDetailAllowUrls, networkDetailDenyUrls, networkCaptureBodies, networkRequestHeaders, networkResponseHeaders, mask, unmask, block, unblock, ignore, maskFn, beforeAddRecordingEvent, blockClass, blockSelector, maskInputOptions, maskTextClass, maskTextSelector, ignoreClass, }?: ReplayConfiguration); | ||
/** If replay has already been initialized */ | ||
@@ -31,0 +31,0 @@ protected get _isInitialized(): boolean; |
@@ -148,2 +148,8 @@ import type { Breadcrumb, FetchBreadcrumbHint, HandlerDataFetch, ReplayRecordingData, ReplayRecordingMode, SentryWrappedXMLHttpRequest, Transaction, XhrBreadcrumbHint } from '@sentry/types'; | ||
/** | ||
* The min. duration (in ms) a replay has to have before it is sent to Sentry. | ||
* Whenever attempting to flush a session that is shorter than this, it will not actually send it to Sentry. | ||
* Note that this is capped at max. 15s. | ||
*/ | ||
minReplayDuration: number; | ||
/** | ||
* Callback before adding a custom recording event | ||
@@ -150,0 +156,0 @@ * |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2154803
17647
+ Added@sentry/core@7.60.0(transitive)
+ Added@sentry/types@7.60.0(transitive)
+ Added@sentry/utils@7.60.0(transitive)
- Removed@sentry/core@7.59.3(transitive)
- Removed@sentry/types@7.59.3(transitive)
- Removed@sentry/utils@7.59.3(transitive)
Updated@sentry/core@7.60.0
Updated@sentry/types@7.60.0
Updated@sentry/utils@7.60.0