@appsurify-testmap/rrweb 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.js CHANGED
@@ -18092,8 +18092,12 @@ class NavigationManager {
18092
18092
  this.locked = false;
18093
18093
  }
18094
18094
  destroy() {
18095
+ const hadPending = this.pendingNavigation !== null;
18095
18096
  this.reset();
18096
18097
  this.disabled = true;
18098
+ if (hadPending) {
18099
+ this.onSnapshot(true);
18100
+ }
18097
18101
  }
18098
18102
  startDebounce() {
18099
18103
  this.debounceTimer = setTimeout(() => {
@@ -18117,9 +18121,7 @@ class NavigationManager {
18117
18121
  });
18118
18122
  this.settlingObserver.observe(this.doc, {
18119
18123
  childList: true,
18120
- subtree: true,
18121
- attributes: true,
18122
- characterData: true
18124
+ subtree: true
18123
18125
  });
18124
18126
  this.settleCheckTimer = setTimeout(
18125
18127
  () => this.checkSettled(),
@@ -18148,13 +18150,7 @@ class NavigationManager {
18148
18150
  this.cancelTimers();
18149
18151
  this.disconnectSettlingObserver();
18150
18152
  this.pendingNavigation = null;
18151
- requestAnimationFrame(() => {
18152
- requestAnimationFrame(() => {
18153
- if (!this.frozen && !this.locked && !this.disabled) {
18154
- this.onSnapshot(true);
18155
- }
18156
- });
18157
- });
18153
+ this.onSnapshot(true);
18158
18154
  }
18159
18155
  cancelTimers() {
18160
18156
  if (this.debounceTimer !== null) {
@@ -18260,7 +18256,7 @@ class ProcessedNodeManager {
18260
18256
  destroy() {
18261
18257
  }
18262
18258
  }
18263
- const version$1 = "3.3.0-alpha.1";
18259
+ const version$1 = "3.5.0-alpha.1";
18264
18260
  let wrappedEmit;
18265
18261
  let takeFullSnapshot$1;
18266
18262
  let canvasManager;
@@ -21839,7 +21835,7 @@ class Replayer {
21839
21835
  this.config.logger.log(REPLAY_CONSOLE_PREFIX, ...args);
21840
21836
  }
21841
21837
  }
21842
- const version = "3.3.0-alpha.1";
21838
+ const version = "3.5.0-alpha.1";
21843
21839
  const { getVersion } = record;
21844
21840
  const { isRecording } = record;
21845
21841
  const { flushCustomEventQueue } = record;