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

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
@@ -744,7 +744,8 @@ class AttributeSender {
744
744
  constructor(options) {
745
745
  this.sendSetAttribute = (id, name, value) => {
746
746
  if (this.isDictDisabled) {
747
- const msg = [12 /* Type.SetNodeAttribute */, id, name, value];
747
+ const attr = `${value}`;
748
+ const msg = [12 /* Type.SetNodeAttribute */, id, name, attr];
748
749
  return this.app.send(msg);
749
750
  }
750
751
  else {
@@ -4706,7 +4707,7 @@ class App {
4706
4707
  this.stopCallbacks = [];
4707
4708
  this.commitCallbacks = [];
4708
4709
  this.activityState = ActivityState.NotActive;
4709
- this.version = '16.1.0-beta.2'; // TODO: version compatability check inside each plugin.
4710
+ this.version = '16.1.0-beta.3'; // TODO: version compatability check inside each plugin.
4710
4711
  this.socketMode = false;
4711
4712
  this.compressionThreshold = 24 * 1000;
4712
4713
  this.bc = null;
@@ -9175,7 +9176,7 @@ class API {
9175
9176
  this.signalStartIssue = (reason, missingApi) => {
9176
9177
  const doNotTrack = this.checkDoNotTrack();
9177
9178
  console.log("Tracker couldn't start due to:", JSON.stringify({
9178
- trackerVersion: '16.1.0-beta.2',
9179
+ trackerVersion: '16.1.0-beta.3',
9179
9180
  projectKey: this.options.projectKey,
9180
9181
  doNotTrack,
9181
9182
  reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,