@posthog/rrweb-record 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-record.cjs +11 -1
- package/dist/rrweb-record.cjs.map +1 -1
- package/dist/rrweb-record.js +11 -1
- package/dist/rrweb-record.js.map +1 -1
- package/dist/rrweb-record.umd.cjs +11 -1
- package/dist/rrweb-record.umd.cjs.map +2 -2
- package/dist/rrweb-record.umd.min.cjs +13 -13
- package/dist/rrweb-record.umd.min.cjs.map +3 -3
- package/package.json +4 -4
|
@@ -13228,7 +13228,17 @@ function record(options = {}) {
|
|
|
13228
13228
|
);
|
|
13229
13229
|
}
|
|
13230
13230
|
return () => {
|
|
13231
|
-
handlers.forEach((h) =>
|
|
13231
|
+
handlers.forEach((h) => {
|
|
13232
|
+
try {
|
|
13233
|
+
h();
|
|
13234
|
+
} catch (error) {
|
|
13235
|
+
const msg = String(error);
|
|
13236
|
+
const isCrossOriginFrameError = msg.includes("from accessing a cross-origin frame") && msg.includes("Blocked a frame with origin");
|
|
13237
|
+
if (!isCrossOriginFrameError) {
|
|
13238
|
+
throw error;
|
|
13239
|
+
}
|
|
13240
|
+
}
|
|
13241
|
+
});
|
|
13232
13242
|
processedNodeManager.destroy();
|
|
13233
13243
|
iframeManager.removeLoadListener();
|
|
13234
13244
|
iframeManager.destroy();
|