@posthog/rrweb-player 0.0.24 → 0.0.25
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-player.cjs +6 -0
- package/dist/rrweb-player.cjs.map +1 -1
- package/dist/rrweb-player.js +6 -0
- package/dist/rrweb-player.js.map +1 -1
- package/dist/rrweb-player.umd.cjs +6 -0
- package/dist/rrweb-player.umd.cjs.map +2 -2
- package/dist/rrweb-player.umd.min.cjs +6 -6
- package/dist/rrweb-player.umd.min.cjs.map +2 -2
- package/package.json +1 -1
package/dist/rrweb-player.js
CHANGED
|
@@ -4756,6 +4756,12 @@ function buildNodeWithSN(n2, options) {
|
|
|
4756
4756
|
} else {
|
|
4757
4757
|
node2.appendChild(childNode);
|
|
4758
4758
|
}
|
|
4759
|
+
} else if (n2.type === NodeType$1$1.Document && childN.type === NodeType$1$1.DocumentType) {
|
|
4760
|
+
if (node2.firstChild && node2.firstChild.nodeType === 1) {
|
|
4761
|
+
node2.insertBefore(childNode, node2.firstChild);
|
|
4762
|
+
} else {
|
|
4763
|
+
node2.appendChild(childNode);
|
|
4764
|
+
}
|
|
4759
4765
|
} else {
|
|
4760
4766
|
node2.appendChild(childNode);
|
|
4761
4767
|
}
|