Socket
Socket
Sign inDemoInstall

@openreplay/tracker

Package Overview
Dependencies
Maintainers
3
Versions
209
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openreplay/tracker - npm Package Compare versions

Comparing version 12.0.7-beta.1 to 12.0.7

2

cjs/app/index.js

@@ -83,3 +83,3 @@ "use strict";

this.activityState = ActivityState.NotActive;
this.version = '12.0.7-beta.1'; // TODO: version compatability check inside each plugin.
this.version = '12.0.7'; // TODO: version compatability check inside each plugin.
this.compressionThreshold = 24 * 1000;

@@ -86,0 +86,0 @@ this.restartAttempts = 0;

@@ -100,3 +100,3 @@ "use strict";

req.send(JSON.stringify({
trackerVersion: '12.0.7-beta.1',
trackerVersion: '12.0.7',
projectKey: this.options.projectKey,

@@ -212,3 +212,2 @@ doNotTrack,

const sessStorage = app.sessionStorage ?? window.sessionStorage;
// @ts-ignore ?
window.open = function (...args) {

@@ -221,5 +220,5 @@ if (options.autoResetOnWindowOpen) {

}
wOpen.call(window, ...args);
app.resetNextPageSession(false);
sessStorage.setItem(options.session_tabid_key || '__openreplay_tabid', tabId);
return wOpen.call(window, ...args);
};

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

@@ -262,3 +262,4 @@ "use strict";

item.readyState = 4;
void this.handleResponseBody(resp.clone(), item).then((responseValue) => {
this.handleResponseBody(resp.clone(), item)
.then((responseValue) => {
item.responseSize =

@@ -272,2 +273,10 @@ typeof responseValue === 'string' ? responseValue.length : responseValue.byteLength;

}
})
.catch((e) => {
if (e.name !== 'AbortError') {
throw e;
}
else {
// ignore AbortError
}
});

@@ -274,0 +283,0 @@ }

@@ -54,3 +54,3 @@ import ConditionsManager from '../modules/conditionsManager.js';

this.activityState = ActivityState.NotActive;
this.version = '12.0.7-beta.1'; // TODO: version compatability check inside each plugin.
this.version = '12.0.7'; // TODO: version compatability check inside each plugin.
this.compressionThreshold = 24 * 1000;

@@ -57,0 +57,0 @@ this.restartAttempts = 0;

@@ -69,3 +69,3 @@ import App, { DEFAULT_INGEST_POINT } from './app/index.js';

req.send(JSON.stringify({
trackerVersion: '12.0.7-beta.1',
trackerVersion: '12.0.7',
projectKey: this.options.projectKey,

@@ -181,3 +181,2 @@ doNotTrack,

const sessStorage = app.sessionStorage ?? window.sessionStorage;
// @ts-ignore ?
window.open = function (...args) {

@@ -190,5 +189,5 @@ if (options.autoResetOnWindowOpen) {

}
wOpen.call(window, ...args);
app.resetNextPageSession(false);
sessStorage.setItem(options.session_tabid_key || '__openreplay_tabid', tabId);
return wOpen.call(window, ...args);
};

@@ -195,0 +194,0 @@ });

@@ -235,3 +235,4 @@ /**

item.readyState = 4;
void this.handleResponseBody(resp.clone(), item).then((responseValue) => {
this.handleResponseBody(resp.clone(), item)
.then((responseValue) => {
item.responseSize =

@@ -245,2 +246,10 @@ typeof responseValue === 'string' ? responseValue.length : responseValue.byteLength;

}
})
.catch((e) => {
if (e.name !== 'AbortError') {
throw e;
}
else {
// ignore AbortError
}
});

@@ -247,0 +256,0 @@ }

{
"name": "@openreplay/tracker",
"description": "The OpenReplay tracker main package",
"version": "12.0.7-beta.1",
"version": "12.0.7",
"keywords": [

@@ -6,0 +6,0 @@ "logging",

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