@pmate/chat-sdk 0.13.0-profile.15 → 0.13.0-profile.16

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.
@@ -393,6 +393,8 @@ export class ProfileChat {
393
393
  const group = this.group(this.host.memory.getThread(id));
394
394
  if (!group)
395
395
  throw new ChatError("unavailable", "Group is not prepared");
396
+ // Directory callers may read the prepared store without a subscription.
397
+ this.prepare(id);
396
398
  return group;
397
399
  }
398
400
  refreshChangedGroups() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pmate/chat-sdk",
3
- "version": "0.13.0-profile.15",
3
+ "version": "0.13.0-profile.16",
4
4
  "description": "Local-first chat SDK, message subscriptions, reading state, and shared chat UI primitives",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",