@openreplay/tracker-assist
Advanced tools
@@ -90,3 +90,3 @@ "use strict"; | ||
conn.on('close', () => { | ||
onAgentDisconnect === null || onAgentDisconnect === void 0 ? void 0 : onAgentDisconnect(); | ||
onAgentDisconnect && onAgentDisconnect(); | ||
log("Connection close: ", conn.peer); | ||
@@ -152,3 +152,3 @@ delete openDataConnections[conn.peer]; // TODO: check if works properly | ||
const handleCallEnd = () => { | ||
onCallEnd === null || onCallEnd === void 0 ? void 0 : onCallEnd(); | ||
onCallEnd && onCallEnd(); | ||
mouse.remove(); | ||
@@ -155,0 +155,0 @@ callUI.remove(); |
@@ -88,3 +88,3 @@ import './_slim.js'; | ||
conn.on('close', () => { | ||
onAgentDisconnect === null || onAgentDisconnect === void 0 ? void 0 : onAgentDisconnect(); | ||
onAgentDisconnect && onAgentDisconnect(); | ||
log("Connection close: ", conn.peer); | ||
@@ -150,3 +150,3 @@ delete openDataConnections[conn.peer]; // TODO: check if works properly | ||
const handleCallEnd = () => { | ||
onCallEnd === null || onCallEnd === void 0 ? void 0 : onCallEnd(); | ||
onCallEnd && onCallEnd(); | ||
mouse.remove(); | ||
@@ -153,0 +153,0 @@ callUI.remove(); |
{ | ||
"name": "@openreplay/tracker-assist", | ||
"description": "Tracker plugin for screen assistance through the WebRTC", | ||
"version": "3.4.11", | ||
"version": "3.4.12", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "WebRTC", |
@@ -75,3 +75,3 @@ # OpenReplay Tracker Assist plugin | ||
A callback `onCallStart` will be fired when the end-user accepts the call. It can return another callback that will be called on call end. | ||
A callback `onCallStart` will be fired when the end-user accepts the call. It can return another callback that will be called on the call end. | ||
```ts | ||
@@ -78,0 +78,0 @@ onCallStart: () => { |
70528
-0.25%