@openreplay/tracker 16.1.0-beta.5 → 16.1.0-beta.6
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 +10 -2
- package/dist/cjs/entry.js.map +1 -1
- package/dist/cjs/index.js +10 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/lib/entry.js +10 -2
- package/dist/lib/entry.js.map +1 -1
- package/dist/lib/index.js +10 -2
- package/dist/lib/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/entry.js
CHANGED
|
@@ -4714,7 +4714,7 @@ class App {
|
|
|
4714
4714
|
this.stopCallbacks = [];
|
|
4715
4715
|
this.commitCallbacks = [];
|
|
4716
4716
|
this.activityState = ActivityState.NotActive;
|
|
4717
|
-
this.version = '16.1.0-beta.
|
|
4717
|
+
this.version = '16.1.0-beta.6'; // TODO: version compatability check inside each plugin.
|
|
4718
4718
|
this.socketMode = false;
|
|
4719
4719
|
this.compressionThreshold = 24 * 1000;
|
|
4720
4720
|
this.bc = null;
|
|
@@ -5355,6 +5355,14 @@ class App {
|
|
|
5355
5355
|
catch (e) {
|
|
5356
5356
|
console.log(this.messages.join('$___$'));
|
|
5357
5357
|
console.error(e);
|
|
5358
|
+
this.messages.forEach(m => {
|
|
5359
|
+
try {
|
|
5360
|
+
this.worker?.postMessage([m]);
|
|
5361
|
+
}
|
|
5362
|
+
catch (e) {
|
|
5363
|
+
console.error(m, e);
|
|
5364
|
+
}
|
|
5365
|
+
});
|
|
5358
5366
|
}
|
|
5359
5367
|
this.commitCallbacks.forEach((cb) => cb(this.messages));
|
|
5360
5368
|
this.messages.length = 0;
|
|
@@ -9183,7 +9191,7 @@ class API {
|
|
|
9183
9191
|
this.signalStartIssue = (reason, missingApi) => {
|
|
9184
9192
|
const doNotTrack = this.checkDoNotTrack();
|
|
9185
9193
|
console.log("Tracker couldn't start due to:", JSON.stringify({
|
|
9186
|
-
trackerVersion: '16.1.0-beta.
|
|
9194
|
+
trackerVersion: '16.1.0-beta.6',
|
|
9187
9195
|
projectKey: this.options.projectKey,
|
|
9188
9196
|
doNotTrack,
|
|
9189
9197
|
reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,
|