diff --git a/tracker/tracker-assist/bun.lockb b/tracker/tracker-assist/bun.lockb index 7fc30d4e8..392e5ec71 100755 Binary files a/tracker/tracker-assist/bun.lockb and b/tracker/tracker-assist/bun.lockb differ diff --git a/tracker/tracker-assist/package.json b/tracker/tracker-assist/package.json index 4ff240f0f..d4d2ba54a 100644 --- a/tracker/tracker-assist/package.json +++ b/tracker/tracker-assist/package.json @@ -1,7 +1,7 @@ { "name": "@openreplay/tracker-assist", "description": "Tracker plugin for screen assistance through the WebRTC", - "version": "7.0.1", + "version": "7.0.2", "keywords": [ "WebRTC", "assistance", @@ -34,7 +34,7 @@ "socket.io-client": "^4.7.2" }, "peerDependencies": { - "@openreplay/tracker": "^11.0.1" + "@openreplay/tracker": "^11.0.3" }, "devDependencies": { "@openreplay/tracker": "file:../tracker", diff --git a/tracker/tracker-assist/src/CallWindow.ts b/tracker/tracker-assist/src/CallWindow.ts index 699ffeaff..0d90ca5f7 100644 --- a/tracker/tracker-assist/src/CallWindow.ts +++ b/tracker/tracker-assist/src/CallWindow.ts @@ -42,7 +42,7 @@ export default class CallWindow { const doc = iframe.contentDocument if (!doc) { - app.debug.error('OpenReplay: CallWindow iframe document is not reachable.') + logError('OpenReplay: CallWindow iframe document is not reachable.') return } diff --git a/tracker/tracker-assist/src/index.ts b/tracker/tracker-assist/src/index.ts index 32af38d3f..445cb29c6 100644 --- a/tracker/tracker-assist/src/index.ts +++ b/tracker/tracker-assist/src/index.ts @@ -8,17 +8,16 @@ import Assist from './Assist.js' export default function(opts?: Partial) { return function(app: App | null, appOptions: { __DISABLE_SECURE_MODE?: boolean } = {}) { // @ts-ignore - if (app === null || !navigator?.mediaDevices?.getUserMedia) { // 93.04% browsers + if (app === null || !navigator?.mediaDevices?.getUserMedia) { return } if (!app.checkRequiredVersion || !app.checkRequiredVersion('REQUIRED_TRACKER_VERSION')) { console.warn('OpenReplay Assist: couldn\'t load. The minimum required version of @openreplay/tracker@REQUIRED_TRACKER_VERSION is not met') return } - app.notify.log('OpenReplay Assist initializing.') + const assist = new Assist(app, opts, appOptions.__DISABLE_SECURE_MODE) app.debug.log(assist) return assist - } } diff --git a/tracker/tracker-assist/src/version.ts b/tracker/tracker-assist/src/version.ts index 4e4da53f3..afb0e758f 100644 --- a/tracker/tracker-assist/src/version.ts +++ b/tracker/tracker-assist/src/version.ts @@ -1 +1 @@ -export const pkgVersion = '7.0.1' +export const pkgVersion = '7.0.2'