@xmtp/node-bindings 1.2.5 → 1.2.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.
Binary file
package/dist/index.d.ts CHANGED
@@ -75,7 +75,7 @@ export declare class Conversation {
75
75
  groupImageUrlSquare(): string
76
76
  updateGroupDescription(groupDescription: string): Promise<void>
77
77
  groupDescription(): string
78
- stream(callback: (err: null | Error, result: Message | undefined) => void): StreamCloser
78
+ stream(callback: (err: null | Error, result: Message | undefined) => void, onClose: () => void): StreamCloser
79
79
  createdAtNs(): number
80
80
  isActive(): boolean
81
81
  pausedForVersion(): string | null
@@ -113,10 +113,10 @@ export declare class Conversations {
113
113
  syncAllConversations(consentStates?: Array<ConsentState> | undefined | null): Promise<bigint>
114
114
  list(opts?: ListConversationsOptions | undefined | null): Array<ConversationListItem>
115
115
  getHmacKeys(): Record<string, Array<HmacKey>>
116
- stream(callback: (err: Error | null, result: Conversation | undefined) => void, conversationType?: ConversationType): StreamCloser
117
- streamAllMessages(callback: (err: null | Error, result: Message | undefined) => void, conversationType?: ConversationType, consentStates?: ConsentState[]): StreamCloser
118
- streamConsent(callback: (err: null | Error, result: Consent[] | undefined) => void): StreamCloser
119
- streamPreferences(callback: (err: null | Error, result: any[] | undefined) => void): StreamCloser
116
+ stream(callback: (err: Error | null, result: Conversation | undefined) => void, onClose: () => void, conversationType?: ConversationType): StreamCloser
117
+ streamAllMessages(callback: (err: null | Error, result: Message | undefined) => void, onClose: () => void, conversationType?: ConversationType, consentStates?: ConsentState[]): StreamCloser
118
+ streamConsent(callback: (err: null | Error, result: Consent[] | undefined) => void, onClose: () => void): StreamCloser
119
+ streamPreferences(callback: (err: null | Error, result: any[] | undefined) => void, onClose: () => void): StreamCloser
120
120
  }
121
121
 
122
122
  export declare class GroupMember {
package/dist/version.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "branch": "release/v1.2",
3
- "version": "dc3e8c8",
4
- "date": "2025-06-26 21:52:34 +0000"
3
+ "version": "bfeba9f",
4
+ "date": "2025-07-01 23:05:40 +0000"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/node-bindings",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://git@github.com/xmtp/libxmtp.git",