@openreplay/tracker 16.1.0-beta.3 → 16.1.0-beta.5
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 +7 -4
- package/dist/cjs/entry.js.map +1 -1
- package/dist/cjs/index.js +7 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/lib/entry.js +7 -4
- package/dist/lib/entry.js.map +1 -1
- package/dist/lib/index.js +7 -4
- package/dist/lib/index.js.map +1 -1
- package/package.json +1 -1
package/dist/lib/index.js
CHANGED
|
@@ -743,8 +743,11 @@ class StringDictionary {
|
|
|
743
743
|
class AttributeSender {
|
|
744
744
|
constructor(options) {
|
|
745
745
|
this.sendSetAttribute = (id, name, value) => {
|
|
746
|
+
let attr = `${value}`;
|
|
747
|
+
if (attr.includes('[native code]')) {
|
|
748
|
+
attr = attr.replace('[native code]', '');
|
|
749
|
+
}
|
|
746
750
|
if (this.isDictDisabled) {
|
|
747
|
-
const attr = `${value}`;
|
|
748
751
|
const msg = [12 /* Type.SetNodeAttribute */, id, name, attr];
|
|
749
752
|
return this.app.send(msg);
|
|
750
753
|
}
|
|
@@ -753,7 +756,7 @@ class AttributeSender {
|
|
|
753
756
|
35 /* Type.SetNodeAttributeDictGlobal */,
|
|
754
757
|
id,
|
|
755
758
|
this.applyDict(name),
|
|
756
|
-
this.applyDict(
|
|
759
|
+
this.applyDict(attr),
|
|
757
760
|
];
|
|
758
761
|
return this.app.send(message);
|
|
759
762
|
}
|
|
@@ -4707,7 +4710,7 @@ class App {
|
|
|
4707
4710
|
this.stopCallbacks = [];
|
|
4708
4711
|
this.commitCallbacks = [];
|
|
4709
4712
|
this.activityState = ActivityState.NotActive;
|
|
4710
|
-
this.version = '16.1.0-beta.
|
|
4713
|
+
this.version = '16.1.0-beta.5'; // TODO: version compatability check inside each plugin.
|
|
4711
4714
|
this.socketMode = false;
|
|
4712
4715
|
this.compressionThreshold = 24 * 1000;
|
|
4713
4716
|
this.bc = null;
|
|
@@ -9176,7 +9179,7 @@ class API {
|
|
|
9176
9179
|
this.signalStartIssue = (reason, missingApi) => {
|
|
9177
9180
|
const doNotTrack = this.checkDoNotTrack();
|
|
9178
9181
|
console.log("Tracker couldn't start due to:", JSON.stringify({
|
|
9179
|
-
trackerVersion: '16.1.0-beta.
|
|
9182
|
+
trackerVersion: '16.1.0-beta.5',
|
|
9180
9183
|
projectKey: this.options.projectKey,
|
|
9181
9184
|
doNotTrack,
|
|
9182
9185
|
reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,
|