@xmtp/node-bindings 1.6.0-dev.419b6dc → 1.6.0-dev.e545a64

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.
Binary file
package/dist/index.d.ts CHANGED
@@ -15,7 +15,7 @@ export declare class Client {
15
15
  sendSyncRequest(): Promise<void>
16
16
  findInboxIdByIdentifier(identifier: Identifier): Promise<string | null>
17
17
  addressesFromInboxId(refreshFromNetwork: boolean, inboxIds: Array<string>): Promise<Array<InboxState>>
18
- syncPreferences(): Promise<number>
18
+ syncPreferences(): Promise<GroupSyncSummary>
19
19
  apiStatistics(): ApiStats
20
20
  apiIdentityStatistics(): IdentityStats
21
21
  apiAggregateStatistics(): string
@@ -118,7 +118,7 @@ export declare class Conversations {
118
118
  findMessageById(messageId: string): Message
119
119
  processStreamedWelcomeMessage(envelopeBytes: Uint8Array): Promise<Conversation>
120
120
  sync(): Promise<void>
121
- syncAllConversations(consentStates?: Array<ConsentState> | undefined | null): Promise<bigint>
121
+ syncAllConversations(consentStates?: Array<ConsentState> | undefined | null): Promise<GroupSyncSummary>
122
122
  list(opts?: ListConversationsOptions | undefined | null): Array<ConversationListItem>
123
123
  getHmacKeys(): Record<string, Array<HmacKey>>
124
124
  stream(callback: (err: Error | null, result: Conversation | undefined) => void, onClose: () => void, conversationType?: ConversationType): StreamCloser
@@ -239,15 +239,14 @@ export declare const enum ConsentState {
239
239
  export declare const enum ContentType {
240
240
  Unknown = 0,
241
241
  Text = 1,
242
- LeaveRequest = 2,
243
- GroupMembershipChange = 3,
244
- GroupUpdated = 4,
245
- Reaction = 5,
246
- ReadReceipt = 6,
247
- Reply = 7,
248
- Attachment = 8,
249
- RemoteAttachment = 9,
250
- TransactionReference = 10
242
+ GroupMembershipChange = 2,
243
+ GroupUpdated = 3,
244
+ Reaction = 4,
245
+ ReadReceipt = 5,
246
+ Reply = 6,
247
+ Attachment = 7,
248
+ RemoteAttachment = 8,
249
+ TransactionReference = 9
251
250
  }
252
251
 
253
252
  export interface ContentTypeId {
@@ -341,8 +340,7 @@ export declare const enum GroupMembershipState {
341
340
  Allowed = 0,
342
341
  Rejected = 1,
343
342
  Pending = 2,
344
- Restored = 3,
345
- PendingRemove = 4
343
+ Restored = 3
346
344
  }
347
345
 
348
346
  export declare const enum GroupMessageKind {
@@ -356,6 +354,11 @@ export declare const enum GroupPermissionsOptions {
356
354
  CustomPolicy = 2
357
355
  }
358
356
 
357
+ export interface GroupSyncSummary {
358
+ numEligible: number
359
+ numSynced: number
360
+ }
361
+
359
362
  export interface GroupUpdated {
360
363
  initiatedByInboxId: string
361
364
  addedInboxes: Array<Inbox>
package/dist/version.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "branch": "mc/self-removal-ama-protos",
3
- "version": "419b6dc",
4
- "date": "2025-10-21 09:09:12 +0000"
2
+ "branch": "main",
3
+ "version": "e545a64",
4
+ "date": "2025-10-22 05:46:27 +0000"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/node-bindings",
3
- "version": "1.6.0-dev.419b6dc",
3
+ "version": "1.6.0-dev.e545a64",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://git@github.com/xmtp/libxmtp.git",