@openreplay/tracker 14.0.2 → 14.0.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 14.0.3
2
+
3
+ - send integer instead of float for normalizedX/Y coords (basically moving from 0-100 to 0-10000 range)
4
+
1
5
  # 14.0.2
2
6
 
3
7
  - fix logger check
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.2'; // TODO: version compatability check inside each plugin.
97
+ this.version = '14.0.3'; // TODO: version compatability check inside each plugin.
98
98
  this.socketMode = false;
99
99
  this.compressionThreshold = 24 * 1000;
100
100
  this.bc = null;
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.2',
101
+ trackerVersion: '14.0.3',
102
102
  projectKey: this.options.projectKey,
103
103
  doNotTrack,
104
104
  reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,
@@ -191,5 +191,5 @@ exports.default = default_1;
191
191
  * 0.39643 => 396.43 => 396 => 39.6%
192
192
  * */
193
193
  function roundNumber(num) {
194
- return Math.round(num * 1e3) / 1e1;
194
+ return Math.round(num * 1e4);
195
195
  }
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.2'; // TODO: version compatability check inside each plugin.
68
+ this.version = '14.0.3'; // TODO: version compatability check inside each plugin.
69
69
  this.socketMode = false;
70
70
  this.compressionThreshold = 24 * 1000;
71
71
  this.bc = null;
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.2',
70
+ trackerVersion: '14.0.3',
71
71
  projectKey: this.options.projectKey,
72
72
  doNotTrack,
73
73
  reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,
@@ -188,5 +188,5 @@ export default function (app, options) {
188
188
  * 0.39643 => 396.43 => 396 => 39.6%
189
189
  * */
190
190
  function roundNumber(num) {
191
- return Math.round(num * 1e3) / 1e1;
191
+ return Math.round(num * 1e4);
192
192
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openreplay/tracker",
3
3
  "description": "The OpenReplay tracker main package",
4
- "version": "14.0.2",
4
+ "version": "14.0.3",
5
5
  "keywords": [
6
6
  "logging",
7
7
  "replay"