@lumavox/react 0.14.1 → 0.16.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/README.md CHANGED
@@ -75,7 +75,10 @@ Without an adapter or an `onAudio`, no speech is asked for. In a browser,
75
75
  `@lumavox/react-native` is one install with these hooks and `createAudio()`.
76
76
  An adapter that tells an interruption — a call, Siri, the app leaving the
77
77
  screen — has the recording in progress thrown away, `interrupted` set, and
78
- `onAudioInterrupted` and `onAudioResumed` called.
78
+ `onAudioInterrupted` and `onAudioResumed` called. To draw a face or
79
+ subtitles against the voice, subscribe to the adapter itself: both
80
+ `createWebAudio()` and `createAudio()` tell each frame as it is queued
81
+ (`onScheduled`) and what is heard now (`heardTime()`).
79
82
 
80
83
  ## Reading
81
84
 
package/dist/use-agent.js CHANGED
@@ -52,6 +52,7 @@ const PASSED = [
52
52
  "onDone",
53
53
  "onInterrupted",
54
54
  "onRelation",
55
+ "onCompacted",
55
56
  "onError",
56
57
  "onState",
57
58
  "onClose",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumavox/react",
3
- "version": "0.14.1",
3
+ "version": "0.16.0",
4
4
  "description": "React and React Native hooks for Lumavox agents: a conversation that keeps itself connected, sessions, memory and relations, over @lumavox/client.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -29,7 +29,7 @@
29
29
  "typecheck": "tsc --noEmit && tsc --noEmit -p test"
30
30
  },
31
31
  "dependencies": {
32
- "@lumavox/client": "0.14.1"
32
+ "@lumavox/client": "0.16.0"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "react": ">=18"