@xmtp/node-bindings 1.2.0-dev.3d6d1ef → 1.2.0-dev.b96f93d
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 +16 -0
- package/dist/version.json +3 -3
- package/package.json +2 -2
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,12 @@ export declare class Client {
|
|
|
24
24
|
*/
|
|
25
25
|
inboxState(refreshFromNetwork: boolean): Promise<InboxState>
|
|
26
26
|
getLatestInboxState(inboxId: string): Promise<InboxState>
|
|
27
|
+
/**
|
|
28
|
+
* Get key package statuses for a list of installation IDs.
|
|
29
|
+
*
|
|
30
|
+
* Returns a JavaScript Object mapping installation ID strings to KeyPackageStatus objects.
|
|
31
|
+
*/
|
|
32
|
+
getKeyPackageStatusesForInstallationIds(installationIds: Array<string>): Promise<Record<string, KeyPackageStatus>>
|
|
27
33
|
createInboxSignatureText(): Promise<string | null>
|
|
28
34
|
addIdentifierSignatureText(newIdentifier: Identifier): Promise<string>
|
|
29
35
|
revokeIdentifierSignatureText(identifier: Identifier): Promise<string>
|
|
@@ -289,6 +295,16 @@ export declare export declare function isAddressAuthorized(host: string, inboxId
|
|
|
289
295
|
|
|
290
296
|
export declare export declare function isInstallationAuthorized(host: string, inboxId: string, installationId: Uint8Array): Promise<boolean>
|
|
291
297
|
|
|
298
|
+
export interface KeyPackageStatus {
|
|
299
|
+
lifetime?: Lifetime
|
|
300
|
+
validationError?: string
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
export interface Lifetime {
|
|
304
|
+
notBefore: bigint
|
|
305
|
+
notAfter: bigint
|
|
306
|
+
}
|
|
307
|
+
|
|
292
308
|
export interface ListConversationsOptions {
|
|
293
309
|
consentStates?: Array<ConsentState>
|
|
294
310
|
createdAfterNs?: number
|
package/dist/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmtp/node-bindings",
|
|
3
|
-
"version": "1.2.0-dev.
|
|
3
|
+
"version": "1.2.0-dev.b96f93d",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://git@github.com/xmtp/libxmtp.git",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"tsx": "^4.19.3",
|
|
49
49
|
"typescript": "^5.8.2",
|
|
50
50
|
"uuid": "^11.1.0",
|
|
51
|
-
"viem": "^2.
|
|
51
|
+
"viem": "^2.24.2",
|
|
52
52
|
"vite": "^6.2.0",
|
|
53
53
|
"vite-tsconfig-paths": "^5.1.4",
|
|
54
54
|
"vitest": "^3.0.4",
|