@xmtp/node-bindings 1.2.4 → 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.
- package/dist/bindings_node.darwin-arm64.node +0 -0
- package/dist/bindings_node.darwin-x64.node +0 -0
- package/dist/bindings_node.linux-arm64-gnu.node +0 -0
- package/dist/bindings_node.linux-arm64-musl.node +0 -0
- package/dist/bindings_node.linux-x64-gnu.node +0 -0
- package/dist/bindings_node.linux-x64-musl.node +0 -0
- package/dist/bindings_node.win32-x64-msvc.node +0 -0
- package/dist/index.d.ts +5 -5
- package/dist/version.json +2 -2
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
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