@xmtp/node-bindings 0.0.31 → 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 +7 -5
- 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
|
@@ -26,7 +26,8 @@ export declare class Client {
|
|
|
26
26
|
createInboxSignatureText(): Promise<string | null>
|
|
27
27
|
addWalletSignatureText(newWalletAddress: string): Promise<string>
|
|
28
28
|
revokeWalletSignatureText(walletAddress: string): Promise<string>
|
|
29
|
-
|
|
29
|
+
revokeAllOtherInstallationsSignatureText(): Promise<string>
|
|
30
|
+
revokeInstallationsSignatureText(installationIds: Array<Uint8Array>): Promise<string>
|
|
30
31
|
addSignature(signatureType: SignatureRequestType, signatureBytes: Uint8Array): Promise<void>
|
|
31
32
|
addScwSignature(signatureType: SignatureRequestType, signatureBytes: Uint8Array, chainId: bigint, blockNumber?: bigint | undefined | null): Promise<void>
|
|
32
33
|
applySignatureRequests(): Promise<void>
|
|
@@ -84,9 +85,9 @@ export declare class Conversations {
|
|
|
84
85
|
processStreamedWelcomeMessage(envelopeBytes: Uint8Array): Promise<Conversation>
|
|
85
86
|
sync(): Promise<void>
|
|
86
87
|
syncAllConversations(): Promise<bigint>
|
|
87
|
-
list(opts?: ListConversationsOptions | undefined | null):
|
|
88
|
-
listGroups(opts?: ListConversationsOptions | undefined | null):
|
|
89
|
-
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>
|
|
90
91
|
getHmacKeys(): Record<string, Array<HmacKey>>
|
|
91
92
|
stream(callback: (err: null | Error, result: Conversation | undefined) => void): StreamCloser
|
|
92
93
|
streamGroups(callback: (err: null | Error, result: Conversation | undefined) => void): StreamCloser
|
|
@@ -228,8 +229,9 @@ export interface InboxState {
|
|
|
228
229
|
}
|
|
229
230
|
|
|
230
231
|
export interface Installation {
|
|
231
|
-
|
|
232
|
+
bytes: Uint8Array
|
|
232
233
|
clientTimestampNs?: bigint
|
|
234
|
+
id: string
|
|
233
235
|
}
|
|
234
236
|
|
|
235
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"
|