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

@amplitude/session-replay-browser

Package Overview
Dependencies
Maintainers
20
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.1.1 to 0.2.0

5

lib/cjs/session-replay.d.ts

@@ -22,5 +22,8 @@ import { Logger as ILogger } from '@amplitude/analytics-types';

setSessionId(sessionId: number): void;
getSessionRecordingProperties(): {
getSessionReplayProperties(): {
[x: string]: boolean;
};
getSessionRecordingProperties: () => {
[x: string]: boolean;
};
blurListener: () => void;

@@ -27,0 +30,0 @@ focusListener: () => void;

6

lib/cjs/session-replay.js

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

this.timeAtLastSend = null;
this.getSessionRecordingProperties = function () {
_this.loggerProvider.warn('Please use getSessionReplayProperties instead of getSessionRecordingProperties.');
return _this.getSessionReplayProperties();
};
this.blurListener = function () {

@@ -95,3 +99,3 @@ _this.stopRecordingAndSendEvents();

};
SessionReplay.prototype.getSessionRecordingProperties = function () {
SessionReplay.prototype.getSessionReplayProperties = function () {
var _a;

@@ -98,0 +102,0 @@ if (!this.config) {

@@ -22,5 +22,8 @@ import { Logger as ILogger } from '@amplitude/analytics-types';

setSessionId(sessionId: number): void;
getSessionRecordingProperties(): {
getSessionReplayProperties(): {
[x: string]: boolean;
};
getSessionRecordingProperties: () => {
[x: string]: boolean;
};
blurListener: () => void;

@@ -27,0 +30,0 @@ focusListener: () => void;

@@ -26,2 +26,6 @@ import { __assign, __awaiter, __generator, __read } from "tslib";

this.timeAtLastSend = null;
this.getSessionRecordingProperties = function () {
_this.loggerProvider.warn('Please use getSessionReplayProperties instead of getSessionRecordingProperties.');
return _this.getSessionReplayProperties();
};
this.blurListener = function () {

@@ -93,3 +97,3 @@ _this.stopRecordingAndSendEvents();

};
SessionReplay.prototype.getSessionRecordingProperties = function () {
SessionReplay.prototype.getSessionReplayProperties = function () {
var _a;

@@ -96,0 +100,0 @@ if (!this.config) {

@@ -22,5 +22,8 @@ import { Logger as ILogger } from '@amplitude/analytics-types';

setSessionId(sessionId: number): void;
getSessionRecordingProperties(): {
getSessionReplayProperties(): {
[x: string]: boolean;
};
getSessionRecordingProperties: () => {
[x: string]: boolean;
};
blurListener: () => void;

@@ -27,0 +30,0 @@ focusListener: () => void;

{
"name": "@amplitude/session-replay-browser",
"version": "0.1.1",
"version": "0.2.0",
"description": "",

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

],
"gitHead": "f361d34b9158827f298df4486d2f5110af1a880e"
"gitHead": "13f2829fcd08d72896544607aa155eec3e0f0ea8"
}

@@ -53,6 +53,6 @@ <p align="center">

```typescript
const sessionRecordingProperties = sessionReplay.getSessionRecordingProperties();
const sessionReplayProperties = sessionReplay.getSessionReplayProperties();
track(EVENT_NAME, {
...eventProperties,
...sessionRecordingProperties
...sessionReplayProperties
})

@@ -59,0 +59,0 @@ ```

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

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