@openreplay/tracker 16.4.1 → 16.4.2-beta.1
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 -3
- package/dist/cjs/entry.js.map +1 -1
- package/dist/cjs/index.js +5 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/lib/entry.js +5 -3
- package/dist/lib/entry.js.map +1 -1
- package/dist/lib/index.js +5 -3
- package/dist/lib/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/entry.js
CHANGED
|
@@ -5259,7 +5259,7 @@ class App {
|
|
|
5259
5259
|
this.stopCallbacks = [];
|
|
5260
5260
|
this.commitCallbacks = [];
|
|
5261
5261
|
this.activityState = ActivityState.NotActive;
|
|
5262
|
-
this.version = '16.4.1'; // TODO: version compatability check inside each plugin.
|
|
5262
|
+
this.version = '16.4.2-beta.1'; // TODO: version compatability check inside each plugin.
|
|
5263
5263
|
this.socketMode = false;
|
|
5264
5264
|
this.compressionThreshold = 24 * 1000;
|
|
5265
5265
|
this.bc = null;
|
|
@@ -5694,12 +5694,13 @@ class App {
|
|
|
5694
5694
|
line: proto.ask,
|
|
5695
5695
|
source: thisTab,
|
|
5696
5696
|
context: this.contextId,
|
|
5697
|
+
projectKey: this.projectKey,
|
|
5697
5698
|
});
|
|
5698
5699
|
this.startTimeout = setTimeout(() => {
|
|
5699
5700
|
this.allowAppStart();
|
|
5700
5701
|
}, 250);
|
|
5701
5702
|
this.bc.onmessage = (ev) => {
|
|
5702
|
-
if (ev.data.context === this.contextId) {
|
|
5703
|
+
if (ev.data.context === this.contextId || this.projectKey !== ev.data.projectKey) {
|
|
5703
5704
|
return;
|
|
5704
5705
|
}
|
|
5705
5706
|
this.debug.log(ev);
|
|
@@ -5722,6 +5723,7 @@ class App {
|
|
|
5722
5723
|
token,
|
|
5723
5724
|
source: thisTab,
|
|
5724
5725
|
context: this.contextId,
|
|
5726
|
+
projectKey: this.projectKey,
|
|
5725
5727
|
});
|
|
5726
5728
|
}
|
|
5727
5729
|
}
|
|
@@ -9632,7 +9634,7 @@ class API {
|
|
|
9632
9634
|
this.signalStartIssue = (reason, missingApi) => {
|
|
9633
9635
|
const doNotTrack = this.checkDoNotTrack();
|
|
9634
9636
|
console.log("Tracker couldn't start due to:", JSON.stringify({
|
|
9635
|
-
trackerVersion: '16.4.1',
|
|
9637
|
+
trackerVersion: '16.4.2-beta.1',
|
|
9636
9638
|
projectKey: this.options.projectKey,
|
|
9637
9639
|
doNotTrack,
|
|
9638
9640
|
reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,
|