@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/lib/index.js CHANGED
@@ -750,6 +750,9 @@ class AttributeSender {
750
750
  return this.app.send(msg);
751
751
  }
752
752
  else {
753
+ if (typeof this.applyDict(attr) !== 'number') {
754
+ console.log(id, name, value, this.app.nodes.getNode(id));
755
+ }
753
756
  const message = [
754
757
  35 /* Type.SetNodeAttributeDictGlobal */,
755
758
  id,
@@ -4708,7 +4711,7 @@ class App {
4708
4711
  this.stopCallbacks = [];
4709
4712
  this.commitCallbacks = [];
4710
4713
  this.activityState = ActivityState.NotActive;
4711
- this.version = '16.1.0-beta.8'; // TODO: version compatability check inside each plugin.
4714
+ this.version = '16.1.0-beta.9'; // TODO: version compatability check inside each plugin.
4712
4715
  this.socketMode = false;
4713
4716
  this.compressionThreshold = 24 * 1000;
4714
4717
  this.bc = null;
@@ -5348,6 +5351,7 @@ class App {
5348
5351
  }
5349
5352
  catch (e) {
5350
5353
  console.log(this.messages.join('$___$'));
5354
+ console.log(this.attributeSender.dict);
5351
5355
  console.error(e);
5352
5356
  this.messages.forEach(m => {
5353
5357
  try {
@@ -9185,7 +9189,7 @@ class API {
9185
9189
  this.signalStartIssue = (reason, missingApi) => {
9186
9190
  const doNotTrack = this.checkDoNotTrack();
9187
9191
  console.log("Tracker couldn't start due to:", JSON.stringify({
9188
- trackerVersion: '16.1.0-beta.8',
9192
+ trackerVersion: '16.1.0-beta.9',
9189
9193
  projectKey: this.options.projectKey,
9190
9194
  doNotTrack,
9191
9195
  reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,