@xmtp/node-bindings 1.4.0-dev.ad95443 → 1.4.0-rc1
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 +6 -2
- package/dist/version.json +3 -3
- package/package.json +7 -7
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export declare class Client {
|
|
|
6
6
|
isRegistered(): boolean
|
|
7
7
|
installationId(): string
|
|
8
8
|
installationIdBytes(): Uint8Array
|
|
9
|
+
appVersion(): string
|
|
10
|
+
libxmtpVersion(): string
|
|
9
11
|
/** The resulting vec will be the same length as the input and should be zipped for the results. */
|
|
10
12
|
canMessage(accountIdentities: Array<Identifier>): Promise<Record<string, boolean>>
|
|
11
13
|
registerIdentity(signatureRequest: SignatureRequestHandle): Promise<void>
|
|
@@ -97,6 +99,7 @@ export declare class Conversation {
|
|
|
97
99
|
export declare class ConversationListItem {
|
|
98
100
|
get conversation(): Conversation
|
|
99
101
|
get lastMessage(): Message | null
|
|
102
|
+
get isCommitLogForked(): boolean | null
|
|
100
103
|
}
|
|
101
104
|
|
|
102
105
|
export declare class Conversations {
|
|
@@ -116,7 +119,7 @@ export declare class Conversations {
|
|
|
116
119
|
stream(callback: (err: Error | null, result: Conversation | undefined) => void, onClose: () => void, conversationType?: ConversationType): StreamCloser
|
|
117
120
|
streamAllMessages(callback: (err: null | Error, result: Message | undefined) => void, onClose: () => void, conversationType?: ConversationType, consentStates?: ConsentState[]): StreamCloser
|
|
118
121
|
streamConsent(callback: (err: null | Error, result: Consent[] | undefined) => void, onClose: () => void): StreamCloser
|
|
119
|
-
streamPreferences(callback: (err: null | Error, result: any
|
|
122
|
+
streamPreferences(callback: (err: null | Error, result: any) => void, onClose: () => void): StreamCloser
|
|
120
123
|
}
|
|
121
124
|
|
|
122
125
|
export declare class GroupMember {
|
|
@@ -215,6 +218,7 @@ export interface ConversationDebugInfo {
|
|
|
215
218
|
epoch: bigint
|
|
216
219
|
maybeForked: boolean
|
|
217
220
|
forkDetails: string
|
|
221
|
+
isCommitLogForked?: boolean
|
|
218
222
|
localCommitLog: string
|
|
219
223
|
cursor: number
|
|
220
224
|
}
|
|
@@ -232,7 +236,7 @@ export declare const enum ConversationType {
|
|
|
232
236
|
* It can be one of: `debug`, `info`, `warn`, `error` or 'off'.
|
|
233
237
|
* By default, logging is disabled.
|
|
234
238
|
*/
|
|
235
|
-
export declare export declare function createClient(host: string, isSecure: boolean, dbPath: string | undefined | null, inboxId: string, accountIdentifier: Identifier, encryptionKey?: Uint8Array | undefined | null, deviceSyncServerUrl?: string | undefined | null, deviceSyncWorkerMode?: SyncWorkerMode | undefined | null, logOptions?: LogOptions | undefined | null, allowOffline?: boolean | undefined | null, disableEvents?: boolean | undefined | null): Promise<Client>
|
|
239
|
+
export declare export declare function createClient(host: string, isSecure: boolean, dbPath: string | undefined | null, inboxId: string, accountIdentifier: Identifier, encryptionKey?: Uint8Array | undefined | null, deviceSyncServerUrl?: string | undefined | null, deviceSyncWorkerMode?: SyncWorkerMode | undefined | null, logOptions?: LogOptions | undefined | null, allowOffline?: boolean | undefined | null, disableEvents?: boolean | undefined | null, appVersion?: string | undefined | null): Promise<Client>
|
|
236
240
|
|
|
237
241
|
export interface CreateDmOptions {
|
|
238
242
|
messageDisappearingSettings?: MessageDisappearingSettings
|
package/dist/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmtp/node-bindings",
|
|
3
|
-
"version": "1.4.0-
|
|
3
|
+
"version": "1.4.0-rc1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://git@github.com/xmtp/libxmtp.git",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"test:clean": "rm -rf test/*.db3*"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@ianvs/prettier-plugin-sort-imports": "^4.
|
|
42
|
+
"@ianvs/prettier-plugin-sort-imports": "^4.5.1",
|
|
43
43
|
"@napi-rs/cli": "^3.0.0-alpha.64",
|
|
44
|
-
"@types/node": "^24.0
|
|
44
|
+
"@types/node": "^24.1.0",
|
|
45
45
|
"@types/uuid": "^10.0.0",
|
|
46
46
|
"@xmtp/content-type-group-updated": "^2.0.2",
|
|
47
47
|
"@xmtp/content-type-text": "^2.0.2",
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
"prettier": "^3.6.0",
|
|
50
50
|
"prettier-plugin-packagejson": "^2.5.8",
|
|
51
51
|
"tsx": "^4.20.3",
|
|
52
|
-
"typescript": "^5.
|
|
52
|
+
"typescript": "^5.9.2",
|
|
53
53
|
"uuid": "^11.1.0",
|
|
54
|
-
"viem": "^2.
|
|
55
|
-
"vite": "^
|
|
54
|
+
"viem": "^2.33.0",
|
|
55
|
+
"vite": "^7.0.5",
|
|
56
56
|
"vite-tsconfig-paths": "^5.1.4",
|
|
57
57
|
"vitest": "^3.2.2",
|
|
58
|
-
"zx": "^8.
|
|
58
|
+
"zx": "^8.7.1"
|
|
59
59
|
},
|
|
60
60
|
"packageManager": "yarn@4.6.0",
|
|
61
61
|
"engines": {
|