@remotion/bundler 4.0.30 → 4.0.32

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.
@@ -35,13 +35,15 @@ const AvailableCompositions = () => {
35
35
  const check = () => {
36
36
  if (window.remotion_renderReady === true) {
37
37
  setComps({ type: 'loading' });
38
- try {
39
- const newComps = window.remotion_getCompositionNames();
40
- setComps({ type: 'loaded', comps: newComps });
41
- }
42
- catch (err) {
43
- setComps({ type: 'error', error: err });
44
- }
38
+ setTimeout(() => {
39
+ try {
40
+ const newComps = window.remotion_getCompositionNames();
41
+ setComps({ type: 'loaded', comps: newComps });
42
+ }
43
+ catch (err) {
44
+ setComps({ type: 'error', error: err });
45
+ }
46
+ }, 250);
45
47
  }
46
48
  else {
47
49
  timeout = setTimeout(check, 250);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/bundler",
3
- "version": "4.0.30",
3
+ "version": "4.0.32",
4
4
  "description": "Bundler for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -22,7 +22,7 @@
22
22
  "react-refresh": "0.9.0",
23
23
  "style-loader": "2.0.0",
24
24
  "webpack": "5.83.1",
25
- "remotion": "4.0.30"
25
+ "remotion": "4.0.32"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=16.8.0",