@npcify/react 0.7.3 → 0.8.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, 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_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';
4
4
 
5
5
  type NpcifyOptions = Omit<MountNpcifyOptions, 'canvas' | 'onError'>;
6
6
  interface NpcifyCallbacks {
package/dist/index.js CHANGED
@@ -64,6 +64,9 @@ import {
64
64
  InputModeError,
65
65
  SightError,
66
66
  SpeechInputError,
67
+ NpcifyTurnError,
68
+ isTurnInterrupted,
69
+ turnErrorCode,
67
70
  bindPushToTalk
68
71
  } from "@npcify/web";
69
72
  var NpcifyCanvas = function({
@@ -152,9 +155,12 @@ export {
152
155
  Npcify,
153
156
  NpcifyCanvas,
154
157
  NpcifyCharacter,
158
+ NpcifyTurnError,
155
159
  SightError,
156
160
  SpeechInputError,
157
161
  bindPushToTalk,
158
162
  createCharacter,
159
- loadCharacter
163
+ isTurnInterrupted,
164
+ loadCharacter,
165
+ turnErrorCode
160
166
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npcify/react",
3
- "version": "0.7.3",
3
+ "version": "0.8.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.7.3"
26
+ "@npcify/web": "^0.8.0"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": "^18.3.0 || ^19.0.0"