New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sentry/replay

Package Overview
Dependencies
Maintainers
12
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/replay - npm Package Compare versions

Comparing version 7.54.0 to 7.55.0

types/types/index.d.ts

10

package.json
{
"name": "@sentry/replay",
"version": "7.54.0",
"version": "7.55.0",
"description": "User replays for Sentry",

@@ -21,3 +21,3 @@ "main": "cjs/index.js",

"@babel/core": "^7.17.5",
"@sentry-internal/replay-worker": "7.54.0",
"@sentry-internal/replay-worker": "7.55.0",
"@sentry-internal/rrweb": "1.108.0",

@@ -29,5 +29,5 @@ "@sentry-internal/rrweb-snapshot": "1.108.0",

"dependencies": {
"@sentry/core": "7.54.0",
"@sentry/types": "7.54.0",
"@sentry/utils": "7.54.0"
"@sentry/core": "7.55.0",
"@sentry/types": "7.55.0",
"@sentry/utils": "7.55.0"
},

@@ -34,0 +34,0 @@ "engines": {

@@ -17,2 +17,4 @@ export declare const WINDOW: import("@sentry/utils").InternalGlobal & Window;

export declare const CONSOLE_ARG_MAX_SIZE = 5000;
export declare const SLOW_CLICK_THRESHOLD = 3000;
export declare const SLOW_CLICK_SCROLL_TIMEOUT = 300;
//# sourceMappingURL=constants.d.ts.map
import type { Breadcrumb, Scope } from '@sentry/types';
import type { ReplayContainer } from '../types';
import type { ReplayFrame } from '../types/replayFrame';
declare type BreadcrumbWithCategory = Required<Pick<Breadcrumb, 'category'>>;
export declare const handleScopeListener: (replay: ReplayContainer) => (scope: Scope) => void;

@@ -9,3 +11,4 @@ /**

/** exported for tests only */
export declare function normalizeConsoleBreadcrumb(breadcrumb: Breadcrumb): Breadcrumb;
export declare function normalizeConsoleBreadcrumb(breadcrumb: Omit<Breadcrumb, 'category'> & BreadcrumbWithCategory): ReplayFrame;
export {};
//# sourceMappingURL=handleScope.d.ts.map

@@ -11,3 +11,5 @@ import type { Breadcrumb } from '@sentry/types';

export declare function detectSlowClick(replay: ReplayContainer, config: SlowClickConfig, clickBreadcrumb: ClickBreadcrumb, node: HTMLElement): void;
/** exported for tests only */
export declare function ignoreElement(node: HTMLElement, config: SlowClickConfig): boolean;
export {};
//# sourceMappingURL=handleSlowClick.d.ts.map
export { Replay } from './integration';
export type { BreadcrumbFrame, BreadcrumbFrameEvent, OptionFrameEvent, ReplayFrame, ReplayFrameEvent, SpanFrame, SpanFrameEvent, } from './types';
export { EventType } from '@sentry-internal/rrweb';
export { NodeType } from '@sentry-internal/rrweb-snapshot';
export type { eventWithTime, fullSnapshotEvent } from '@sentry-internal/rrweb';
export type { serializedNodeWithId } from '@sentry-internal/rrweb-snapshot';
//# sourceMappingURL=index.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, networkDetailAllowUrls, networkCaptureBodies, networkRequestHeaders, networkResponseHeaders, mask, unmask, block, unblock, ignore, maskFn, beforeAddRecordingEvent, blockClass, blockSelector, maskInputOptions, maskTextClass, maskTextSelector, ignoreClass, }?: ReplayConfiguration);
constructor({ flushMinDelay, flushMaxDelay, stickySession, useCompression, _experiments, sessionSampleRate, errorSampleRate, maskAllText, maskAllInputs, blockAllMedia, mutationBreadcrumbLimit, mutationLimit, slowClickTimeout, slowClickIgnoreSelectors, networkDetailAllowUrls, 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;

@@ -151,2 +151,10 @@ import type { ReplayRecordingMode, Transaction } from '@sentry/types';

/**
* Updates the user activity timestamp *without* resuming
* recording. Some user events (e.g. keydown) can be create
* low-value replays that only contain the keypress as a
* breadcrumb. Instead this would require other events to
* create a new replay after a session has expired.
*/
updateUserActivity(): void;
/**
* Only flush if `this.recordingMode === 'session'`

@@ -153,0 +161,0 @@ */

@@ -0,12 +1,4 @@

import type { EventType } from '@sentry-internal/rrweb';
declare type blockClass = string | RegExp;
declare type maskTextClass = string | RegExp;
export declare enum EventType {
DomContentLoaded = 0,
Load = 1,
FullSnapshot = 2,
IncrementalSnapshot = 3,
Meta = 4,
Custom = 5,
Plugin = 6
}
/**

@@ -13,0 +5,0 @@ * This is a partial copy of rrweb's eventWithTime type which only contains the properties

@@ -1,8 +0,6 @@

import type { Breadcrumb } from '@sentry/types';
declare type RequiredProperties = 'category' | 'message';
import type { BreadcrumbFrame } from '../types/replayFrame';
/**
* Create a breadcrumb for a replay.
*/
export declare function createBreadcrumb(breadcrumb: Pick<Breadcrumb, RequiredProperties> & Partial<Omit<Breadcrumb, RequiredProperties>>): Breadcrumb;
export {};
export declare function createBreadcrumb(breadcrumb: Omit<BreadcrumbFrame, 'timestamp' | 'type'> & Partial<Pick<BreadcrumbFrame, 'timestamp'>>): BreadcrumbFrame;
//# sourceMappingURL=createBreadcrumb.d.ts.map

@@ -1,2 +0,2 @@

import type { RecordingEvent, ReplayContainer } from '../types';
import type { OptionFrameEvent, RecordingEvent, ReplayContainer } from '../types';
declare type RecordingEmitCallback = (event: RecordingEvent, isCheckout?: boolean) => void;

@@ -12,4 +12,4 @@ /**

*/
export declare function createOptionsEvent(replay: ReplayContainer): RecordingEvent;
export declare function createOptionsEvent(replay: ReplayContainer): OptionFrameEvent;
export {};
//# sourceMappingURL=handleRecordingEmit.d.ts.map

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc