@lumavox/react 0.29.0 → 0.31.1

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/use-agent.js CHANGED
@@ -41,6 +41,7 @@ const PASSED = [
41
41
  "onKnowledge",
42
42
  "onMemories",
43
43
  "onMood",
44
+ "onSafety",
44
45
  "onThought",
45
46
  "onText",
46
47
  "onChunk",
@@ -159,6 +160,10 @@ export function useAgent(target, options = {}) {
159
160
  speech: latest.current.speech,
160
161
  thoughts: latest.current.thoughts,
161
162
  tools,
163
+ // Unset stays unset: the client sends the device's own.
164
+ ...(latest.current.timeZone !== undefined
165
+ ? { timeZone: latest.current.timeZone }
166
+ : {}),
162
167
  });
163
168
  current.current = made;
164
169
  opening.current = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumavox/react",
3
- "version": "0.29.0",
3
+ "version": "0.31.1",
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.29.0"
32
+ "@lumavox/client": "0.31.1"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "react": ">=18"