@xmtp/node-bindings 0.0.30 → 0.0.31

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
@@ -87,6 +87,7 @@ export declare class Conversations {
87
87
  list(opts?: ListConversationsOptions | undefined | null): Promise<Array<Conversation>>
88
88
  listGroups(opts?: ListConversationsOptions | undefined | null): Promise<Array<Conversation>>
89
89
  listDms(opts?: ListConversationsOptions | undefined | null): Promise<Array<Conversation>>
90
+ getHmacKeys(): Record<string, Array<HmacKey>>
90
91
  stream(callback: (err: null | Error, result: Conversation | undefined) => void): StreamCloser
91
92
  streamGroups(callback: (err: null | Error, result: Conversation | undefined) => void): StreamCloser
92
93
  streamDms(callback: (err: null | Error, result: Conversation | undefined) => void): StreamCloser
@@ -214,6 +215,11 @@ export declare const enum GroupPermissionsOptions {
214
215
  CustomPolicy = 2
215
216
  }
216
217
 
218
+ export interface HmacKey {
219
+ key: Array<number>
220
+ epoch: bigint
221
+ }
222
+
217
223
  export interface InboxState {
218
224
  inboxId: string
219
225
  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.31",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://git@github.com/xmtp/libxmtp.git",