@appsurify-testmap/rrweb-record 3.3.0-alpha.1 → 3.5.0-alpha.1
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/rrweb-record.cjs +7 -11
- package/dist/rrweb-record.cjs.map +1 -1
- package/dist/rrweb-record.js +7 -11
- package/dist/rrweb-record.js.map +1 -1
- package/dist/rrweb-record.umd.cjs +7 -11
- package/dist/rrweb-record.umd.cjs.map +2 -2
- package/dist/rrweb-record.umd.min.cjs +15 -15
- package/dist/rrweb-record.umd.min.cjs.map +3 -3
- package/package.json +4 -4
package/dist/rrweb-record.cjs
CHANGED
|
@@ -16055,8 +16055,12 @@ class NavigationManager {
|
|
|
16055
16055
|
this.locked = false;
|
|
16056
16056
|
}
|
|
16057
16057
|
destroy() {
|
|
16058
|
+
const hadPending = this.pendingNavigation !== null;
|
|
16058
16059
|
this.reset();
|
|
16059
16060
|
this.disabled = true;
|
|
16061
|
+
if (hadPending) {
|
|
16062
|
+
this.onSnapshot(true);
|
|
16063
|
+
}
|
|
16060
16064
|
}
|
|
16061
16065
|
startDebounce() {
|
|
16062
16066
|
this.debounceTimer = setTimeout(() => {
|
|
@@ -16080,9 +16084,7 @@ class NavigationManager {
|
|
|
16080
16084
|
});
|
|
16081
16085
|
this.settlingObserver.observe(this.doc, {
|
|
16082
16086
|
childList: true,
|
|
16083
|
-
subtree: true
|
|
16084
|
-
attributes: true,
|
|
16085
|
-
characterData: true
|
|
16087
|
+
subtree: true
|
|
16086
16088
|
});
|
|
16087
16089
|
this.settleCheckTimer = setTimeout(
|
|
16088
16090
|
() => this.checkSettled(),
|
|
@@ -16111,13 +16113,7 @@ class NavigationManager {
|
|
|
16111
16113
|
this.cancelTimers();
|
|
16112
16114
|
this.disconnectSettlingObserver();
|
|
16113
16115
|
this.pendingNavigation = null;
|
|
16114
|
-
|
|
16115
|
-
requestAnimationFrame(() => {
|
|
16116
|
-
if (!this.frozen && !this.locked && !this.disabled) {
|
|
16117
|
-
this.onSnapshot(true);
|
|
16118
|
-
}
|
|
16119
|
-
});
|
|
16120
|
-
});
|
|
16116
|
+
this.onSnapshot(true);
|
|
16121
16117
|
}
|
|
16122
16118
|
cancelTimers() {
|
|
16123
16119
|
if (this.debounceTimer !== null) {
|
|
@@ -16223,7 +16219,7 @@ class ProcessedNodeManager {
|
|
|
16223
16219
|
destroy() {
|
|
16224
16220
|
}
|
|
16225
16221
|
}
|
|
16226
|
-
const version$1 = "3.
|
|
16222
|
+
const version$1 = "3.5.0-alpha.1";
|
|
16227
16223
|
let wrappedEmit;
|
|
16228
16224
|
let takeFullSnapshot$1;
|
|
16229
16225
|
let canvasManager;
|