@xmtp/node-bindings 0.0.23 → 0.0.25
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 +2 -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
|
@@ -14,7 +14,7 @@ export declare class Client {
|
|
|
14
14
|
findInboxIdByAddress(address: string): Promise<string | null>
|
|
15
15
|
addressesFromInboxId(refreshFromNetwork: boolean, inboxIds: Array<string>): Promise<Array<InboxState>>
|
|
16
16
|
isAddressAuthorized(inboxId: string, address: string): Promise<boolean>
|
|
17
|
-
isInstallationAuthorized(inboxId: string,
|
|
17
|
+
isInstallationAuthorized(inboxId: string, installationId: Uint8Array): Promise<boolean>
|
|
18
18
|
setConsentStates(records: Array<Consent>): Promise<void>
|
|
19
19
|
getConsentState(entityType: ConsentEntityType, entity: string): Promise<ConsentState>
|
|
20
20
|
/**
|
|
@@ -126,6 +126,7 @@ export declare class StreamCloser {
|
|
|
126
126
|
* End the stream and asyncronously wait for it to shutdown
|
|
127
127
|
*/
|
|
128
128
|
endAndWait(): Promise<void>
|
|
129
|
+
waitForReady(): Promise<void>
|
|
129
130
|
/** Checks if this stream is closed */
|
|
130
131
|
isClosed(): boolean
|
|
131
132
|
}
|