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.9 to 0.5.10

dist/config/types/src/session/deleteSession.d.ts

7

dist/config/types/src/index.d.ts

@@ -61,4 +61,3 @@ import { Breadcrumb, Event, Integration } from '@sentry/types';

session: Session | undefined;
constructor({ flushMinDelay, flushMaxDelay, initialFlushDelay, stickySession, // TBD: Making this opt-in for now
useCompression, captureOnlyOnError, replaysSamplingRate, recordingConfig: { maskAllInputs, blockClass, ignoreClass, maskTextClass, ...recordingOptions }, }?: SentryReplayConfiguration);
constructor({ flushMinDelay, flushMaxDelay, initialFlushDelay, stickySession, useCompression, captureOnlyOnError, replaysSamplingRate, recordingConfig: { maskAllInputs, blockClass, ignoreClass, maskTextClass, ...recordingOptions }, }?: SentryReplayConfiguration);
/**

@@ -207,3 +206,3 @@ * Because we create a transaction in `setupOnce`, we can potentially create a

*/
conditionalFlush(lastActivity?: number): Promise<void> | undefined;
conditionalFlush(): Promise<void> | undefined;
/**

@@ -221,3 +220,3 @@ * Return and clear context

*/
flushUpdate(lastActivity?: number): Promise<void>;
flushUpdate(): Promise<void>;
/**

@@ -224,0 +223,0 @@ * Send replay attachment using `fetch()`

@@ -7,4 +7,4 @@ declare const logger: {

enable(): void;
info: (...args: unknown[]) => void;
debug: (...args: unknown[]) => void;
info: (...args: unknown[]) => void;
assert: (...args: unknown[]) => void;

@@ -11,0 +11,0 @@ trace: (...args: unknown[]) => void;

@@ -61,4 +61,3 @@ import { Breadcrumb, Event, Integration } from '@sentry/types';

session: Session | undefined;
constructor({ flushMinDelay, flushMaxDelay, initialFlushDelay, stickySession, // TBD: Making this opt-in for now
useCompression, captureOnlyOnError, replaysSamplingRate, recordingConfig: { maskAllInputs, blockClass, ignoreClass, maskTextClass, ...recordingOptions }, }?: SentryReplayConfiguration);
constructor({ flushMinDelay, flushMaxDelay, initialFlushDelay, stickySession, useCompression, captureOnlyOnError, replaysSamplingRate, recordingConfig: { maskAllInputs, blockClass, ignoreClass, maskTextClass, ...recordingOptions }, }?: SentryReplayConfiguration);
/**

@@ -207,3 +206,3 @@ * Because we create a transaction in `setupOnce`, we can potentially create a

*/
conditionalFlush(lastActivity?: number): Promise<void> | undefined;
conditionalFlush(): Promise<void> | undefined;
/**

@@ -221,3 +220,3 @@ * Return and clear context

*/
flushUpdate(lastActivity?: number): Promise<void>;
flushUpdate(): Promise<void>;
/**

@@ -224,0 +223,0 @@ * Send replay attachment using `fetch()`

{
"name": "@sentry/replay",
"version": "0.5.9",
"version": "0.5.10",
"description": "User replays for Sentry",

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

@@ -39,3 +39,3 @@ # sentry-replay

new SentryReplay({
stickySession: true, // Default is false
stickySession: false, // Default is true
recordingConfig: {

@@ -58,3 +58,3 @@ maskAllInputs: false, // Default is true

| `initialFlushDelay` | `number` | `5000` | The amount of time to wait (in ms) before sending the initial recording payload. This helps drop recordings where users visit and close the page quickly. |
| `stickySession` | `boolean` | `false` | Keep track of the user across page loads. Note a single user using multiple tabs will result in multiple sessions. Closing a tab will result in the session being closed as well. |
| `stickySession` | `boolean` | `true` | Keep track of the user across page loads. Note a single user using multiple tabs will result in multiple sessions. Closing a tab will result in the session being closed as well. |
| `useCompression` | `boolean` | `true` | Uses `WebWorkers` (if available) to compress the recording payload before uploading to Sentry. |

@@ -61,0 +61,0 @@ | `captureOnlyOnError` | `boolean` | `false` | Only capture the recording when an error happens. |

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