remotion 4.0.0-fastlambda.5 → 4.0.0-fastlambda.8

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.
@@ -1,5 +1,5 @@
1
- remotion:build: cache hit, replaying output 65128142d2464cd7
2
- remotion:build: 
3
- remotion:build: > remotion@3.0.7 build /Users/jonathanburger/remotion/packages/core
4
- remotion:build: > tsc -d
5
- remotion:build: 
1
+ remotion:build: cache hit, replaying output 4a4ef92a893fde14
2
+ remotion:build: 
3
+ remotion:build: > remotion@3.0.7 build /Users/jonathanburger/remotion/packages/core
4
+ remotion:build: > tsc -d
5
+ remotion:build: 
package/dist/Img.js CHANGED
@@ -25,6 +25,13 @@ const ImgRefForwarding = ({ onLoad, onError, ...props }, ref) => {
25
25
  console.error('Error loading image:', e, 'Handle the event using the onError() prop to make this message disappear.');
26
26
  }
27
27
  }, [handle, onError]);
28
+ (0, react_1.useEffect)(() => {
29
+ console.log('mounting', props.src);
30
+ return () => {
31
+ (0, delay_render_1.continueRender)(handle);
32
+ console.log('unmounting', props.src);
33
+ };
34
+ }, []);
28
35
  return (0, jsx_runtime_1.jsx)("img", { ...props, ref: ref, onLoad: didLoad, onError: didGetError }, void 0);
29
36
  };
30
37
  exports.Img = (0, react_1.forwardRef)(ImgRefForwarding);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remotion",
3
- "version": "4.0.0-fastlambda.5+861af2196",
3
+ "version": "4.0.0-fastlambda.8+64cb75673",
4
4
  "description": "Render videos in React",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -55,5 +55,5 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "gitHead": "861af2196b375f96fdc0786521b9b966f7fb7982"
58
+ "gitHead": "64cb756734b43bfdfae52544d40255c31a4a51c3"
59
59
  }