@glimt/record 0.0.72 → 0.0.73
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/record.cjs +4 -0
- package/dist/record.cjs.map +1 -1
- package/dist/record.js +4 -0
- package/dist/record.js.map +1 -1
- package/dist/record.umd.cjs +4 -0
- package/dist/record.umd.cjs.map +2 -2
- package/dist/record.umd.min.cjs +14 -14
- package/dist/record.umd.min.cjs.map +2 -2
- package/package.json +1 -1
package/dist/record.js
CHANGED
|
@@ -10370,6 +10370,7 @@ const _MutationRateLimiter = class _MutationRateLimiter2 {
|
|
|
10370
10370
|
if (!this.inGlobalStorm) return;
|
|
10371
10371
|
this.debounceTimeout = setTimeout(() => {
|
|
10372
10372
|
this.debounceTimeout = null;
|
|
10373
|
+
debugLog(`MutationRateLimiter, stopping storm because of debounce`);
|
|
10373
10374
|
this.stormStopped();
|
|
10374
10375
|
}, this.debounceTimeoutMs);
|
|
10375
10376
|
}
|
|
@@ -12189,6 +12190,7 @@ function initObservers(o2, hooks = {}) {
|
|
|
12189
12190
|
mergeHooks(o2, hooks);
|
|
12190
12191
|
let mutationObserver;
|
|
12191
12192
|
if (o2.recordDOM) {
|
|
12193
|
+
debugLog("adding mutation observer in initObservers");
|
|
12192
12194
|
mutationObserver = initMutationObserver(o2, o2.doc);
|
|
12193
12195
|
}
|
|
12194
12196
|
const mousemoveHandler = initMoveObserver(o2);
|
|
@@ -12838,6 +12840,7 @@ class ShadowDomManager {
|
|
|
12838
12840
|
if (!isNativeShadowDom(shadowRoot2)) return;
|
|
12839
12841
|
if (this.shadowDoms.has(shadowRoot2)) return;
|
|
12840
12842
|
this.shadowDoms.add(shadowRoot2);
|
|
12843
|
+
debugLog(`Adding mutation observer for shadowRoot ${shadowRoot2.host}`);
|
|
12841
12844
|
const observer = initMutationObserver(
|
|
12842
12845
|
{
|
|
12843
12846
|
...this.bypassOptions,
|
|
@@ -13417,6 +13420,7 @@ function record(options = {}) {
|
|
|
13417
13420
|
};
|
|
13418
13421
|
iframeManager.addLoadListener((iframeEl) => {
|
|
13419
13422
|
try {
|
|
13423
|
+
debugLog("adding observers for new iframe", iframeEl);
|
|
13420
13424
|
handlers.push(observe(iframeEl.contentDocument));
|
|
13421
13425
|
} catch (error) {
|
|
13422
13426
|
if (isDebug()) {
|