@pendo/agent 2.297.0 → 2.297.2

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/dom.esm.js CHANGED
@@ -7314,7 +7314,7 @@ function getScreenPosition(element) {
7314
7314
  };
7315
7315
  }
7316
7316
 
7317
- var VERSION = '2.297.0_';
7317
+ var VERSION = '2.297.2_';
7318
7318
 
7319
7319
  var decodeURIComponent = _.isFunction(window.decodeURIComponent) ? window.decodeURIComponent : _.identity;
7320
7320
 
@@ -3904,8 +3904,8 @@ let SERVER = '';
3904
3904
  let ASSET_HOST = '';
3905
3905
  let ASSET_PATH = '';
3906
3906
  let DESIGNER_SERVER = '';
3907
- let VERSION = '2.297.0_';
3908
- let PACKAGE_VERSION = '2.297.0';
3907
+ let VERSION = '2.297.2_';
3908
+ let PACKAGE_VERSION = '2.297.2';
3909
3909
  let LOADER = 'xhr';
3910
3910
  /* eslint-enable agent-eslint-rules/no-gulp-env-references */
3911
3911
  /**
@@ -12841,7 +12841,7 @@ function createSendQueue(options, send, guaranteedSend) {
12841
12841
  }
12842
12842
  });
12843
12843
  queue.onTimeout = function () {
12844
- _PerformanceMonitor.track(`${options.beacon}-gif-failure`);
12844
+ _PerformanceMonitor.count(`${options.beacon}-gif-failure`);
12845
12845
  };
12846
12846
  queue.retryPending = true;
12847
12847
  return queue;
@@ -24135,6 +24135,9 @@ class GuideCache {
24135
24135
  request.onsuccess = (event) => {
24136
24136
  const db = event.target.result;
24137
24137
  this.db = db;
24138
+ db.onclose = () => {
24139
+ this.db = null;
24140
+ };
24138
24141
  deferred.resolve(db);
24139
24142
  };
24140
24143
  request.onupgradeneeded = (event) => {