@openreplay/tracker 16.1.0 → 16.1.2-beta.0

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
@@ -4744,7 +4744,7 @@ class App {
4744
4744
  this.stopCallbacks = [];
4745
4745
  this.commitCallbacks = [];
4746
4746
  this.activityState = ActivityState.NotActive;
4747
- this.version = '16.1.0'; // TODO: version compatability check inside each plugin.
4747
+ this.version = '16.1.2-beta.0'; // TODO: version compatability check inside each plugin.
4748
4748
  this.socketMode = false;
4749
4749
  this.compressionThreshold = 24 * 1000;
4750
4750
  this.bc = null;
@@ -5177,6 +5177,7 @@ class App {
5177
5177
  if (ev.data.context === this.contextId) {
5178
5178
  return;
5179
5179
  }
5180
+ this.debug.log(ev);
5180
5181
  if (ev.data.line === proto.resp) {
5181
5182
  const sessionToken = ev.data.token;
5182
5183
  this.session.setSessionToken(sessionToken);
@@ -5383,7 +5384,6 @@ class App {
5383
5384
  }
5384
5385
  }
5385
5386
  this.emptyBatchCounter = 0;
5386
- console.log('messages', this.messages.join(', '));
5387
5387
  try {
5388
5388
  requestIdleCb(() => {
5389
5389
  this.messages.unshift(Timestamp(this.timestamp()), TabData(this.session.getTabId()));
@@ -9363,7 +9363,7 @@ class API {
9363
9363
  this.signalStartIssue = (reason, missingApi) => {
9364
9364
  const doNotTrack = this.checkDoNotTrack();
9365
9365
  console.log("Tracker couldn't start due to:", JSON.stringify({
9366
- trackerVersion: '16.1.0',
9366
+ trackerVersion: '16.1.2-beta.0',
9367
9367
  projectKey: this.options.projectKey,
9368
9368
  doNotTrack,
9369
9369
  reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,