@react-three/fiber 8.13.4 → 8.13.5

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,5 +1,11 @@
1
1
  # @react-three/fiber
2
2
 
3
+ ## 8.13.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 7a3b543b: fix: three type regressions
8
+
3
9
  ## 8.13.4
4
10
 
5
11
  ### Patch Changes
@@ -1,4 +1,3 @@
1
- /// <reference types="react-reconciler" />
2
1
  /// <reference types="offscreencanvas" />
3
2
  import * as THREE from 'three';
4
3
  import * as React from 'react';
@@ -1,4 +1,3 @@
1
- /// <reference types="webxr" />
2
1
  import * as THREE from 'three';
3
2
  import * as React from 'react';
4
3
  import { GetState, SetState, StoreApi, UseBoundStore } from 'zustand';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as THREE from 'three';
3
2
  import { EventHandlers } from './core/events';
4
3
  import { AttachType } from './core/renderer';
@@ -17,7 +16,7 @@ export declare type Vector2 = VectorLike<THREE.Vector2>;
17
16
  export declare type Vector3 = VectorLike<THREE.Vector3>;
18
17
  export declare type Vector4 = VectorLike<THREE.Vector4>;
19
18
  export declare type Color = ConstructorParameters<typeof THREE.Color> | THREE.Color | number | string;
20
- export declare type ColorArray = typeof THREE.Color | Parameters<THREE.Color['set']>;
19
+ export declare type ColorArray = typeof THREE.Color | [color: THREE.ColorRepresentation];
21
20
  export declare type Layers = THREE.Layers | Parameters<THREE.Layers['set']>[0];
22
21
  export declare type Quaternion = THREE.Quaternion | Parameters<THREE.Quaternion['set']>;
23
22
  export declare type AttachCallback = string | ((child: any, parentInstance: any) => void);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-three/fiber",
3
- "version": "8.13.4",
3
+ "version": "8.13.5",
4
4
  "description": "A React renderer for Threejs",
5
5
  "keywords": [
6
6
  "react",