@glomex/integration-react 1.1494.0 → 1.1495.0
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/integration-react.js +3 -1
- package/package.json +15 -3
|
@@ -40,7 +40,9 @@ export const Integration = forwardRef((props, ref) => {
|
|
|
40
40
|
// patch ready when integration element was not upgraded yet
|
|
41
41
|
element.ready =
|
|
42
42
|
elementRef.current?.ready ||
|
|
43
|
-
new Promise((resolve) => window.customElements
|
|
43
|
+
new Promise((resolve) => window.customElements
|
|
44
|
+
.whenDefined(ComponentName.INTEGRATION)
|
|
45
|
+
.then(() => elementRef.current?.ready.then(() => resolve())));
|
|
44
46
|
return element;
|
|
45
47
|
}, [extraContext]);
|
|
46
48
|
return (_jsxs(_Fragment, { children: [integrationId && _jsx("link", { rel: "stylesheet", href: getIntegrationCssUrl(integrationId) }), _jsxs("glomex-integration", { ref: elementRef, "integration-id": integrationId, "playlist-id": playlistId, index: index, hidden: hidden, "top-level-iframe": topLevelIframe, placement: placement, "user-language": userLanguage, ...rest, children: [mediaItemComponents, children, configs && (_jsx("script", { type: ScriptType.INTEGRATION_CONFIGS, children: JSON.stringify(configs) }))] })] }));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glomex/integration-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1495.0",
|
|
4
4
|
"description": "React component to integrate the glomex player",
|
|
5
5
|
"documentation": "https://docs.glomex.com",
|
|
6
6
|
"homepage": "https://glomex.com",
|
|
@@ -28,13 +28,24 @@
|
|
|
28
28
|
"watch": "tsc --build --watch"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@glomex/integration-web-component": "1.
|
|
31
|
+
"@glomex/integration-web-component": "1.1495.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"preact": ">=10",
|
|
35
35
|
"react": ">=16.8.0",
|
|
36
36
|
"react-dom": ">=16.8.0"
|
|
37
37
|
},
|
|
38
|
+
"peerDependenciesMeta": {
|
|
39
|
+
"preact": {
|
|
40
|
+
"optional": true
|
|
41
|
+
},
|
|
42
|
+
"react": {
|
|
43
|
+
"optional": true
|
|
44
|
+
},
|
|
45
|
+
"react-dom": {
|
|
46
|
+
"optional": true
|
|
47
|
+
}
|
|
48
|
+
},
|
|
38
49
|
"publishConfig": {
|
|
39
50
|
"access": "public"
|
|
40
51
|
},
|
|
@@ -43,7 +54,8 @@
|
|
|
43
54
|
"@biomejs/biome": "catalog:",
|
|
44
55
|
"@types/react": "^19.2.2",
|
|
45
56
|
"@types/react-dom": "^19.2.2",
|
|
57
|
+
"preact": "catalog:",
|
|
46
58
|
"typescript": "catalog:"
|
|
47
59
|
},
|
|
48
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "32300ca2cee25287dd094532b67f602f0e9a80ca"
|
|
49
61
|
}
|