@openreplay/tracker 16.1.0-beta.1 → 16.1.0-beta.2

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/lib/entry.js CHANGED
@@ -4706,7 +4706,7 @@ class App {
4706
4706
  this.stopCallbacks = [];
4707
4707
  this.commitCallbacks = [];
4708
4708
  this.activityState = ActivityState.NotActive;
4709
- this.version = '16.1.0-beta.1'; // TODO: version compatability check inside each plugin.
4709
+ this.version = '16.1.0-beta.2'; // TODO: version compatability check inside each plugin.
4710
4710
  this.socketMode = false;
4711
4711
  this.compressionThreshold = 24 * 1000;
4712
4712
  this.bc = null;
@@ -5341,14 +5341,11 @@ class App {
5341
5341
  requestIdleCb(() => {
5342
5342
  this.messages.unshift(TabData(this.session.getTabId()));
5343
5343
  this.messages.unshift(Timestamp(this.timestamp()));
5344
- if (this.messages.length > 3) {
5345
- console.log(this.messages);
5346
- }
5347
5344
  try {
5348
5345
  this.worker?.postMessage(this.messages);
5349
5346
  }
5350
5347
  catch (e) {
5351
- console.log(this.messages.join(','));
5348
+ console.log(this.messages.join('$___$'));
5352
5349
  console.error(e);
5353
5350
  }
5354
5351
  this.commitCallbacks.forEach((cb) => cb(this.messages));
@@ -9178,7 +9175,7 @@ class API {
9178
9175
  this.signalStartIssue = (reason, missingApi) => {
9179
9176
  const doNotTrack = this.checkDoNotTrack();
9180
9177
  console.log("Tracker couldn't start due to:", JSON.stringify({
9181
- trackerVersion: '16.1.0-beta.1',
9178
+ trackerVersion: '16.1.0-beta.2',
9182
9179
  projectKey: this.options.projectKey,
9183
9180
  doNotTrack,
9184
9181
  reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,