@openreplay/tracker 16.4.4 → 16.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/entry.js +5 -4
- package/dist/cjs/entry.js.map +1 -1
- package/dist/cjs/index.js +5 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/lib/entry.js +5 -4
- package/dist/lib/entry.js.map +1 -1
- package/dist/lib/index.js +5 -4
- package/dist/lib/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -5276,7 +5276,7 @@ class App {
|
|
|
5276
5276
|
this.stopCallbacks = [];
|
|
5277
5277
|
this.commitCallbacks = [];
|
|
5278
5278
|
this.activityState = ActivityState.NotActive;
|
|
5279
|
-
this.version = '16.4.
|
|
5279
|
+
this.version = '16.4.5'; // TODO: version compatability check inside each plugin.
|
|
5280
5280
|
this.socketMode = false;
|
|
5281
5281
|
this.compressionThreshold = 24 * 1000;
|
|
5282
5282
|
this.bc = null;
|
|
@@ -7861,9 +7861,10 @@ function Viewport (app, options) {
|
|
|
7861
7861
|
const sendSetPageLocation = app.safe(() => {
|
|
7862
7862
|
const { URL } = document;
|
|
7863
7863
|
if (URL !== url) {
|
|
7864
|
-
url =
|
|
7864
|
+
url = URL;
|
|
7865
|
+
const sanitized = urlSanitizer(url);
|
|
7865
7866
|
const safeTitle = app.sanitizer.privateMode ? stringWiper(document.title) : titleSanitizer(document.title);
|
|
7866
|
-
const safeUrl = app.sanitizer.privateMode ? stringWiper(
|
|
7867
|
+
const safeUrl = app.sanitizer.privateMode ? stringWiper(sanitized) : sanitized;
|
|
7867
7868
|
const safeReferrer = app.sanitizer.privateMode ? stringWiper(referrer) : referrer;
|
|
7868
7869
|
app.send(SetPageLocation(safeUrl, safeReferrer, navigationStart, safeTitle));
|
|
7869
7870
|
navigationStart = 0;
|
|
@@ -9652,7 +9653,7 @@ class API {
|
|
|
9652
9653
|
this.signalStartIssue = (reason, missingApi) => {
|
|
9653
9654
|
const doNotTrack = this.checkDoNotTrack();
|
|
9654
9655
|
console.log("Tracker couldn't start due to:", JSON.stringify({
|
|
9655
|
-
trackerVersion: '16.4.
|
|
9656
|
+
trackerVersion: '16.4.5',
|
|
9656
9657
|
projectKey: this.options.projectKey,
|
|
9657
9658
|
doNotTrack,
|
|
9658
9659
|
reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,
|