@openreplay/tracker-assist
Advanced tools
Comparing version 4.1.0 to 4.1.1
@@ -21,3 +21,3 @@ import type { Properties } from 'csstype'; | ||
private readonly noSecureMode; | ||
readonly version = "4.1.0"; | ||
readonly version = "4.1.1"; | ||
private socket; | ||
@@ -24,0 +24,0 @@ private peer; |
@@ -22,3 +22,3 @@ "use strict"; | ||
this.noSecureMode = noSecureMode; | ||
this.version = '4.1.0'; | ||
this.version = '4.1.1'; | ||
this.socket = null; | ||
@@ -25,0 +25,0 @@ this.peer = null; |
@@ -35,4 +35,8 @@ "use strict"; | ||
const p = document.createElement('p'); | ||
wrapper.id = 'openreplay-confirm-window-wrapper'; | ||
popup.id = 'openreplay-confirm-window-popup'; | ||
p.id = 'openreplay-confirm-window-p'; | ||
p.innerText = options.text; | ||
const buttons = document.createElement('div'); | ||
buttons.id = 'openreplay-confirm-window-buttons'; | ||
const confirmBtn = makeButton(options.confirmBtn, { | ||
@@ -42,2 +46,3 @@ background: 'rgba(0, 167, 47, 1)', | ||
}); | ||
confirmBtn.id = 'openreplay-confirm-window-confirm-btn'; | ||
const declineBtn = makeButton(options.declineBtn, { | ||
@@ -47,2 +52,3 @@ background: '#FFE9E9', | ||
}); | ||
declineBtn.id = 'openreplay-confirm-window-decline-btn'; | ||
buttons.appendChild(confirmBtn); | ||
@@ -49,0 +55,0 @@ buttons.appendChild(declineBtn); |
@@ -38,2 +38,3 @@ "use strict"; | ||
zIndex: '999998', | ||
pointerEvents: 'none', | ||
}); | ||
@@ -52,6 +53,4 @@ } | ||
Object.assign(this.mouse.style, { | ||
// we're moving it off by few pixels | ||
// so the doc.elementFromPoint works | ||
left: `${(pos[0] || 0) + 3}px`, | ||
top: `${(pos[1] || 0) + 3}px`, | ||
left: `${pos[0] || 0}px`, | ||
top: `${pos[1] || 0}px`, | ||
}); | ||
@@ -58,0 +57,0 @@ } |
@@ -21,3 +21,3 @@ import type { Properties } from 'csstype'; | ||
private readonly noSecureMode; | ||
readonly version = "4.1.0"; | ||
readonly version = "4.1.1"; | ||
private socket; | ||
@@ -24,0 +24,0 @@ private peer; |
@@ -20,3 +20,3 @@ import { connect, } from 'socket.io-client'; | ||
this.noSecureMode = noSecureMode; | ||
this.version = '4.1.0'; | ||
this.version = '4.1.1'; | ||
this.socket = null; | ||
@@ -23,0 +23,0 @@ this.peer = null; |
@@ -33,4 +33,8 @@ function makeButton(options, defaultStyle) { | ||
const p = document.createElement('p'); | ||
wrapper.id = 'openreplay-confirm-window-wrapper'; | ||
popup.id = 'openreplay-confirm-window-popup'; | ||
p.id = 'openreplay-confirm-window-p'; | ||
p.innerText = options.text; | ||
const buttons = document.createElement('div'); | ||
buttons.id = 'openreplay-confirm-window-buttons'; | ||
const confirmBtn = makeButton(options.confirmBtn, { | ||
@@ -40,2 +44,3 @@ background: 'rgba(0, 167, 47, 1)', | ||
}); | ||
confirmBtn.id = 'openreplay-confirm-window-confirm-btn'; | ||
const declineBtn = makeButton(options.declineBtn, { | ||
@@ -45,2 +50,3 @@ background: '#FFE9E9', | ||
}); | ||
declineBtn.id = 'openreplay-confirm-window-decline-btn'; | ||
buttons.appendChild(confirmBtn); | ||
@@ -47,0 +53,0 @@ buttons.appendChild(declineBtn); |
@@ -36,2 +36,3 @@ export default class Mouse { | ||
zIndex: '999998', | ||
pointerEvents: 'none', | ||
}); | ||
@@ -50,6 +51,4 @@ } | ||
Object.assign(this.mouse.style, { | ||
// we're moving it off by few pixels | ||
// so the doc.elementFromPoint works | ||
left: `${(pos[0] || 0) + 3}px`, | ||
top: `${(pos[1] || 0) + 3}px`, | ||
left: `${pos[0] || 0}px`, | ||
top: `${pos[1] || 0}px`, | ||
}); | ||
@@ -56,0 +55,0 @@ } |
{ | ||
"name": "@openreplay/tracker-assist", | ||
"description": "Tracker plugin for screen assistance through the WebRTC", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "WebRTC", |
132619
2987