@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.
- package/dist/cjs/validate.d.ts +2 -2
- package/dist/cjs/validate.js +2 -2
- package/dist/esm/index.mjs +2 -1
- package/dist/esm/validate.d.ts +2 -2
- package/package.json +2 -2
package/dist/cjs/validate.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const validateDimension: typeof
|
|
1
|
+
import { NoReactInternals } from 'remotion/no-react';
|
|
2
|
+
export declare const validateDimension: typeof NoReactInternals.validateDimension;
|
package/dist/cjs/validate.js
CHANGED
|
@@ -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
|
|
6
|
-
exports.validateDimension =
|
|
5
|
+
const no_react_1 = require("remotion/no-react");
|
|
6
|
+
exports.validateDimension = no_react_1.NoReactInternals.validateDimension;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -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 =
|
|
24
|
+
const validateDimension = NoReactInternals.validateDimension;
|
|
24
25
|
|
|
25
26
|
const Scale = ({ width, height }) => {
|
|
26
27
|
const { set, setSize: threeSetSize } = useThree();
|
package/dist/esm/validate.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const validateDimension: typeof
|
|
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.
|
|
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.
|
|
19
|
+
"remotion": "4.0.73"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"@react-three/fiber": ">=8.0.0",
|