minerender 2.1.0-alpha.66 → 2.1.0-alpha.67

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/README.md CHANGED
@@ -6,7 +6,7 @@ V2 is in beta. See the [roadmap](https://github.com/InventivetalentDev/MineRende
6
6
  Install the beta package with its three.js peer:
7
7
 
8
8
  ```sh
9
- yarn add minerender@beta three@^0.158.0
9
+ yarn add minerender@beta three@^0.186.1
10
10
  ```
11
11
 
12
12
  In a browser application:
@@ -23,4 +23,4 @@ The package provides ESM and CommonJS entries for browsers and Node.js, plus
23
23
  `dist/bundle.js` for the `MineRender` browser global. Node imports require the optional
24
24
  native `canvas` dependency; headless rendering is still in development.
25
25
 
26
- Requires Node.js 22+ or a browser with Fetch, `AbortSignal.any()`, and `AbortSignal.timeout()`.
26
+ Requires Node.js 22.12+ or a browser with WebGL 2, Fetch, `AbortSignal.any()`, and `AbortSignal.timeout()`.
@@ -2102,7 +2102,7 @@ declare class SceneInspector {
2102
2102
  constructor(renderer: Renderer);
2103
2103
  protected init(): void;
2104
2104
  dispose(): void;
2105
- findMeshChildren(from: Object3D, out?: Mesh[]): Mesh<three.BufferGeometry<three.NormalBufferAttributes>, three.Material | three.Material[], three.Object3DEventMap>[];
2105
+ findMeshChildren(from: Object3D, out?: Mesh[]): Mesh<three.BufferGeometry<three.NormalBufferAttributes, three.BufferGeometryEventMap>, three.Material<three.MaterialEventMap> | three.Material<three.MaterialEventMap>[], three.Object3DEventMap>[];
2106
2106
  onClick(event: MouseEvent): void;
2107
2107
  appendTo(el: HTMLElement): void;
2108
2108
  protected handleRaycasterObjects(intersections: Intersection[]): void;
@@ -2102,7 +2102,7 @@ declare class SceneInspector {
2102
2102
  constructor(renderer: Renderer);
2103
2103
  protected init(): void;
2104
2104
  dispose(): void;
2105
- findMeshChildren(from: Object3D, out?: Mesh[]): Mesh<three.BufferGeometry<three.NormalBufferAttributes>, three.Material | three.Material[], three.Object3DEventMap>[];
2105
+ findMeshChildren(from: Object3D, out?: Mesh[]): Mesh<three.BufferGeometry<three.NormalBufferAttributes, three.BufferGeometryEventMap>, three.Material<three.MaterialEventMap> | three.Material<three.MaterialEventMap>[], three.Object3DEventMap>[];
2106
2106
  onClick(event: MouseEvent): void;
2107
2107
  appendTo(el: HTMLElement): void;
2108
2108
  protected handleRaycasterObjects(intersections: Intersection[]): void;