@pendo/agent 2.288.0 → 2.288.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
@@ -6058,6 +6058,11 @@ var _pendoConfig = {};
6058
6058
  function getPendoConfig() {
6059
6059
  return _pendoConfig;
6060
6060
  }
6061
+ function getPendoConfigFromEnclosingScope() {
6062
+ if (typeof PendoConfig === 'undefined')
6063
+ return {};
6064
+ return PendoConfig;
6065
+ }
6061
6066
 
6062
6067
  function deepCopy(obj) {
6063
6068
  if (_.isFunction(obj) || _.isRegExp(obj)) {
@@ -7010,7 +7015,7 @@ var ConfigReader = (function () {
7010
7015
  var EXTENSION_INSTALL_TYPE = 'extension';
7011
7016
  var NATIVE_INSTALL_TYPE = 'native';
7012
7017
  function getInstallType() {
7013
- var installType = ConfigReader.get('installType');
7018
+ var installType = ConfigReader.get('installType') || getPendoConfigFromEnclosingScope().installType;
7014
7019
  return installType || NATIVE_INSTALL_TYPE;
7015
7020
  }
7016
7021
  function isExtensionAgent() {
@@ -7287,7 +7292,7 @@ function getScreenPosition(element) {
7287
7292
  };
7288
7293
  }
7289
7294
 
7290
- var VERSION = '2.288.0_';
7295
+ var VERSION = '2.288.1_';
7291
7296
 
7292
7297
  var decodeURIComponent = _.isFunction(window.decodeURIComponent) ? window.decodeURIComponent : _.identity;
7293
7298
 
@@ -3661,7 +3661,7 @@ var PROD = 'prod';
3661
3661
  var EXTENSION_INSTALL_TYPE = 'extension';
3662
3662
  var NATIVE_INSTALL_TYPE = 'native';
3663
3663
  function getInstallType() {
3664
- var installType = ConfigReader.get('installType');
3664
+ var installType = ConfigReader.get('installType') || getPendoConfigFromEnclosingScope().installType;
3665
3665
  return installType || NATIVE_INSTALL_TYPE;
3666
3666
  }
3667
3667
  function isExtensionAgent() {
@@ -3903,8 +3903,8 @@ var SERVER = '';
3903
3903
  var ASSET_HOST = '';
3904
3904
  var ASSET_PATH = '';
3905
3905
  var DESIGNER_SERVER = '';
3906
- var VERSION = '2.288.0_';
3907
- var PACKAGE_VERSION = '2.288.0';
3906
+ var VERSION = '2.288.1_';
3907
+ var PACKAGE_VERSION = '2.288.1';
3908
3908
  var LOADER = 'xhr';
3909
3909
  /* eslint-enable agent-eslint-rules/no-gulp-env-references */
3910
3910
  /**