@appsurify-testmap/rrweb 2.1.2-alpha.1 → 2.1.2-alpha.2

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
@@ -820,10 +820,13 @@ function inspectInlineEventHandlers$1() {
820
820
  });
821
821
  });
822
822
  }
823
- if (document.readyState === "complete" || document.readyState === "interactive") {
824
- inspectInlineEventHandlers$1();
825
- } else {
826
- document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers$1);
823
+ try {
824
+ if (document.readyState === "complete" || document.readyState === "interactive") {
825
+ inspectInlineEventHandlers$1();
826
+ } else {
827
+ document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers$1);
828
+ }
829
+ } catch (error) {
827
830
  }
828
831
  let _id = 1;
829
832
  const tagNameRegex = new RegExp("[^a-z0-9-_:]");
@@ -5887,10 +5890,13 @@ function inspectInlineEventHandlers() {
5887
5890
  });
5888
5891
  });
5889
5892
  }
5890
- if (document.readyState === "complete" || document.readyState === "interactive") {
5891
- inspectInlineEventHandlers();
5892
- } else {
5893
- document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
5893
+ try {
5894
+ if (document.readyState === "complete" || document.readyState === "interactive") {
5895
+ inspectInlineEventHandlers();
5896
+ } else {
5897
+ document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
5898
+ }
5899
+ } catch (error) {
5894
5900
  }
5895
5901
  function getDefaultExportFromCjs(x2) {
5896
5902
  return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
@@ -14510,7 +14516,7 @@ class VisibilityManager {
14510
14516
  if (this.rafId) cancelAnimationFrame(this.rafId);
14511
14517
  }
14512
14518
  }
14513
- const version$1 = "2.1.2-alpha.1";
14519
+ const version$1 = "2.1.2-alpha.2";
14514
14520
  let wrappedEmit;
14515
14521
  let takeFullSnapshot$1;
14516
14522
  let canvasManager;
@@ -18009,7 +18015,7 @@ class Replayer {
18009
18015
  this.config.logger.log(REPLAY_CONSOLE_PREFIX, ...args);
18010
18016
  }
18011
18017
  }
18012
- const version = "2.1.2-alpha.1";
18018
+ const version = "2.1.2-alpha.2";
18013
18019
  const { getVersion } = record;
18014
18020
  const { isRecording } = record;
18015
18021
  const { flushCustomEventQueue } = record;