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