@remotion/three 4.0.71 → 4.0.73

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,2 +1,2 @@
1
- import { Internals } from 'remotion';
2
- export declare const validateDimension: typeof Internals.validateDimension;
1
+ import { NoReactInternals } from 'remotion/no-react';
2
+ export declare const validateDimension: typeof NoReactInternals.validateDimension;
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.validateDimension = void 0;
4
4
  /* eslint-disable prefer-destructuring */
5
- const remotion_1 = require("remotion");
6
- exports.validateDimension = remotion_1.Internals.validateDimension;
5
+ const no_react_1 = require("remotion/no-react");
6
+ exports.validateDimension = no_react_1.NoReactInternals.validateDimension;
@@ -2,6 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import { Canvas, useThree } from '@react-three/fiber';
3
3
  import React, { Suspense, useLayoutEffect, useState, useCallback } from 'react';
4
4
  import { delayRender, continueRender, Internals, useCurrentFrame } from 'remotion';
5
+ import { NoReactInternals } from 'remotion/no-react';
5
6
 
6
7
  const Unblocker = () => {
7
8
  if (typeof document !== 'undefined') {
@@ -20,7 +21,7 @@ const SuspenseLoader = ({ children }) => {
20
21
  };
21
22
 
22
23
  /* eslint-disable prefer-destructuring */
23
- const validateDimension = Internals.validateDimension;
24
+ const validateDimension = NoReactInternals.validateDimension;
24
25
 
25
26
  const Scale = ({ width, height }) => {
26
27
  const { set, setSize: threeSetSize } = useThree();
@@ -1,2 +1,2 @@
1
- import { Internals } from 'remotion';
2
- export declare const validateDimension: typeof Internals.validateDimension;
1
+ import { NoReactInternals } from 'remotion/no-react';
2
+ export declare const validateDimension: typeof NoReactInternals.validateDimension;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/three",
3
- "version": "4.0.71",
3
+ "version": "4.0.73",
4
4
  "description": "Utility functions for using react-three-fiber with remotion",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/cjs/index.d.ts",
@@ -16,7 +16,7 @@
16
16
  "url": "https://github.com/remotion-dev/remotion/issues"
17
17
  },
18
18
  "dependencies": {
19
- "remotion": "4.0.71"
19
+ "remotion": "4.0.73"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "@react-three/fiber": ">=8.0.0",