Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sentry/replay

Package Overview
Dependencies
Maintainers
12
Versions
235
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 0.5.12 to 0.5.13

dist/types/src/api/captureReplayEvent.d.ts

17

dist/config/types/src/index.d.ts
import { Breadcrumb, Event, Integration } from '@sentry/types';
import { CaptureReplayParams } from './api/captureReplay';
import { CaptureReplayUpdateParams } from './api/captureReplayUpdate';
import { CaptureReplayEventParams } from './api/captureReplayEvent';
import { Session } from './session/Session';

@@ -45,8 +44,6 @@ import { ReplayPerformanceEntry } from './createPerformanceEntry';

/**
* Flag to make sure we only create a replay event when
* necessary (i.e. we only want to have a single replay
* event per session and it should only be created
* immediately before sending recording)
* Flag when a new session has been created. Captured replay events behave
* slightly differently in this case: `replay_start_timestamp` is included.
*/
private needsCaptureReplay;
private newSessionCreated;
/**

@@ -221,3 +218,3 @@ * Is the integration currently active?

timestamp?: number;
}): CaptureReplayParams & CaptureReplayUpdateParams;
}): CaptureReplayEventParams;
/**

@@ -233,3 +230,3 @@ * Flushes replay event buffer to Sentry.

*/
sendReplayRequest({ endpoint, events }: ReplayRequest): Promise<void>;
sendReplayRequest({ endpoint, events, replayId: event_id, segmentId: segment_id, }: ReplayRequest): Promise<void>;
resetRetries(): void;

@@ -239,4 +236,4 @@ /**

*/
sendReplay(eventId: string, events: RecordedEvents): Promise<boolean | undefined>;
sendReplay(replayId: string, events: RecordedEvents, segmentId: number): Promise<true | undefined>;
}
export {};

@@ -9,2 +9,4 @@ import { record } from 'rrweb';

events: RecordedEvents;
replayId: string;
segmentId: number;
}

@@ -11,0 +13,0 @@ export declare type InstrumentationTypeBreadcrumb = 'dom' | 'scope';

import { Breadcrumb, Event, Integration } from '@sentry/types';
import { CaptureReplayParams } from './api/captureReplay';
import { CaptureReplayUpdateParams } from './api/captureReplayUpdate';
import { CaptureReplayEventParams } from './api/captureReplayEvent';
import { Session } from './session/Session';

@@ -45,8 +44,6 @@ import { ReplayPerformanceEntry } from './createPerformanceEntry';

/**
* Flag to make sure we only create a replay event when
* necessary (i.e. we only want to have a single replay
* event per session and it should only be created
* immediately before sending recording)
* Flag when a new session has been created. Captured replay events behave
* slightly differently in this case: `replay_start_timestamp` is included.
*/
private needsCaptureReplay;
private newSessionCreated;
/**

@@ -221,3 +218,3 @@ * Is the integration currently active?

timestamp?: number;
}): CaptureReplayParams & CaptureReplayUpdateParams;
}): CaptureReplayEventParams;
/**

@@ -233,3 +230,3 @@ * Flushes replay event buffer to Sentry.

*/
sendReplayRequest({ endpoint, events }: ReplayRequest): Promise<void>;
sendReplayRequest({ endpoint, events, replayId: event_id, segmentId: segment_id, }: ReplayRequest): Promise<void>;
resetRetries(): void;

@@ -239,4 +236,4 @@ /**

*/
sendReplay(eventId: string, events: RecordedEvents): Promise<boolean | undefined>;
sendReplay(replayId: string, events: RecordedEvents, segmentId: number): Promise<true | undefined>;
}
export {};

@@ -9,2 +9,4 @@ import { record } from 'rrweb';

events: RecordedEvents;
replayId: string;
segmentId: number;
}

@@ -11,0 +13,0 @@ export declare type InstrumentationTypeBreadcrumb = 'dom' | 'scope';

{
"name": "@sentry/replay",
"version": "0.5.12",
"version": "0.5.13",
"description": "User replays for Sentry",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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

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