@openreplay/tracker 3.6.0 → 3.6.1

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 CHANGED
@@ -32,7 +32,7 @@ class App {
32
32
  this.stopCallbacks = [];
33
33
  this.commitCallbacks = [];
34
34
  this.activityState = ActivityState.NotActive;
35
- this.version = '3.6.0'; // TODO: version compatability check inside each plugin.
35
+ this.version = '3.6.1'; // TODO: version compatability check inside each plugin.
36
36
  this.projectKey = projectKey;
37
37
  this.options = Object.assign({
38
38
  revID: '',
@@ -217,7 +217,7 @@ class App {
217
217
  this.debug.error('OpenReplay error: Unable to build session URL');
218
218
  return undefined;
219
219
  }
220
- return this.options.ingestPoint.replace(/\/ingest$/, `${projectID}/session/${sessionID}`);
220
+ return this.options.ingestPoint.replace(/ingest$/, `${projectID}/session/${sessionID}`);
221
221
  }
222
222
  getHost() {
223
223
  return new URL(this.options.ingestPoint).hostname;
package/cjs/index.js CHANGED
@@ -131,7 +131,7 @@ class API {
131
131
  // no-cors issue only with text/plain or not-set Content-Type
132
132
  // req.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
133
133
  req.send(JSON.stringify({
134
- trackerVersion: '3.6.0',
134
+ trackerVersion: '3.6.1',
135
135
  projectKey: options.projectKey,
136
136
  doNotTrack,
137
137
  // TODO: add precise reason (an exact API missing)
package/lib/app/index.js CHANGED
@@ -29,7 +29,7 @@ export default class App {
29
29
  this.stopCallbacks = [];
30
30
  this.commitCallbacks = [];
31
31
  this.activityState = ActivityState.NotActive;
32
- this.version = '3.6.0'; // TODO: version compatability check inside each plugin.
32
+ this.version = '3.6.1'; // TODO: version compatability check inside each plugin.
33
33
  this.projectKey = projectKey;
34
34
  this.options = Object.assign({
35
35
  revID: '',
@@ -214,7 +214,7 @@ export default class App {
214
214
  this.debug.error('OpenReplay error: Unable to build session URL');
215
215
  return undefined;
216
216
  }
217
- return this.options.ingestPoint.replace(/\/ingest$/, `${projectID}/session/${sessionID}`);
217
+ return this.options.ingestPoint.replace(/ingest$/, `${projectID}/session/${sessionID}`);
218
218
  }
219
219
  getHost() {
220
220
  return new URL(this.options.ingestPoint).hostname;
package/lib/index.js CHANGED
@@ -127,7 +127,7 @@ export default class API {
127
127
  // no-cors issue only with text/plain or not-set Content-Type
128
128
  // req.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
129
129
  req.send(JSON.stringify({
130
- trackerVersion: '3.6.0',
130
+ trackerVersion: '3.6.1',
131
131
  projectKey: options.projectKey,
132
132
  doNotTrack,
133
133
  // TODO: add precise reason (an exact API missing)
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": "3.6.0",
4
+ "version": "3.6.1",
5
5
  "keywords": [
6
6
  "logging",
7
7
  "replay"