@pendo/agent 2.280.0 → 2.280.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
@@ -7243,7 +7243,7 @@ function getScreenPosition(element) {
7243
7243
  };
7244
7244
  }
7245
7245
 
7246
- var VERSION = '2.280.0_';
7246
+ var VERSION = '2.280.1_';
7247
7247
  function isExtensionAgent() {
7248
7248
  var installType = getPendoConfigValue('installType') || getPendoConfigFromEnclosingScope().installType;
7249
7249
  return installType === EXTENSION_INSTALL_TYPE;
@@ -3901,8 +3901,8 @@ var SERVER = '';
3901
3901
  var ASSET_HOST = '';
3902
3902
  var ASSET_PATH = '';
3903
3903
  var DESIGNER_ENV = '';
3904
- var VERSION = '2.280.0_';
3905
- var PACKAGE_VERSION = '2.280.0';
3904
+ var VERSION = '2.280.1_';
3905
+ var PACKAGE_VERSION = '2.280.1';
3906
3906
  var LOADER = 'xhr';
3907
3907
  /* eslint-enable agent-eslint-rules/no-gulp-env-references */
3908
3908
  /**
@@ -33006,28 +33006,30 @@ var DesignerConnect = (function () {
33006
33006
  }
33007
33007
  }
33008
33008
  function onConnectMessage(data, msg) {
33009
- var messageOrigin = msg.origin;
33010
- globalPendo.stopGuides();
33011
- globalPendo.buffers.lock();
33012
- var designerWindow = msg.source;
33013
- setDesignerWindow(designerWindow);
33014
- // Special handling for classic designer (p1)
33015
- if (!globalPendo.designerv2.hostConfig) {
33016
- pluginAPI.store.dispatch('frames/leave'); // p1 still needs to stop the frame controller
33017
- // need an unload listener for classic designer to tell the designer to remove it from its frame list
33018
- unloadListener = globalPendo._.partial(disconnectDesigner, designerWindow, messageOrigin);
33019
- pluginAPI.Events.appUnloaded.on(unloadListener);
33020
- }
33021
- addDesignerFunctionality();
33022
- tellMaster(msg.source, {
33023
- 'status': 'success',
33024
- 'type': 'connect'
33025
- }, messageOrigin);
33026
- if (findModuleByName('selection.js')) {
33027
- globalPendo.log('Designer Modules already loaded.');
33028
- tellMaster({ 'type': 'ready' }, messageOrigin);
33029
- }
33030
- pluginAPI.Events.designerLaunched.trigger();
33009
+ if (!globalPendo.designer) {
33010
+ var messageOrigin = msg.origin;
33011
+ globalPendo.stopGuides();
33012
+ globalPendo.buffers.lock();
33013
+ var designerWindow = msg.source;
33014
+ setDesignerWindow(designerWindow);
33015
+ // Special handling for classic designer (p1)
33016
+ if (!globalPendo.designerv2.hostConfig) {
33017
+ pluginAPI.store.dispatch('frames/leave'); // p1 still needs to stop the frame controller
33018
+ // need an unload listener for classic designer to tell the designer to remove it from its frame list
33019
+ unloadListener = globalPendo._.partial(disconnectDesigner, designerWindow, messageOrigin);
33020
+ pluginAPI.Events.appUnloaded.on(unloadListener);
33021
+ }
33022
+ addDesignerFunctionality();
33023
+ tellMaster(msg.source, {
33024
+ 'status': 'success',
33025
+ 'type': 'connect'
33026
+ }, messageOrigin);
33027
+ if (findModuleByName('selection.js')) {
33028
+ globalPendo.log('Designer Modules already loaded.');
33029
+ tellMaster({ 'type': 'ready' }, messageOrigin);
33030
+ }
33031
+ pluginAPI.Events.designerLaunched.trigger();
33032
+ }
33031
33033
  }
33032
33034
  function disconnectDesigner(designerWindow, messageOrigin) {
33033
33035
  globalPendo.buffers.unlock();