@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.umd.cjs
CHANGED
|
@@ -15299,7 +15299,17 @@ function record(options = {}) {
|
|
|
15299
15299
|
);
|
|
15300
15300
|
}
|
|
15301
15301
|
return () => {
|
|
15302
|
-
handlers.forEach((h) =>
|
|
15302
|
+
handlers.forEach((h) => {
|
|
15303
|
+
try {
|
|
15304
|
+
h();
|
|
15305
|
+
} catch (error) {
|
|
15306
|
+
const msg = String(error);
|
|
15307
|
+
const isCrossOriginFrameError = msg.includes("from accessing a cross-origin frame") && msg.includes("Blocked a frame with origin");
|
|
15308
|
+
if (!isCrossOriginFrameError) {
|
|
15309
|
+
throw error;
|
|
15310
|
+
}
|
|
15311
|
+
}
|
|
15312
|
+
});
|
|
15303
15313
|
processedNodeManager.destroy();
|
|
15304
15314
|
iframeManager.removeLoadListener();
|
|
15305
15315
|
iframeManager.destroy();
|