@posthog/rrweb 0.0.43 → 0.0.44

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.
@@ -14510,6 +14510,9 @@ class CanvasManager {
14510
14510
  this.locked = false;
14511
14511
  }
14512
14512
  initCanvasFPSObserver(fps, win, blockClass, blockSelector, options) {
14513
+ if (!("OffscreenCanvas" in win)) {
14514
+ return;
14515
+ }
14513
14516
  const canvasContextReset = initCanvasContextObserver(
14514
14517
  win,
14515
14518
  blockClass,
@@ -14550,7 +14553,9 @@ class CanvasManager {
14550
14553
  0
14551
14554
  ]
14552
14555
  }
14553
- ]
14556
+ ],
14557
+ displayWidth: width,
14558
+ displayHeight: height
14554
14559
  });
14555
14560
  };
14556
14561
  const timeBetweenSnapshots = 1e3 / fps;