@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/cjs/entry.js CHANGED
@@ -748,7 +748,8 @@ class AttributeSender {
748
748
  constructor(options) {
749
749
  this.sendSetAttribute = (id, name, value) => {
750
750
  if (this.isDictDisabled) {
751
- const msg = [12 /* Type.SetNodeAttribute */, id, name, value];
751
+ const attr = `${value}`;
752
+ const msg = [12 /* Type.SetNodeAttribute */, id, name, attr];
752
753
  return this.app.send(msg);
753
754
  }
754
755
  else {
@@ -4710,7 +4711,7 @@ class App {
4710
4711
  this.stopCallbacks = [];
4711
4712
  this.commitCallbacks = [];
4712
4713
  this.activityState = ActivityState.NotActive;
4713
- this.version = '16.1.0-beta.2'; // TODO: version compatability check inside each plugin.
4714
+ this.version = '16.1.0-beta.3'; // TODO: version compatability check inside each plugin.
4714
4715
  this.socketMode = false;
4715
4716
  this.compressionThreshold = 24 * 1000;
4716
4717
  this.bc = null;
@@ -9179,7 +9180,7 @@ class API {
9179
9180
  this.signalStartIssue = (reason, missingApi) => {
9180
9181
  const doNotTrack = this.checkDoNotTrack();
9181
9182
  console.log("Tracker couldn't start due to:", JSON.stringify({
9182
- trackerVersion: '16.1.0-beta.2',
9183
+ trackerVersion: '16.1.0-beta.3',
9183
9184
  projectKey: this.options.projectKey,
9184
9185
  doNotTrack,
9185
9186
  reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,