@amplitude/rrweb-player 2.0.0-alpha.32 → 2.0.0-alpha.33
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 +3 -1
- package/dist/rrweb-player.cjs.map +1 -1
- package/dist/rrweb-player.js +3 -1
- package/dist/rrweb-player.js.map +1 -1
- package/dist/rrweb-player.umd.cjs +3 -1
- package/dist/rrweb-player.umd.cjs.map +2 -2
- package/dist/rrweb-player.umd.min.cjs +16 -16
- package/dist/rrweb-player.umd.min.cjs.map +3 -3
- package/package.json +4 -4
|
@@ -4107,6 +4107,7 @@ postcss$1$1.Input;
|
|
|
4107
4107
|
postcss$1$1.Rule;
|
|
4108
4108
|
postcss$1$1.Root;
|
|
4109
4109
|
postcss$1$1.Node;
|
|
4110
|
+
const customElementExclusions = ["webview"];
|
|
4110
4111
|
const tagMap = {
|
|
4111
4112
|
script: "noscript",
|
|
4112
4113
|
// camel case svg element tag names
|
|
@@ -4228,7 +4229,8 @@ function buildNode(n2, options) {
|
|
|
4228
4229
|
// If the tag name is a custom element name
|
|
4229
4230
|
n2.isCustom && // If the browser supports custom elements
|
|
4230
4231
|
((_a2 = doc.defaultView) == null ? void 0 : _a2.customElements) && // If the custom element hasn't been defined yet
|
|
4231
|
-
!doc.defaultView.customElements.get(n2.tagName)
|
|
4232
|
+
!doc.defaultView.customElements.get(n2.tagName) && // If the tag is not in the exclusion list
|
|
4233
|
+
!customElementExclusions.includes(n2.tagName)
|
|
4232
4234
|
)
|
|
4233
4235
|
doc.defaultView.customElements.define(
|
|
4234
4236
|
n2.tagName,
|