@xmtp/node-bindings 0.0.13 → 0.0.14
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 +4 -3
- 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
|
@@ -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
|