@xmtp/node-bindings 0.0.34 → 0.0.35
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 +15 -3
- package/package.json +13 -12
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -179,8 +179,7 @@ export interface CreateGroupOptions {
|
|
|
179
179
|
groupDescription?: string
|
|
180
180
|
groupPinnedFrameUrl?: string
|
|
181
181
|
customPermissionPolicySet?: PermissionPolicySet
|
|
182
|
-
|
|
183
|
-
messageExpirationMs?: number
|
|
182
|
+
messageDisappearingSettings?: MessageDisappearingSettings
|
|
184
183
|
}
|
|
185
184
|
|
|
186
185
|
export declare const enum DeliveryStatus {
|
|
@@ -286,6 +285,19 @@ export interface Message {
|
|
|
286
285
|
deliveryStatus: DeliveryStatus
|
|
287
286
|
}
|
|
288
287
|
|
|
288
|
+
/**
|
|
289
|
+
* Settings for disappearing messages in a conversation.
|
|
290
|
+
*
|
|
291
|
+
* # Fields
|
|
292
|
+
*
|
|
293
|
+
* * `from_ns` - The timestamp (in nanoseconds) from when messages should be tracked for deletion.
|
|
294
|
+
* * `in_ns` - The duration (in nanoseconds) after which tracked messages will be deleted.
|
|
295
|
+
*/
|
|
296
|
+
export interface MessageDisappearingSettings {
|
|
297
|
+
fromNs: number
|
|
298
|
+
inNs: number
|
|
299
|
+
}
|
|
300
|
+
|
|
289
301
|
export declare const enum MetadataField {
|
|
290
302
|
GroupName = 0,
|
|
291
303
|
Description = 1,
|
|
@@ -317,7 +329,7 @@ export interface PermissionPolicySet {
|
|
|
317
329
|
updateGroupDescriptionPolicy: PermissionPolicy
|
|
318
330
|
updateGroupImageUrlSquarePolicy: PermissionPolicy
|
|
319
331
|
updateGroupPinnedFrameUrlPolicy: PermissionPolicy
|
|
320
|
-
|
|
332
|
+
updateMessageDisappearingPolicy: PermissionPolicy
|
|
321
333
|
}
|
|
322
334
|
|
|
323
335
|
export declare const enum PermissionUpdateType {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmtp/node-bindings",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.35",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://git@github.com/xmtp/libxmtp.git",
|
|
@@ -36,20 +36,21 @@
|
|
|
36
36
|
"test:clean": "rm -rf test/*.db3*"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@ianvs/prettier-plugin-sort-imports": "^4.4.
|
|
39
|
+
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
|
|
40
40
|
"@napi-rs/cli": "^3.0.0-alpha.64",
|
|
41
|
-
"@types/node": "^22.
|
|
41
|
+
"@types/node": "^22.12.0",
|
|
42
42
|
"@types/uuid": "^10.0.0",
|
|
43
|
-
"
|
|
44
|
-
"prettier
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"vite
|
|
50
|
-
"
|
|
43
|
+
"fast-glob": "^3.3.3",
|
|
44
|
+
"prettier": "^3.4.2",
|
|
45
|
+
"prettier-plugin-packagejson": "^2.5.8",
|
|
46
|
+
"typescript": "^5.7.3",
|
|
47
|
+
"uuid": "^11.0.5",
|
|
48
|
+
"viem": "^2.22.17",
|
|
49
|
+
"vite": "^6.0.11",
|
|
50
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
51
|
+
"vitest": "^3.0.4"
|
|
51
52
|
},
|
|
52
|
-
"packageManager": "yarn@4.
|
|
53
|
+
"packageManager": "yarn@4.6.0",
|
|
53
54
|
"engines": {
|
|
54
55
|
"node": ">=18"
|
|
55
56
|
},
|