@pendo/agent 2.330.1 → 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 +7 -3
- package/dist/pendo.module.js +799 -806
- package/dist/pendo.module.min.js +3 -101
- 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
|
|
|
@@ -7629,8 +7629,12 @@ function clearCookie(name) {
|
|
|
7629
7629
|
// domain-scoped cookie can't be matched for deletion -- omitting it (or
|
|
7630
7630
|
// writing a blank value) leaves a permanent empty cookie that still costs
|
|
7631
7631
|
// request-header space via its name.
|
|
7632
|
-
var
|
|
7633
|
-
|
|
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;
|
|
7634
7638
|
}
|
|
7635
7639
|
var getPendoCookieKey = function (name, cookieSuffix) {
|
|
7636
7640
|
return "_pendo_".concat(name, ".").concat(cookieSuffix || pendo.apiKey);
|