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