@pendo/agent 2.298.2 → 2.300.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
@@ -91,6 +91,7 @@ The current list of available plugins and their export names are:
91
91
  - Guide Logic (GuideMarkdown)
92
92
  - Voice of the Customer Portal (VocPortal)
93
93
  - Capture Console Logs (ConsoleCapture)
94
+ - Capture Network Logs (NetworkCapture)
94
95
 
95
96
  ## Manifest V3 Extensions
96
97
 
package/dist/dom.esm.js CHANGED
@@ -6514,7 +6514,6 @@ var ConfigReader = (function () {
6514
6514
  * @type {boolean}
6515
6515
  */
6516
6516
  addOption('enableDebugEvents', [SNIPPET_SRC, PENDO_CONFIG_SRC]);
6517
- addOption('freeNPSData');
6518
6517
  addOption('eventPropertyConfigurations');
6519
6518
  /**
6520
6519
  * By default, a click event property rule can be matched against the element that is clicked on or its
@@ -6902,7 +6901,9 @@ var ConfigReader = (function () {
6902
6901
  addOption('enableAllEmbeddedGuideEvents', [PENDO_CONFIG_SRC], false);
6903
6902
  // Form Validation
6904
6903
  addOption('formValidation', [PENDO_CONFIG_SRC], false);
6904
+ // Performance Metrics
6905
6905
  addOption('performanceMetricsEnabled', [SNIPPET_SRC, PENDO_CONFIG_SRC], true);
6906
+ addOption('sendPerformanceMetrics', [SNIPPET_SRC, PENDO_CONFIG_SRC], false);
6906
6907
  }
6907
6908
  initializeOptions();
6908
6909
  var sourceGetters = {};
@@ -7314,7 +7315,7 @@ function getScreenPosition(element) {
7314
7315
  };
7315
7316
  }
7316
7317
 
7317
- var VERSION = '2.298.2_';
7318
+ var VERSION = '2.300.0_';
7318
7319
 
7319
7320
  var decodeURIComponent = _.isFunction(window.decodeURIComponent) ? window.decodeURIComponent : _.identity;
7320
7321
 
@@ -9800,7 +9801,7 @@ var trimString = function (str, limit) {
9800
9801
  return trimSurrogate(str.substring(0, limit));
9801
9802
  };
9802
9803
  function getTextValue(elem, limit) {
9803
- if (elem.tagName && ['textarea', 'input'].indexOf(elem.tagName.toLowerCase()) > -1) {
9804
+ if (elem.tagName && _.contains(['textarea', 'input'], elem.tagName.toLowerCase())) {
9804
9805
  return trimString(elem.value, limit);
9805
9806
  }
9806
9807
  return getText(elem, limit);