@openreplay/tracker 16.4.8 → 16.4.9

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/dist/cjs/index.js CHANGED
@@ -5276,7 +5276,7 @@ class App {
5276
5276
  this.stopCallbacks = [];
5277
5277
  this.commitCallbacks = [];
5278
5278
  this.activityState = ActivityState.NotActive;
5279
- this.version = '16.4.8'; // TODO: version compatability check inside each plugin.
5279
+ this.version = '16.4.9'; // TODO: version compatability check inside each plugin.
5280
5280
  this.socketMode = false;
5281
5281
  this.compressionThreshold = 24 * 1000;
5282
5282
  this.bc = null;
@@ -6440,7 +6440,12 @@ class App {
6440
6440
  startOpts.startCallback(SuccessfulStart(onStartInfo));
6441
6441
  }
6442
6442
  if (this.features['feature-flags']) {
6443
- void this.featureFlags.reloadFlags();
6443
+ try {
6444
+ void this.featureFlags.reloadFlags();
6445
+ }
6446
+ catch (e) {
6447
+ this.debug.log("Error getting feature flags", e);
6448
+ }
6444
6449
  }
6445
6450
  await this.tagWatcher.fetchTags(this.options.ingestPoint, token);
6446
6451
  this.activityState = ActivityState.Active;
@@ -9670,7 +9675,7 @@ class API {
9670
9675
  this.signalStartIssue = (reason, missingApi) => {
9671
9676
  const doNotTrack = this.checkDoNotTrack();
9672
9677
  console.log("Tracker couldn't start due to:", JSON.stringify({
9673
- trackerVersion: '16.4.8',
9678
+ trackerVersion: '16.4.9',
9674
9679
  projectKey: this.options.projectKey,
9675
9680
  doNotTrack,
9676
9681
  reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,