@appsurify-testmap/rrweb 3.3.0-alpha.1 → 3.4.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(() => {
@@ -18150,13 +18154,7 @@ class NavigationManager {
18150
18154
  this.cancelTimers();
18151
18155
  this.disconnectSettlingObserver();
18152
18156
  this.pendingNavigation = null;
18153
- requestAnimationFrame(() => {
18154
- requestAnimationFrame(() => {
18155
- if (!this.frozen && !this.locked && !this.disabled) {
18156
- this.onSnapshot(true);
18157
- }
18158
- });
18159
- });
18157
+ this.onSnapshot(true);
18160
18158
  }
18161
18159
  cancelTimers() {
18162
18160
  if (this.debounceTimer !== null) {
@@ -18262,7 +18260,7 @@ class ProcessedNodeManager {
18262
18260
  destroy() {
18263
18261
  }
18264
18262
  }
18265
- const version$1 = "3.3.0-alpha.1";
18263
+ const version$1 = "3.4.0-alpha.1";
18266
18264
  let wrappedEmit;
18267
18265
  let takeFullSnapshot$1;
18268
18266
  let canvasManager;
@@ -21841,7 +21839,7 @@ class Replayer {
21841
21839
  this.config.logger.log(REPLAY_CONSOLE_PREFIX, ...args);
21842
21840
  }
21843
21841
  }
21844
- const version = "3.3.0-alpha.1";
21842
+ const version = "3.4.0-alpha.1";
21845
21843
  const { getVersion } = record;
21846
21844
  const { isRecording } = record;
21847
21845
  const { flushCustomEventQueue } = record;