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