@xmtp/node-bindings 0.0.30 → 0.0.32
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 +8 -1
- 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
|
@@ -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>
|
|
@@ -87,6 +88,7 @@ export declare class Conversations {
|
|
|
87
88
|
list(opts?: ListConversationsOptions | undefined | null): Promise<Array<Conversation>>
|
|
88
89
|
listGroups(opts?: ListConversationsOptions | undefined | null): Promise<Array<Conversation>>
|
|
89
90
|
listDms(opts?: ListConversationsOptions | undefined | null): Promise<Array<Conversation>>
|
|
91
|
+
getHmacKeys(): Record<string, Array<HmacKey>>
|
|
90
92
|
stream(callback: (err: null | Error, result: Conversation | undefined) => void): StreamCloser
|
|
91
93
|
streamGroups(callback: (err: null | Error, result: Conversation | undefined) => void): StreamCloser
|
|
92
94
|
streamDms(callback: (err: null | Error, result: Conversation | undefined) => void): StreamCloser
|
|
@@ -214,6 +216,11 @@ export declare const enum GroupPermissionsOptions {
|
|
|
214
216
|
CustomPolicy = 2
|
|
215
217
|
}
|
|
216
218
|
|
|
219
|
+
export interface HmacKey {
|
|
220
|
+
key: Array<number>
|
|
221
|
+
epoch: bigint
|
|
222
|
+
}
|
|
223
|
+
|
|
217
224
|
export interface InboxState {
|
|
218
225
|
inboxId: string
|
|
219
226
|
recoveryAddress: string
|