@openreplay/tracker 16.1.0-beta.6 → 16.1.0-beta.8
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 +4 -6
- package/dist/cjs/entry.js.map +1 -1
- package/dist/cjs/index.js +4 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/lib/entry.js +4 -6
- package/dist/lib/entry.js.map +1 -1
- package/dist/lib/index.js +4 -6
- package/dist/lib/index.js.map +1 -1
- package/package.json +1 -1
package/dist/lib/entry.js
CHANGED
|
@@ -743,10 +743,8 @@ class StringDictionary {
|
|
|
743
743
|
class AttributeSender {
|
|
744
744
|
constructor(options) {
|
|
745
745
|
this.sendSetAttribute = (id, name, value) => {
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
attr = attr.replace('[native code]', '');
|
|
749
|
-
}
|
|
746
|
+
// @ts-ignore
|
|
747
|
+
const attr = typeof value === 'string' ? value : (value.toString?.() ?? '');
|
|
750
748
|
if (this.isDictDisabled) {
|
|
751
749
|
const msg = [12 /* Type.SetNodeAttribute */, id, name, attr];
|
|
752
750
|
return this.app.send(msg);
|
|
@@ -4710,7 +4708,7 @@ class App {
|
|
|
4710
4708
|
this.stopCallbacks = [];
|
|
4711
4709
|
this.commitCallbacks = [];
|
|
4712
4710
|
this.activityState = ActivityState.NotActive;
|
|
4713
|
-
this.version = '16.1.0-beta.
|
|
4711
|
+
this.version = '16.1.0-beta.8'; // TODO: version compatability check inside each plugin.
|
|
4714
4712
|
this.socketMode = false;
|
|
4715
4713
|
this.compressionThreshold = 24 * 1000;
|
|
4716
4714
|
this.bc = null;
|
|
@@ -9187,7 +9185,7 @@ class API {
|
|
|
9187
9185
|
this.signalStartIssue = (reason, missingApi) => {
|
|
9188
9186
|
const doNotTrack = this.checkDoNotTrack();
|
|
9189
9187
|
console.log("Tracker couldn't start due to:", JSON.stringify({
|
|
9190
|
-
trackerVersion: '16.1.0-beta.
|
|
9188
|
+
trackerVersion: '16.1.0-beta.8',
|
|
9191
9189
|
projectKey: this.options.projectKey,
|
|
9192
9190
|
doNotTrack,
|
|
9193
9191
|
reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,
|