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