@pmate/chat-sdk 0.12.0-next.51 → 0.12.0-next.52

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.
@@ -264,7 +264,8 @@ export class ChatSession {
264
264
  this.rememberHistoryEdge(threadId, page);
265
265
  return page;
266
266
  }
267
- confirmMessages(messages) {
267
+ async confirmMessages(messages) {
268
+ await this.sender.initialize();
268
269
  // Only this profile can create its outgoing wire hashes. Keep the legacy
269
270
  // fallback when a generic host has not supplied an author on stored rows.
270
271
  const hashes = messages.filter(message => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pmate/chat-sdk",
3
- "version": "0.12.0-next.51",
3
+ "version": "0.12.0-next.52",
4
4
  "description": "Cross-platform PMate chat input components, voice input primitives, and ASR helpers",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",