@react-three/viverse 0.2.3 → 0.2.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/dist/index.d.ts CHANGED
@@ -69,7 +69,7 @@ export declare function useViversePublicAvatarList(): Awaited<ReturnType<AvatarC
69
69
  export declare function useViversePublicAvatarByID(id: string): Awaited<ReturnType<AvatarClient['getPublicAvatarByID']>> | undefined;
70
70
  export * from './material.js';
71
71
  export * as Vanilla from '@pmndrs/viverse';
72
- export { EventAction, StateAction, BooleanOr, PointerLockRotateZoomActionBindings, KeyboardLocomotionActionBindings, updateSimpleCharacterVelocity, MoveRightAction, MoveLeftAction, MoveForwardAction, MoveBackwardAction, RunAction, JumpAction, ZoomAction, RotateYawAction, RotatePitchAction, shouldJump, lowerBody, upperBody, WalkAnimationUrl, RunAnimationUrl, IdleAnimationUrl, JumpUpAnimationUrl, JumpLoopAnimationUrl, JumpDownAnimationUrl, FirstPersonCharacterCameraBehavior, BvhCharacterPhysics, type BvhCharacterPhysicsOptions, BvhPhysicsWorld, bvhBoneMap, CharacterCameraBehavior, } from '@pmndrs/viverse';
72
+ export { EventAction, StateAction, BooleanOr, PointerLockRotateZoomActionBindings, KeyboardLocomotionActionBindings, updateSimpleCharacterVelocity, MoveRightAction, MoveLeftAction, MoveForwardAction, MoveBackwardAction, RunAction, JumpAction, ZoomAction, RotateYawAction, RotatePitchAction, shouldJump, lowerBody, upperBody, WalkAnimationUrl, RunAnimationUrl, IdleAnimationUrl, JumpUpAnimationUrl, JumpLoopAnimationUrl, JumpDownAnimationUrl, FirstPersonCharacterCameraBehavior, BvhCharacterPhysics, type BvhCharacterPhysicsOptions, bvhBoneMap, CharacterCameraBehavior, } from '@pmndrs/viverse';
73
73
  export type { VRMHumanBoneName } from '@pmndrs/viverse';
74
74
  export * from '@viverse/sdk';
75
75
  export * from '@viverse/sdk/avatar-client';
package/dist/index.js CHANGED
@@ -155,7 +155,7 @@ export function useViversePublicAvatarByID(id) {
155
155
  export * from './material.js';
156
156
  export * as Vanilla from '@pmndrs/viverse';
157
157
  // Direct re-exports from @pmndrs/viverse used in examples and docs
158
- export { EventAction, StateAction, BooleanOr, PointerLockRotateZoomActionBindings, KeyboardLocomotionActionBindings, updateSimpleCharacterVelocity, MoveRightAction, MoveLeftAction, MoveForwardAction, MoveBackwardAction, RunAction, JumpAction, ZoomAction, RotateYawAction, RotatePitchAction, shouldJump, lowerBody, upperBody, WalkAnimationUrl, RunAnimationUrl, IdleAnimationUrl, JumpUpAnimationUrl, JumpLoopAnimationUrl, JumpDownAnimationUrl, FirstPersonCharacterCameraBehavior, BvhCharacterPhysics, BvhPhysicsWorld, bvhBoneMap, CharacterCameraBehavior, } from '@pmndrs/viverse';
158
+ export { EventAction, StateAction, BooleanOr, PointerLockRotateZoomActionBindings, KeyboardLocomotionActionBindings, updateSimpleCharacterVelocity, MoveRightAction, MoveLeftAction, MoveForwardAction, MoveBackwardAction, RunAction, JumpAction, ZoomAction, RotateYawAction, RotatePitchAction, shouldJump, lowerBody, upperBody, WalkAnimationUrl, RunAnimationUrl, IdleAnimationUrl, JumpUpAnimationUrl, JumpLoopAnimationUrl, JumpDownAnimationUrl, FirstPersonCharacterCameraBehavior, BvhCharacterPhysics, bvhBoneMap, CharacterCameraBehavior, } from '@pmndrs/viverse';
159
159
  export * from '@viverse/sdk';
160
160
  export * from '@viverse/sdk/avatar-client';
161
161
  export * from './gamepad.js';
package/dist/utils.js CHANGED
@@ -83,7 +83,7 @@ export function useSimpleCharacterActionBindings(actionBindingsClasses = [
83
83
  actionBindingsList.splice(index, 1);
84
84
  }
85
85
  }
86
- applySimpleCharacterActionBindingOptions(actionBindingsList, options);
86
+ applySimpleCharacterActionBindingOptions(actionBindingsList.map(({ actionBindings }) => actionBindings), options);
87
87
  });
88
88
  useEffect(() => () => {
89
89
  actionBindingsList.forEach(({ abortController }) => abortController.abort());
package/package.json CHANGED
@@ -29,7 +29,7 @@
29
29
  "@pixiv/three-vrm": "^3.4.2",
30
30
  "zustand": "^5.0.6",
31
31
  "@react-three/xr": "^6.6.20",
32
- "@pmndrs/viverse": "^0.2.3"
32
+ "@pmndrs/viverse": "^0.2.5"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "@react-three/fiber": "*"
@@ -40,7 +40,7 @@
40
40
  "@types/react": "^19.1.8",
41
41
  "react": "^19.1.0"
42
42
  },
43
- "version": "0.2.3",
43
+ "version": "0.2.5",
44
44
  "scripts": {
45
45
  "build": "tsc",
46
46
  "check:prettier": "prettier --check src",