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.17 to 0.5.18

dist/config/types/jest.config.d.ts

2

dist/types/src/index.d.ts

@@ -69,3 +69,3 @@ /// <reference types="lodash" />

session: Session | undefined;
constructor({ flushMinDelay, flushMaxDelay, initialFlushDelay, stickySession, useCompression, captureOnlyOnError, replaysSamplingRate, recordingConfig: { maskAllInputs, blockClass, ignoreClass, maskTextClass, ...recordingOptions }, }?: SentryReplayConfiguration);
constructor({ flushMinDelay, flushMaxDelay, initialFlushDelay, stickySession, useCompression, captureOnlyOnError, replaysSamplingRate, maskAllText, recordingConfig: { maskAllInputs, blockClass, ignoreClass, maskTextClass, ...recordingOptions }, }?: SentryReplayConfiguration);
/**

@@ -72,0 +72,0 @@ * Because we create a transaction in `setupOnce`, we can potentially create a

@@ -64,2 +64,6 @@ import { record } from 'rrweb';

replaysSamplingRate?: number;
/**
* Mask all text in recordings. All text will be replaced with asterisks by default.
*/
maskAllText?: boolean;
}

@@ -66,0 +70,0 @@ export interface SentryReplayConfiguration extends SentryReplayPluginOptions {

{
"name": "@sentry/replay",
"version": "0.5.17",
"version": "0.5.18",
"description": "User replays for Sentry",

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

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

new SentryReplay({
stickySession: false, // Default is true
maskAllText: true, // Will mask all text strings
recordingConfig: {

@@ -70,6 +70,7 @@ 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. |
| `maskAllText` | `boolean` | `false` | Mask *all* text strings with `*`. |
| `replaysSamplingRate` | `number` | `1.0` | The rate at which to sample replays. (1.0 will collect all replays, 0 will collect no replays). |
| `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. |
| `captureOnlyOnError` | `boolean` | `false` | Only capture the recording when an error happens. |
| `replaysSamplingRate` | `number` | `1.0` | The rate at which to sample replays. (1.0 will collect all replays, 0 will collect no replays). |
| `recordingConfig.maskAllInputs` | `boolean` | `true` | Mask all `<input>` elements |

@@ -76,0 +77,0 @@ | `recordingConfig.blockClass` | `string` | `'sr-block'` | Redact all elements with the class name `sr-block` |

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