@xmtp/node-bindings 1.2.0-rc1 → 1.2.0-rc3

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
@@ -111,15 +111,9 @@ export declare class Conversations {
111
111
  syncAllConversations(consentStates?: Array<ConsentState> | undefined | null): Promise<bigint>
112
112
  syncDeviceSync(): Promise<void>
113
113
  list(opts?: ListConversationsOptions | undefined | null): Array<ConversationListItem>
114
- listGroups(opts?: ListConversationsOptions | undefined | null): Array<ConversationListItem>
115
- listDms(opts?: ListConversationsOptions | undefined | null): Array<ConversationListItem>
116
114
  getHmacKeys(): Record<string, Array<HmacKey>>
117
- stream(callback: (err: null | Error, result: Conversation | undefined) => void): StreamCloser
118
- streamGroups(callback: (err: null | Error, result: Conversation | undefined) => void): StreamCloser
119
- streamDms(callback: (err: null | Error, result: Conversation | undefined) => void): StreamCloser
115
+ stream(callback: (err: Error | null, result: Conversation | undefined) => void, conversationType?: ConversationType): StreamCloser
120
116
  streamAllMessages(callback: (err: null | Error, result: Message | undefined) => void, conversationType?: ConversationType, consentStates?: ConsentState[]): StreamCloser
121
- streamAllGroupMessages(callback: (err: null | Error, result: Message | undefined) => void, consentStates?: ConsentState[]): StreamCloser
122
- streamAllDmMessages(callback: (err: null | Error, result: Message | undefined) => void, consentStates?: ConsentState[]): StreamCloser
123
117
  streamConsent(callback: (err: null | Error, result: Consent[] | undefined) => void): StreamCloser
124
118
  streamPreferences(callback: (err: null | Error, result: any[] | undefined) => void): StreamCloser
125
119
  }
@@ -318,9 +312,10 @@ export interface Lifetime {
318
312
 
319
313
  export interface ListConversationsOptions {
320
314
  consentStates?: Array<ConsentState>
315
+ conversationType?: ConversationType
321
316
  createdAfterNs?: number
322
317
  createdBeforeNs?: number
323
- includeDuplicateDms: boolean
318
+ includeDuplicateDms?: boolean
324
319
  limit?: number
325
320
  }
326
321
 
package/dist/version.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "branch": "HEAD",
3
- "version": "9ce24d1",
4
- "date": "2025-05-07 17:45:18 +0000"
3
+ "version": "b4e982c",
4
+ "date": "2025-05-09 18:12:27 +0000"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/node-bindings",
3
- "version": "1.2.0-rc1",
3
+ "version": "1.2.0-rc3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://git@github.com/xmtp/libxmtp.git",