@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.
- package/dist/rrweb.cjs +6 -1
- package/dist/rrweb.cjs.map +1 -1
- package/dist/rrweb.js +6 -1
- package/dist/rrweb.js.map +1 -1
- package/dist/rrweb.umd.cjs +6 -1
- package/dist/rrweb.umd.cjs.map +2 -2
- package/dist/rrweb.umd.min.cjs +1 -1
- package/dist/rrweb.umd.min.cjs.map +2 -2
- package/package.json +5 -5
package/dist/rrweb.cjs
CHANGED
|
@@ -14505,6 +14505,9 @@ class CanvasManager {
|
|
|
14505
14505
|
this.locked = false;
|
|
14506
14506
|
}
|
|
14507
14507
|
initCanvasFPSObserver(fps, win, blockClass, blockSelector, options) {
|
|
14508
|
+
if (!("OffscreenCanvas" in win)) {
|
|
14509
|
+
return;
|
|
14510
|
+
}
|
|
14508
14511
|
const canvasContextReset = initCanvasContextObserver(
|
|
14509
14512
|
win,
|
|
14510
14513
|
blockClass,
|
|
@@ -14545,7 +14548,9 @@ class CanvasManager {
|
|
|
14545
14548
|
0
|
|
14546
14549
|
]
|
|
14547
14550
|
}
|
|
14548
|
-
]
|
|
14551
|
+
],
|
|
14552
|
+
displayWidth: width,
|
|
14553
|
+
displayHeight: height
|
|
14549
14554
|
});
|
|
14550
14555
|
};
|
|
14551
14556
|
const timeBetweenSnapshots = 1e3 / fps;
|