@pendo/agent 2.308.0 → 2.308.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
@@ -7428,7 +7428,7 @@ function applyMatrix2dRect(matrix2d, rect) {
7428
7428
  return transformedRect;
7429
7429
  }
7430
7430
 
7431
- var VERSION = '2.308.0_';
7431
+ var VERSION = '2.308.1_';
7432
7432
 
7433
7433
  var decodeURIComponent = _.isFunction(window.decodeURIComponent) ? window.decodeURIComponent : _.identity;
7434
7434
 
@@ -3912,8 +3912,8 @@ let SERVER = '';
3912
3912
  let ASSET_HOST = '';
3913
3913
  let ASSET_PATH = '';
3914
3914
  let DESIGNER_SERVER = '';
3915
- let VERSION = '2.308.0_';
3916
- let PACKAGE_VERSION = '2.308.0';
3915
+ let VERSION = '2.308.1_';
3916
+ let PACKAGE_VERSION = '2.308.1';
3917
3917
  let LOADER = 'xhr';
3918
3918
  /* eslint-enable agent-eslint-rules/no-gulp-env-references */
3919
3919
  /**
@@ -29755,7 +29755,7 @@ const privacyFilterCache = new Map();
29755
29755
  *
29756
29756
  * @access public
29757
29757
  * @category Events
29758
- * @param {string} type type of the collected agentic event ['prompt', 'system_response', 'user_reaction']
29758
+ * @param {string} type type of the collected agentic event ['prompt', 'agent_response', 'user_reaction']
29759
29759
  * @param {Object} props event-specific properties object
29760
29760
  * @example
29761
29761
  * pendo.trackAgent('type_of_event', {
@@ -29770,7 +29770,7 @@ const privacyFilterCache = new Map();
29770
29770
  * })
29771
29771
  */
29772
29772
  function trackAgent(type, props) {
29773
- const filteredTypes = ['prompt', 'system_response'];
29773
+ const filteredTypes = ['prompt', 'agent_response'];
29774
29774
  if (_.contains(filteredTypes, type)) {
29775
29775
  props = applyPrivacyFilters(props);
29776
29776
  }