@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.
- package/dist/rrweb-record.cjs +6 -1
- package/dist/rrweb-record.cjs.map +1 -1
- package/dist/rrweb-record.js +6 -1
- package/dist/rrweb-record.js.map +1 -1
- package/dist/rrweb-record.umd.cjs +6 -1
- package/dist/rrweb-record.umd.cjs.map +2 -2
- package/dist/rrweb-record.umd.min.cjs +1 -1
- package/dist/rrweb-record.umd.min.cjs.map +2 -2
- package/package.json +4 -4
|
@@ -12442,6 +12442,9 @@ class CanvasManager {
|
|
|
12442
12442
|
this.locked = false;
|
|
12443
12443
|
}
|
|
12444
12444
|
initCanvasFPSObserver(fps, win, blockClass, blockSelector, options) {
|
|
12445
|
+
if (!("OffscreenCanvas" in win)) {
|
|
12446
|
+
return;
|
|
12447
|
+
}
|
|
12445
12448
|
const canvasContextReset = initCanvasContextObserver(
|
|
12446
12449
|
win,
|
|
12447
12450
|
blockClass,
|
|
@@ -12482,7 +12485,9 @@ class CanvasManager {
|
|
|
12482
12485
|
0
|
|
12483
12486
|
]
|
|
12484
12487
|
}
|
|
12485
|
-
]
|
|
12488
|
+
],
|
|
12489
|
+
displayWidth: width,
|
|
12490
|
+
displayHeight: height
|
|
12486
12491
|
});
|
|
12487
12492
|
};
|
|
12488
12493
|
const timeBetweenSnapshots = 1e3 / fps;
|