@openreplay/tracker
Advanced tools
Comparing version 14.0.4 to 14.0.5
@@ -75,5 +75,11 @@ "use strict"; | ||
const canvas = cid ? this.app.nodes.getNode(cid) : undefined; | ||
if (!this.snapshots[id]) { | ||
this.app.debug.log('Canvas is not present in {snapshots}'); | ||
clearInterval(int); | ||
return; | ||
} | ||
if (!canvas || !(0, guards_js_1.hasTag)(canvas, 'canvas') || canvas !== node) { | ||
this.app.debug.log('Canvas element not in sync'); | ||
clearInterval(int); | ||
return; | ||
} | ||
@@ -80,0 +86,0 @@ else { |
@@ -97,3 +97,3 @@ "use strict"; | ||
this.activityState = ActivityState.NotActive; | ||
this.version = '14.0.4'; // TODO: version compatability check inside each plugin. | ||
this.version = '14.0.5'; // TODO: version compatability check inside each plugin. | ||
this.socketMode = false; | ||
@@ -100,0 +100,0 @@ this.compressionThreshold = 24 * 1000; |
@@ -101,3 +101,3 @@ "use strict"; | ||
req.send(JSON.stringify({ | ||
trackerVersion: '14.0.4', | ||
trackerVersion: '14.0.5', | ||
projectKey: this.options.projectKey, | ||
@@ -104,0 +104,0 @@ doNotTrack, |
@@ -73,5 +73,11 @@ import { hasTag } from './guards.js'; | ||
const canvas = cid ? this.app.nodes.getNode(cid) : undefined; | ||
if (!this.snapshots[id]) { | ||
this.app.debug.log('Canvas is not present in {snapshots}'); | ||
clearInterval(int); | ||
return; | ||
} | ||
if (!canvas || !hasTag(canvas, 'canvas') || canvas !== node) { | ||
this.app.debug.log('Canvas element not in sync'); | ||
clearInterval(int); | ||
return; | ||
} | ||
@@ -78,0 +84,0 @@ else { |
@@ -68,3 +68,3 @@ import { gzip } from 'fflate'; | ||
this.activityState = ActivityState.NotActive; | ||
this.version = '14.0.4'; // TODO: version compatability check inside each plugin. | ||
this.version = '14.0.5'; // TODO: version compatability check inside each plugin. | ||
this.socketMode = false; | ||
@@ -71,0 +71,0 @@ this.compressionThreshold = 24 * 1000; |
@@ -70,3 +70,3 @@ import App, { DEFAULT_INGEST_POINT } from './app/index.js'; | ||
req.send(JSON.stringify({ | ||
trackerVersion: '14.0.4', | ||
trackerVersion: '14.0.5', | ||
projectKey: this.options.projectKey, | ||
@@ -73,0 +73,0 @@ doNotTrack, |
{ | ||
"name": "@openreplay/tracker", | ||
"description": "The OpenReplay tracker main package", | ||
"version": "14.0.4", | ||
"version": "14.0.5", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "logging", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4022630
24393