@pmate/chat-sdk 0.14.0-seq.5 → 0.14.0-seq.6

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.
@@ -56,6 +56,8 @@ export type GroupChanges = {
56
56
  removeMembers?: readonly string[];
57
57
  title?: string;
58
58
  avatar?: string;
59
+ description?: string;
60
+ background?: string;
59
61
  };
60
62
  export type VoiceAttachment = Readonly<{
61
63
  url: string;
@@ -25,15 +25,7 @@ export type ReadersQuery = {
25
25
  afterProfileId?: string;
26
26
  revision?: number;
27
27
  };
28
- export type GroupChanges = {
29
- expectedRevision?: string;
30
- addMembers?: readonly string[];
31
- removeMembers?: readonly string[];
32
- title?: string;
33
- avatar?: string;
34
- background?: string;
35
- description?: string;
36
- };
28
+ export type GroupChanges = import("../chatContract.js").GroupChanges;
37
29
  export type SendOptions = {
38
30
  waitFor?: "accepted" | "delivered";
39
31
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pmate/chat-sdk",
3
- "version": "0.14.0-seq.5",
3
+ "version": "0.14.0-seq.6",
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",