@openreplay/tracker 14.0.6-beta.1 → 14.0.6-beta.2
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/cjs/app/index.js +1 -1
- package/cjs/app/observer/observer.js +0 -1
- package/cjs/index.js +1 -1
- package/lib/app/index.js +1 -1
- package/lib/app/observer/observer.js +0 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/cjs/app/index.js
CHANGED
|
@@ -94,7 +94,7 @@ class App {
|
|
|
94
94
|
this.stopCallbacks = [];
|
|
95
95
|
this.commitCallbacks = [];
|
|
96
96
|
this.activityState = ActivityState.NotActive;
|
|
97
|
-
this.version = '14.0.6-beta.
|
|
97
|
+
this.version = '14.0.6-beta.2'; // TODO: version compatability check inside each plugin.
|
|
98
98
|
this.socketMode = false;
|
|
99
99
|
this.compressionThreshold = 24 * 1000;
|
|
100
100
|
this.bc = null;
|
|
@@ -48,7 +48,6 @@ class Observer {
|
|
|
48
48
|
this.attributesMap = new Map();
|
|
49
49
|
this.textSet = new Set();
|
|
50
50
|
this.observer = (0, utils_js_1.createMutationObserver)(this.app.safe((mutations) => {
|
|
51
|
-
console.log(mutations);
|
|
52
51
|
for (const mutation of mutations) {
|
|
53
52
|
// mutations order is sequential
|
|
54
53
|
const target = mutation.target;
|
package/cjs/index.js
CHANGED
|
@@ -98,7 +98,7 @@ class API {
|
|
|
98
98
|
const orig = this.options.ingestPoint || index_js_1.DEFAULT_INGEST_POINT;
|
|
99
99
|
req.open('POST', orig + '/v1/web/not-started');
|
|
100
100
|
req.send(JSON.stringify({
|
|
101
|
-
trackerVersion: '14.0.6-beta.
|
|
101
|
+
trackerVersion: '14.0.6-beta.2',
|
|
102
102
|
projectKey: this.options.projectKey,
|
|
103
103
|
doNotTrack,
|
|
104
104
|
reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,
|
package/lib/app/index.js
CHANGED
|
@@ -65,7 +65,7 @@ export default class App {
|
|
|
65
65
|
this.stopCallbacks = [];
|
|
66
66
|
this.commitCallbacks = [];
|
|
67
67
|
this.activityState = ActivityState.NotActive;
|
|
68
|
-
this.version = '14.0.6-beta.
|
|
68
|
+
this.version = '14.0.6-beta.2'; // TODO: version compatability check inside each plugin.
|
|
69
69
|
this.socketMode = false;
|
|
70
70
|
this.compressionThreshold = 24 * 1000;
|
|
71
71
|
this.bc = null;
|
|
@@ -46,7 +46,6 @@ export default class Observer {
|
|
|
46
46
|
this.attributesMap = new Map();
|
|
47
47
|
this.textSet = new Set();
|
|
48
48
|
this.observer = createMutationObserver(this.app.safe((mutations) => {
|
|
49
|
-
console.log(mutations);
|
|
50
49
|
for (const mutation of mutations) {
|
|
51
50
|
// mutations order is sequential
|
|
52
51
|
const target = mutation.target;
|
package/lib/index.js
CHANGED
|
@@ -67,7 +67,7 @@ export default class API {
|
|
|
67
67
|
const orig = this.options.ingestPoint || DEFAULT_INGEST_POINT;
|
|
68
68
|
req.open('POST', orig + '/v1/web/not-started');
|
|
69
69
|
req.send(JSON.stringify({
|
|
70
|
-
trackerVersion: '14.0.6-beta.
|
|
70
|
+
trackerVersion: '14.0.6-beta.2',
|
|
71
71
|
projectKey: this.options.projectKey,
|
|
72
72
|
doNotTrack,
|
|
73
73
|
reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,
|