@pendo/agent 2.279.0 → 2.279.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/dist/dom.esm.js CHANGED
@@ -7228,7 +7228,7 @@ function getScreenPosition(element) {
7228
7228
  };
7229
7229
  }
7230
7230
 
7231
- var VERSION = '2.279.0_';
7231
+ var VERSION = '2.279.1_';
7232
7232
  function isExtensionAgent() {
7233
7233
  var installType = getPendoConfigValue('installType') || getPendoConfigFromEnclosingScope().installType;
7234
7234
  return installType === EXTENSION_INSTALL_TYPE;
@@ -3891,8 +3891,8 @@ var SERVER = '';
3891
3891
  var ASSET_HOST = '';
3892
3892
  var ASSET_PATH = '';
3893
3893
  var DESIGNER_ENV = '';
3894
- var VERSION = '2.279.0_';
3895
- var PACKAGE_VERSION = '2.279.0';
3894
+ var VERSION = '2.279.1_';
3895
+ var PACKAGE_VERSION = '2.279.1';
3896
3896
  var LOADER = 'xhr';
3897
3897
  /* eslint-enable agent-eslint-rules/no-gulp-env-references */
3898
3898
  /**
@@ -36519,8 +36519,11 @@ class SessionManager {
36519
36519
  return this._sessionInfo.sessionId;
36520
36520
  }
36521
36521
  clearSessionInfo() {
36522
+ let currentSessionInfo = this.api.agentStorage.read(SESSION_ID);
36523
+ if (currentSessionInfo && JSON.parse(currentSessionInfo).sessionId === this._sessionInfo.sessionId) {
36524
+ this.api.agentStorage.clear(SESSION_ID);
36525
+ }
36522
36526
  delete this._sessionInfo;
36523
- this.api.agentStorage.clear(SESSION_ID);
36524
36527
  this.sessionId();
36525
36528
  }
36526
36529
  storeLastInteractionEventInformation(timestamp) {