@pendo/agent 2.291.2 → 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 +1 -1
- package/dist/pendo.module.js +13 -3
- package/dist/pendo.module.min.js +2 -2
- package/package.json +1 -1
package/dist/dom.esm.js
CHANGED
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
|
/**
|
|
@@ -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({
|