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