@pendo/agent 2.330.0 → 2.330.2
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 +12 -2
- package/dist/pendo.module.js +676 -702
- package/dist/pendo.module.min.js +4 -102
- package/dist/servers.json +7 -7
- package/package.json +1 -1
package/dist/dom.esm.js
CHANGED
|
@@ -7505,7 +7505,7 @@ function applyMatrix2dRect(matrix2d, rect) {
|
|
|
7505
7505
|
return transformedRect;
|
|
7506
7506
|
}
|
|
7507
7507
|
|
|
7508
|
-
var VERSION = '2.330.
|
|
7508
|
+
var VERSION = '2.330.2_';
|
|
7509
7509
|
|
|
7510
7510
|
var decodeURIComponent = _.isFunction(window.decodeURIComponent) ? window.decodeURIComponent : _.identity;
|
|
7511
7511
|
|
|
@@ -7624,7 +7624,17 @@ function hasCookieDomain() {
|
|
|
7624
7624
|
return !!cookieDomain;
|
|
7625
7625
|
}
|
|
7626
7626
|
function clearCookie(name) {
|
|
7627
|
-
|
|
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 expiry = '=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT';
|
|
7633
|
+
// Also expire the host-only variant (no domain attribute). A domain-scoped
|
|
7634
|
+
// cookie and a host-only cookie with the same name are distinct, so if
|
|
7635
|
+
// cookieDomain was set/changed after the cookie was first written, the
|
|
7636
|
+
// other scope would otherwise be orphaned on the current host.
|
|
7637
|
+
document.cookie = name + expiry;
|
|
7628
7638
|
}
|
|
7629
7639
|
var getPendoCookieKey = function (name, cookieSuffix) {
|
|
7630
7640
|
return "_pendo_".concat(name, ".").concat(cookieSuffix || pendo.apiKey);
|