@voxevolv/client 0.3.2 → 0.3.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  All notable changes to `@voxevolv/client` are recorded here.
4
4
 
5
+ ## 0.3.3 - 2026-09-17
6
+
7
+ - Add identified, revisioned transcript snapshots with `onTranscriptUpdated()` and `session.transcript`.
8
+ - Reconcile late finals, corrected text, interruption, and replay by message identity. Legacy callbacks remain available.
9
+
5
10
  ## 0.3.2 - 2026-09-17
6
11
 
7
12
  - Recover from agent loss even while the room remains connected, with a default three-minute recovery deadline.
package/README.md CHANGED
@@ -47,8 +47,10 @@ const session = await RealtimeSession.create({
47
47
  },
48
48
  });
49
49
 
50
- session.onUserTranscript(({ text, final }) => renderUser(text, final));
51
- session.onAgentTranscript(({ text, final }) => renderAgent(text, final));
50
+ session.onTranscriptUpdated(message => {
51
+ // Replace this message by ID, including when it is interrupted.
52
+ renderMessage(message.messageId, message.role, message.text, message.final, message.interrupted);
53
+ });
52
54
  session.onError((event) => reportVoiceError(event.payload));
53
55
 
54
56
  await session.connect();