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
4
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.5.11 to 3.5.14

2

cjs/Assist.d.ts

@@ -20,3 +20,3 @@ import type { Properties } from 'csstype';

private readonly noSecureMode;
readonly version = "3.5.11";
readonly version = "3.5.14";
private socket;

@@ -23,0 +23,0 @@ private peer;

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

//@ts-ignore peerjs hack for webpack5 (?!) TODO: ES/node modules;
peerjs_1.default = peerjs_1.default.default || peerjs_1.default;
let PeerHack = peerjs_1.default.default || peerjs_1.default;
var CallingState;

@@ -26,3 +26,3 @@ (function (CallingState) {

this.noSecureMode = noSecureMode;
this.version = "3.5.11";
this.version = "3.5.14";
this.socket = null;

@@ -90,3 +90,3 @@ this.peer = null;

// SocketIO
const socket = this.socket = (0, socket_io_client_1.default)(app.getHost(), {
const socket = this.socket = (0, socket_io_client_1.connect)(app.getHost(), {
path: '/ws-assist/socket',

@@ -96,3 +96,3 @@ query: {

"identity": "session",
"sessionInfo": JSON.stringify(Object.assign({ pageTitle: document.title }, this.app.getSessionInfo())),
"sessionInfo": JSON.stringify(Object.assign({ pageTitle: document.title, active: true }, this.app.getSessionInfo())),
},

@@ -181,3 +181,3 @@ transports: ["websocket"],

}
const peer = this.peer = new peerjs_1.default(peerID, peerOptions);
const peer = this.peer = new PeerHack(peerID, peerOptions);
// app.debug.log('Peer created: ', peer)

@@ -184,0 +184,0 @@ peer.on('error', e => app.debug.warn("Peer error: ", e.type, e));

@@ -12,4 +12,4 @@ "use strict";

}
if (!app.checkRequiredVersion || !app.checkRequiredVersion("3.5.3")) {
console.warn("OpenReplay Assist: couldn't load. The minimum required version of @openreplay/tracker/cjs@3.5.3 is not met");
if (!app.checkRequiredVersion || !app.checkRequiredVersion("3.5.14")) {
console.warn("OpenReplay Assist: couldn't load. The minimum required version of @openreplay/tracker/cjs@3.5.14 is not met");
return;

@@ -16,0 +16,0 @@ }

@@ -70,20 +70,14 @@ "use strict";

while (el) {
// const esl = el.scrollLeft
// el.scrollLeft += dX
// const est = el.scrollTop
// el.scrollTop += dY
// if (esl !== el.scrollLeft || est !== el.scrollTop) { // doesn't work if the scroll-behavior is "smooth"
// this.lastScrEl = el
// return
// } else {
// el = el.parentElement
// }
// el.scrollTopMax > 0 // available in firefox
if (el.scrollHeight > el.clientHeight || el.scrollWidth > el.clientWidth) {
const styles = getComputedStyle(el);
if (styles.overflow.indexOf("scroll") >= 0 || styles.overflow.indexOf("auto") >= 0) {
if (styles.overflow.indexOf("scroll") >= 0 || styles.overflow.indexOf("auto") >= 0) { // returns true for body in habr.com but it's not scrollable
const esl = el.scrollLeft;
const est = el.scrollTop;
el.scrollLeft += dX;
el.scrollTop += dY;
this.lastScrEl = el;
return;
if (esl !== el.scrollLeft || est !== el.scrollTop) { // doesn't work if the scroll-behavior is "smooth"
this.lastScrEl = el;
return;
}
}

@@ -90,0 +84,0 @@ }

@@ -20,3 +20,3 @@ import type { Properties } from 'csstype';

private readonly noSecureMode;
readonly version = "3.5.11";
readonly version = "3.5.14";
private socket;

@@ -23,0 +23,0 @@ private peer;

@@ -1,2 +0,2 @@

import io from 'socket.io-client';
import { connect } from 'socket.io-client';
import Peer from 'peerjs';

@@ -11,3 +11,3 @@ import RequestLocalStream from './LocalStream.js';

//@ts-ignore peerjs hack for webpack5 (?!) TODO: ES/node modules;
Peer = Peer.default || Peer;
let PeerHack = Peer.default || Peer;
var CallingState;

@@ -24,3 +24,3 @@ (function (CallingState) {

this.noSecureMode = noSecureMode;
this.version = "3.5.11";
this.version = "3.5.14";
this.socket = null;

@@ -88,3 +88,3 @@ this.peer = null;

// SocketIO
const socket = this.socket = io(app.getHost(), {
const socket = this.socket = connect(app.getHost(), {
path: '/ws-assist/socket',

@@ -94,3 +94,3 @@ query: {

"identity": "session",
"sessionInfo": JSON.stringify(Object.assign({ pageTitle: document.title }, this.app.getSessionInfo())),
"sessionInfo": JSON.stringify(Object.assign({ pageTitle: document.title, active: true }, this.app.getSessionInfo())),
},

@@ -179,3 +179,3 @@ transports: ["websocket"],

}
const peer = this.peer = new Peer(peerID, peerOptions);
const peer = this.peer = new PeerHack(peerID, peerOptions);
// app.debug.log('Peer created: ', peer)

@@ -182,0 +182,0 @@ peer.on('error', e => app.debug.warn("Peer error: ", e.type, e));

@@ -10,4 +10,4 @@ import './_slim.js';

}
if (!app.checkRequiredVersion || !app.checkRequiredVersion("3.5.3")) {
console.warn("OpenReplay Assist: couldn't load. The minimum required version of @openreplay/tracker@3.5.3 is not met");
if (!app.checkRequiredVersion || !app.checkRequiredVersion("3.5.14")) {
console.warn("OpenReplay Assist: couldn't load. The minimum required version of @openreplay/tracker@3.5.14 is not met");
return;

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

@@ -68,20 +68,14 @@ export default class Mouse {

while (el) {
// const esl = el.scrollLeft
// el.scrollLeft += dX
// const est = el.scrollTop
// el.scrollTop += dY
// if (esl !== el.scrollLeft || est !== el.scrollTop) { // doesn't work if the scroll-behavior is "smooth"
// this.lastScrEl = el
// return
// } else {
// el = el.parentElement
// }
// el.scrollTopMax > 0 // available in firefox
if (el.scrollHeight > el.clientHeight || el.scrollWidth > el.clientWidth) {
const styles = getComputedStyle(el);
if (styles.overflow.indexOf("scroll") >= 0 || styles.overflow.indexOf("auto") >= 0) {
if (styles.overflow.indexOf("scroll") >= 0 || styles.overflow.indexOf("auto") >= 0) { // returns true for body in habr.com but it's not scrollable
const esl = el.scrollLeft;
const est = el.scrollTop;
el.scrollLeft += dX;
el.scrollTop += dY;
this.lastScrEl = el;
return;
if (esl !== el.scrollLeft || est !== el.scrollTop) { // doesn't work if the scroll-behavior is "smooth"
this.lastScrEl = el;
return;
}
}

@@ -88,0 +82,0 @@ }

{
"name": "@openreplay/tracker-assist",
"description": "Tracker plugin for screen assistance through the WebRTC",
"version": "3.5.11",
"version": "3.5.14",
"keywords": [

@@ -23,3 +23,3 @@ "WebRTC",

"replace-pkg-version": "replace-in-files lib/* cjs/* --string='PACKAGE_VERSION' --replacement=$npm_package_version",
"replace-req-version": "replace-in-files lib/* cjs/* --string='REQUIRED_TRACKER_VERSION' --replacement='3.5.3'",
"replace-req-version": "replace-in-files lib/* cjs/* --string='REQUIRED_TRACKER_VERSION' --replacement='3.5.14'",
"prepublishOnly": "npm run build"

@@ -26,0 +26,0 @@ },

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