@sentry/replay
Advanced tools
Comparing version 7.72.0 to 7.73.0
{ | ||
"name": "@sentry/replay", | ||
"version": "7.72.0", | ||
"version": "7.73.0", | ||
"description": "User replays for Sentry", | ||
@@ -28,5 +28,5 @@ "main": "cjs/index.js", | ||
"@babel/core": "^7.17.5", | ||
"@sentry-internal/replay-worker": "7.72.0", | ||
"@sentry-internal/rrweb": "1.108.0", | ||
"@sentry-internal/rrweb-snapshot": "1.108.0", | ||
"@sentry-internal/replay-worker": "7.73.0", | ||
"@sentry-internal/rrweb": "2.0.0", | ||
"@sentry-internal/rrweb-snapshot": "2.0.0", | ||
"jsdom-worker": "^0.2.1", | ||
@@ -36,5 +36,5 @@ "tslib": "^2.4.1 || ^1.9.3" | ||
"dependencies": { | ||
"@sentry/core": "7.72.0", | ||
"@sentry/types": "7.72.0", | ||
"@sentry/utils": "7.72.0" | ||
"@sentry/core": "7.73.0", | ||
"@sentry/types": "7.73.0", | ||
"@sentry/utils": "7.73.0" | ||
}, | ||
@@ -41,0 +41,0 @@ "engines": { |
@@ -25,2 +25,4 @@ export declare const WINDOW: import("@sentry/utils").InternalGlobal & Window; | ||
export declare const MAX_REPLAY_DURATION = 3600000; | ||
/** Default attributes to be ignored when `maskAllText` is enabled */ | ||
export declare const DEFAULT_IGNORED_ATTRIBUTES: string[]; | ||
//# sourceMappingURL=constants.d.ts.map |
@@ -1,2 +0,1 @@ | ||
import { INode } from '@sentry-internal/rrweb-snapshot'; | ||
import { Breadcrumb } from '@sentry/types'; | ||
@@ -7,3 +6,3 @@ import { ReplayContainer } from '../types'; | ||
/** Get the base DOM breadcrumb. */ | ||
export declare function getBaseDomBreadcrumb(target: Node | INode | null, message: string): Breadcrumb; | ||
export declare function getBaseDomBreadcrumb(target: Node | null, message: string): Breadcrumb; | ||
/** | ||
@@ -10,0 +9,0 @@ * An event handler to react to DOM events. |
@@ -28,3 +28,3 @@ import { Integration } from '@sentry/types'; | ||
private _replay?; | ||
constructor({ flushMinDelay, flushMaxDelay, minReplayDuration, maxReplayDuration, 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, maxReplayDuration, 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); | ||
/*If replay has already been initialized | ||
@@ -31,0 +31,0 @@ Update _isInitialized */ |
@@ -219,3 +219,8 @@ import { Breadcrumb, FetchBreadcrumbHint, HandlerDataFetch, ReplayRecordingData, ReplayRecordingMode, SentryWrappedXMLHttpRequest, Transaction, XhrBreadcrumbHint } from '@sentry/types'; | ||
} | ||
type OptionalReplayPluginOptions = Partial<ReplayPluginOptions>; | ||
type OptionalReplayPluginOptions = Partial<ReplayPluginOptions> & { | ||
/** | ||
* Mask element attributes that are contained in list | ||
*/ | ||
maskAttributes?: string[]; | ||
}; | ||
export interface DeprecatedPrivacyOptions { | ||
@@ -222,0 +227,0 @@ /** |
@@ -6,4 +6,2 @@ import { DeprecatedPrivacyOptions, ReplayIntegrationPrivacyOptions } from '../types'; | ||
unmaskTextSelector: string; | ||
maskInputSelector: string; | ||
unmaskInputSelector: string; | ||
blockSelector: string; | ||
@@ -10,0 +8,0 @@ unblockSelector: string; |
@@ -25,2 +25,4 @@ export declare const WINDOW: import("@sentry/utils").InternalGlobal & Window; | ||
export declare const MAX_REPLAY_DURATION = 3600000; | ||
/** Default attributes to be ignored when `maskAllText` is enabled */ | ||
export declare const DEFAULT_IGNORED_ATTRIBUTES: string[]; | ||
//# sourceMappingURL=constants.d.ts.map |
@@ -1,2 +0,1 @@ | ||
import type { INode } from '@sentry-internal/rrweb-snapshot'; | ||
import type { Breadcrumb } from '@sentry/types'; | ||
@@ -7,3 +6,3 @@ import type { ReplayContainer } from '../types'; | ||
/** Get the base DOM breadcrumb. */ | ||
export declare function getBaseDomBreadcrumb(target: Node | INode | null, message: string): Breadcrumb; | ||
export declare function getBaseDomBreadcrumb(target: Node | null, message: string): Breadcrumb; | ||
/** | ||
@@ -10,0 +9,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, maxReplayDuration, 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, maxReplayDuration, 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); | ||
/** If replay has already been initialized */ | ||
@@ -31,0 +31,0 @@ protected get _isInitialized(): boolean; |
@@ -219,3 +219,8 @@ import type { Breadcrumb, FetchBreadcrumbHint, HandlerDataFetch, ReplayRecordingData, ReplayRecordingMode, SentryWrappedXMLHttpRequest, Transaction, XhrBreadcrumbHint } from '@sentry/types'; | ||
} | ||
type OptionalReplayPluginOptions = Partial<ReplayPluginOptions>; | ||
type OptionalReplayPluginOptions = Partial<ReplayPluginOptions> & { | ||
/** | ||
* Mask element attributes that are contained in list | ||
*/ | ||
maskAttributes?: string[]; | ||
}; | ||
export interface DeprecatedPrivacyOptions { | ||
@@ -222,0 +227,0 @@ /** |
@@ -6,4 +6,2 @@ import type { DeprecatedPrivacyOptions, ReplayIntegrationPrivacyOptions } from '../types'; | ||
unmaskTextSelector: string; | ||
maskInputSelector: string; | ||
unmaskInputSelector: string; | ||
blockSelector: string; | ||
@@ -10,0 +8,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
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
2628724
235
22654
2
+ Added@sentry/core@7.73.0(transitive)
+ Added@sentry/types@7.73.0(transitive)
+ Added@sentry/utils@7.73.0(transitive)
- Removed@sentry/core@7.72.0(transitive)
- Removed@sentry/types@7.72.0(transitive)
- Removed@sentry/utils@7.72.0(transitive)
Updated@sentry/core@7.73.0
Updated@sentry/types@7.73.0
Updated@sentry/utils@7.73.0