@sentry/replay
Advanced tools
Comparing version 7.65.0-alpha.0 to 7.65.0
{ | ||
"name": "@sentry/replay", | ||
"version": "7.65.0-alpha.0", | ||
"version": "7.65.0", | ||
"description": "User replays for Sentry", | ||
@@ -28,5 +28,5 @@ "main": "cjs/index.js", | ||
"@babel/core": "^7.17.5", | ||
"@sentry-internal/replay-worker": "7.65.0-alpha.0", | ||
"@sentry-internal/rrweb": "2.0.0-alpha10.1", | ||
"@sentry-internal/rrweb-snapshot": "2.0.0-alpha10.1", | ||
"@sentry-internal/replay-worker": "7.65.0", | ||
"@sentry-internal/rrweb": "1.108.0", | ||
"@sentry-internal/rrweb-snapshot": "1.108.0", | ||
"jsdom-worker": "^0.2.1", | ||
@@ -36,5 +36,5 @@ "tslib": "^2.4.1 || ^1.9.3" | ||
"dependencies": { | ||
"@sentry/core": "7.65.0-alpha.0", | ||
"@sentry/types": "7.65.0-alpha.0", | ||
"@sentry/utils": "7.65.0-alpha.0" | ||
"@sentry/core": "7.65.0", | ||
"@sentry/types": "7.65.0", | ||
"@sentry/utils": "7.65.0" | ||
}, | ||
@@ -41,0 +41,0 @@ "engines": { |
@@ -24,4 +24,2 @@ export declare const WINDOW: import("@sentry/utils").InternalGlobal & Window; | ||
export declare const MIN_REPLAY_DURATION_LIMIT = 15000; | ||
/** Default attributes to be ignored when `maskAllText` is enabled */ | ||
export declare const DEFAULT_IGNORED_ATTRIBUTES: string[]; | ||
//# sourceMappingURL=constants.d.ts.map |
@@ -0,1 +1,2 @@ | ||
import type { INode } from '@sentry-internal/rrweb-snapshot'; | ||
import type { Breadcrumb } from '@sentry/types'; | ||
@@ -6,3 +7,3 @@ import type { ReplayContainer } from '../types'; | ||
/** Get the base DOM breadcrumb. */ | ||
export declare function getBaseDomBreadcrumb(target: Node | null, message: string): Breadcrumb; | ||
export declare function getBaseDomBreadcrumb(target: Node | INode | null, message: string): Breadcrumb; | ||
/** | ||
@@ -9,0 +10,0 @@ * An event handler to react to DOM events. |
@@ -28,3 +28,3 @@ import type { Integration } from '@sentry/types'; | ||
private _replay?; | ||
constructor({ flushMinDelay, flushMaxDelay, minReplayDuration, stickySession, useCompression, _experiments, sessionSampleRate, errorSampleRate, maskAllText, maskAllInputs, blockAllMedia, mutationBreadcrumbLimit, mutationLimit, slowClickTimeout, slowClickIgnoreSelectors, networkDetailAllowUrls, networkDetailDenyUrls, networkCaptureBodies, networkRequestHeaders, networkResponseHeaders, mask, maskAttributes, 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; |
@@ -217,5 +217,9 @@ import type { ReplayRecordingMode, Transaction } from '@sentry/types'; | ||
* Loads (or refreshes) the current session. | ||
*/ | ||
private _initializeSessionForSampling; | ||
/** | ||
* Checks and potentially refreshes the current session. | ||
* Returns false if session is not recorded. | ||
*/ | ||
private _loadAndCheckSession; | ||
private _checkSession; | ||
/** | ||
@@ -222,0 +226,0 @@ * Adds listeners to record events for the replay |
@@ -11,3 +11,5 @@ import type { Sampled, Session, SessionOptions } from '../types'; | ||
*/ | ||
export declare function createSession({ sessionSampleRate, allowBuffering, stickySession }: SessionOptions): Session; | ||
export declare function createSession({ sessionSampleRate, allowBuffering, stickySession }: SessionOptions, { previousSessionId }?: { | ||
previousSessionId?: string; | ||
}): Session; | ||
//# sourceMappingURL=createSession.d.ts.map |
@@ -215,8 +215,3 @@ import type { Breadcrumb, FetchBreadcrumbHint, HandlerDataFetch, ReplayRecordingData, ReplayRecordingMode, SentryWrappedXMLHttpRequest, Transaction, XhrBreadcrumbHint } from '@sentry/types'; | ||
} | ||
type OptionalReplayPluginOptions = Partial<ReplayPluginOptions> & { | ||
/** | ||
* Mask element attributes that are contained in list | ||
*/ | ||
maskAttributes?: string[]; | ||
}; | ||
type OptionalReplayPluginOptions = Partial<ReplayPluginOptions>; | ||
export interface DeprecatedPrivacyOptions { | ||
@@ -223,0 +218,0 @@ /** |
@@ -6,2 +6,4 @@ import type { DeprecatedPrivacyOptions, ReplayIntegrationPrivacyOptions } from '../types'; | ||
unmaskTextSelector: string; | ||
maskInputSelector: string; | ||
unmaskInputSelector: string; | ||
blockSelector: string; | ||
@@ -8,0 +10,0 @@ unblockSelector: string; |
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
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
0
2184133
18030
+ Added@sentry/core@7.65.0(transitive)
+ Added@sentry/types@7.65.0(transitive)
+ Added@sentry/utils@7.65.0(transitive)
- Removed@sentry/core@7.65.0-alpha.0(transitive)
- Removed@sentry/types@7.65.0-alpha.0(transitive)
- Removed@sentry/utils@7.65.0-alpha.0(transitive)
Updated@sentry/core@7.65.0
Updated@sentry/types@7.65.0
Updated@sentry/utils@7.65.0