@pendo/agent 2.329.0 → 2.330.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
@@ -6790,7 +6790,7 @@ var ConfigReader = (function () {
6790
6790
  * cookies, localStorage, click tracking, and metadata. Only displays guides
6791
6791
  * that have been configured explicitly to show to this visitor.
6792
6792
  *
6793
- * @access private
6793
+ * @access public
6794
6794
  * @category Config/Guides
6795
6795
  * @name doNotTrackGuides
6796
6796
  * @default false
@@ -7505,7 +7505,7 @@ function applyMatrix2dRect(matrix2d, rect) {
7505
7505
  return transformedRect;
7506
7506
  }
7507
7507
 
7508
- var VERSION = '2.329.0_';
7508
+ var VERSION = '2.330.1_';
7509
7509
 
7510
7510
  var decodeURIComponent = _.isFunction(window.decodeURIComponent) ? window.decodeURIComponent : _.identity;
7511
7511
 
@@ -7624,7 +7624,13 @@ function hasCookieDomain() {
7624
7624
  return !!cookieDomain;
7625
7625
  }
7626
7626
  function clearCookie(name) {
7627
- document.cookie = name + '=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT';
7627
+ // Always expire the cookie rather than overwriting it with an empty value.
7628
+ // When a cookieDomain is set the domain attribute must be included or the
7629
+ // domain-scoped cookie can't be matched for deletion -- omitting it (or
7630
+ // writing a blank value) leaves a permanent empty cookie that still costs
7631
+ // request-header space via its name.
7632
+ var cookie = name + '=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT';
7633
+ document.cookie = cookie;
7628
7634
  }
7629
7635
  var getPendoCookieKey = function (name, cookieSuffix) {
7630
7636
  return "_pendo_".concat(name, ".").concat(cookieSuffix || pendo.apiKey);