@xmtp/node-bindings 0.0.32 → 0.0.33
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 -4
- package/package.json +2 -2
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -85,9 +85,9 @@ export declare class Conversations {
|
|
|
85
85
|
processStreamedWelcomeMessage(envelopeBytes: Uint8Array): Promise<Conversation>
|
|
86
86
|
sync(): Promise<void>
|
|
87
87
|
syncAllConversations(): Promise<bigint>
|
|
88
|
-
list(opts?: ListConversationsOptions | undefined | null):
|
|
89
|
-
listGroups(opts?: ListConversationsOptions | undefined | null):
|
|
90
|
-
listDms(opts?: ListConversationsOptions | undefined | null):
|
|
88
|
+
list(opts?: ListConversationsOptions | undefined | null): Array<Conversation>
|
|
89
|
+
listGroups(opts?: ListConversationsOptions | undefined | null): Array<Conversation>
|
|
90
|
+
listDms(opts?: ListConversationsOptions | undefined | null): Array<Conversation>
|
|
91
91
|
getHmacKeys(): Record<string, Array<HmacKey>>
|
|
92
92
|
stream(callback: (err: null | Error, result: Conversation | undefined) => void): StreamCloser
|
|
93
93
|
streamGroups(callback: (err: null | Error, result: Conversation | undefined) => void): StreamCloser
|
|
@@ -229,8 +229,9 @@ export interface InboxState {
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
export interface Installation {
|
|
232
|
-
|
|
232
|
+
bytes: Uint8Array
|
|
233
233
|
clientTimestampNs?: bigint
|
|
234
|
+
id: string
|
|
234
235
|
}
|
|
235
236
|
|
|
236
237
|
export declare export declare function isAddressAuthorized(host: string, inboxId: string, address: string): Promise<boolean>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmtp/node-bindings",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://git@github.com/xmtp/libxmtp.git",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"prettier-plugin-packagejson": "^2.5.3",
|
|
45
45
|
"typescript": "^5.7.2",
|
|
46
46
|
"uuid": "^11.0.3",
|
|
47
|
-
"viem": "^2.
|
|
47
|
+
"viem": "^2.22.2",
|
|
48
48
|
"vite": "^6.0.1",
|
|
49
49
|
"vite-tsconfig-paths": "^5.1.2",
|
|
50
50
|
"vitest": "^2.1.5"
|