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

@amplitude/plugin-session-replay-browser

Package Overview
Dependencies
Maintainers
20
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amplitude/plugin-session-replay-browser - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

1

lib/cjs/constants.d.ts

@@ -6,2 +6,3 @@ import { IDBStoreSession } from './typings/session-replay';

export declare const DEFAULT_SESSION_END_EVENT = "session_end";
export declare const BLOCK_CLASS = "amp-block";
export declare const MASK_TEXT_CLASS = "amp-mask";

@@ -8,0 +9,0 @@ export declare const UNMASK_TEXT_CLASS = "amp-unmask";

3

lib/cjs/constants.js
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultSessionStore = exports.MAX_INTERVAL = exports.MIN_INTERVAL = exports.MAX_EVENT_LIST_SIZE_IN_BYTES = exports.STORAGE_PREFIX = exports.SESSION_REPLAY_SERVER_URL = exports.UNMASK_TEXT_CLASS = exports.MASK_TEXT_CLASS = exports.DEFAULT_SESSION_END_EVENT = exports.DEFAULT_SESSION_START_EVENT = exports.DEFAULT_SESSION_REPLAY_PROPERTY = exports.DEFAULT_EVENT_PROPERTY_PREFIX = void 0;
exports.defaultSessionStore = exports.MAX_INTERVAL = exports.MIN_INTERVAL = exports.MAX_EVENT_LIST_SIZE_IN_BYTES = exports.STORAGE_PREFIX = exports.SESSION_REPLAY_SERVER_URL = exports.UNMASK_TEXT_CLASS = exports.MASK_TEXT_CLASS = exports.BLOCK_CLASS = exports.DEFAULT_SESSION_END_EVENT = exports.DEFAULT_SESSION_START_EVENT = exports.DEFAULT_SESSION_REPLAY_PROPERTY = exports.DEFAULT_EVENT_PROPERTY_PREFIX = void 0;
var analytics_core_1 = require("@amplitude/analytics-core");

@@ -8,2 +8,3 @@ exports.DEFAULT_EVENT_PROPERTY_PREFIX = '[Amplitude]';

exports.DEFAULT_SESSION_END_EVENT = 'session_end';
exports.BLOCK_CLASS = 'amp-block';
exports.MASK_TEXT_CLASS = 'amp-mask';

@@ -10,0 +11,0 @@ exports.UNMASK_TEXT_CLASS = 'amp-unmask';

@@ -224,2 +224,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

maskTextClass: constants_1.MASK_TEXT_CLASS,
blockClass: constants_1.BLOCK_CLASS,
maskInputFn: helpers_1.maskInputFn,

@@ -226,0 +227,0 @@ });

@@ -6,2 +6,3 @@ import { IDBStoreSession } from './typings/session-replay';

export declare const DEFAULT_SESSION_END_EVENT = "session_end";
export declare const BLOCK_CLASS = "amp-block";
export declare const MASK_TEXT_CLASS = "amp-mask";

@@ -8,0 +9,0 @@ export declare const UNMASK_TEXT_CLASS = "amp-unmask";

@@ -6,2 +6,3 @@ import { AMPLITUDE_PREFIX } from '@amplitude/analytics-core';

export var DEFAULT_SESSION_END_EVENT = 'session_end';
export var BLOCK_CLASS = 'amp-block';
export var MASK_TEXT_CLASS = 'amp-mask';

@@ -8,0 +9,0 @@ export var UNMASK_TEXT_CLASS = 'amp-unmask';

@@ -7,3 +7,3 @@ import { __assign, __awaiter, __generator, __read } from "tslib";

import { pack, record } from 'rrweb';
import { DEFAULT_SESSION_END_EVENT, DEFAULT_SESSION_REPLAY_PROPERTY, DEFAULT_SESSION_START_EVENT, MASK_TEXT_CLASS, MAX_EVENT_LIST_SIZE_IN_BYTES, MAX_INTERVAL, MIN_INTERVAL, SESSION_REPLAY_SERVER_URL, STORAGE_PREFIX, defaultSessionStore, } from './constants';
import { BLOCK_CLASS, DEFAULT_SESSION_END_EVENT, DEFAULT_SESSION_REPLAY_PROPERTY, DEFAULT_SESSION_START_EVENT, MASK_TEXT_CLASS, MAX_EVENT_LIST_SIZE_IN_BYTES, MAX_INTERVAL, MIN_INTERVAL, SESSION_REPLAY_SERVER_URL, STORAGE_PREFIX, defaultSessionStore, } from './constants';
import { maskInputFn } from './helpers';

@@ -223,2 +223,3 @@ import { MAX_RETRIES_EXCEEDED_MESSAGE, STORAGE_FAILURE, UNEXPECTED_ERROR_MESSAGE, getSuccessMessage } from './messages';

maskTextClass: MASK_TEXT_CLASS,
blockClass: BLOCK_CLASS,
maskInputFn: maskInputFn,

@@ -225,0 +226,0 @@ });

@@ -6,2 +6,3 @@ import { IDBStoreSession } from './typings/session-replay';

export declare const DEFAULT_SESSION_END_EVENT = "session_end";
export declare const BLOCK_CLASS = "amp-block";
export declare const MASK_TEXT_CLASS = "amp-mask";

@@ -8,0 +9,0 @@ export declare const UNMASK_TEXT_CLASS = "amp-unmask";

{
"name": "@amplitude/plugin-session-replay-browser",
"version": "0.3.0",
"version": "0.4.0",
"description": "",

@@ -58,3 +58,3 @@ "author": "Amplitude Inc",

],
"gitHead": "7587aac1c8f277a724aae09b8b1041923bee1d1d"
"gitHead": "66d8395c7bac0a60252a80ddf03e037301150b86"
}

@@ -73,1 +73,3 @@ <p align="center">

#### 3. Block non-text elements
In your application code, add the class `.amp-block` to any element you would like to have blocked from the recording. The element will appear in the replay as a placeholder with the same dimensions.

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 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

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