@remotion/rive 4.0.533 → 4.0.534

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.
@@ -85,7 +85,7 @@ exports.riveCanvasSchema = {
85
85
  ...remotion_1.Interactive.cropSchema,
86
86
  };
87
87
  const RemotionRiveCanvasContentForwardRefFunction = ({ src, fit, alignment, artboard: artboardName, animation: animationIndex, onLoad = null, assetLoader, enableRiveAssetCdn, className, style, effects, controls, canvasRef, }, ref) => {
88
- var _a;
88
+ var _a, _b;
89
89
  const { width, fps, height } = (0, remotion_1.useVideoConfig)();
90
90
  const frame = (0, remotion_1.useCurrentFrame)();
91
91
  const [riveCanvasInstance, setRiveCanvas] = (0, react_1.useState)(null);
@@ -105,6 +105,7 @@ const RemotionRiveCanvasContentForwardRefFunction = ({ src, fit, alignment, artb
105
105
  const memoizedEffects = useMemoizedEffects({
106
106
  effects,
107
107
  overrideId: (_a = controls === null || controls === void 0 ? void 0 : controls.overrideId) !== null && _a !== void 0 ? _a : null,
108
+ videoConfigValues: (_b = controls === null || controls === void 0 ? void 0 : controls.videoConfigValues) !== null && _b !== void 0 ? _b : null,
108
109
  });
109
110
  if (err) {
110
111
  throw err;
@@ -154,7 +154,8 @@ var RemotionRiveCanvasContentForwardRefFunction = ({
154
154
  const chainState = useEffectChainState();
155
155
  const memoizedEffects = useMemoizedEffects({
156
156
  effects,
157
- overrideId: controls?.overrideId ?? null
157
+ overrideId: controls?.overrideId ?? null,
158
+ videoConfigValues: controls?.videoConfigValues ?? null
158
159
  });
159
160
  if (err) {
160
161
  throw err;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/rive"
4
4
  },
5
5
  "name": "@remotion/rive",
6
- "version": "4.0.533",
6
+ "version": "4.0.534",
7
7
  "description": "Embed Rive animations in a Remotion video",
8
8
  "main": "dist/cjs/index.js",
9
9
  "types": "dist/cjs/index.d.ts",
@@ -23,7 +23,7 @@
23
23
  "license": "See LICENSE.md",
24
24
  "dependencies": {
25
25
  "@rive-app/canvas-advanced": "2.31.5",
26
- "remotion": "4.0.533"
26
+ "remotion": "4.0.534"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": ">=18.2.0",
@@ -32,7 +32,7 @@
32
32
  "devDependencies": {
33
33
  "react": "19.2.3",
34
34
  "react-dom": "19.2.3",
35
- "@remotion/eslint-config-internal": "4.0.533",
35
+ "@remotion/eslint-config-internal": "4.0.534",
36
36
  "eslint": "9.19.0",
37
37
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
38
38
  },