@davi-ai/react-bodyengine-three 1.0.0 → 1.0.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.
@@ -1,4 +1,4 @@
1
- import { Vector3 } from 'three';
1
+ import { ToneMapping, Vector3 } from 'three';
2
2
  import { CreationTool, AnimationWeight } from '../../node_modules/@davi-ai/bodyengine-three/dist';
3
3
  import { Positions, Rotations, Distances, Emotions } from './enums';
4
4
  interface SpeechSynthesisCredentials {
@@ -27,6 +27,8 @@ interface CharacterProps extends SpeechSynthesisOptions {
27
27
  animationWeights?: AnimationWeight;
28
28
  license?: string;
29
29
  detectGpuData?: any;
30
+ environmentPreset?: EnvironmentPreset;
31
+ tonemapping?: ToneMapping;
30
32
  }
31
33
  interface Position2D {
32
34
  x: number;
@@ -69,4 +71,5 @@ interface EmotionData {
69
71
  emotion: Emotions;
70
72
  value: number;
71
73
  }
72
- export type { CharacterProps, SpeechSynthesisCredentials, Position2D, DefaultPositions, DefaultDistances, CameraPositionData, EmotionData };
74
+ type EnvironmentPreset = 'apartment' | 'city' | 'dawn' | 'forest' | 'lobby' | 'night' | 'park' | 'studio' | 'sunset' | 'warehouse';
75
+ export type { CharacterProps, SpeechSynthesisCredentials, Position2D, DefaultPositions, DefaultDistances, CameraPositionData, EmotionData, EnvironmentPreset };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@davi-ai/react-bodyengine-three",
3
- "version": "1.0.0",
3
+ "version": "1.0.5",
4
4
  "description": "Reactjs layer to use animations in a threejs environment",
5
5
  "author": "DAVI",
6
6
  "licence": "MIT",
@@ -24,10 +24,10 @@
24
24
  "build-storybook": "storybook build"
25
25
  },
26
26
  "dependencies": {
27
- "@davi-ai/bodyengine-three": "0.0.3",
27
+ "@davi-ai/bodyengine-three": "^1.0.2",
28
28
  "@davi-ai/web-speech-cognitive-services-davi": "2.0.9",
29
29
  "@react-three/drei": "9.112.0",
30
- "@react-three/fiber": "8.17.9",
30
+ "@react-three/fiber": "^8.17.9",
31
31
  "@react-three/postprocessing": "2.16.3",
32
32
  "@types/three": "0.174.0",
33
33
  "react": "18.3.1",