@posthog/rrweb 0.0.48 → 0.0.49
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 +11 -1
- package/dist/rrweb.cjs.map +1 -1
- package/dist/rrweb.js +11 -1
- package/dist/rrweb.js.map +1 -1
- package/dist/rrweb.umd.cjs +11 -1
- package/dist/rrweb.umd.cjs.map +2 -2
- package/dist/rrweb.umd.min.cjs +15 -15
- package/dist/rrweb.umd.min.cjs.map +3 -3
- package/package.json +5 -5
package/dist/rrweb.cjs
CHANGED
|
@@ -15308,7 +15308,17 @@ function record(options = {}) {
|
|
|
15308
15308
|
);
|
|
15309
15309
|
}
|
|
15310
15310
|
return () => {
|
|
15311
|
-
handlers.forEach((h) =>
|
|
15311
|
+
handlers.forEach((h) => {
|
|
15312
|
+
try {
|
|
15313
|
+
h();
|
|
15314
|
+
} catch (error) {
|
|
15315
|
+
const msg = String(error);
|
|
15316
|
+
const isCrossOriginFrameError = msg.includes("from accessing a cross-origin frame") && msg.includes("Blocked a frame with origin");
|
|
15317
|
+
if (!isCrossOriginFrameError) {
|
|
15318
|
+
throw error;
|
|
15319
|
+
}
|
|
15320
|
+
}
|
|
15321
|
+
});
|
|
15312
15322
|
processedNodeManager.destroy();
|
|
15313
15323
|
iframeManager.removeLoadListener();
|
|
15314
15324
|
iframeManager.destroy();
|