@npcify/react 0.8.0 → 0.10.0

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
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes, ReactElement } from 'react';
2
2
  import { Npcify, MountNpcifyOptions } from '@npcify/web';
3
- export { AvatarVariantSummary, Character, CharacterAnimation, CharacterAnimationPlayOptions, CharacterAudio, CharacterDisposeOptions, CharacterExpressions, CharacterOptions, CharacterShadowOptions, CharacterSpeechState, CharacterTransformOptions, CharacterVariantChangeEvent, DEFAULT_VARIANT_KEY, InputMode, InputModeError, InterruptSource, InterruptedReply, ListeningOptions, ListeningState, LoadCharacterOptions, NUDE_VARIANT_KEY, Npcify, NpcifyCharacter, NpcifyEventMap, NpcifyEventName, NpcifyTurnError, NpcifyTurnErrorCode, NpcifyView, PushToTalkOptions, SightError, SightObservationEvent, SightOptions, SightState, SpeechInputError, SpeechInputResult, StagingStreamInterruptedEvent, StagingToolCall, StagingToolCallResult, TranscriptEvent, VariantChangeEvent, bindPushToTalk, createCharacter, isTurnInterrupted, loadCharacter, turnErrorCode } from '@npcify/web';
3
+ export { AvatarVariantSummary, Character, CharacterAnimation, CharacterAnimationPlayOptions, CharacterAudio, CharacterDisposeOptions, CharacterExpressions, CharacterOptions, CharacterShadowOptions, CharacterSpeechState, CharacterTransformOptions, CharacterVariantChangeEvent, DEFAULT_HANDS_FREE_ASSETS_URL, DEFAULT_VARIANT_KEY, HANDS_FREE_ASSET_PATHS, HANDS_FREE_FRAME_GAP_MS, HANDS_FREE_GUARD_MS, HANDS_FREE_RULE_DEFAULTS, HandsFree, HandsFreeError, HandsFreeOptions, HandsFreePauseReason, HandsFreeState, HandsFreeUtterance, InputMode, InputModeError, InterruptSource, InterruptedReply, ListeningOptions, ListeningState, LoadCharacterOptions, NUDE_VARIANT_KEY, Npcify, NpcifyCharacter, NpcifyEventMap, NpcifyEventName, NpcifyTurnError, NpcifyTurnErrorCode, NpcifyView, PushToTalkOptions, SightError, SightObservationEvent, SightOptions, SightState, SpeechInputError, SpeechInputResult, StagingStreamInterruptedEvent, StagingToolCall, StagingToolCallResult, TranscriptEvent, VariantChangeEvent, bindPushToTalk, createCharacter, isTurnInterrupted, loadCharacter, turnErrorCode } from '@npcify/web';
4
4
 
5
5
  type NpcifyOptions = Omit<MountNpcifyOptions, 'canvas' | 'onError'>;
6
6
  interface NpcifyCallbacks {
package/dist/index.js CHANGED
@@ -59,6 +59,12 @@ import {
59
59
  NpcifyCharacter,
60
60
  createCharacter,
61
61
  loadCharacter,
62
+ HandsFreeError,
63
+ DEFAULT_HANDS_FREE_ASSETS_URL,
64
+ HANDS_FREE_ASSET_PATHS,
65
+ HANDS_FREE_FRAME_GAP_MS,
66
+ HANDS_FREE_GUARD_MS,
67
+ HANDS_FREE_RULE_DEFAULTS,
62
68
  DEFAULT_VARIANT_KEY,
63
69
  NUDE_VARIANT_KEY,
64
70
  InputModeError,
@@ -149,7 +155,13 @@ var NpcifyCanvas = function({
149
155
  };
150
156
  export {
151
157
  Character,
158
+ DEFAULT_HANDS_FREE_ASSETS_URL,
152
159
  DEFAULT_VARIANT_KEY,
160
+ HANDS_FREE_ASSET_PATHS,
161
+ HANDS_FREE_FRAME_GAP_MS,
162
+ HANDS_FREE_GUARD_MS,
163
+ HANDS_FREE_RULE_DEFAULTS,
164
+ HandsFreeError,
153
165
  InputModeError,
154
166
  NUDE_VARIANT_KEY,
155
167
  Npcify,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npcify/react",
3
- "version": "0.8.0",
3
+ "version": "0.10.0",
4
4
  "description": "React components for Npcify characters and conversations",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -23,7 +23,7 @@
23
23
  "registry": "https://registry.npmjs.org/"
24
24
  },
25
25
  "dependencies": {
26
- "@npcify/web": "^0.8.0"
26
+ "@npcify/web": "^0.10.0"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": "^18.3.0 || ^19.0.0"