New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@openreplay/tracker-assist

Package Overview
Dependencies
Maintainers
3
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openreplay/tracker-assist - npm Package Compare versions

Comparing version 3.4.15 to 3.4.16-beta.0

cjs/index_ws.d.ts

5

cjs/BufferingConnection.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// 16kb should be max according to specification
// 64kb chrome
const crOrFf = typeof navigator !== "undefined" &&
(navigator.userAgent.indexOf("Chrom") !== -1 || // Chrome && Chromium
navigator.userAgent.indexOf("Firefox") !== -1);
const MESSAGES_PER_SEND = crOrFf ? 100 : 25;
const MESSAGES_PER_SEND = crOrFf ? 200 : 50;
// Bffering required in case of webRTC

@@ -32,2 +33,4 @@ class BufferingConnection {

let i = 0;
//@ts-ignore
messages = messages.filter(m => m._id !== 39);
while (i < messages.length) {

@@ -34,0 +37,0 @@ this.buffer.push(messages.slice(i, i += this.msgsPerSend));

2

cjs/index.js

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

port: location.protocol === 'http:' && appOptions.__DISABLE_SECURE_MODE ? 80 : 443,
//debug: // 0 Print nothing //1 Prints only errors. / 2 Prints errors and warnings. / 3 Prints all logs.
debug: appOptions.__debug_log ? 2 : 0, // 0 Print nothing //1 Prints only errors. / 2 Prints errors and warnings. / 3 Prints all logs.
};

@@ -75,0 +75,0 @@ if (options.config) {

@@ -6,7 +6,8 @@ "use strict";

this.position = [0, 0];
this.pScrEl = document.scrollingElement || document.documentElement;
this.pScrEl = document.scrollingElement || document.documentElement; // Is it always correct
this.lastScrEl = null;
this.resetLastScrEl = () => { this.lastScrEl = null; };
this.handleWScroll = e => {
if (e.target !== this.lastScrEl) {
if (e.target !== this.lastScrEl &&
this.lastScrEl !== "window") {
this.resetLastScrEl();

@@ -13,0 +14,0 @@ }

// 16kb should be max according to specification
// 64kb chrome
const crOrFf = typeof navigator !== "undefined" &&
(navigator.userAgent.indexOf("Chrom") !== -1 || // Chrome && Chromium
navigator.userAgent.indexOf("Firefox") !== -1);
const MESSAGES_PER_SEND = crOrFf ? 100 : 25;
const MESSAGES_PER_SEND = crOrFf ? 200 : 50;
// Bffering required in case of webRTC

@@ -30,2 +31,4 @@ export default class BufferingConnection {

let i = 0;
//@ts-ignore
messages = messages.filter(m => m._id !== 39);
while (i < messages.length) {

@@ -32,0 +35,0 @@ this.buffer.push(messages.slice(i, i += this.msgsPerSend));

@@ -70,3 +70,3 @@ import './_slim.js';

port: location.protocol === 'http:' && appOptions.__DISABLE_SECURE_MODE ? 80 : 443,
//debug: // 0 Print nothing //1 Prints only errors. / 2 Prints errors and warnings. / 3 Prints all logs.
debug: appOptions.__debug_log ? 2 : 0, // 0 Print nothing //1 Prints only errors. / 2 Prints errors and warnings. / 3 Prints all logs.
};

@@ -73,0 +73,0 @@ if (options.config) {

export default class Mouse {
constructor() {
this.position = [0, 0];
this.pScrEl = document.scrollingElement || document.documentElement;
this.pScrEl = document.scrollingElement || document.documentElement; // Is it always correct
this.lastScrEl = null;
this.resetLastScrEl = () => { this.lastScrEl = null; };
this.handleWScroll = e => {
if (e.target !== this.lastScrEl) {
if (e.target !== this.lastScrEl &&
this.lastScrEl !== "window") {
this.resetLastScrEl();

@@ -10,0 +11,0 @@ }

{
"name": "@openreplay/tracker-assist",
"description": "Tracker plugin for screen assistance through the WebRTC",
"version": "3.4.15",
"version": "3.4.16-beta.0",
"keywords": [

@@ -6,0 +6,0 @@ "WebRTC",

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