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