@react-three/fiber 8.15.15 → 8.15.17

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/CHANGELOG.md CHANGED
@@ -1,10 +1,17 @@
1
1
  # @react-three/fiber
2
2
 
3
- ## 8.15.15
3
+ ## 8.15.17
4
+
5
+ ### Patch Changes
6
+
7
+ - 16c2ee97: fix(types): support @types/three@0.162.0
8
+
9
+ ## 8.15.16
4
10
 
5
11
  ### Patch Changes
6
12
 
7
13
  - 71cd8f96: fix: tonemapping config overwrites userland
14
+ - 0bb12fd1: fix(types): remove usage of THREE.Vector
8
15
 
9
16
  ## 8.15.14
10
17
 
@@ -6,6 +6,7 @@ import { AttachType, Instance, InstanceProps, LocalState } from './renderer';
6
6
  import { Dpr, Renderer, RootState, Size } from './store';
7
7
  /** @ts-ignore */
8
8
  declare type _DeprecatedXRFrame = THREE.XRFrame;
9
+ /** @ts-ignore */
9
10
  export declare type _XRFrame = THREE.WebGLRenderTargetOptions extends {
10
11
  samples?: number;
11
12
  } ? XRFrame : _DeprecatedXRFrame;
@@ -17,7 +17,7 @@ export declare type Matrix4 = THREE.Matrix4 | Parameters<THREE.Matrix4['set']> |
17
17
  /**
18
18
  * Turn an implementation of THREE.Vector in to the type that an r3f component would accept as a prop.
19
19
  */
20
- declare type VectorLike<VectorClass extends THREE.Vector> = VectorClass | Parameters<VectorClass['set']> | Readonly<Parameters<VectorClass['set']>> | Parameters<VectorClass['setScalar']>[0];
20
+ declare type VectorLike<VectorClass extends THREE.Vector2 | THREE.Vector3 | THREE.Vector4> = VectorClass | Parameters<VectorClass['set']> | Readonly<Parameters<VectorClass['set']>> | Parameters<VectorClass['setScalar']>[0];
21
21
  export declare type Vector2 = VectorLike<THREE.Vector2>;
22
22
  export declare type Vector3 = VectorLike<THREE.Vector3>;
23
23
  export declare type Vector4 = VectorLike<THREE.Vector4>;
@@ -232,6 +232,7 @@ export declare type QuaternionProps = Node<THREE.Quaternion, typeof THREE.Quater
232
232
  export declare type BufferAttributeProps = Node<THREE.BufferAttribute, typeof THREE.BufferAttribute>;
233
233
  export declare type Float16BufferAttributeProps = Node<THREE.Float16BufferAttribute, typeof THREE.Float16BufferAttribute>;
234
234
  export declare type Float32BufferAttributeProps = Node<THREE.Float32BufferAttribute, typeof THREE.Float32BufferAttribute>;
235
+ /** @ts-ignore */
235
236
  export declare type Float64BufferAttributeProps = Node<THREE.Float64BufferAttribute, typeof THREE.Float64BufferAttribute>;
236
237
  export declare type Int8BufferAttributeProps = Node<THREE.Int8BufferAttribute, typeof THREE.Int8BufferAttribute>;
237
238
  export declare type Int16BufferAttributeProps = Node<THREE.Int16BufferAttribute, typeof THREE.Int16BufferAttribute>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-three/fiber",
3
- "version": "8.15.15",
3
+ "version": "8.15.17",
4
4
  "description": "A React renderer for Threejs",
5
5
  "keywords": [
6
6
  "react",