@remotion/bundler 4.0.43 → 4.0.44
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/renderEntry.js +9 -2
- package/package.json +2 -2
package/dist/renderEntry.js
CHANGED
|
@@ -37,7 +37,6 @@ const GetVideo = ({ state }) => {
|
|
|
37
37
|
return () => (0, remotion_1.continueRender)(handle);
|
|
38
38
|
}, [handle]);
|
|
39
39
|
(0, react_1.useEffect)(() => {
|
|
40
|
-
var _a;
|
|
41
40
|
if (state.type !== 'composition') {
|
|
42
41
|
return;
|
|
43
42
|
}
|
|
@@ -48,7 +47,15 @@ const GetVideo = ({ state }) => {
|
|
|
48
47
|
.map((c) => c.id)
|
|
49
48
|
.join(', ')}. All compositions must have their ID calculated deterministically and must be mounted at the same time.`);
|
|
50
49
|
}
|
|
51
|
-
|
|
50
|
+
if (foundComposition) {
|
|
51
|
+
compositions.setCanvasContent({
|
|
52
|
+
type: 'composition',
|
|
53
|
+
compositionId: foundComposition.id,
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
compositions.setCanvasContent(null);
|
|
58
|
+
}
|
|
52
59
|
compositions.setCurrentCompositionMetadata({
|
|
53
60
|
props: remotion_1.Internals.deserializeJSONWithCustomFields(state.serializedResolvedPropsWithSchema),
|
|
54
61
|
durationInFrames: state.compositionDurationInFrames,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/bundler",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.44",
|
|
4
4
|
"description": "Bundler for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"react-refresh": "0.9.0",
|
|
24
24
|
"style-loader": "2.0.0",
|
|
25
25
|
"webpack": "5.83.1",
|
|
26
|
-
"remotion": "4.0.
|
|
26
|
+
"remotion": "4.0.44"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": ">=16.8.0",
|