@xmtp/node-bindings 0.0.33 → 0.0.34
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 +5 -2
- 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
|
@@ -124,7 +124,7 @@ export declare class StreamCloser {
|
|
|
124
124
|
/**
|
|
125
125
|
* End the stream and `await` for it to shutdown
|
|
126
126
|
* Returns the `Result` of the task.
|
|
127
|
-
* End the stream and
|
|
127
|
+
* End the stream and asynchronously wait for it to shutdown
|
|
128
128
|
*/
|
|
129
129
|
endAndWait(): Promise<void>
|
|
130
130
|
waitForReady(): Promise<void>
|
|
@@ -179,6 +179,8 @@ export interface CreateGroupOptions {
|
|
|
179
179
|
groupDescription?: string
|
|
180
180
|
groupPinnedFrameUrl?: string
|
|
181
181
|
customPermissionPolicySet?: PermissionPolicySet
|
|
182
|
+
messageExpirationFromMs?: number
|
|
183
|
+
messageExpirationMs?: number
|
|
182
184
|
}
|
|
183
185
|
|
|
184
186
|
export declare const enum DeliveryStatus {
|
|
@@ -211,7 +213,7 @@ export declare const enum GroupMessageKind {
|
|
|
211
213
|
}
|
|
212
214
|
|
|
213
215
|
export declare const enum GroupPermissionsOptions {
|
|
214
|
-
|
|
216
|
+
Default = 0,
|
|
215
217
|
AdminOnly = 1,
|
|
216
218
|
CustomPolicy = 2
|
|
217
219
|
}
|
|
@@ -315,6 +317,7 @@ export interface PermissionPolicySet {
|
|
|
315
317
|
updateGroupDescriptionPolicy: PermissionPolicy
|
|
316
318
|
updateGroupImageUrlSquarePolicy: PermissionPolicy
|
|
317
319
|
updateGroupPinnedFrameUrlPolicy: PermissionPolicy
|
|
320
|
+
updateMessageExpirationMsPolicy: PermissionPolicy
|
|
318
321
|
}
|
|
319
322
|
|
|
320
323
|
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.34",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://git@github.com/xmtp/libxmtp.git",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"viem": "^2.22.2",
|
|
48
48
|
"vite": "^6.0.1",
|
|
49
49
|
"vite-tsconfig-paths": "^5.1.2",
|
|
50
|
-
"vitest": "^
|
|
50
|
+
"vitest": "^3.0.2"
|
|
51
51
|
},
|
|
52
52
|
"packageManager": "yarn@4.5.1",
|
|
53
53
|
"engines": {
|