@pendo/agent 2.288.0 → 2.289.0

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/README.md CHANGED
@@ -90,6 +90,7 @@ The current list of available plugins and their export names are:
90
90
  - Session Replay (Replay)
91
91
  - Guide Logic (GuideMarkdown)
92
92
  - Voice of the Customer Portal (VocPortal)
93
+ - Capture Console Logs (ConsoleCapture)
93
94
 
94
95
  ## Manifest V3 Extensions
95
96
 
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.289.0_';
7291
7296
 
7292
7297
  var decodeURIComponent = _.isFunction(window.decodeURIComponent) ? window.decodeURIComponent : _.identity;
7293
7298
 
@@ -8139,6 +8144,8 @@ Eventable.clear = function (events) {
8139
8144
  new EventType('transmit:locked', [LIFECYCLE]),
8140
8145
  new EventType('transmit:unlocked', [LIFECYCLE]),
8141
8146
  new EventType('sessionChanged', [LIFECYCLE]),
8147
+ new EventType('ptm:unpaused', [LIFECYCLE]),
8148
+ new EventType('ptm:paused', [LIFECYCLE]),
8142
8149
  new EventType('childFrameJoined', [FRAMES]),
8143
8150
  new EventType('tabIdChanged:self', [DEBUG, LIFECYCLE])
8144
8151
  ];