@davi-ai/react-bodyengine-three 1.0.8 → 1.0.9
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/components/Character.d.ts +1 -1
- package/dist/components/Scene.d.ts +1 -1
- package/dist/contexts/animationStore.d.ts +1 -1
- package/dist/contexts/cameraStore.d.ts +4 -2
- package/dist/contexts/characterStore.d.ts +1 -0
- package/dist/contexts/headStore.d.ts +4 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +14817 -81687
- package/dist/models/types.d.ts +2 -1
- package/dist/stats.html +4949 -0
- package/dist/utils/getCameraPositionVector.d.ts +1 -1
- package/package.json +5 -7
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CameraPositionData, DefaultDistances, DefaultPositions } from '../models/types';
|
|
2
|
-
import * as THREE from "three";
|
|
2
|
+
import * as THREE from "three/webgpu";
|
|
3
3
|
export declare const getCameraPositionVector: (data: CameraPositionData, defaultDistances: DefaultDistances, defaultPositions: DefaultPositions) => THREE.Vector3;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@davi-ai/react-bodyengine-three",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Reactjs layer to use animations in a threejs environment",
|
|
5
5
|
"author": "DAVI",
|
|
6
6
|
"licence": "MIT",
|
|
@@ -19,12 +19,10 @@
|
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
21
|
"start": "vite build --watch",
|
|
22
|
-
"build": "vite build"
|
|
23
|
-
"storybook": "storybook dev -p 6006",
|
|
24
|
-
"build-storybook": "storybook build"
|
|
22
|
+
"build": "vite build"
|
|
25
23
|
},
|
|
26
24
|
"dependencies": {
|
|
27
|
-
"@davi-ai/bodyengine-three": "
|
|
25
|
+
"@davi-ai/bodyengine-three": "1.0.7",
|
|
28
26
|
"@davi-ai/web-speech-cognitive-services-davi": "^2.0.10",
|
|
29
27
|
"@react-three/drei": "9.112.0",
|
|
30
28
|
"@react-three/fiber": "^8.17.9",
|
|
@@ -32,18 +30,18 @@
|
|
|
32
30
|
"react": "18.3.1",
|
|
33
31
|
"react-dom": "18.3.1",
|
|
34
32
|
"three": "^0.181.0",
|
|
33
|
+
"visualizer": "^3.1.0",
|
|
35
34
|
"zustand": "^5.0.3"
|
|
36
35
|
},
|
|
37
36
|
"devDependencies": {
|
|
38
37
|
"@babel/preset-env": "^7.23.3",
|
|
39
38
|
"@babel/preset-react": "^7.23.3",
|
|
40
39
|
"@babel/preset-typescript": "^7.23.3",
|
|
41
|
-
"@parcel/packager-ts": "^2.10.3",
|
|
42
|
-
"@parcel/transformer-typescript-types": "^2.10.3",
|
|
43
40
|
"@types/node": "^20.10.0",
|
|
44
41
|
"@types/react": "^18.2.38",
|
|
45
42
|
"@types/react-dom": "^18.2.17",
|
|
46
43
|
"ajv": "^8.17.1",
|
|
44
|
+
"rollup-plugin-visualizer": "^6.0.5",
|
|
47
45
|
"typescript": "^5.3.2",
|
|
48
46
|
"vite": "^5.4.8",
|
|
49
47
|
"vite-plugin-dts": "^4.2.3"
|