@posthog/rrweb-record 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.
@@ -12412,6 +12412,9 @@ class CanvasManager {
12412
12412
  this.locked = false;
12413
12413
  }
12414
12414
  initCanvasFPSObserver(fps, win, blockClass, blockSelector, options) {
12415
+ if (!("OffscreenCanvas" in win)) {
12416
+ return;
12417
+ }
12415
12418
  const canvasContextReset = initCanvasContextObserver(
12416
12419
  win,
12417
12420
  blockClass,
@@ -12452,7 +12455,9 @@ class CanvasManager {
12452
12455
  0
12453
12456
  ]
12454
12457
  }
12455
- ]
12458
+ ],
12459
+ displayWidth: width,
12460
+ displayHeight: height
12456
12461
  });
12457
12462
  };
12458
12463
  const timeBetweenSnapshots = 1e3 / fps;