@glimt/record 0.0.37 → 0.0.38

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.
@@ -12616,6 +12616,7 @@ function record(options = {}) {
12616
12616
  };
12617
12617
  const customOnLoad = () => {
12618
12618
  window.removeEventListener("load", customOnLoad);
12619
+ console.log("customOnLoad fired", recording, initedAt);
12619
12620
  if (!recording || initedAt == null) return;
12620
12621
  console.log("customOnLoad wants to take a full snapshot");
12621
12622
  if (Date.now() - initedAt <= 10) {
@@ -12627,7 +12628,10 @@ function record(options = {}) {
12627
12628
  };
12628
12629
  window.addEventListener("load", customOnLoad);
12629
12630
  if (document.readyState === "interactive" || document.readyState === "complete") {
12630
- console.log("fired init() bc readyState === 'interactive' || 'complete'");
12631
+ console.log(
12632
+ "fired init() bc readyState === 'interactive' || 'complete'",
12633
+ document.readyState
12634
+ );
12631
12635
  init();
12632
12636
  } else {
12633
12637
  handlers.push(