@xmtp/node-bindings 1.2.7 → 1.3.0-dev.438f403
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 +3 -1
- package/dist/version.json +3 -3
- package/package.json +10 -7
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -215,6 +215,8 @@ export interface ConversationDebugInfo {
|
|
|
215
215
|
epoch: bigint
|
|
216
216
|
maybeForked: boolean
|
|
217
217
|
forkDetails: string
|
|
218
|
+
localCommitLog: string
|
|
219
|
+
cursor: number
|
|
218
220
|
}
|
|
219
221
|
|
|
220
222
|
export declare const enum ConversationType {
|
|
@@ -230,7 +232,7 @@ export declare const enum ConversationType {
|
|
|
230
232
|
* It can be one of: `debug`, `info`, `warn`, `error` or 'off'.
|
|
231
233
|
* By default, logging is disabled.
|
|
232
234
|
*/
|
|
233
|
-
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): Promise<Client>
|
|
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>
|
|
234
236
|
|
|
235
237
|
export interface CreateDmOptions {
|
|
236
238
|
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.
|
|
3
|
+
"version": "1.3.0-dev.438f403",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://git@github.com/xmtp/libxmtp.git",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"build:debug": "napi build --platform --esm",
|
|
28
28
|
"build:finish": "mkdir dist && mv index.js dist && mv index.d.ts dist && mv *.node dist",
|
|
29
29
|
"build:release": "napi build --platform --release --esm",
|
|
30
|
+
"build:test": "napi build --platform --esm --features test-utils",
|
|
30
31
|
"clean": "yarn build:clean && yarn test:clean",
|
|
31
32
|
"format": "prettier -w .",
|
|
32
33
|
"format:check": "prettier -c .",
|
|
@@ -34,24 +35,26 @@
|
|
|
34
35
|
"lint": "yarn lint:clippy && yarn lint:fmt",
|
|
35
36
|
"lint:clippy": "cargo clippy --locked --all-features --all-targets --no-deps -- -D warnings",
|
|
36
37
|
"lint:fmt": "cargo fmt --check",
|
|
37
|
-
"test": "vitest run",
|
|
38
|
+
"test": "yarn build:clean && yarn build:test && yarn build:finish && vitest run",
|
|
38
39
|
"test:clean": "rm -rf test/*.db3*"
|
|
39
40
|
},
|
|
40
41
|
"devDependencies": {
|
|
41
42
|
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
|
|
42
43
|
"@napi-rs/cli": "^3.0.0-alpha.64",
|
|
43
|
-
"@types/node": "^
|
|
44
|
+
"@types/node": "^24.0.1",
|
|
44
45
|
"@types/uuid": "^10.0.0",
|
|
46
|
+
"@xmtp/content-type-group-updated": "^2.0.2",
|
|
47
|
+
"@xmtp/content-type-text": "^2.0.2",
|
|
45
48
|
"fast-glob": "^3.3.3",
|
|
46
|
-
"prettier": "^3.
|
|
49
|
+
"prettier": "^3.6.0",
|
|
47
50
|
"prettier-plugin-packagejson": "^2.5.8",
|
|
48
|
-
"tsx": "^4.
|
|
51
|
+
"tsx": "^4.20.3",
|
|
49
52
|
"typescript": "^5.8.2",
|
|
50
53
|
"uuid": "^11.1.0",
|
|
51
|
-
"viem": "^2.
|
|
54
|
+
"viem": "^2.31.0",
|
|
52
55
|
"vite": "^6.3.2",
|
|
53
56
|
"vite-tsconfig-paths": "^5.1.4",
|
|
54
|
-
"vitest": "^3.
|
|
57
|
+
"vitest": "^3.2.2",
|
|
55
58
|
"zx": "^8.5.0"
|
|
56
59
|
},
|
|
57
60
|
"packageManager": "yarn@4.6.0",
|