@xmtp/node-bindings 0.0.13 → 0.0.15

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
@@ -32,6 +32,7 @@ export class NapiClient {
32
32
  export class NapiConversations {
33
33
  createGroup(accountAddresses: Array<string>, options?: NapiCreateGroupOptions | undefined | null): Promise<NapiGroup>
34
34
  findGroupById(groupId: string): NapiGroup
35
+ findDmByTargetInboxId(targetInboxId: string): NapiGroup
35
36
  findMessageById(messageId: string): NapiMessage
36
37
  processStreamedWelcomeMessage(envelopeBytes: Uint8Array): Promise<NapiGroup>
37
38
  sync(): Promise<void>
@@ -131,11 +132,11 @@ export class NapiStreamCloser {
131
132
  * It can be one of: `debug`, `info`, `warn`, `error` or 'off'.
132
133
  * By default, logging is set to `info`. `off` completely disables logging.
133
134
  */
134
- export function createClient(host: string, isSecure: boolean, dbPath: string, inboxId: string, accountAddress: string, encryptionKey?: Uint8Array | undefined | null, historySyncUrl?: string | undefined | null, envFilter?: string | undefined | null): Promise<NapiClient>
135
+ export declare function createClient(host: string, isSecure: boolean, dbPath: string, inboxId: string, accountAddress: string, encryptionKey?: Uint8Array | undefined | null, historySyncUrl?: string | undefined | null, envFilter?: string | undefined | null): Promise<NapiClient>
135
136
 
136
- export function generateInboxId(accountAddress: string): string
137
+ export declare function generateInboxId(accountAddress: string): string
137
138
 
138
- export function getInboxIdForAddress(host: string, isSecure: boolean, accountAddress: string): Promise<string | null>
139
+ export declare function getInboxIdForAddress(host: string, isSecure: boolean, accountAddress: string): Promise<string | null>
139
140
 
140
141
  export interface NapiConsent {
141
142
  entityType: NapiConsentEntityType
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/node-bindings",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://git@github.com/xmtp/libxmtp.git",