@octanejs/three 0.1.45 → 0.1.47

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.
Files changed (2) hide show
  1. package/package.json +10 -10
  2. package/src/testing.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/three",
3
- "version": "0.1.45",
3
+ "version": "0.1.47",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -46,11 +46,11 @@
46
46
  "./intrinsics/jsx-runtime": "./src/intrinsics.ts"
47
47
  },
48
48
  "dependencies": {
49
- "zustand": "^5.0.14"
49
+ "zustand": "^5.0.15"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@types/three": ">=0.156.0",
53
- "octane": "^0.1.51 || ^0.2.0",
53
+ "octane": "^0.1.51 || ^0.2.0 || ^0.3.0",
54
54
  "three": ">=0.156.0"
55
55
  },
56
56
  "peerDependenciesMeta": {
@@ -62,20 +62,20 @@
62
62
  "@react-three/fiber": "9.6.1",
63
63
  "@rsbuild/core": "^2.1.6",
64
64
  "@rspack/core": "^2.1.4",
65
- "@tsrx/react": "^0.2.63",
65
+ "@tsrx/react": "^0.3.0",
66
66
  "@types/three": "0.172.0",
67
67
  "esbuild": "^0.28.1",
68
68
  "playwright": "^1.61.1",
69
- "react": "^19.2.7",
70
- "react-dom": "^19.2.7",
69
+ "react": "19.2.7",
70
+ "react-dom": "19.2.7",
71
71
  "three": "0.172.0",
72
72
  "typescript": "^5.9.3",
73
73
  "vite": "^8.1.5",
74
74
  "vitest": "^4.1.10",
75
- "@octanejs/rsbuild-plugin": "0.1.47",
76
- "@octanejs/rspack-plugin": "0.1.47",
77
- "@octanejs/vite-plugin": "0.1.52",
78
- "octane": "0.2.0"
75
+ "@octanejs/rsbuild-plugin": "0.1.51",
76
+ "@octanejs/rspack-plugin": "0.1.51",
77
+ "@octanejs/vite-plugin": "0.1.56",
78
+ "octane": "0.3.0"
79
79
  },
80
80
  "scripts": {
81
81
  "test": "pnpm upstream:check && vitest run --root ../.. --project three",
package/src/testing.ts CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  getThreeEventStore,
15
15
  runThreeEventScope,
16
16
  } from './core/driver.js';
17
- import { createRoot, type CanvasLike, type ThreeRoot } from './core/root.js';
17
+ import { createRoot, type CameraProps, type CanvasLike, type ThreeRoot } from './core/root.js';
18
18
  import type { Renderer, RootStore } from './core/store.js';
19
19
 
20
20
  const DEFAULT_WIDTH = 1280;
@@ -26,7 +26,7 @@ export interface CreateThreeTestRendererOptions {
26
26
  /** Logical canvas height. Defaults to 800. */
27
27
  readonly height?: number;
28
28
  /** Optional camera used by the configured root. Defaults to a perspective camera. */
29
- readonly camera?: THREE.Camera;
29
+ readonly camera?: CameraProps;
30
30
  }
31
31
 
32
32
  /** Renderer recorder injected into a deterministic Three test root. */