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

@openreplay/tracker

Package Overview
Dependencies
Maintainers
3
Versions
219
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.9-beta.2 to 12.0.9-beta.4

8

cjs/app/index.js

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

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

@@ -960,2 +960,8 @@ this.restartAttempts = 0;

start(...args) {
if (this.activityState === ActivityState.Active ||
this.activityState === ActivityState.Starting) {
const reason = 'OpenReplay: trying to call `start()` on the instance that has been started already.';
return Promise.resolve(UnsuccessfulStart(reason));
}
this.activityState = ActivityState.Starting;
if (!document.hidden) {

@@ -962,0 +968,0 @@ return new Promise((resolve) => {

@@ -97,2 +97,3 @@ "use strict";

};
this.app.nodes.clear();
// Can observe documentElement (<html>) here, because it is not supposed to be changing.

@@ -99,0 +100,0 @@ // However, it is possible in some exotic cases and may cause an ignorance of the newly created <html>

2

cjs/index.js

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

req.send(JSON.stringify({
trackerVersion: '12.0.9-beta.2',
trackerVersion: '12.0.9-beta.4',
projectKey: this.options.projectKey,

@@ -103,0 +103,0 @@ doNotTrack,

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

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

@@ -931,2 +931,8 @@ this.restartAttempts = 0;

start(...args) {
if (this.activityState === ActivityState.Active ||
this.activityState === ActivityState.Starting) {
const reason = 'OpenReplay: trying to call `start()` on the instance that has been started already.';
return Promise.resolve(UnsuccessfulStart(reason));
}
this.activityState = ActivityState.Starting;
if (!document.hidden) {

@@ -933,0 +939,0 @@ return new Promise((resolve) => {

@@ -92,2 +92,3 @@ import Observer from './observer.js';

};
this.app.nodes.clear();
// Can observe documentElement (<html>) here, because it is not supposed to be changing.

@@ -94,0 +95,0 @@ // However, it is possible in some exotic cases and may cause an ignorance of the newly created <html>

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

req.send(JSON.stringify({
trackerVersion: '12.0.9-beta.2',
trackerVersion: '12.0.9-beta.4',
projectKey: this.options.projectKey,

@@ -72,0 +72,0 @@ doNotTrack,

{
"name": "@openreplay/tracker",
"description": "The OpenReplay tracker main package",
"version": "12.0.9-beta.2",
"version": "12.0.9-beta.4",
"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