@openreplay/tracker 16.1.0-beta.8 → 16.1.0-beta.9

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
@@ -754,6 +754,9 @@ class AttributeSender {
754
754
  return this.app.send(msg);
755
755
  }
756
756
  else {
757
+ if (typeof this.applyDict(attr) !== 'number') {
758
+ console.log(id, name, value, this.app.nodes.getNode(id));
759
+ }
757
760
  const message = [
758
761
  35 /* Type.SetNodeAttributeDictGlobal */,
759
762
  id,
@@ -4712,7 +4715,7 @@ class App {
4712
4715
  this.stopCallbacks = [];
4713
4716
  this.commitCallbacks = [];
4714
4717
  this.activityState = ActivityState.NotActive;
4715
- this.version = '16.1.0-beta.8'; // TODO: version compatability check inside each plugin.
4718
+ this.version = '16.1.0-beta.9'; // TODO: version compatability check inside each plugin.
4716
4719
  this.socketMode = false;
4717
4720
  this.compressionThreshold = 24 * 1000;
4718
4721
  this.bc = null;
@@ -5352,6 +5355,7 @@ class App {
5352
5355
  }
5353
5356
  catch (e) {
5354
5357
  console.log(this.messages.join('$___$'));
5358
+ console.log(this.attributeSender.dict);
5355
5359
  console.error(e);
5356
5360
  this.messages.forEach(m => {
5357
5361
  try {
@@ -9189,7 +9193,7 @@ class API {
9189
9193
  this.signalStartIssue = (reason, missingApi) => {
9190
9194
  const doNotTrack = this.checkDoNotTrack();
9191
9195
  console.log("Tracker couldn't start due to:", JSON.stringify({
9192
- trackerVersion: '16.1.0-beta.8',
9196
+ trackerVersion: '16.1.0-beta.9',
9193
9197
  projectKey: this.options.projectKey,
9194
9198
  doNotTrack,
9195
9199
  reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,