@openreplay/tracker 7.0.5-beta.1 → 7.0.6
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/top_observer.js +2 -1
- package/cjs/index.js +1 -1
- package/lib/app/index.js +1 -1
- package/lib/app/observer/top_observer.js +2 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/cjs/app/index.js
CHANGED
|
@@ -34,7 +34,7 @@ class App {
|
|
|
34
34
|
this.stopCallbacks = [];
|
|
35
35
|
this.commitCallbacks = [];
|
|
36
36
|
this.activityState = ActivityState.NotActive;
|
|
37
|
-
this.version = '7.0.
|
|
37
|
+
this.version = '7.0.6'; // TODO: version compatability check inside each plugin.
|
|
38
38
|
this.compressionThreshold = 24 * 1000;
|
|
39
39
|
this.restartAttempts = 0;
|
|
40
40
|
this._usingOldFetchPlugin = false;
|
|
@@ -72,7 +72,8 @@ class TopObserver extends observer_js_1.default {
|
|
|
72
72
|
//@ts-ignore https://github.com/microsoft/TypeScript/issues/41684
|
|
73
73
|
this.contextCallbacks.forEach((cb) => cb(currentWin));
|
|
74
74
|
}
|
|
75
|
-
|
|
75
|
+
// if user has 2+ frames one inside another and they update rapidly, things will break without this delay
|
|
76
|
+
}, 100));
|
|
76
77
|
iframe.addEventListener('load', handle); // why app.attachEventListener not working?
|
|
77
78
|
handle();
|
|
78
79
|
}
|
package/cjs/index.js
CHANGED
|
@@ -142,7 +142,7 @@ class API {
|
|
|
142
142
|
// no-cors issue only with text/plain or not-set Content-Type
|
|
143
143
|
// req.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
|
|
144
144
|
req.send(JSON.stringify({
|
|
145
|
-
trackerVersion: '7.0.
|
|
145
|
+
trackerVersion: '7.0.6',
|
|
146
146
|
projectKey: options.projectKey,
|
|
147
147
|
doNotTrack,
|
|
148
148
|
// TODO: add precise reason (an exact API missing)
|
package/lib/app/index.js
CHANGED
|
@@ -31,7 +31,7 @@ export default class App {
|
|
|
31
31
|
this.stopCallbacks = [];
|
|
32
32
|
this.commitCallbacks = [];
|
|
33
33
|
this.activityState = ActivityState.NotActive;
|
|
34
|
-
this.version = '7.0.
|
|
34
|
+
this.version = '7.0.6'; // TODO: version compatability check inside each plugin.
|
|
35
35
|
this.compressionThreshold = 24 * 1000;
|
|
36
36
|
this.restartAttempts = 0;
|
|
37
37
|
this._usingOldFetchPlugin = false;
|
|
@@ -70,7 +70,8 @@ export default class TopObserver extends Observer {
|
|
|
70
70
|
//@ts-ignore https://github.com/microsoft/TypeScript/issues/41684
|
|
71
71
|
this.contextCallbacks.forEach((cb) => cb(currentWin));
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
// if user has 2+ frames one inside another and they update rapidly, things will break without this delay
|
|
74
|
+
}, 100));
|
|
74
75
|
iframe.addEventListener('load', handle); // why app.attachEventListener not working?
|
|
75
76
|
handle();
|
|
76
77
|
}
|
package/lib/index.js
CHANGED
|
@@ -137,7 +137,7 @@ export default class API {
|
|
|
137
137
|
// no-cors issue only with text/plain or not-set Content-Type
|
|
138
138
|
// req.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
|
|
139
139
|
req.send(JSON.stringify({
|
|
140
|
-
trackerVersion: '7.0.
|
|
140
|
+
trackerVersion: '7.0.6',
|
|
141
141
|
projectKey: options.projectKey,
|
|
142
142
|
doNotTrack,
|
|
143
143
|
// TODO: add precise reason (an exact API missing)
|