@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.
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
- revokeInstallationsSignatureText(): Promise<string>
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/node-bindings",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://git@github.com/xmtp/libxmtp.git",