@openreplay/tracker 9.0.0-beta.2 → 9.0.0
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/index.js +1 -1
- package/lib/app/index.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/cjs/app/index.js
CHANGED
|
@@ -35,7 +35,7 @@ class App {
|
|
|
35
35
|
this.stopCallbacks = [];
|
|
36
36
|
this.commitCallbacks = [];
|
|
37
37
|
this.activityState = ActivityState.NotActive;
|
|
38
|
-
this.version = '9.0.0
|
|
38
|
+
this.version = '9.0.0'; // TODO: version compatability check inside each plugin.
|
|
39
39
|
this.compressionThreshold = 24 * 1000;
|
|
40
40
|
this.restartAttempts = 0;
|
|
41
41
|
this.bc = null;
|
package/cjs/index.js
CHANGED
|
@@ -153,7 +153,7 @@ class API {
|
|
|
153
153
|
// no-cors issue only with text/plain or not-set Content-Type
|
|
154
154
|
// req.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
|
|
155
155
|
req.send(JSON.stringify({
|
|
156
|
-
trackerVersion: '9.0.0
|
|
156
|
+
trackerVersion: '9.0.0',
|
|
157
157
|
projectKey: options.projectKey,
|
|
158
158
|
doNotTrack,
|
|
159
159
|
// TODO: add precise reason (an exact API missing)
|
package/lib/app/index.js
CHANGED
|
@@ -32,7 +32,7 @@ export default class App {
|
|
|
32
32
|
this.stopCallbacks = [];
|
|
33
33
|
this.commitCallbacks = [];
|
|
34
34
|
this.activityState = ActivityState.NotActive;
|
|
35
|
-
this.version = '9.0.0
|
|
35
|
+
this.version = '9.0.0'; // TODO: version compatability check inside each plugin.
|
|
36
36
|
this.compressionThreshold = 24 * 1000;
|
|
37
37
|
this.restartAttempts = 0;
|
|
38
38
|
this.bc = null;
|
package/lib/index.js
CHANGED
|
@@ -148,7 +148,7 @@ export default class API {
|
|
|
148
148
|
// no-cors issue only with text/plain or not-set Content-Type
|
|
149
149
|
// req.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
|
|
150
150
|
req.send(JSON.stringify({
|
|
151
|
-
trackerVersion: '9.0.0
|
|
151
|
+
trackerVersion: '9.0.0',
|
|
152
152
|
projectKey: options.projectKey,
|
|
153
153
|
doNotTrack,
|
|
154
154
|
// TODO: add precise reason (an exact API missing)
|