@npcify/react 0.7.3 → 0.9.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 +1 -1
- package/dist/index.js +19 -1
- package/package.json +2 -2
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, ListeningOptions, ListeningState, LoadCharacterOptions, NUDE_VARIANT_KEY, Npcify, NpcifyCharacter, NpcifyEventMap, NpcifyEventName, NpcifyView, PushToTalkOptions, SightError, SightObservationEvent, SightOptions, SightState, SpeechInputError, SpeechInputResult, StagingToolCall, StagingToolCallResult, TranscriptEvent, VariantChangeEvent, bindPushToTalk, createCharacter, loadCharacter } 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,11 +59,20 @@ 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,
|
|
65
71
|
SightError,
|
|
66
72
|
SpeechInputError,
|
|
73
|
+
NpcifyTurnError,
|
|
74
|
+
isTurnInterrupted,
|
|
75
|
+
turnErrorCode,
|
|
67
76
|
bindPushToTalk
|
|
68
77
|
} from "@npcify/web";
|
|
69
78
|
var NpcifyCanvas = function({
|
|
@@ -146,15 +155,24 @@ var NpcifyCanvas = function({
|
|
|
146
155
|
};
|
|
147
156
|
export {
|
|
148
157
|
Character,
|
|
158
|
+
DEFAULT_HANDS_FREE_ASSETS_URL,
|
|
149
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,
|
|
150
165
|
InputModeError,
|
|
151
166
|
NUDE_VARIANT_KEY,
|
|
152
167
|
Npcify,
|
|
153
168
|
NpcifyCanvas,
|
|
154
169
|
NpcifyCharacter,
|
|
170
|
+
NpcifyTurnError,
|
|
155
171
|
SightError,
|
|
156
172
|
SpeechInputError,
|
|
157
173
|
bindPushToTalk,
|
|
158
174
|
createCharacter,
|
|
159
|
-
|
|
175
|
+
isTurnInterrupted,
|
|
176
|
+
loadCharacter,
|
|
177
|
+
turnErrorCode
|
|
160
178
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npcify/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.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.
|
|
26
|
+
"@npcify/web": "^0.9.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": "^18.3.0 || ^19.0.0"
|