@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.
- 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 +3 -8
- 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
|
@@ -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:
|
|
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
|
|
318
|
+
includeDuplicateDms?: boolean
|
|
324
319
|
limit?: number
|
|
325
320
|
}
|
|
326
321
|
|
package/dist/version.json
CHANGED