@pendo/agent 2.291.1 → 2.291.3
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 +2 -2
- package/dist/pendo.module.js +14 -4
- package/dist/pendo.module.min.js +2 -2
- package/package.json +1 -1
package/dist/dom.esm.js
CHANGED
|
@@ -7312,7 +7312,7 @@ function getScreenPosition(element) {
|
|
|
7312
7312
|
};
|
|
7313
7313
|
}
|
|
7314
7314
|
|
|
7315
|
-
var VERSION = '2.291.
|
|
7315
|
+
var VERSION = '2.291.3_';
|
|
7316
7316
|
|
|
7317
7317
|
var decodeURIComponent = _.isFunction(window.decodeURIComponent) ? window.decodeURIComponent : _.identity;
|
|
7318
7318
|
|
|
@@ -9581,7 +9581,7 @@ DomQuery.$ = {
|
|
|
9581
9581
|
if (target && target.parentNode) {
|
|
9582
9582
|
target.parentNode.insertBefore(this[0], target);
|
|
9583
9583
|
// Execute scripts (if any) when the fragment enters the document
|
|
9584
|
-
if (isInDocument(
|
|
9584
|
+
if (isInDocument(this[0])) {
|
|
9585
9585
|
_.each(SizzleProxy('script', this[0]), evalScript);
|
|
9586
9586
|
}
|
|
9587
9587
|
}
|
package/dist/pendo.module.js
CHANGED
|
@@ -3904,8 +3904,8 @@ var SERVER = '';
|
|
|
3904
3904
|
var ASSET_HOST = '';
|
|
3905
3905
|
var ASSET_PATH = '';
|
|
3906
3906
|
var DESIGNER_SERVER = '';
|
|
3907
|
-
var VERSION = '2.291.
|
|
3908
|
-
var PACKAGE_VERSION = '2.291.
|
|
3907
|
+
var VERSION = '2.291.3_';
|
|
3908
|
+
var PACKAGE_VERSION = '2.291.3';
|
|
3909
3909
|
var LOADER = 'xhr';
|
|
3910
3910
|
/* eslint-enable agent-eslint-rules/no-gulp-env-references */
|
|
3911
3911
|
/**
|
|
@@ -11037,7 +11037,7 @@ DomQuery.$ = {
|
|
|
11037
11037
|
if (target && target.parentNode) {
|
|
11038
11038
|
target.parentNode.insertBefore(this[0], target);
|
|
11039
11039
|
// Execute scripts (if any) when the fragment enters the document
|
|
11040
|
-
if (isInDocument(
|
|
11040
|
+
if (isInDocument(this[0])) {
|
|
11041
11041
|
_.each(SizzleProxy('script', this[0]), evalScript);
|
|
11042
11042
|
}
|
|
11043
11043
|
}
|
|
@@ -27309,7 +27309,13 @@ class UberMutationObserver extends EventTarget {
|
|
|
27309
27309
|
this.shadowDom.addEventListener('attachShadow', _.bind(this.handleAttachShadow, this));
|
|
27310
27310
|
this.shadowDom.addEventListener('detachShadow', _.bind(this.handleDetachShadow, this));
|
|
27311
27311
|
this.addEventListener('mutation', () => {
|
|
27312
|
-
this.
|
|
27312
|
+
if (this.timeout != null) {
|
|
27313
|
+
clearTimeout(this.timeout);
|
|
27314
|
+
}
|
|
27315
|
+
this.timeout = setTimeout$1(() => {
|
|
27316
|
+
this.shadowDom.updateCache();
|
|
27317
|
+
this.timeout = null;
|
|
27318
|
+
}, 0);
|
|
27313
27319
|
});
|
|
27314
27320
|
}
|
|
27315
27321
|
initialize(pendo, PluginAPI) {
|
|
@@ -27337,6 +27343,10 @@ class UberMutationObserver extends EventTarget {
|
|
|
27337
27343
|
teardown() {
|
|
27338
27344
|
this.observers.clear();
|
|
27339
27345
|
this.shadowDom.teardown();
|
|
27346
|
+
if (this.timeout != null) {
|
|
27347
|
+
clearTimeout(this.timeout);
|
|
27348
|
+
this.timeout = null;
|
|
27349
|
+
}
|
|
27340
27350
|
}
|
|
27341
27351
|
dispatchMutationEvent(mutation) {
|
|
27342
27352
|
this.dispatchEvent({
|