@openreplay/tracker 9.0.0-beta.1 → 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 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-beta.1'; // TODO: version compatability check inside each plugin.
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-beta.1',
156
+ trackerVersion: '9.0.0',
157
157
  projectKey: options.projectKey,
158
158
  doNotTrack,
159
159
  // TODO: add precise reason (an exact API missing)
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  class FeatureFlags {
13
13
  constructor(app) {
14
14
  this.app = app;
15
+ this.flags = [];
15
16
  this.storageKey = '__openreplay_flags';
16
17
  const persistFlags = this.app.sessionStorage.getItem(this.storageKey);
17
18
  if (persistFlags) {
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-beta.1'; // TODO: version compatability check inside each plugin.
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-beta.1',
151
+ trackerVersion: '9.0.0',
152
152
  projectKey: options.projectKey,
153
153
  doNotTrack,
154
154
  // TODO: add precise reason (an exact API missing)
@@ -10,6 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  export default class FeatureFlags {
11
11
  constructor(app) {
12
12
  this.app = app;
13
+ this.flags = [];
13
14
  this.storageKey = '__openreplay_flags';
14
15
  const persistFlags = this.app.sessionStorage.getItem(this.storageKey);
15
16
  if (persistFlags) {
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": "9.0.0-beta.1",
4
+ "version": "9.0.0",
5
5
  "keywords": [
6
6
  "logging",
7
7
  "replay"