@xmtp/wasm-bindings 1.6.9 → 1.7.0-rc2
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/README.md +0 -1
- package/dist/bindings_wasm.d.ts +656 -1357
- package/dist/bindings_wasm.js +1404 -6966
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +118 -584
- package/package.json +2 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,240 +1,510 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export function
|
|
4
|
-
export function
|
|
5
|
-
export function
|
|
6
|
-
export function
|
|
7
|
-
export function
|
|
8
|
-
export function
|
|
9
|
-
export function
|
|
3
|
+
export function revokeInstallationsSignatureRequest(host: string, gatewayHost: string | null | undefined, recoveryIdentifier: Identifier, inboxId: string, installationIds: Uint8Array[]): SignatureRequestHandle;
|
|
4
|
+
export function verifySignedWithPublicKey(signatureText: string, signatureBytes: Uint8Array, publicKey: Uint8Array): void;
|
|
5
|
+
export function applySignatureRequest(host: string, gatewayHost: string | null | undefined, signatureRequest: SignatureRequestHandle): Promise<void>;
|
|
6
|
+
export function encodeAttachment(attachment: Attachment): EncodedContent;
|
|
7
|
+
export function attachmentContentType(): ContentTypeId;
|
|
8
|
+
export function encodeReadReceipt(read_receipt: ReadReceipt): EncodedContent;
|
|
9
|
+
export function readReceiptContentType(): ContentTypeId;
|
|
10
|
+
export function groupUpdatedContentType(): ContentTypeId;
|
|
11
|
+
export function leaveRequestContentType(): ContentTypeId;
|
|
12
|
+
export function encodeRemoteAttachment(remote_attachment: RemoteAttachment): EncodedContent;
|
|
13
|
+
/**
|
|
14
|
+
* Encrypts an attachment for storage as a remote attachment.
|
|
15
|
+
*/
|
|
16
|
+
export function encryptAttachment(attachment: Attachment): EncryptedAttachment;
|
|
17
|
+
/**
|
|
18
|
+
* Decrypts an encrypted payload from a remote attachment.
|
|
19
|
+
*/
|
|
20
|
+
export function decryptAttachment(encryptedBytes: Uint8Array, remoteAttachment: RemoteAttachment): Attachment;
|
|
21
|
+
export function remoteAttachmentContentType(): ContentTypeId;
|
|
22
|
+
export function encodeWalletSendCalls(wallet_send_calls: WalletSendCalls): EncodedContent;
|
|
23
|
+
export function walletSendCallsContentType(): ContentTypeId;
|
|
24
|
+
export function transactionReferenceContentType(): ContentTypeId;
|
|
25
|
+
export function encodeTransactionReference(transaction_reference: TransactionReference): EncodedContent;
|
|
26
|
+
export function encodeMultiRemoteAttachment(multi_remote_attachment: MultiRemoteAttachment): EncodedContent;
|
|
27
|
+
export function multiRemoteAttachmentContentType(): ContentTypeId;
|
|
28
|
+
export function encodeText(text: string): EncodedContent;
|
|
29
|
+
export function textContentType(): ContentTypeId;
|
|
30
|
+
export function replyContentType(): ContentTypeId;
|
|
31
|
+
export function encodeIntent(intent: Intent): EncodedContent;
|
|
32
|
+
export function intentContentType(): ContentTypeId;
|
|
33
|
+
export function encodeActions(actions: Actions): EncodedContent;
|
|
34
|
+
export function actionsContentType(): ContentTypeId;
|
|
35
|
+
export function markdownContentType(): ContentTypeId;
|
|
36
|
+
export function encodeMarkdown(text: string): EncodedContent;
|
|
37
|
+
export function encodeReaction(reaction: Reaction): EncodedContent;
|
|
38
|
+
export function reactionContentType(): ContentTypeId;
|
|
39
|
+
export function createClient(host: string, inboxId: string, accountIdentifier: Identifier, dbPath?: string | null, encryptionKey?: Uint8Array | null, deviceSyncServerUrl?: string | null, deviceSyncWorkerMode?: DeviceSyncWorkerMode | null, logOptions?: LogOptions | null, allowOffline?: boolean | null, appVersion?: string | null, gatewayHost?: string | null, nonce?: bigint | null, authCallback?: any | null, authHandle?: AuthHandle | null, clientMode?: ClientMode | null): Promise<Client>;
|
|
10
40
|
export function getInboxIdForIdentifier(host: string, gatewayHost: string | null | undefined, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
11
|
-
export function
|
|
12
|
-
export function
|
|
13
|
-
export function decodeRemoteAttachment(encoded_content: EncodedContent): RemoteAttachment;
|
|
14
|
-
export function encodeRemoteAttachment(remoteAttachment: RemoteAttachment): Uint8Array;
|
|
15
|
-
export function encodeIntent(intent: Intent): Uint8Array;
|
|
16
|
-
export function decodeIntent(encoded_content: EncodedContent): Intent;
|
|
17
|
-
export function applySignatureRequest(v3_host: string, gateway_host: string | null | undefined, signature_request: SignatureRequestHandle): Promise<void>;
|
|
18
|
-
export function revokeInstallationsSignatureRequest(v3_host: string, gateway_host: string | null | undefined, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): SignatureRequestHandle;
|
|
19
|
-
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
20
|
-
export function encodeXmtpText(text: string): Uint8Array;
|
|
21
|
-
export function decodeXmtpText(encoded_content: EncodedContent): string;
|
|
22
|
-
export function inboxStateFromInboxIds(v3_host: string, gateway_host: string | null | undefined, inbox_ids: string[]): Promise<InboxState[]>;
|
|
23
|
-
export function decodeGroupUpdated(encoded_content: EncodedContent): GroupUpdated;
|
|
24
|
-
export function encodeTransactionReference(transactionReference: TransactionReference): Uint8Array;
|
|
25
|
-
export function decodeTransactionReference(encoded_content: EncodedContent): TransactionReference;
|
|
26
|
-
export function decodeMultiRemoteAttachment(encoded_content: EncodedContent): MultiRemoteAttachment;
|
|
27
|
-
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
28
|
-
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null, allow_offline?: boolean | null, disable_events?: boolean | null, app_version?: string | null, gateway_host?: string | null, nonce?: bigint | null, auth_callback?: any | null, auth_handle?: AuthHandle | null, client_mode?: ClientMode | null): Promise<Client>;
|
|
29
|
-
export function encodeAttachment(attachment: Attachment): Uint8Array;
|
|
30
|
-
export function decodeAttachment(encoded_content: EncodedContent): Attachment;
|
|
31
|
-
export function decodeReadReceipt(encoded_content: EncodedContent): ReadReceipt;
|
|
32
|
-
export function encodeReadReceipt(readReceipt: ReadReceipt): Uint8Array;
|
|
33
|
-
export function decodeWalletSendCalls(encoded_content: EncodedContent): any;
|
|
34
|
-
export function encodeWalletSendCalls(wallet_send_calls: any): Uint8Array;
|
|
41
|
+
export function generateInboxId(accountIdentifier: Identifier, nonce?: bigint | null): string;
|
|
42
|
+
export function inboxStateFromInboxIds(host: string, gatewayHost: string | null | undefined, inboxIds: string[]): Promise<InboxState[]>;
|
|
35
43
|
/**
|
|
36
44
|
* Entry point invoked by JavaScript in a worker.
|
|
37
45
|
*/
|
|
38
46
|
export function task_worker_entry_point(ptr: number): void;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
47
|
+
/**
|
|
48
|
+
* The `ReadableStreamType` enum.
|
|
49
|
+
*
|
|
50
|
+
* *This API requires the following crate features to be activated: `ReadableStreamType`*
|
|
51
|
+
*/
|
|
52
|
+
type ReadableStreamType = "bytes";
|
|
53
|
+
export type MetadataField = "groupName" | "description" | "imageUrlSquare" | "messageExpirationFromMS" | "messageExpirationMS";
|
|
54
|
+
|
|
55
|
+
export type GroupPermissionsOptions = "default" | "adminOnly" | "customPolicy";
|
|
56
|
+
|
|
57
|
+
export type PermissionUpdateType = "addMember" | "removeMember" | "addAdmin" | "removeAdmin" | "updateMetadata";
|
|
58
|
+
|
|
59
|
+
export interface GroupPermissions {
|
|
60
|
+
policyType: GroupPermissionsOptions;
|
|
61
|
+
policySet: PermissionPolicySet;
|
|
43
62
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
63
|
+
|
|
64
|
+
export interface PermissionPolicySet {
|
|
65
|
+
addMemberPolicy: PermissionPolicy;
|
|
66
|
+
removeMemberPolicy: PermissionPolicy;
|
|
67
|
+
addAdminPolicy: PermissionPolicy;
|
|
68
|
+
removeAdminPolicy: PermissionPolicy;
|
|
69
|
+
updateGroupNamePolicy: PermissionPolicy;
|
|
70
|
+
updateGroupDescriptionPolicy: PermissionPolicy;
|
|
71
|
+
updateGroupImageUrlSquarePolicy: PermissionPolicy;
|
|
72
|
+
updateMessageDisappearingPolicy: PermissionPolicy;
|
|
47
73
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
74
|
+
|
|
75
|
+
export type PermissionPolicy = "allow" | "deny" | "admin" | "superAdmin" | "doesNotExist" | "other";
|
|
76
|
+
|
|
77
|
+
export type ContentType = "unknown" | "text" | "markdown" | "leaveRequest" | "groupMembershipChange" | "groupUpdated" | "reaction" | "readReceipt" | "reply" | "attachment" | "remoteAttachment" | "transactionReference";
|
|
78
|
+
|
|
79
|
+
export interface IdentityStats {
|
|
80
|
+
publishIdentityUpdate: bigint;
|
|
81
|
+
getIdentityUpdatesV2: bigint;
|
|
82
|
+
getInboxIds: bigint;
|
|
83
|
+
verifySmartContractWalletSignature: bigint;
|
|
51
84
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
85
|
+
|
|
86
|
+
export interface Identifier {
|
|
87
|
+
identifier: string;
|
|
88
|
+
identifierKind: IdentifierKind;
|
|
56
89
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
90
|
+
|
|
91
|
+
export type IdentifierKind = "Ethereum" | "Passkey";
|
|
92
|
+
|
|
93
|
+
export interface ApiStats {
|
|
94
|
+
uploadKeyPackage: bigint;
|
|
95
|
+
fetchKeyPackage: bigint;
|
|
96
|
+
sendGroupMessages: bigint;
|
|
97
|
+
sendWelcomeMessages: bigint;
|
|
98
|
+
queryGroupMessages: bigint;
|
|
99
|
+
queryWelcomeMessages: bigint;
|
|
100
|
+
subscribeMessages: bigint;
|
|
101
|
+
subscribeWelcomes: bigint;
|
|
69
102
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
103
|
+
|
|
104
|
+
export interface PasskeySignature {
|
|
105
|
+
publicKey: Uint8Array;
|
|
106
|
+
signature: Uint8Array;
|
|
107
|
+
authenticatorData: Uint8Array;
|
|
108
|
+
clientDataJson: Uint8Array;
|
|
75
109
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
110
|
+
|
|
111
|
+
export interface Attachment {
|
|
112
|
+
filename?: string;
|
|
113
|
+
mimeType: string;
|
|
114
|
+
content: Uint8Array;
|
|
80
115
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
116
|
+
|
|
117
|
+
export type ReadReceipt = Record<string, never>;
|
|
118
|
+
|
|
119
|
+
export interface MetadataFieldChange {
|
|
120
|
+
fieldName: string;
|
|
121
|
+
oldValue?: string;
|
|
122
|
+
newValue?: string;
|
|
87
123
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
124
|
+
|
|
125
|
+
export interface GroupUpdated {
|
|
126
|
+
initiatedByInboxId: string;
|
|
127
|
+
addedInboxes: Inbox[];
|
|
128
|
+
removedInboxes: Inbox[];
|
|
129
|
+
leftInboxes: Inbox[];
|
|
130
|
+
metadataFieldChanges: MetadataFieldChange[];
|
|
131
|
+
addedAdminInboxes: Inbox[];
|
|
132
|
+
removedAdminInboxes: Inbox[];
|
|
133
|
+
addedSuperAdminInboxes: Inbox[];
|
|
134
|
+
removedSuperAdminInboxes: Inbox[];
|
|
91
135
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
CustomPolicy = 2,
|
|
136
|
+
|
|
137
|
+
export interface Inbox {
|
|
138
|
+
inboxId: string;
|
|
96
139
|
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
140
|
+
|
|
141
|
+
export interface LeaveRequest {
|
|
142
|
+
authenticatedNote?: Uint8Array;
|
|
100
143
|
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Result of encrypting an attachment for remote storage.
|
|
147
|
+
*/
|
|
148
|
+
export interface EncryptedAttachment {
|
|
149
|
+
/**
|
|
150
|
+
* The encrypted bytes to upload to the remote server
|
|
151
|
+
*/
|
|
152
|
+
payload: Uint8Array;
|
|
153
|
+
/**
|
|
154
|
+
* SHA-256 digest of the encrypted bytes (hex-encoded)
|
|
155
|
+
*/
|
|
156
|
+
contentDigest: string;
|
|
157
|
+
/**
|
|
158
|
+
* The 32-byte secret key needed for decryption
|
|
159
|
+
*/
|
|
160
|
+
secret: Uint8Array;
|
|
161
|
+
/**
|
|
162
|
+
* The 32-byte salt used in key derivation
|
|
163
|
+
*/
|
|
164
|
+
salt: Uint8Array;
|
|
165
|
+
/**
|
|
166
|
+
* The 12-byte nonce used in encryption
|
|
167
|
+
*/
|
|
168
|
+
nonce: Uint8Array;
|
|
169
|
+
/**
|
|
170
|
+
* The length of the encrypted content
|
|
171
|
+
*/
|
|
172
|
+
contentLength: number;
|
|
173
|
+
/**
|
|
174
|
+
* The filename of the attachment
|
|
175
|
+
*/
|
|
176
|
+
filename?: string;
|
|
104
177
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
178
|
+
|
|
179
|
+
export interface RemoteAttachment {
|
|
180
|
+
url: string;
|
|
181
|
+
contentDigest: string;
|
|
182
|
+
secret: Uint8Array;
|
|
183
|
+
salt: Uint8Array;
|
|
184
|
+
nonce: Uint8Array;
|
|
185
|
+
scheme: string;
|
|
186
|
+
contentLength: number;
|
|
187
|
+
filename?: string;
|
|
111
188
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
TransactionReference = 6,
|
|
120
|
-
GroupUpdated = 7,
|
|
121
|
-
ReadReceipt = 8,
|
|
122
|
-
LeaveRequest = 9,
|
|
123
|
-
WalletSendCalls = 10,
|
|
124
|
-
Intent = 11,
|
|
125
|
-
Actions = 12,
|
|
126
|
-
Custom = 13,
|
|
189
|
+
|
|
190
|
+
export interface WalletSendCalls {
|
|
191
|
+
version: string;
|
|
192
|
+
chainId: string;
|
|
193
|
+
from: string;
|
|
194
|
+
calls: WalletCall[];
|
|
195
|
+
capabilities?: Record<string, string>;
|
|
127
196
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
197
|
+
|
|
198
|
+
export interface WalletCall {
|
|
199
|
+
to?: string;
|
|
200
|
+
data?: string;
|
|
201
|
+
value?: string;
|
|
202
|
+
gas?: string;
|
|
203
|
+
metadata?: Record<string, string>;
|
|
132
204
|
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
Other = 5,
|
|
205
|
+
|
|
206
|
+
export interface TransactionReference {
|
|
207
|
+
namespace?: string;
|
|
208
|
+
networkId: string;
|
|
209
|
+
reference: string;
|
|
210
|
+
metadata?: TransactionMetadata;
|
|
140
211
|
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
212
|
+
|
|
213
|
+
export interface TransactionMetadata {
|
|
214
|
+
transactionType: string;
|
|
215
|
+
currency: string;
|
|
216
|
+
amount: number;
|
|
217
|
+
decimals: number;
|
|
218
|
+
fromAddress: string;
|
|
219
|
+
toAddress: string;
|
|
147
220
|
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
221
|
+
|
|
222
|
+
export type DecodedMessageContent = { type: "text"; content: string } | { type: "markdown"; content: MarkdownContent } | { type: "reply"; content: EnrichedReply } | { type: "reaction"; content: Reaction } | { type: "attachment"; content: Attachment } | { type: "remoteAttachment"; content: RemoteAttachment } | { type: "multiRemoteAttachment"; content: MultiRemoteAttachment } | { type: "transactionReference"; content: TransactionReference } | { type: "groupUpdated"; content: GroupUpdated } | { type: "readReceipt"; content: ReadReceipt } | { type: "leaveRequest"; content: LeaveRequest } | { type: "walletSendCalls"; content: WalletSendCalls } | { type: "intent"; content: Intent | undefined } | { type: "actions"; content: Actions | undefined } | { type: "custom"; content: EncodedContent };
|
|
223
|
+
|
|
224
|
+
export interface RemoteAttachmentInfo {
|
|
225
|
+
secret: Uint8Array;
|
|
226
|
+
contentDigest: string;
|
|
227
|
+
nonce: Uint8Array;
|
|
228
|
+
scheme: string;
|
|
229
|
+
url: string;
|
|
230
|
+
salt: Uint8Array;
|
|
231
|
+
contentLength?: number;
|
|
232
|
+
filename?: string;
|
|
152
233
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
Unknown = 2,
|
|
234
|
+
|
|
235
|
+
export interface MultiRemoteAttachment {
|
|
236
|
+
attachments: RemoteAttachmentInfo[];
|
|
157
237
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
Shortcode = 2,
|
|
162
|
-
Custom = 3,
|
|
238
|
+
|
|
239
|
+
export interface TextContent {
|
|
240
|
+
content: string;
|
|
163
241
|
}
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
242
|
+
|
|
243
|
+
export interface EnrichedReply {
|
|
244
|
+
referenceId: string;
|
|
245
|
+
content: DecodedMessageContent;
|
|
246
|
+
inReplyTo?: DecodedMessage;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export interface Reply {
|
|
250
|
+
content: EncodedContent;
|
|
251
|
+
reference: string;
|
|
252
|
+
referenceInboxId?: string;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export interface Intent {
|
|
256
|
+
id: string;
|
|
257
|
+
actionId: string;
|
|
258
|
+
metadata?: Record<string, string | number | boolean | null>;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export interface Actions {
|
|
262
|
+
id: string;
|
|
263
|
+
description: string;
|
|
264
|
+
actions: Action[];
|
|
265
|
+
expiresAtNs?: bigint;
|
|
169
266
|
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
267
|
+
|
|
268
|
+
export type ActionStyle = "primary" | "secondary" | "danger";
|
|
269
|
+
|
|
270
|
+
export interface Action {
|
|
271
|
+
id: string;
|
|
272
|
+
label: string;
|
|
273
|
+
imageUrl?: string;
|
|
274
|
+
style?: ActionStyle;
|
|
275
|
+
expiresAtNs?: bigint;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export interface MarkdownContent {
|
|
279
|
+
content: string;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export type ReactionSchema = "unknown" | "unicode" | "shortcode" | "custom";
|
|
283
|
+
|
|
284
|
+
export interface Reaction {
|
|
285
|
+
reference: string;
|
|
286
|
+
referenceInboxId: string;
|
|
287
|
+
action: ReactionAction;
|
|
288
|
+
content: string;
|
|
289
|
+
schema: ReactionSchema;
|
|
173
290
|
}
|
|
174
|
-
|
|
175
|
-
type
|
|
291
|
+
|
|
292
|
+
export type ReactionAction = "unknown" | "added" | "removed";
|
|
293
|
+
|
|
294
|
+
export interface EncodedContent {
|
|
295
|
+
type?: ContentTypeId;
|
|
296
|
+
parameters?: Record<string, string>;
|
|
297
|
+
fallback?: string;
|
|
298
|
+
compression?: number;
|
|
299
|
+
content: Uint8Array;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export interface ContentTypeId {
|
|
303
|
+
authorityId: string;
|
|
304
|
+
typeId: string;
|
|
305
|
+
versionMajor: number;
|
|
306
|
+
versionMinor: number;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export interface DecodedMessage {
|
|
310
|
+
id: string;
|
|
311
|
+
sentAtNs: bigint;
|
|
312
|
+
kind: GroupMessageKind;
|
|
313
|
+
senderInstallationId: string;
|
|
314
|
+
senderInboxId: string;
|
|
315
|
+
contentType: ContentTypeId;
|
|
316
|
+
conversationId: string;
|
|
317
|
+
content: DecodedMessageContent;
|
|
318
|
+
fallback?: string;
|
|
319
|
+
reactions: DecodedMessage[];
|
|
320
|
+
deliveryStatus: DeliveryStatus;
|
|
321
|
+
numReplies: bigint;
|
|
322
|
+
expiresAtNs: bigint | undefined;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
export interface Credential {
|
|
326
|
+
name?: string;
|
|
327
|
+
value: string;
|
|
328
|
+
expiresAtSeconds: bigint;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export type DeviceSyncWorkerMode = "enabled" | "disabled";
|
|
332
|
+
|
|
333
|
+
export interface GroupSyncSummary {
|
|
334
|
+
numEligible: number;
|
|
335
|
+
numSynced: number;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export type ClientMode = "default" | "notification";
|
|
339
|
+
|
|
340
|
+
export type LogLevel = "off" | "error" | "warn" | "info" | "debug" | "trace";
|
|
341
|
+
|
|
176
342
|
/**
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
* *This API requires the following crate features to be activated: `ReadableStreamType`*
|
|
343
|
+
* Specify options for the logger
|
|
180
344
|
*/
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
345
|
+
export interface LogOptions {
|
|
346
|
+
/**
|
|
347
|
+
* enable structured JSON logging to stdout. Useful for third-party log viewers
|
|
348
|
+
*/
|
|
349
|
+
structured?: boolean;
|
|
350
|
+
/**
|
|
351
|
+
* enable performance metrics for libxmtp in the `performance` tab
|
|
352
|
+
*/
|
|
353
|
+
performance?: boolean;
|
|
354
|
+
/**
|
|
355
|
+
* filter for logs
|
|
356
|
+
*/
|
|
357
|
+
level?: LogLevel;
|
|
185
358
|
}
|
|
186
359
|
|
|
187
|
-
export type
|
|
360
|
+
export type MessageSortBy = "sentAt" | "insertedAt";
|
|
361
|
+
|
|
362
|
+
export type DeliveryStatus = "unpublished" | "published" | "failed";
|
|
363
|
+
|
|
364
|
+
export type GroupMessageKind = "application" | "membershipchange";
|
|
365
|
+
|
|
366
|
+
export type SortDirection = "ascending" | "descending";
|
|
367
|
+
|
|
368
|
+
export interface Message {
|
|
369
|
+
id: string;
|
|
370
|
+
sentAtNs: bigint;
|
|
371
|
+
convoId: string;
|
|
372
|
+
senderInboxId: string;
|
|
373
|
+
content: EncodedContent;
|
|
374
|
+
kind: GroupMessageKind;
|
|
375
|
+
deliveryStatus: DeliveryStatus;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export interface MessageWithReactions {
|
|
379
|
+
message: Message;
|
|
380
|
+
reactions: Message[];
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export interface ListMessagesOptions {
|
|
384
|
+
contentTypes?: ContentType[];
|
|
385
|
+
excludeContentTypes?: ContentType[];
|
|
386
|
+
sentBeforeNs?: bigint;
|
|
387
|
+
sentAfterNs?: bigint;
|
|
388
|
+
limit?: bigint;
|
|
389
|
+
deliveryStatus?: DeliveryStatus;
|
|
390
|
+
direction?: SortDirection;
|
|
391
|
+
kind?: GroupMessageKind;
|
|
392
|
+
excludeSenderInboxIds?: string[];
|
|
393
|
+
sortBy?: MessageSortBy;
|
|
394
|
+
insertedAfterNs?: bigint;
|
|
395
|
+
insertedBeforeNs?: bigint;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export interface Lifetime {
|
|
399
|
+
notBefore: bigint;
|
|
400
|
+
notAfter: bigint;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export interface Installation {
|
|
404
|
+
bytes: Uint8Array;
|
|
405
|
+
id: string;
|
|
406
|
+
clientTimestampNs?: bigint;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
export interface InboxState {
|
|
410
|
+
inboxId: string;
|
|
411
|
+
recoveryIdentifier: Identifier;
|
|
412
|
+
installations: Installation[];
|
|
413
|
+
accountIdentifiers: Identifier[];
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
export interface KeyPackageStatus {
|
|
417
|
+
lifetime?: Lifetime;
|
|
418
|
+
validationError?: string;
|
|
419
|
+
}
|
|
188
420
|
|
|
189
421
|
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
190
422
|
|
|
191
|
-
export
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
get imageUrl(): string | undefined;
|
|
198
|
-
set imageUrl(value: string | null | undefined);
|
|
199
|
-
get style(): ActionStyle | undefined;
|
|
200
|
-
set style(value: ActionStyle | null | undefined);
|
|
201
|
-
get expiresAtNs(): bigint | undefined;
|
|
202
|
-
set expiresAtNs(value: bigint | null | undefined);
|
|
423
|
+
export interface GroupMember {
|
|
424
|
+
inboxId: string;
|
|
425
|
+
accountIdentifiers: Identifier[];
|
|
426
|
+
installationIds: string[];
|
|
427
|
+
permissionLevel: PermissionLevel;
|
|
428
|
+
consentState: ConsentState;
|
|
203
429
|
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
getActions(): Action[];
|
|
209
|
-
setActions(actions: Action[]): void;
|
|
210
|
-
constructor(id: string, description: string, expires_at_ns?: bigint | null);
|
|
211
|
-
id: string;
|
|
212
|
-
description: string;
|
|
213
|
-
get expiresAtNs(): bigint | undefined;
|
|
214
|
-
set expiresAtNs(value: bigint | null | undefined);
|
|
430
|
+
|
|
431
|
+
export interface GroupMetadata {
|
|
432
|
+
creatorInboxId: string;
|
|
433
|
+
conversationType: string;
|
|
215
434
|
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
send_group_messages: bigint;
|
|
223
|
-
send_welcome_messages: bigint;
|
|
224
|
-
query_group_messages: bigint;
|
|
225
|
-
query_welcome_messages: bigint;
|
|
226
|
-
subscribe_messages: bigint;
|
|
227
|
-
subscribe_welcomes: bigint;
|
|
435
|
+
|
|
436
|
+
export type PermissionLevel = "member" | "admin" | "superAdmin";
|
|
437
|
+
|
|
438
|
+
export interface SendMessageOpts {
|
|
439
|
+
shouldPush: boolean;
|
|
440
|
+
optimistic?: boolean;
|
|
228
441
|
}
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
content: Uint8Array;
|
|
442
|
+
|
|
443
|
+
export type ConsentState = "unknown" | "allowed" | "denied";
|
|
444
|
+
|
|
445
|
+
export interface Consent {
|
|
446
|
+
entityType: ConsentEntityType;
|
|
447
|
+
state: ConsentState;
|
|
448
|
+
entity: string;
|
|
237
449
|
}
|
|
450
|
+
|
|
451
|
+
export type ConsentEntityType = "groupId" | "inboxId";
|
|
452
|
+
|
|
453
|
+
export interface CreateDMOptions {
|
|
454
|
+
messageDisappearingSettings?: MessageDisappearingSettings;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export type ListConversationsOrderBy = "createdAt" | "lastActivity";
|
|
458
|
+
|
|
459
|
+
export interface ListConversationsOptions {
|
|
460
|
+
consentStates?: ConsentState[];
|
|
461
|
+
conversationType?: ConversationType;
|
|
462
|
+
createdAfterNs?: bigint;
|
|
463
|
+
createdBeforeNs?: bigint;
|
|
464
|
+
includeDuplicateDms?: boolean;
|
|
465
|
+
orderBy?: ListConversationsOrderBy;
|
|
466
|
+
limit?: bigint;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
export interface HmacKey {
|
|
470
|
+
key: Uint8Array;
|
|
471
|
+
epoch: bigint;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export interface CreateGroupOptions {
|
|
475
|
+
permissions?: GroupPermissionsOptions;
|
|
476
|
+
groupName?: string;
|
|
477
|
+
groupImageUrlSquare?: string;
|
|
478
|
+
groupDescription?: string;
|
|
479
|
+
customPermissionPolicySet?: PermissionPolicySet;
|
|
480
|
+
messageDisappearingSettings?: MessageDisappearingSettings;
|
|
481
|
+
appData?: string;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
export type GroupMembershipState = "allowed" | "rejected" | "pending" | "restored" | "pendingRemove";
|
|
485
|
+
|
|
486
|
+
export type ConversationType = "dm" | "group" | "sync" | "oneshot";
|
|
487
|
+
|
|
488
|
+
export interface ConversationDebugInfo {
|
|
489
|
+
epoch: bigint;
|
|
490
|
+
maybeForked: boolean;
|
|
491
|
+
forkDetails: string;
|
|
492
|
+
isCommitLogForked?: boolean;
|
|
493
|
+
localCommitLog: string;
|
|
494
|
+
remoteCommitLog: string;
|
|
495
|
+
cursor: Cursor[];
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export interface Cursor {
|
|
499
|
+
originatorId: number;
|
|
500
|
+
sequenceId: bigint;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
export interface MessageDisappearingSettings {
|
|
504
|
+
fromNs: bigint;
|
|
505
|
+
inNs: bigint;
|
|
506
|
+
}
|
|
507
|
+
|
|
238
508
|
export class AuthHandle {
|
|
239
509
|
free(): void;
|
|
240
510
|
[Symbol.dispose](): void;
|
|
@@ -246,18 +516,29 @@ export class Client {
|
|
|
246
516
|
private constructor();
|
|
247
517
|
free(): void;
|
|
248
518
|
[Symbol.dispose](): void;
|
|
249
|
-
registerIdentity(
|
|
250
|
-
applySignatureRequest(
|
|
251
|
-
signWithInstallationKey(
|
|
519
|
+
registerIdentity(signatureRequest: SignatureRequestHandle): Promise<void>;
|
|
520
|
+
applySignatureRequest(signatureRequest: SignatureRequestHandle): Promise<void>;
|
|
521
|
+
signWithInstallationKey(signatureText: string): Uint8Array;
|
|
252
522
|
createInboxSignatureRequest(): SignatureRequestHandle | undefined;
|
|
253
|
-
addWalletSignatureRequest(
|
|
523
|
+
addWalletSignatureRequest(newIdentifier: Identifier): Promise<SignatureRequestHandle>;
|
|
254
524
|
revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
255
|
-
verifySignedWithInstallationKey(
|
|
256
|
-
revokeInstallationsSignatureRequest(
|
|
257
|
-
changeRecoveryIdentifierSignatureRequest(
|
|
525
|
+
verifySignedWithInstallationKey(signatureText: string, signatureBytes: Uint8Array): void;
|
|
526
|
+
revokeInstallationsSignatureRequest(installationIds: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
527
|
+
changeRecoveryIdentifierSignatureRequest(newRecoveryIdentifier: Identifier): Promise<SignatureRequestHandle>;
|
|
258
528
|
revokeAllOtherInstallationsSignatureRequest(): Promise<SignatureRequestHandle | undefined>;
|
|
259
|
-
|
|
260
|
-
|
|
529
|
+
/**
|
|
530
|
+
* Output booleans should be zipped with the index of input identifiers
|
|
531
|
+
*/
|
|
532
|
+
canMessage(accountIdentifiers: Identifier[]): Promise<any>;
|
|
533
|
+
conversations(): Conversations;
|
|
534
|
+
apiStatistics(): ApiStats;
|
|
535
|
+
syncPreferences(): Promise<GroupSyncSummary>;
|
|
536
|
+
sendSyncRequest(): Promise<void>;
|
|
537
|
+
clearAllStatistics(): void;
|
|
538
|
+
apiIdentityStatistics(): IdentityStats;
|
|
539
|
+
apiAggregateStatistics(): string;
|
|
540
|
+
inboxStateFromInboxIds(inboxIds: string[], refreshFromNetwork: boolean): Promise<InboxState[]>;
|
|
541
|
+
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
261
542
|
/**
|
|
262
543
|
*
|
|
263
544
|
* * Get the client's inbox state.
|
|
@@ -266,8 +547,8 @@ export class Client {
|
|
|
266
547
|
* * Otherwise, the state will be read from the local database.
|
|
267
548
|
*
|
|
268
549
|
*/
|
|
269
|
-
inboxState(
|
|
270
|
-
getLatestInboxState(
|
|
550
|
+
inboxState(refreshFromNetwork: boolean): Promise<InboxState>;
|
|
551
|
+
getLatestInboxState(inboxId: string): Promise<InboxState>;
|
|
271
552
|
/**
|
|
272
553
|
*
|
|
273
554
|
* * Get key package statuses for a list of installation IDs.
|
|
@@ -275,23 +556,9 @@ export class Client {
|
|
|
275
556
|
* * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
|
|
276
557
|
*
|
|
277
558
|
*/
|
|
278
|
-
getKeyPackageStatusesForInstallationIds(
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
*/
|
|
282
|
-
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
283
|
-
conversations(): Conversations;
|
|
284
|
-
apiStatistics(): ApiStats;
|
|
285
|
-
deleteMessage(message_id: Uint8Array): number;
|
|
286
|
-
messageV2(message_id: Uint8Array): Promise<DecodedMessage>;
|
|
287
|
-
syncPreferences(): Promise<GroupSyncSummary>;
|
|
288
|
-
sendSyncRequest(): Promise<void>;
|
|
289
|
-
clearAllStatistics(): void;
|
|
290
|
-
uploadDebugArchive(server_url: string): Promise<string>;
|
|
291
|
-
apiIdentityStatistics(): IdentityStats;
|
|
292
|
-
apiAggregateStatistics(): string;
|
|
293
|
-
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
294
|
-
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
559
|
+
getKeyPackageStatusesForInstallationIds(installationIds: string[]): Promise<any>;
|
|
560
|
+
getConsentState(entityType: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
561
|
+
setConsentStates(records: Consent[]): Promise<void>;
|
|
295
562
|
readonly appVersion: string;
|
|
296
563
|
readonly isRegistered: boolean;
|
|
297
564
|
readonly installationId: string;
|
|
@@ -300,23 +567,6 @@ export class Client {
|
|
|
300
567
|
readonly installationIdBytes: Uint8Array;
|
|
301
568
|
readonly inboxId: string;
|
|
302
569
|
}
|
|
303
|
-
export class Consent {
|
|
304
|
-
free(): void;
|
|
305
|
-
[Symbol.dispose](): void;
|
|
306
|
-
constructor(entity_type: ConsentEntityType, state: ConsentState, entity: string);
|
|
307
|
-
entityType: ConsentEntityType;
|
|
308
|
-
state: ConsentState;
|
|
309
|
-
entity: string;
|
|
310
|
-
}
|
|
311
|
-
export class ContentTypeId {
|
|
312
|
-
free(): void;
|
|
313
|
-
[Symbol.dispose](): void;
|
|
314
|
-
constructor(authority_id: string, type_id: string, version_major: number, version_minor: number);
|
|
315
|
-
authorityId: string;
|
|
316
|
-
typeId: string;
|
|
317
|
-
versionMajor: number;
|
|
318
|
-
versionMinor: number;
|
|
319
|
-
}
|
|
320
570
|
export class Conversation {
|
|
321
571
|
private constructor();
|
|
322
572
|
free(): void;
|
|
@@ -324,23 +574,29 @@ export class Conversation {
|
|
|
324
574
|
adminList(): string[];
|
|
325
575
|
getDebugInfo(): Promise<any>;
|
|
326
576
|
groupName(): string;
|
|
327
|
-
|
|
577
|
+
sendReply(reply: Reply, optimistic?: boolean | null): Promise<string>;
|
|
578
|
+
addMembers(accountIdentifiers: Identifier[]): Promise<void>;
|
|
328
579
|
leaveGroup(): Promise<void>;
|
|
580
|
+
sendIntent(intent: Intent, optimistic?: boolean | null): Promise<string>;
|
|
329
581
|
listMembers(): Promise<any>;
|
|
330
|
-
removeAdmin(
|
|
582
|
+
removeAdmin(inboxId: string): Promise<void>;
|
|
583
|
+
sendActions(actions: Actions, optimistic?: boolean | null): Promise<string>;
|
|
331
584
|
createdAtNs(): bigint;
|
|
332
585
|
findMessages(opts?: ListMessagesOptions | null): Promise<Message[]>;
|
|
333
586
|
getHmacKeys(): any;
|
|
587
|
+
sendMarkdown(markdown: string, optimistic?: boolean | null): Promise<string>;
|
|
588
|
+
sendReaction(reaction: Reaction, optimistic?: boolean | null): Promise<string>;
|
|
334
589
|
countMessages(opts?: ListMessagesOptions | null): Promise<bigint>;
|
|
335
590
|
groupMetadata(): Promise<GroupMetadata>;
|
|
336
|
-
isSuperAdmin(
|
|
337
|
-
removeMembers(
|
|
338
|
-
addSuperAdmin(
|
|
591
|
+
isSuperAdmin(inboxId: string): boolean;
|
|
592
|
+
removeMembers(accountIdentifiers: Identifier[]): Promise<void>;
|
|
593
|
+
addSuperAdmin(inboxId: string): Promise<void>;
|
|
594
|
+
sendAttachment(attachment: Attachment, optimistic?: boolean | null): Promise<string>;
|
|
339
595
|
/**
|
|
340
596
|
* send a message without immediately publishing to the delivery service.
|
|
341
597
|
*/
|
|
342
|
-
sendOptimistic(
|
|
343
|
-
updateAppData(
|
|
598
|
+
sendOptimistic(encodedContent: EncodedContent, opts: SendMessageOpts): string;
|
|
599
|
+
updateAppData(appData: string): Promise<void>;
|
|
344
600
|
dmPeerInboxId(): string;
|
|
345
601
|
membershipState(): GroupMembershipState;
|
|
346
602
|
/**
|
|
@@ -351,52 +607,45 @@ export class Conversation {
|
|
|
351
607
|
addedByInboxId(): string;
|
|
352
608
|
groupDescription(): string;
|
|
353
609
|
groupPermissions(): GroupPermissions;
|
|
354
|
-
|
|
610
|
+
sendReadReceipt(optimistic?: boolean | null): Promise<string>;
|
|
611
|
+
updateGroupName(groupName: string): Promise<void>;
|
|
355
612
|
findDuplicateDms(): Promise<Conversation[]>;
|
|
356
613
|
pausedForVersion(): string | undefined;
|
|
357
|
-
removeSuperAdmin(
|
|
614
|
+
removeSuperAdmin(inboxId: string): Promise<void>;
|
|
358
615
|
getLastReadTimes(): Promise<any>;
|
|
359
616
|
findEnrichedMessages(opts?: ListMessagesOptions | null): Promise<DecodedMessage[]>;
|
|
360
617
|
groupImageUrlSquare(): string;
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
618
|
+
sendRemoteAttachment(remoteAttachment: RemoteAttachment, optimistic?: boolean | null): Promise<string>;
|
|
619
|
+
sendWalletSendCalls(walletSendCalls: WalletSendCalls, optimistic?: boolean | null): Promise<string>;
|
|
620
|
+
addMembersByInboxId(inboxIds: string[]): Promise<void>;
|
|
621
|
+
updateGroupDescription(groupDescription: string): Promise<void>;
|
|
622
|
+
updatePermissionPolicy(permissionUpdateType: PermissionUpdateType, permissionPolicyOption: PermissionPolicy, metadataField?: MetadataField | null): Promise<void>;
|
|
623
|
+
removeMembersByInboxId(inboxIds: string[]): Promise<void>;
|
|
624
|
+
sendTransactionReference(transactionReference: TransactionReference, optimistic?: boolean | null): Promise<string>;
|
|
365
625
|
findMessagesWithReactions(opts?: ListMessagesOptions | null): Promise<MessageWithReactions[]>;
|
|
626
|
+
sendMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment, optimistic?: boolean | null): Promise<string>;
|
|
366
627
|
messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
367
|
-
updateGroupImageUrlSquare(
|
|
628
|
+
updateGroupImageUrlSquare(groupImageUrlSquare: string): Promise<void>;
|
|
368
629
|
id(): string;
|
|
369
|
-
processStreamedGroupMessage(
|
|
630
|
+
processStreamedGroupMessage(envelopeBytes: Uint8Array): Promise<Message[]>;
|
|
370
631
|
isMessageDisappearingEnabled(): boolean;
|
|
371
632
|
removeMessageDisappearingSettings(): Promise<void>;
|
|
372
633
|
updateMessageDisappearingSettings(settings: MessageDisappearingSettings): Promise<void>;
|
|
373
|
-
send(
|
|
634
|
+
send(encodedContent: EncodedContent, opts: SendMessageOpts): Promise<string>;
|
|
374
635
|
sync(): Promise<void>;
|
|
375
636
|
stream(callback: any): StreamCloser;
|
|
376
637
|
appData(): string;
|
|
377
|
-
isAdmin(
|
|
378
|
-
addAdmin(
|
|
638
|
+
isAdmin(inboxId: string): boolean;
|
|
639
|
+
addAdmin(inboxId: string): Promise<void>;
|
|
379
640
|
isActive(): boolean;
|
|
641
|
+
sendText(text: string, optimistic?: boolean | null): Promise<string>;
|
|
380
642
|
consentState(): ConsentState;
|
|
381
643
|
updateConsentState(state: ConsentState): void;
|
|
382
644
|
}
|
|
383
|
-
export class ConversationDebugInfo {
|
|
384
|
-
private constructor();
|
|
385
|
-
free(): void;
|
|
386
|
-
[Symbol.dispose](): void;
|
|
387
|
-
epoch: bigint;
|
|
388
|
-
maybeForked: boolean;
|
|
389
|
-
forkDetails: string;
|
|
390
|
-
get isCommitLogForked(): boolean | undefined;
|
|
391
|
-
set isCommitLogForked(value: boolean | null | undefined);
|
|
392
|
-
localCommitLog: string;
|
|
393
|
-
remoteCommitLog: string;
|
|
394
|
-
cursor: XmtpCursor[];
|
|
395
|
-
}
|
|
396
645
|
export class ConversationListItem {
|
|
397
646
|
free(): void;
|
|
398
647
|
[Symbol.dispose](): void;
|
|
399
|
-
constructor(conversation: Conversation,
|
|
648
|
+
constructor(conversation: Conversation, lastMessage?: Message | null, isCommitLogForked?: boolean | null);
|
|
400
649
|
conversation: Conversation;
|
|
401
650
|
get lastMessage(): Message | undefined;
|
|
402
651
|
set lastMessage(value: Message | null | undefined);
|
|
@@ -407,210 +656,29 @@ export class Conversations {
|
|
|
407
656
|
private constructor();
|
|
408
657
|
free(): void;
|
|
409
658
|
[Symbol.dispose](): void;
|
|
410
|
-
createGroup(
|
|
659
|
+
createGroup(accountIdentifiers: Identifier[], options?: CreateGroupOptions | null): Promise<Conversation>;
|
|
411
660
|
getHmacKeys(): any;
|
|
412
661
|
streamConsent(callback: any): StreamCloser;
|
|
413
|
-
findGroupById(
|
|
414
|
-
createDm(
|
|
415
|
-
findMessageById(
|
|
662
|
+
findGroupById(groupId: string): Conversation;
|
|
663
|
+
createDm(accountIdentifier: Identifier, options?: CreateDMOptions | null): Promise<Conversation>;
|
|
664
|
+
findMessageById(messageId: string): Message;
|
|
416
665
|
streamPreferences(callback: any): StreamCloser;
|
|
417
|
-
streamAllMessages(callback: any,
|
|
418
|
-
|
|
666
|
+
streamAllMessages(callback: any, conversationType?: ConversationType | null, consentStates?: ConsentState[] | null): StreamCloser;
|
|
667
|
+
deleteMessageById(messageId: string): number;
|
|
668
|
+
syncAllConversations(consentStates?: ConsentState[] | null): Promise<GroupSyncSummary>;
|
|
419
669
|
createGroupOptimistic(options?: CreateGroupOptions | null): Conversation;
|
|
420
670
|
streamMessageDeletions(callback: any): StreamCloser;
|
|
421
|
-
createGroupByInboxIds(
|
|
422
|
-
findDmByTargetInboxId(
|
|
671
|
+
createGroupByInboxIds(inboxIds: string[], options?: CreateGroupOptions | null): Promise<Conversation>;
|
|
672
|
+
findDmByTargetInboxId(targetInboxId: string): Conversation;
|
|
423
673
|
/**
|
|
424
674
|
* Returns a 'ReadableStream' of Conversations
|
|
425
675
|
*/
|
|
426
|
-
streamLocal(
|
|
427
|
-
|
|
676
|
+
streamLocal(conversationType?: ConversationType | null): Promise<ReadableStream>;
|
|
677
|
+
findEnrichedMessageById(messageId: string): Promise<DecodedMessage>;
|
|
678
|
+
createDmByInboxId(inboxId: string, options?: CreateDMOptions | null): Promise<Conversation>;
|
|
428
679
|
list(opts?: ListConversationsOptions | null): Array<any>;
|
|
429
680
|
sync(): Promise<void>;
|
|
430
|
-
stream(callback: any,
|
|
431
|
-
}
|
|
432
|
-
export class CreateDMOptions {
|
|
433
|
-
free(): void;
|
|
434
|
-
[Symbol.dispose](): void;
|
|
435
|
-
constructor(message_disappearing_settings?: MessageDisappearingSettings | null);
|
|
436
|
-
get messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
437
|
-
set messageDisappearingSettings(value: MessageDisappearingSettings | null | undefined);
|
|
438
|
-
}
|
|
439
|
-
export class CreateGroupOptions {
|
|
440
|
-
free(): void;
|
|
441
|
-
[Symbol.dispose](): void;
|
|
442
|
-
constructor(permissions?: GroupPermissionsOptions | null, group_name?: string | null, group_image_url_square?: string | null, group_description?: string | null, custom_permission_policy_set?: PermissionPolicySet | null, message_disappearing_settings?: MessageDisappearingSettings | null, app_data?: string | null);
|
|
443
|
-
get permissions(): GroupPermissionsOptions | undefined;
|
|
444
|
-
set permissions(value: GroupPermissionsOptions | null | undefined);
|
|
445
|
-
get groupName(): string | undefined;
|
|
446
|
-
set groupName(value: string | null | undefined);
|
|
447
|
-
get groupImageUrlSquare(): string | undefined;
|
|
448
|
-
set groupImageUrlSquare(value: string | null | undefined);
|
|
449
|
-
get groupDescription(): string | undefined;
|
|
450
|
-
set groupDescription(value: string | null | undefined);
|
|
451
|
-
get customPermissionPolicySet(): PermissionPolicySet | undefined;
|
|
452
|
-
set customPermissionPolicySet(value: PermissionPolicySet | null | undefined);
|
|
453
|
-
get messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
454
|
-
set messageDisappearingSettings(value: MessageDisappearingSettings | null | undefined);
|
|
455
|
-
get appData(): string | undefined;
|
|
456
|
-
set appData(value: string | null | undefined);
|
|
457
|
-
}
|
|
458
|
-
export class Credential {
|
|
459
|
-
free(): void;
|
|
460
|
-
[Symbol.dispose](): void;
|
|
461
|
-
constructor(name: string | null | undefined, value: string, expires_at_seconds: bigint);
|
|
462
|
-
}
|
|
463
|
-
export class DecodedMessage {
|
|
464
|
-
private constructor();
|
|
465
|
-
free(): void;
|
|
466
|
-
[Symbol.dispose](): void;
|
|
467
|
-
id: Uint8Array;
|
|
468
|
-
sent_at_ns: bigint;
|
|
469
|
-
kind: GroupMessageKind;
|
|
470
|
-
sender_installation_id: Uint8Array;
|
|
471
|
-
sender_inbox_id: string;
|
|
472
|
-
content_type: ContentTypeId;
|
|
473
|
-
conversation_id: Uint8Array;
|
|
474
|
-
content: DecodedMessageContent;
|
|
475
|
-
get fallback_text(): string | undefined;
|
|
476
|
-
set fallback_text(value: string | null | undefined);
|
|
477
|
-
reactions: DecodedMessage[];
|
|
478
|
-
delivery_status: DeliveryStatus;
|
|
479
|
-
num_replies: bigint;
|
|
480
|
-
}
|
|
481
|
-
export class DecodedMessageContent {
|
|
482
|
-
private constructor();
|
|
483
|
-
free(): void;
|
|
484
|
-
[Symbol.dispose](): void;
|
|
485
|
-
asActions(): Actions | undefined;
|
|
486
|
-
asReaction(): ReactionPayload | undefined;
|
|
487
|
-
asAttachment(): Attachment | undefined;
|
|
488
|
-
asReadReceipt(): ReadReceipt | undefined;
|
|
489
|
-
asGroupUpdated(): GroupUpdated | undefined;
|
|
490
|
-
asLeaveRequest(): LeaveRequest | undefined;
|
|
491
|
-
asRemoteAttachment(): RemoteAttachment | undefined;
|
|
492
|
-
asWalletSendCalls(): any;
|
|
493
|
-
asTransactionReference(): TransactionReference | undefined;
|
|
494
|
-
asMultiRemoteAttachment(): MultiRemoteAttachment | undefined;
|
|
495
|
-
asText(): TextContent | undefined;
|
|
496
|
-
asReply(): EnrichedReply | undefined;
|
|
497
|
-
asCustom(): EncodedContent | undefined;
|
|
498
|
-
asIntent(): Intent | undefined;
|
|
499
|
-
readonly payloadType: PayloadType;
|
|
500
|
-
}
|
|
501
|
-
export class EncodedContent {
|
|
502
|
-
free(): void;
|
|
503
|
-
[Symbol.dispose](): void;
|
|
504
|
-
constructor(type: ContentTypeId | null | undefined, parameters: any, fallback: string | null | undefined, compression: number | null | undefined, content: Uint8Array);
|
|
505
|
-
get type(): ContentTypeId | undefined;
|
|
506
|
-
set type(value: ContentTypeId | null | undefined);
|
|
507
|
-
parameters: any;
|
|
508
|
-
get fallback(): string | undefined;
|
|
509
|
-
set fallback(value: string | null | undefined);
|
|
510
|
-
get compression(): number | undefined;
|
|
511
|
-
set compression(value: number | null | undefined);
|
|
512
|
-
content: Uint8Array;
|
|
513
|
-
}
|
|
514
|
-
export class EnrichedReply {
|
|
515
|
-
private constructor();
|
|
516
|
-
free(): void;
|
|
517
|
-
[Symbol.dispose](): void;
|
|
518
|
-
readonly inReplyTo: DecodedMessage | undefined;
|
|
519
|
-
readonly referenceId: string;
|
|
520
|
-
readonly content: DecodedMessageContent;
|
|
521
|
-
}
|
|
522
|
-
export class GroupMember {
|
|
523
|
-
free(): void;
|
|
524
|
-
[Symbol.dispose](): void;
|
|
525
|
-
constructor(inboxId: string, accountIdentifiers: Identifier[], installationIds: string[], permissionLevel: PermissionLevel, consentState: ConsentState);
|
|
526
|
-
inboxId: string;
|
|
527
|
-
accountIdentifiers: Identifier[];
|
|
528
|
-
installationIds: string[];
|
|
529
|
-
permissionLevel: PermissionLevel;
|
|
530
|
-
consentState: ConsentState;
|
|
531
|
-
}
|
|
532
|
-
export class GroupMetadata {
|
|
533
|
-
private constructor();
|
|
534
|
-
free(): void;
|
|
535
|
-
[Symbol.dispose](): void;
|
|
536
|
-
creatorInboxId(): string;
|
|
537
|
-
conversationType(): string;
|
|
538
|
-
}
|
|
539
|
-
export class GroupPermissions {
|
|
540
|
-
private constructor();
|
|
541
|
-
free(): void;
|
|
542
|
-
[Symbol.dispose](): void;
|
|
543
|
-
policySet(): PermissionPolicySet;
|
|
544
|
-
policyType(): GroupPermissionsOptions;
|
|
545
|
-
}
|
|
546
|
-
export class GroupSyncSummary {
|
|
547
|
-
free(): void;
|
|
548
|
-
[Symbol.dispose](): void;
|
|
549
|
-
constructor(num_eligible: number, num_synced: number);
|
|
550
|
-
numEligible: number;
|
|
551
|
-
numSynced: number;
|
|
552
|
-
}
|
|
553
|
-
export class GroupUpdated {
|
|
554
|
-
private constructor();
|
|
555
|
-
free(): void;
|
|
556
|
-
[Symbol.dispose](): void;
|
|
557
|
-
initiatedByInboxId: string;
|
|
558
|
-
addedInboxes: Inbox[];
|
|
559
|
-
removedInboxes: Inbox[];
|
|
560
|
-
leftInboxes: Inbox[];
|
|
561
|
-
metadataFieldChanges: MetadataFieldChange[];
|
|
562
|
-
addedAdminInboxes: Inbox[];
|
|
563
|
-
removedAdminInboxes: Inbox[];
|
|
564
|
-
addedSuperAdminInboxes: Inbox[];
|
|
565
|
-
removedSuperAdminInboxes: Inbox[];
|
|
566
|
-
}
|
|
567
|
-
export class HmacKey {
|
|
568
|
-
private constructor();
|
|
569
|
-
free(): void;
|
|
570
|
-
[Symbol.dispose](): void;
|
|
571
|
-
key: Uint8Array;
|
|
572
|
-
epoch: bigint;
|
|
573
|
-
}
|
|
574
|
-
export class IdentityStats {
|
|
575
|
-
private constructor();
|
|
576
|
-
free(): void;
|
|
577
|
-
[Symbol.dispose](): void;
|
|
578
|
-
publish_identity_update: bigint;
|
|
579
|
-
get_identity_updates_v2: bigint;
|
|
580
|
-
get_inbox_ids: bigint;
|
|
581
|
-
verify_smart_contract_wallet_signature: bigint;
|
|
582
|
-
}
|
|
583
|
-
export class Inbox {
|
|
584
|
-
private constructor();
|
|
585
|
-
free(): void;
|
|
586
|
-
[Symbol.dispose](): void;
|
|
587
|
-
inboxId: string;
|
|
588
|
-
}
|
|
589
|
-
export class InboxState {
|
|
590
|
-
free(): void;
|
|
591
|
-
[Symbol.dispose](): void;
|
|
592
|
-
constructor(inbox_id: string, recovery_identifier: Identifier, installations: Installation[], account_identifiers: Identifier[]);
|
|
593
|
-
inboxId: string;
|
|
594
|
-
recoveryIdentifier: Identifier;
|
|
595
|
-
installations: Installation[];
|
|
596
|
-
accountIdentifiers: Identifier[];
|
|
597
|
-
}
|
|
598
|
-
export class Installation {
|
|
599
|
-
free(): void;
|
|
600
|
-
[Symbol.dispose](): void;
|
|
601
|
-
constructor(bytes: Uint8Array, id: string, client_timestamp_ns?: bigint | null);
|
|
602
|
-
bytes: Uint8Array;
|
|
603
|
-
id: string;
|
|
604
|
-
get clientTimestampNs(): bigint | undefined;
|
|
605
|
-
set clientTimestampNs(value: bigint | null | undefined);
|
|
606
|
-
}
|
|
607
|
-
export class Intent {
|
|
608
|
-
free(): void;
|
|
609
|
-
[Symbol.dispose](): void;
|
|
610
|
-
constructor(id: string, action_id: string, metadata: any);
|
|
611
|
-
id: string;
|
|
612
|
-
actionId: string;
|
|
613
|
-
metadata: any;
|
|
681
|
+
stream(callback: any, conversationType?: ConversationType | null): StreamCloser;
|
|
614
682
|
}
|
|
615
683
|
export class IntoUnderlyingByteSource {
|
|
616
684
|
private constructor();
|
|
@@ -637,281 +705,13 @@ export class IntoUnderlyingSource {
|
|
|
637
705
|
pull(controller: ReadableStreamDefaultController): Promise<any>;
|
|
638
706
|
cancel(): void;
|
|
639
707
|
}
|
|
640
|
-
export class KeyPackageStatus {
|
|
641
|
-
private constructor();
|
|
642
|
-
free(): void;
|
|
643
|
-
[Symbol.dispose](): void;
|
|
644
|
-
get lifetime(): Lifetime | undefined;
|
|
645
|
-
set lifetime(value: Lifetime | null | undefined);
|
|
646
|
-
get validationError(): string | undefined;
|
|
647
|
-
set validationError(value: string | null | undefined);
|
|
648
|
-
}
|
|
649
|
-
export class LeaveRequest {
|
|
650
|
-
private constructor();
|
|
651
|
-
free(): void;
|
|
652
|
-
[Symbol.dispose](): void;
|
|
653
|
-
get authenticatedNote(): Uint8Array | undefined;
|
|
654
|
-
set authenticatedNote(value: Uint8Array | null | undefined);
|
|
655
|
-
}
|
|
656
|
-
export class Lifetime {
|
|
657
|
-
private constructor();
|
|
658
|
-
free(): void;
|
|
659
|
-
[Symbol.dispose](): void;
|
|
660
|
-
not_before: bigint;
|
|
661
|
-
not_after: bigint;
|
|
662
|
-
}
|
|
663
|
-
export class ListConversationsOptions {
|
|
664
|
-
free(): void;
|
|
665
|
-
[Symbol.dispose](): void;
|
|
666
|
-
constructor(consent_states?: any[] | null, conversation_type?: ConversationType | null, created_after_ns?: bigint | null, created_before_ns?: bigint | null, include_duplicate_dms?: boolean | null, limit?: bigint | null, order_by?: ListConversationsOrderBy | null);
|
|
667
|
-
get consentStates(): any[] | undefined;
|
|
668
|
-
set consentStates(value: any[] | null | undefined);
|
|
669
|
-
get conversationType(): ConversationType | undefined;
|
|
670
|
-
set conversationType(value: ConversationType | null | undefined);
|
|
671
|
-
get createdAfterNs(): bigint | undefined;
|
|
672
|
-
set createdAfterNs(value: bigint | null | undefined);
|
|
673
|
-
get createdBeforeNs(): bigint | undefined;
|
|
674
|
-
set createdBeforeNs(value: bigint | null | undefined);
|
|
675
|
-
get includeDuplicateDms(): boolean | undefined;
|
|
676
|
-
set includeDuplicateDms(value: boolean | null | undefined);
|
|
677
|
-
get orderBy(): ListConversationsOrderBy | undefined;
|
|
678
|
-
set orderBy(value: ListConversationsOrderBy | null | undefined);
|
|
679
|
-
get limit(): bigint | undefined;
|
|
680
|
-
set limit(value: bigint | null | undefined);
|
|
681
|
-
}
|
|
682
|
-
export class ListMessagesOptions {
|
|
683
|
-
free(): void;
|
|
684
|
-
[Symbol.dispose](): void;
|
|
685
|
-
constructor(sent_before_ns?: bigint | null, sent_after_ns?: bigint | null, limit?: bigint | null, delivery_status?: DeliveryStatus | null, direction?: SortDirection | null, content_types?: any[] | null, exclude_content_types?: any[] | null, kind?: GroupMessageKind | null, exclude_sender_inbox_ids?: string[] | null, sort_by?: MessageSortBy | null, inserted_after_ns?: bigint | null, inserted_before_ns?: bigint | null);
|
|
686
|
-
get contentTypes(): any[] | undefined;
|
|
687
|
-
set contentTypes(value: any[] | null | undefined);
|
|
688
|
-
get excludeContentTypes(): any[] | undefined;
|
|
689
|
-
set excludeContentTypes(value: any[] | null | undefined);
|
|
690
|
-
get sentBeforeNs(): bigint | undefined;
|
|
691
|
-
set sentBeforeNs(value: bigint | null | undefined);
|
|
692
|
-
get sentAfterNs(): bigint | undefined;
|
|
693
|
-
set sentAfterNs(value: bigint | null | undefined);
|
|
694
|
-
get limit(): bigint | undefined;
|
|
695
|
-
set limit(value: bigint | null | undefined);
|
|
696
|
-
get deliveryStatus(): DeliveryStatus | undefined;
|
|
697
|
-
set deliveryStatus(value: DeliveryStatus | null | undefined);
|
|
698
|
-
get direction(): SortDirection | undefined;
|
|
699
|
-
set direction(value: SortDirection | null | undefined);
|
|
700
|
-
get kind(): GroupMessageKind | undefined;
|
|
701
|
-
set kind(value: GroupMessageKind | null | undefined);
|
|
702
|
-
get excludeSenderInboxIds(): string[] | undefined;
|
|
703
|
-
set excludeSenderInboxIds(value: string[] | null | undefined);
|
|
704
|
-
get sortBy(): MessageSortBy | undefined;
|
|
705
|
-
set sortBy(value: MessageSortBy | null | undefined);
|
|
706
|
-
get insertedAfterNs(): bigint | undefined;
|
|
707
|
-
set insertedAfterNs(value: bigint | null | undefined);
|
|
708
|
-
get insertedBeforeNs(): bigint | undefined;
|
|
709
|
-
set insertedBeforeNs(value: bigint | null | undefined);
|
|
710
|
-
}
|
|
711
|
-
/**
|
|
712
|
-
* Specify options for the logger
|
|
713
|
-
*/
|
|
714
|
-
export class LogOptions {
|
|
715
|
-
free(): void;
|
|
716
|
-
[Symbol.dispose](): void;
|
|
717
|
-
constructor(structured: boolean, performance: boolean, level?: LogLevel | null);
|
|
718
|
-
/**
|
|
719
|
-
* enable structured JSON logging to stdout.Useful for third-party log viewers
|
|
720
|
-
*/
|
|
721
|
-
structured: boolean;
|
|
722
|
-
/**
|
|
723
|
-
* enable performance metrics for libxmtp in the `performance` tab
|
|
724
|
-
*/
|
|
725
|
-
performance: boolean;
|
|
726
|
-
/**
|
|
727
|
-
* filter for logs
|
|
728
|
-
*/
|
|
729
|
-
get level(): LogLevel | undefined;
|
|
730
|
-
/**
|
|
731
|
-
* filter for logs
|
|
732
|
-
*/
|
|
733
|
-
set level(value: LogLevel | null | undefined);
|
|
734
|
-
}
|
|
735
|
-
export class Message {
|
|
736
|
-
free(): void;
|
|
737
|
-
[Symbol.dispose](): void;
|
|
738
|
-
constructor(id: string, sent_at_ns: bigint, convo_id: string, sender_inbox_id: string, content: EncodedContent, kind: GroupMessageKind, delivery_status: DeliveryStatus);
|
|
739
|
-
id: string;
|
|
740
|
-
sentAtNs: bigint;
|
|
741
|
-
convoId: string;
|
|
742
|
-
senderInboxId: string;
|
|
743
|
-
content: EncodedContent;
|
|
744
|
-
kind: GroupMessageKind;
|
|
745
|
-
deliveryStatus: DeliveryStatus;
|
|
746
|
-
}
|
|
747
|
-
export class MessageDisappearingSettings {
|
|
748
|
-
free(): void;
|
|
749
|
-
[Symbol.dispose](): void;
|
|
750
|
-
constructor(from_ns: bigint, in_ns: bigint);
|
|
751
|
-
fromNs: bigint;
|
|
752
|
-
inNs: bigint;
|
|
753
|
-
}
|
|
754
|
-
export class MessageWithReactions {
|
|
755
|
-
private constructor();
|
|
756
|
-
free(): void;
|
|
757
|
-
[Symbol.dispose](): void;
|
|
758
|
-
message: Message;
|
|
759
|
-
reactions: Message[];
|
|
760
|
-
}
|
|
761
|
-
export class MetadataFieldChange {
|
|
762
|
-
private constructor();
|
|
763
|
-
free(): void;
|
|
764
|
-
[Symbol.dispose](): void;
|
|
765
|
-
fieldName: string;
|
|
766
|
-
get oldValue(): string | undefined;
|
|
767
|
-
set oldValue(value: string | null | undefined);
|
|
768
|
-
get newValue(): string | undefined;
|
|
769
|
-
set newValue(value: string | null | undefined);
|
|
770
|
-
}
|
|
771
|
-
export class MultiRemoteAttachment {
|
|
772
|
-
free(): void;
|
|
773
|
-
[Symbol.dispose](): void;
|
|
774
|
-
constructor(attachments: RemoteAttachmentInfo[]);
|
|
775
|
-
attachments: RemoteAttachmentInfo[];
|
|
776
|
-
}
|
|
777
|
-
export class Opfs {
|
|
778
|
-
private constructor();
|
|
779
|
-
free(): void;
|
|
780
|
-
[Symbol.dispose](): void;
|
|
781
|
-
static wipeFiles(): Promise<void>;
|
|
782
|
-
/**
|
|
783
|
-
* export db file with 'name'
|
|
784
|
-
*/
|
|
785
|
-
static exportFile(name: string): Uint8Array;
|
|
786
|
-
/**
|
|
787
|
-
* Adds n entries to the current pool.
|
|
788
|
-
*/
|
|
789
|
-
static addCapacity(n: number): Promise<number>;
|
|
790
|
-
static getCapacity(): number;
|
|
791
|
-
/**
|
|
792
|
-
* get number of files in pool
|
|
793
|
-
*/
|
|
794
|
-
static getFileCount(): number;
|
|
795
|
-
/**
|
|
796
|
-
* Removes up to n entries from the pool, with the caveat that it can only remove currently-unused entries.
|
|
797
|
-
*/
|
|
798
|
-
static reduceCapacity(n: number): Promise<number>;
|
|
799
|
-
static init_sqlite_opfs(): Promise<void>;
|
|
800
|
-
/**
|
|
801
|
-
* list files in current pool
|
|
802
|
-
*/
|
|
803
|
-
static getFileNames(): string[];
|
|
804
|
-
/**
|
|
805
|
-
* If a virtual file exists with the given name, disassociates it from the pool and returns true, else returns false without side effects.
|
|
806
|
-
*/
|
|
807
|
-
static rm(name: string): boolean;
|
|
808
|
-
/**
|
|
809
|
-
* gets the error from Opfs, if any.
|
|
810
|
-
*/
|
|
811
|
-
static error(): string | undefined;
|
|
812
|
-
/**
|
|
813
|
-
* Check if the global OPFS object has been initialized
|
|
814
|
-
*/
|
|
815
|
-
static exists(): boolean;
|
|
816
|
-
/**
|
|
817
|
-
* import a db file at 'path'
|
|
818
|
-
*/
|
|
819
|
-
static importDb(path: string, bytes: Uint8Array): void;
|
|
820
|
-
}
|
|
821
|
-
export class PasskeySignature {
|
|
822
|
-
private constructor();
|
|
823
|
-
free(): void;
|
|
824
|
-
[Symbol.dispose](): void;
|
|
825
|
-
}
|
|
826
|
-
export class PermissionPolicySet {
|
|
827
|
-
free(): void;
|
|
828
|
-
[Symbol.dispose](): void;
|
|
829
|
-
constructor(add_member_policy: PermissionPolicy, remove_member_policy: PermissionPolicy, add_admin_policy: PermissionPolicy, remove_admin_policy: PermissionPolicy, update_group_name_policy: PermissionPolicy, update_group_description_policy: PermissionPolicy, update_group_image_url_square_policy: PermissionPolicy, update_message_disappearing_policy: PermissionPolicy);
|
|
830
|
-
addMemberPolicy: PermissionPolicy;
|
|
831
|
-
removeMemberPolicy: PermissionPolicy;
|
|
832
|
-
addAdminPolicy: PermissionPolicy;
|
|
833
|
-
removeAdminPolicy: PermissionPolicy;
|
|
834
|
-
updateGroupNamePolicy: PermissionPolicy;
|
|
835
|
-
updateGroupDescriptionPolicy: PermissionPolicy;
|
|
836
|
-
updateGroupImageUrlSquarePolicy: PermissionPolicy;
|
|
837
|
-
updateMessageDisappearingPolicy: PermissionPolicy;
|
|
838
|
-
}
|
|
839
|
-
export class Reaction {
|
|
840
|
-
free(): void;
|
|
841
|
-
[Symbol.dispose](): void;
|
|
842
|
-
constructor(reference: string, referenceInboxId: string, action: ReactionAction, content: string, schema: ReactionSchema);
|
|
843
|
-
reference: string;
|
|
844
|
-
referenceInboxId: string;
|
|
845
|
-
action: ReactionAction;
|
|
846
|
-
content: string;
|
|
847
|
-
schema: ReactionSchema;
|
|
848
|
-
}
|
|
849
|
-
export class ReactionPayload {
|
|
850
|
-
private constructor();
|
|
851
|
-
free(): void;
|
|
852
|
-
[Symbol.dispose](): void;
|
|
853
|
-
reference: string;
|
|
854
|
-
referenceInboxId: string;
|
|
855
|
-
action: ReactionActionPayload;
|
|
856
|
-
content: string;
|
|
857
|
-
schema: ReactionSchemaPayload;
|
|
858
|
-
}
|
|
859
|
-
export class ReadReceipt {
|
|
860
|
-
private constructor();
|
|
861
|
-
free(): void;
|
|
862
|
-
[Symbol.dispose](): void;
|
|
863
|
-
}
|
|
864
|
-
export class RemoteAttachment {
|
|
865
|
-
private constructor();
|
|
866
|
-
free(): void;
|
|
867
|
-
[Symbol.dispose](): void;
|
|
868
|
-
url: string;
|
|
869
|
-
contentDigest: string;
|
|
870
|
-
secret: Uint8Array;
|
|
871
|
-
salt: Uint8Array;
|
|
872
|
-
nonce: Uint8Array;
|
|
873
|
-
scheme: string;
|
|
874
|
-
contentLength: number;
|
|
875
|
-
get filename(): string | undefined;
|
|
876
|
-
set filename(value: string | null | undefined);
|
|
877
|
-
}
|
|
878
|
-
export class RemoteAttachmentInfo {
|
|
879
|
-
free(): void;
|
|
880
|
-
[Symbol.dispose](): void;
|
|
881
|
-
constructor(secret: Uint8Array, contentDigest: string, nonce: Uint8Array, scheme: string, url: string, salt: Uint8Array, contentLength?: number | null, filename?: string | null);
|
|
882
|
-
secret: Uint8Array;
|
|
883
|
-
contentDigest: string;
|
|
884
|
-
nonce: Uint8Array;
|
|
885
|
-
scheme: string;
|
|
886
|
-
url: string;
|
|
887
|
-
salt: Uint8Array;
|
|
888
|
-
get contentLength(): number | undefined;
|
|
889
|
-
set contentLength(value: number | null | undefined);
|
|
890
|
-
get filename(): string | undefined;
|
|
891
|
-
set filename(value: string | null | undefined);
|
|
892
|
-
}
|
|
893
|
-
export class Reply {
|
|
894
|
-
free(): void;
|
|
895
|
-
[Symbol.dispose](): void;
|
|
896
|
-
constructor(content: EncodedContent, reference: string, referenceInboxId?: string | null);
|
|
897
|
-
content: EncodedContent;
|
|
898
|
-
reference: string;
|
|
899
|
-
get referenceInboxId(): string | undefined;
|
|
900
|
-
set referenceInboxId(value: string | null | undefined);
|
|
901
|
-
}
|
|
902
|
-
export class SendMessageOpts {
|
|
903
|
-
free(): void;
|
|
904
|
-
[Symbol.dispose](): void;
|
|
905
|
-
constructor(should_push: boolean);
|
|
906
|
-
shouldPush: boolean;
|
|
907
|
-
}
|
|
908
708
|
export class SignatureRequestHandle {
|
|
909
709
|
private constructor();
|
|
910
710
|
free(): void;
|
|
911
711
|
[Symbol.dispose](): void;
|
|
912
712
|
signatureText(): Promise<string>;
|
|
913
|
-
addScwSignature(
|
|
914
|
-
addEcdsaSignature(
|
|
713
|
+
addScwSignature(accountIdentifier: Identifier, signatureBytes: Uint8Array, chainId: bigint, blockNumber?: bigint | null): Promise<void>;
|
|
714
|
+
addEcdsaSignature(signatureBytes: Uint8Array): Promise<void>;
|
|
915
715
|
addPasskeySignature(signature: PasskeySignature): Promise<void>;
|
|
916
716
|
}
|
|
917
717
|
export class StreamCloser {
|
|
@@ -935,118 +735,97 @@ export class StreamCloser {
|
|
|
935
735
|
*/
|
|
936
736
|
isClosed(): boolean;
|
|
937
737
|
}
|
|
938
|
-
export class TextContent {
|
|
939
|
-
private constructor();
|
|
940
|
-
free(): void;
|
|
941
|
-
[Symbol.dispose](): void;
|
|
942
|
-
content: string;
|
|
943
|
-
}
|
|
944
|
-
export class TransactionMetadata {
|
|
945
|
-
private constructor();
|
|
946
|
-
free(): void;
|
|
947
|
-
[Symbol.dispose](): void;
|
|
948
|
-
transactionType: string;
|
|
949
|
-
currency: string;
|
|
950
|
-
amount: number;
|
|
951
|
-
decimals: number;
|
|
952
|
-
fromAddress: string;
|
|
953
|
-
toAddress: string;
|
|
954
|
-
}
|
|
955
|
-
export class TransactionReference {
|
|
956
|
-
private constructor();
|
|
957
|
-
free(): void;
|
|
958
|
-
[Symbol.dispose](): void;
|
|
959
|
-
get namespace(): string | undefined;
|
|
960
|
-
set namespace(value: string | null | undefined);
|
|
961
|
-
networkId: string;
|
|
962
|
-
reference: string;
|
|
963
|
-
get metadata(): TransactionMetadata | undefined;
|
|
964
|
-
set metadata(value: TransactionMetadata | null | undefined);
|
|
965
|
-
}
|
|
966
|
-
export class XmtpCursor {
|
|
967
|
-
private constructor();
|
|
968
|
-
free(): void;
|
|
969
|
-
[Symbol.dispose](): void;
|
|
970
|
-
originator_id: number;
|
|
971
|
-
sequence_id: bigint;
|
|
972
|
-
}
|
|
973
738
|
|
|
974
739
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
975
740
|
|
|
976
741
|
export interface InitOutput {
|
|
977
742
|
readonly memory: WebAssembly.Memory;
|
|
978
|
-
readonly
|
|
979
|
-
readonly
|
|
980
|
-
readonly
|
|
981
|
-
readonly
|
|
982
|
-
readonly
|
|
983
|
-
readonly
|
|
984
|
-
readonly
|
|
743
|
+
readonly __wbg_authhandle_free: (a: number, b: number) => void;
|
|
744
|
+
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
745
|
+
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
746
|
+
readonly actionsContentType: () => any;
|
|
747
|
+
readonly applySignatureRequest: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
748
|
+
readonly attachmentContentType: () => any;
|
|
749
|
+
readonly authhandle_id: (a: number) => number;
|
|
750
|
+
readonly authhandle_new: () => number;
|
|
751
|
+
readonly authhandle_set: (a: number, b: any) => any;
|
|
752
|
+
readonly client_accountIdentifier: (a: number) => any;
|
|
753
|
+
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
754
|
+
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
755
|
+
readonly client_apiIdentityStatistics: (a: number) => any;
|
|
756
|
+
readonly client_apiStatistics: (a: number) => any;
|
|
757
|
+
readonly client_appVersion: (a: number) => [number, number];
|
|
758
|
+
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
759
|
+
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
760
|
+
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
761
|
+
readonly client_clearAllStatistics: (a: number) => void;
|
|
762
|
+
readonly client_conversations: (a: number) => number;
|
|
763
|
+
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
764
|
+
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
765
|
+
readonly client_inboxId: (a: number) => [number, number];
|
|
766
|
+
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
767
|
+
readonly client_installationId: (a: number) => [number, number];
|
|
768
|
+
readonly client_installationIdBytes: (a: number) => any;
|
|
769
|
+
readonly client_isRegistered: (a: number) => number;
|
|
770
|
+
readonly client_libxmtpVersion: (a: number) => [number, number];
|
|
771
|
+
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
772
|
+
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
773
|
+
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
774
|
+
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
775
|
+
readonly client_sendSyncRequest: (a: number) => any;
|
|
776
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
777
|
+
readonly client_syncPreferences: (a: number) => any;
|
|
778
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
779
|
+
readonly createClient: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: bigint, t: number, u: number, v: number) => any;
|
|
780
|
+
readonly decryptAttachment: (a: number, b: number, c: any) => [number, number, number];
|
|
781
|
+
readonly encodeActions: (a: any) => [number, number, number];
|
|
782
|
+
readonly encodeAttachment: (a: any) => [number, number, number];
|
|
783
|
+
readonly encodeIntent: (a: any) => [number, number, number];
|
|
784
|
+
readonly encodeMarkdown: (a: number, b: number) => [number, number, number];
|
|
785
|
+
readonly encodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
786
|
+
readonly encodeReaction: (a: any) => [number, number, number];
|
|
787
|
+
readonly encodeReadReceipt: (a: any) => [number, number, number];
|
|
788
|
+
readonly encodeRemoteAttachment: (a: any) => [number, number, number];
|
|
789
|
+
readonly encodeText: (a: number, b: number) => [number, number, number];
|
|
790
|
+
readonly encodeTransactionReference: (a: any) => [number, number, number];
|
|
791
|
+
readonly encodeWalletSendCalls: (a: any) => [number, number, number];
|
|
792
|
+
readonly encryptAttachment: (a: any) => [number, number, number];
|
|
793
|
+
readonly generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
|
|
794
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: any) => any;
|
|
795
|
+
readonly groupUpdatedContentType: () => any;
|
|
796
|
+
readonly intentContentType: () => any;
|
|
797
|
+
readonly leaveRequestContentType: () => any;
|
|
798
|
+
readonly markdownContentType: () => any;
|
|
799
|
+
readonly multiRemoteAttachmentContentType: () => any;
|
|
800
|
+
readonly reactionContentType: () => any;
|
|
801
|
+
readonly readReceiptContentType: () => any;
|
|
802
|
+
readonly remoteAttachmentContentType: () => any;
|
|
803
|
+
readonly replyContentType: () => any;
|
|
804
|
+
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number) => [number, number, number];
|
|
805
|
+
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
806
|
+
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: any) => any;
|
|
807
|
+
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
808
|
+
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
809
|
+
readonly textContentType: () => any;
|
|
810
|
+
readonly transactionReferenceContentType: () => any;
|
|
811
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
812
|
+
readonly walletSendCallsContentType: () => any;
|
|
813
|
+
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
814
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
815
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
816
|
+
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
985
817
|
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
986
|
-
readonly
|
|
987
|
-
readonly
|
|
988
|
-
readonly
|
|
989
|
-
readonly
|
|
990
|
-
readonly
|
|
991
|
-
readonly
|
|
992
|
-
readonly
|
|
993
|
-
readonly
|
|
994
|
-
readonly
|
|
995
|
-
readonly
|
|
996
|
-
readonly
|
|
997
|
-
readonly __wbg_get_decodedmessage_delivery_status: (a: number) => number;
|
|
998
|
-
readonly __wbg_get_decodedmessage_fallback_text: (a: number) => [number, number];
|
|
999
|
-
readonly __wbg_get_decodedmessage_id: (a: number) => [number, number];
|
|
1000
|
-
readonly __wbg_get_decodedmessage_kind: (a: number) => number;
|
|
1001
|
-
readonly __wbg_get_decodedmessage_num_replies: (a: number) => bigint;
|
|
1002
|
-
readonly __wbg_get_decodedmessage_reactions: (a: number) => [number, number];
|
|
1003
|
-
readonly __wbg_get_decodedmessage_sender_inbox_id: (a: number) => [number, number];
|
|
1004
|
-
readonly __wbg_get_decodedmessage_sender_installation_id: (a: number) => [number, number];
|
|
1005
|
-
readonly __wbg_get_decodedmessage_sent_at_ns: (a: number) => bigint;
|
|
1006
|
-
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
1007
|
-
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
1008
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
1009
|
-
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
1010
|
-
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
1011
|
-
readonly __wbg_get_reply_content: (a: number) => number;
|
|
1012
|
-
readonly __wbg_get_reply_reference: (a: number) => [number, number];
|
|
1013
|
-
readonly __wbg_get_reply_referenceInboxId: (a: number) => [number, number];
|
|
1014
|
-
readonly __wbg_get_sendmessageopts_shouldPush: (a: number) => number;
|
|
1015
|
-
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
1016
|
-
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
1017
|
-
readonly __wbg_reply_free: (a: number, b: number) => void;
|
|
1018
|
-
readonly __wbg_sendmessageopts_free: (a: number, b: number) => void;
|
|
1019
|
-
readonly __wbg_set_action_expiresAtNs: (a: number, b: number, c: bigint) => void;
|
|
1020
|
-
readonly __wbg_set_action_id: (a: number, b: number, c: number) => void;
|
|
1021
|
-
readonly __wbg_set_action_imageUrl: (a: number, b: number, c: number) => void;
|
|
1022
|
-
readonly __wbg_set_action_label: (a: number, b: number, c: number) => void;
|
|
1023
|
-
readonly __wbg_set_action_style: (a: number, b: number) => void;
|
|
1024
|
-
readonly __wbg_set_decodedmessage_content: (a: number, b: number) => void;
|
|
1025
|
-
readonly __wbg_set_decodedmessage_content_type: (a: number, b: number) => void;
|
|
1026
|
-
readonly __wbg_set_decodedmessage_conversation_id: (a: number, b: number, c: number) => void;
|
|
1027
|
-
readonly __wbg_set_decodedmessage_delivery_status: (a: number, b: number) => void;
|
|
1028
|
-
readonly __wbg_set_decodedmessage_fallback_text: (a: number, b: number, c: number) => void;
|
|
1029
|
-
readonly __wbg_set_decodedmessage_id: (a: number, b: number, c: number) => void;
|
|
1030
|
-
readonly __wbg_set_decodedmessage_kind: (a: number, b: number) => void;
|
|
1031
|
-
readonly __wbg_set_decodedmessage_num_replies: (a: number, b: bigint) => void;
|
|
1032
|
-
readonly __wbg_set_decodedmessage_reactions: (a: number, b: number, c: number) => void;
|
|
1033
|
-
readonly __wbg_set_decodedmessage_sender_inbox_id: (a: number, b: number, c: number) => void;
|
|
1034
|
-
readonly __wbg_set_decodedmessage_sender_installation_id: (a: number, b: number, c: number) => void;
|
|
1035
|
-
readonly __wbg_set_decodedmessage_sent_at_ns: (a: number, b: bigint) => void;
|
|
1036
|
-
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
1037
|
-
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
1038
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
1039
|
-
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
1040
|
-
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
1041
|
-
readonly __wbg_set_reply_content: (a: number, b: number) => void;
|
|
1042
|
-
readonly __wbg_set_reply_reference: (a: number, b: number, c: number) => void;
|
|
1043
|
-
readonly __wbg_set_reply_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
1044
|
-
readonly __wbg_set_sendmessageopts_shouldPush: (a: number, b: number) => void;
|
|
1045
|
-
readonly action_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: bigint) => number;
|
|
1046
|
-
readonly actions_addAction: (a: number, b: number) => void;
|
|
1047
|
-
readonly actions_getActions: (a: number) => [number, number];
|
|
1048
|
-
readonly actions_new: (a: number, b: number, c: number, d: number, e: number, f: bigint) => number;
|
|
1049
|
-
readonly actions_setActions: (a: number, b: number, c: number) => void;
|
|
818
|
+
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
819
|
+
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
820
|
+
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
821
|
+
readonly __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
|
|
822
|
+
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => any;
|
|
823
|
+
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
824
|
+
readonly __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
|
|
825
|
+
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
826
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
827
|
+
readonly client_getConsentState: (a: number, b: any, c: number, d: number) => any;
|
|
828
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
1050
829
|
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
1051
830
|
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
1052
831
|
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
@@ -1054,6 +833,7 @@ export interface InitOutput {
|
|
|
1054
833
|
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
1055
834
|
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
1056
835
|
readonly conversation_appData: (a: number) => [number, number, number, number];
|
|
836
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
1057
837
|
readonly conversation_countMessages: (a: number, b: number) => any;
|
|
1058
838
|
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
1059
839
|
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
@@ -1086,448 +866,39 @@ export interface InitOutput {
|
|
|
1086
866
|
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
1087
867
|
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
1088
868
|
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
1089
|
-
readonly conversation_send: (a: number, b:
|
|
1090
|
-
readonly
|
|
869
|
+
readonly conversation_send: (a: number, b: any, c: any) => any;
|
|
870
|
+
readonly conversation_sendActions: (a: number, b: any, c: number) => any;
|
|
871
|
+
readonly conversation_sendAttachment: (a: number, b: any, c: number) => any;
|
|
872
|
+
readonly conversation_sendIntent: (a: number, b: any, c: number) => any;
|
|
873
|
+
readonly conversation_sendMarkdown: (a: number, b: number, c: number, d: number) => any;
|
|
874
|
+
readonly conversation_sendMultiRemoteAttachment: (a: number, b: any, c: number) => any;
|
|
875
|
+
readonly conversation_sendOptimistic: (a: number, b: any, c: any) => [number, number, number, number];
|
|
876
|
+
readonly conversation_sendReaction: (a: number, b: any, c: number) => any;
|
|
877
|
+
readonly conversation_sendReadReceipt: (a: number, b: number) => any;
|
|
878
|
+
readonly conversation_sendRemoteAttachment: (a: number, b: any, c: number) => any;
|
|
879
|
+
readonly conversation_sendReply: (a: number, b: any, c: number) => any;
|
|
880
|
+
readonly conversation_sendText: (a: number, b: number, c: number, d: number) => any;
|
|
881
|
+
readonly conversation_sendTransactionReference: (a: number, b: any, c: number) => any;
|
|
882
|
+
readonly conversation_sendWalletSendCalls: (a: number, b: any, c: number) => any;
|
|
1091
883
|
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
1092
884
|
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
1093
885
|
readonly conversation_sync: (a: number) => any;
|
|
1094
886
|
readonly conversation_updateAppData: (a: number, b: number, c: number) => any;
|
|
887
|
+
readonly conversation_updateConsentState: (a: number, b: any) => [number, number];
|
|
1095
888
|
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
1096
889
|
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
1097
890
|
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
1098
|
-
readonly conversation_updateMessageDisappearingSettings: (a: number, b:
|
|
1099
|
-
readonly conversation_updatePermissionPolicy: (a: number, b:
|
|
1100
|
-
readonly decodeActions: (a: number) => [number, number, number];
|
|
1101
|
-
readonly decodeReply: (a: number) => [number, number, number];
|
|
1102
|
-
readonly decodedmessagecontent_asActions: (a: number) => [number, number, number];
|
|
1103
|
-
readonly decodedmessagecontent_asAttachment: (a: number) => number;
|
|
1104
|
-
readonly decodedmessagecontent_asCustom: (a: number) => number;
|
|
1105
|
-
readonly decodedmessagecontent_asGroupUpdated: (a: number) => number;
|
|
1106
|
-
readonly decodedmessagecontent_asIntent: (a: number) => [number, number, number];
|
|
1107
|
-
readonly decodedmessagecontent_asLeaveRequest: (a: number) => number;
|
|
1108
|
-
readonly decodedmessagecontent_asMultiRemoteAttachment: (a: number) => number;
|
|
1109
|
-
readonly decodedmessagecontent_asReaction: (a: number) => number;
|
|
1110
|
-
readonly decodedmessagecontent_asReadReceipt: (a: number) => number;
|
|
1111
|
-
readonly decodedmessagecontent_asRemoteAttachment: (a: number) => number;
|
|
1112
|
-
readonly decodedmessagecontent_asReply: (a: number) => number;
|
|
1113
|
-
readonly decodedmessagecontent_asText: (a: number) => number;
|
|
1114
|
-
readonly decodedmessagecontent_asTransactionReference: (a: number) => number;
|
|
1115
|
-
readonly decodedmessagecontent_asWalletSendCalls: (a: number) => [number, number, number];
|
|
1116
|
-
readonly decodedmessagecontent_payloadType: (a: number) => number;
|
|
1117
|
-
readonly encodeActions: (a: number) => [number, number, number];
|
|
1118
|
-
readonly encodeReply: (a: number) => [number, number, number];
|
|
1119
|
-
readonly enrichedreply_content: (a: number) => number;
|
|
1120
|
-
readonly enrichedreply_inReplyTo: (a: number) => number;
|
|
1121
|
-
readonly enrichedreply_referenceId: (a: number) => [number, number];
|
|
1122
|
-
readonly generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
|
|
1123
|
-
readonly getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: any) => any;
|
|
1124
|
-
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1125
|
-
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
1126
|
-
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
1127
|
-
readonly reply_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
1128
|
-
readonly sendmessageopts_new: (a: number) => number;
|
|
1129
|
-
readonly __wbg_set_actions_description: (a: number, b: number, c: number) => void;
|
|
1130
|
-
readonly __wbg_set_actions_id: (a: number, b: number, c: number) => void;
|
|
1131
|
-
readonly __wbg_get_actions_expiresAtNs: (a: number) => [number, bigint];
|
|
1132
|
-
readonly __wbg_set_actions_expiresAtNs: (a: number, b: number, c: bigint) => void;
|
|
1133
|
-
readonly __wbg_get_actions_description: (a: number) => [number, number];
|
|
1134
|
-
readonly __wbg_get_actions_id: (a: number) => [number, number];
|
|
1135
|
-
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
1136
|
-
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
1137
|
-
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
1138
|
-
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
1139
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
1140
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
1141
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
1142
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
1143
|
-
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
1144
|
-
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
1145
|
-
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
1146
|
-
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
1147
|
-
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
1148
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
1149
|
-
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
1150
|
-
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
1151
|
-
readonly __wbg_reactionpayload_free: (a: number, b: number) => void;
|
|
1152
|
-
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
1153
|
-
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
1154
|
-
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
1155
|
-
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
1156
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
1157
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
1158
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
1159
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
1160
|
-
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
1161
|
-
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
1162
|
-
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
1163
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
1164
|
-
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
1165
|
-
readonly decodeReaction: (a: number) => [number, number, number];
|
|
1166
|
-
readonly encodeReaction: (a: number) => [number, number, number];
|
|
1167
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
1168
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
1169
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1170
|
-
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1171
|
-
readonly __wbg_set_reactionpayload_content: (a: number, b: number, c: number) => void;
|
|
1172
|
-
readonly __wbg_set_reactionpayload_reference: (a: number, b: number, c: number) => void;
|
|
1173
|
-
readonly __wbg_set_reactionpayload_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
1174
|
-
readonly __wbg_set_reactionpayload_action: (a: number, b: number) => void;
|
|
1175
|
-
readonly __wbg_set_reactionpayload_schema: (a: number, b: number) => void;
|
|
1176
|
-
readonly __wbg_get_reactionpayload_action: (a: number) => number;
|
|
1177
|
-
readonly __wbg_get_reactionpayload_schema: (a: number) => number;
|
|
1178
|
-
readonly __wbg_get_reactionpayload_content: (a: number) => [number, number];
|
|
1179
|
-
readonly __wbg_get_reactionpayload_reference: (a: number) => [number, number];
|
|
1180
|
-
readonly __wbg_get_reactionpayload_referenceInboxId: (a: number) => [number, number];
|
|
1181
|
-
readonly __wbg_get_intent_actionId: (a: number) => [number, number];
|
|
1182
|
-
readonly __wbg_get_intent_id: (a: number) => [number, number];
|
|
1183
|
-
readonly __wbg_get_intent_metadata: (a: number) => any;
|
|
1184
|
-
readonly __wbg_get_remoteattachment_contentLength: (a: number) => number;
|
|
1185
|
-
readonly __wbg_get_remoteattachment_filename: (a: number) => [number, number];
|
|
1186
|
-
readonly __wbg_get_remoteattachment_nonce: (a: number) => [number, number];
|
|
1187
|
-
readonly __wbg_get_remoteattachment_salt: (a: number) => [number, number];
|
|
1188
|
-
readonly __wbg_get_remoteattachment_scheme: (a: number) => [number, number];
|
|
1189
|
-
readonly __wbg_get_remoteattachment_secret: (a: number) => [number, number];
|
|
1190
|
-
readonly __wbg_intent_free: (a: number, b: number) => void;
|
|
1191
|
-
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
1192
|
-
readonly __wbg_remoteattachment_free: (a: number, b: number) => void;
|
|
1193
|
-
readonly __wbg_set_intent_actionId: (a: number, b: number, c: number) => void;
|
|
1194
|
-
readonly __wbg_set_intent_id: (a: number, b: number, c: number) => void;
|
|
1195
|
-
readonly __wbg_set_intent_metadata: (a: number, b: any) => void;
|
|
1196
|
-
readonly __wbg_set_remoteattachment_contentLength: (a: number, b: number) => void;
|
|
1197
|
-
readonly __wbg_set_remoteattachment_filename: (a: number, b: number, c: number) => void;
|
|
1198
|
-
readonly __wbg_set_remoteattachment_nonce: (a: number, b: number, c: number) => void;
|
|
1199
|
-
readonly __wbg_set_remoteattachment_salt: (a: number, b: number, c: number) => void;
|
|
1200
|
-
readonly __wbg_set_remoteattachment_scheme: (a: number, b: number, c: number) => void;
|
|
1201
|
-
readonly __wbg_set_remoteattachment_secret: (a: number, b: number, c: number) => void;
|
|
1202
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
1203
|
-
readonly decodeIntent: (a: number) => [number, number, number];
|
|
1204
|
-
readonly decodeRemoteAttachment: (a: number) => [number, number, number];
|
|
1205
|
-
readonly encodeIntent: (a: number) => [number, number, number];
|
|
1206
|
-
readonly encodeRemoteAttachment: (a: number) => [number, number, number];
|
|
1207
|
-
readonly intent_new: (a: number, b: number, c: number, d: number, e: any) => number;
|
|
1208
|
-
readonly opfs_addCapacity: (a: number) => any;
|
|
1209
|
-
readonly opfs_error: () => [number, number];
|
|
1210
|
-
readonly opfs_exists: () => number;
|
|
1211
|
-
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
1212
|
-
readonly opfs_getCapacity: () => number;
|
|
1213
|
-
readonly opfs_getFileCount: () => number;
|
|
1214
|
-
readonly opfs_getFileNames: () => [number, number];
|
|
1215
|
-
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
1216
|
-
readonly opfs_init_sqlite_opfs: () => any;
|
|
1217
|
-
readonly opfs_reduceCapacity: (a: number) => any;
|
|
1218
|
-
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
1219
|
-
readonly opfs_wipeFiles: () => any;
|
|
1220
|
-
readonly streamcloser_end: (a: number) => void;
|
|
1221
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
1222
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
1223
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
1224
|
-
readonly __wbg_set_remoteattachment_contentDigest: (a: number, b: number, c: number) => void;
|
|
1225
|
-
readonly __wbg_set_remoteattachment_url: (a: number, b: number, c: number) => void;
|
|
1226
|
-
readonly __wbg_get_remoteattachment_contentDigest: (a: number) => [number, number];
|
|
1227
|
-
readonly __wbg_get_remoteattachment_url: (a: number) => [number, number];
|
|
1228
|
-
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
1229
|
-
readonly __wbg_authhandle_free: (a: number, b: number) => void;
|
|
1230
|
-
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
1231
|
-
readonly __wbg_credential_free: (a: number, b: number) => void;
|
|
1232
|
-
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
1233
|
-
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
1234
|
-
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
1235
|
-
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
1236
|
-
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
1237
|
-
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
1238
|
-
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
1239
|
-
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
1240
|
-
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
1241
|
-
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
1242
|
-
readonly __wbg_get_consent_state: (a: number) => number;
|
|
1243
|
-
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
1244
|
-
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
1245
|
-
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
1246
|
-
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
1247
|
-
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
1248
|
-
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
1249
|
-
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
1250
|
-
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
1251
|
-
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
1252
|
-
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
1253
|
-
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
1254
|
-
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
1255
|
-
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
1256
|
-
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
1257
|
-
readonly __wbg_textcontent_free: (a: number, b: number) => void;
|
|
1258
|
-
readonly applySignatureRequest: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
1259
|
-
readonly authhandle_id: (a: number) => number;
|
|
1260
|
-
readonly authhandle_new: () => number;
|
|
1261
|
-
readonly authhandle_set: (a: number, b: number) => any;
|
|
1262
|
-
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
1263
|
-
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
1264
|
-
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
1265
|
-
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
1266
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
1267
|
-
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
1268
|
-
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
1269
|
-
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
1270
|
-
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
1271
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
1272
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
1273
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
1274
|
-
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
1275
|
-
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
1276
|
-
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
1277
|
-
readonly credential_new: (a: number, b: number, c: number, d: number, e: bigint) => number;
|
|
1278
|
-
readonly decodeXmtpText: (a: number) => [number, number, number, number];
|
|
1279
|
-
readonly encodeXmtpText: (a: number, b: number) => [number, number, number];
|
|
1280
|
-
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number) => [number, number, number];
|
|
1281
|
-
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
1282
|
-
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
|
|
1283
|
-
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
1284
|
-
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
1285
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
1286
|
-
readonly __wbg_set_textcontent_content: (a: number, b: number, c: number) => void;
|
|
1287
|
-
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
1288
|
-
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
1289
|
-
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
1290
|
-
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
1291
|
-
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
1292
|
-
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
1293
|
-
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
1294
|
-
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
1295
|
-
readonly __wbg_get_textcontent_content: (a: number) => [number, number];
|
|
1296
|
-
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
1297
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
1298
|
-
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
1299
|
-
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
1300
|
-
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
1301
|
-
readonly __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
1302
|
-
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
1303
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
1304
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
1305
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
1306
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
1307
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
1308
|
-
readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => [number, number];
|
|
1309
|
-
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
1310
|
-
readonly __wbg_get_conversationdebuginfo_isCommitLogForked: (a: number) => number;
|
|
1311
|
-
readonly __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
|
|
1312
|
-
readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
1313
|
-
readonly __wbg_get_conversationdebuginfo_remoteCommitLog: (a: number) => [number, number];
|
|
1314
|
-
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
1315
|
-
readonly __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
|
|
1316
|
-
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
1317
|
-
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
1318
|
-
readonly __wbg_get_creategroupoptions_appData: (a: number) => [number, number];
|
|
1319
|
-
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
1320
|
-
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
1321
|
-
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
1322
|
-
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
1323
|
-
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
1324
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
1325
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
1326
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
1327
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
1328
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
1329
|
-
readonly __wbg_get_groupsyncsummary_numEligible: (a: number) => number;
|
|
1330
|
-
readonly __wbg_get_groupsyncsummary_numSynced: (a: number) => number;
|
|
1331
|
-
readonly __wbg_get_groupupdated_addedAdminInboxes: (a: number) => [number, number];
|
|
1332
|
-
readonly __wbg_get_groupupdated_addedInboxes: (a: number) => [number, number];
|
|
1333
|
-
readonly __wbg_get_groupupdated_addedSuperAdminInboxes: (a: number) => [number, number];
|
|
1334
|
-
readonly __wbg_get_groupupdated_leftInboxes: (a: number) => [number, number];
|
|
1335
|
-
readonly __wbg_get_groupupdated_metadataFieldChanges: (a: number) => [number, number];
|
|
1336
|
-
readonly __wbg_get_groupupdated_removedAdminInboxes: (a: number) => [number, number];
|
|
1337
|
-
readonly __wbg_get_groupupdated_removedInboxes: (a: number) => [number, number];
|
|
1338
|
-
readonly __wbg_get_groupupdated_removedSuperAdminInboxes: (a: number) => [number, number];
|
|
1339
|
-
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
1340
|
-
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
1341
|
-
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
1342
|
-
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
1343
|
-
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
1344
|
-
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
1345
|
-
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
1346
|
-
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
1347
|
-
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
1348
|
-
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
1349
|
-
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
1350
|
-
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
1351
|
-
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
1352
|
-
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
1353
|
-
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
1354
|
-
readonly __wbg_get_listconversationsoptions_orderBy: (a: number) => number;
|
|
1355
|
-
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
1356
|
-
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
1357
|
-
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
1358
|
-
readonly __wbg_get_listmessagesoptions_excludeContentTypes: (a: number) => [number, number];
|
|
1359
|
-
readonly __wbg_get_listmessagesoptions_excludeSenderInboxIds: (a: number) => [number, number];
|
|
1360
|
-
readonly __wbg_get_listmessagesoptions_insertedAfterNs: (a: number) => [number, bigint];
|
|
1361
|
-
readonly __wbg_get_listmessagesoptions_insertedBeforeNs: (a: number) => [number, bigint];
|
|
1362
|
-
readonly __wbg_get_listmessagesoptions_kind: (a: number) => number;
|
|
1363
|
-
readonly __wbg_get_listmessagesoptions_sortBy: (a: number) => number;
|
|
1364
|
-
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
1365
|
-
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
1366
|
-
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
1367
|
-
readonly __wbg_get_message_content: (a: number) => number;
|
|
1368
|
-
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
1369
|
-
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
1370
|
-
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
1371
|
-
readonly __wbg_get_message_kind: (a: number) => number;
|
|
1372
|
-
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
1373
|
-
readonly __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
1374
|
-
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
1375
|
-
readonly __wbg_get_metadatafieldchange_newValue: (a: number) => [number, number];
|
|
1376
|
-
readonly __wbg_get_metadatafieldchange_oldValue: (a: number) => [number, number];
|
|
1377
|
-
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
1378
|
-
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
1379
|
-
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
1380
|
-
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
1381
|
-
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
1382
|
-
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
1383
|
-
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
1384
|
-
readonly __wbg_get_transactionmetadata_amount: (a: number) => number;
|
|
1385
|
-
readonly __wbg_get_transactionmetadata_decimals: (a: number) => number;
|
|
1386
|
-
readonly __wbg_get_transactionmetadata_toAddress: (a: number) => [number, number];
|
|
1387
|
-
readonly __wbg_get_transactionreference_metadata: (a: number) => number;
|
|
1388
|
-
readonly __wbg_get_transactionreference_namespace: (a: number) => [number, number];
|
|
1389
|
-
readonly __wbg_get_transactionreference_networkId: (a: number) => [number, number];
|
|
1390
|
-
readonly __wbg_get_transactionreference_reference: (a: number) => [number, number];
|
|
1391
|
-
readonly __wbg_get_xmtpcursor_originator_id: (a: number) => number;
|
|
1392
|
-
readonly __wbg_groupsyncsummary_free: (a: number, b: number) => void;
|
|
1393
|
-
readonly __wbg_groupupdated_free: (a: number, b: number) => void;
|
|
1394
|
-
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
1395
|
-
readonly __wbg_inbox_free: (a: number, b: number) => void;
|
|
1396
|
-
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
1397
|
-
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
1398
|
-
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
1399
|
-
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
1400
|
-
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
1401
|
-
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
1402
|
-
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
1403
|
-
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
1404
|
-
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
1405
|
-
readonly __wbg_messagewithreactions_free: (a: number, b: number) => void;
|
|
1406
|
-
readonly __wbg_metadatafieldchange_free: (a: number, b: number) => void;
|
|
1407
|
-
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
1408
|
-
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
1409
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
1410
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
1411
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
1412
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
1413
|
-
readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: number, c: number) => void;
|
|
1414
|
-
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
1415
|
-
readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
1416
|
-
readonly __wbg_set_conversationdebuginfo_isCommitLogForked: (a: number, b: number) => void;
|
|
1417
|
-
readonly __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
|
|
1418
|
-
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
1419
|
-
readonly __wbg_set_conversationdebuginfo_remoteCommitLog: (a: number, b: number, c: number) => void;
|
|
1420
|
-
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
1421
|
-
readonly __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
|
|
1422
|
-
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
1423
|
-
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
1424
|
-
readonly __wbg_set_creategroupoptions_appData: (a: number, b: number, c: number) => void;
|
|
1425
|
-
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
1426
|
-
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
1427
|
-
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
1428
|
-
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
1429
|
-
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
1430
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
1431
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
1432
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
1433
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
1434
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
1435
|
-
readonly __wbg_set_groupsyncsummary_numEligible: (a: number, b: number) => void;
|
|
1436
|
-
readonly __wbg_set_groupsyncsummary_numSynced: (a: number, b: number) => void;
|
|
1437
|
-
readonly __wbg_set_groupupdated_addedAdminInboxes: (a: number, b: number, c: number) => void;
|
|
1438
|
-
readonly __wbg_set_groupupdated_addedInboxes: (a: number, b: number, c: number) => void;
|
|
1439
|
-
readonly __wbg_set_groupupdated_addedSuperAdminInboxes: (a: number, b: number, c: number) => void;
|
|
1440
|
-
readonly __wbg_set_groupupdated_leftInboxes: (a: number, b: number, c: number) => void;
|
|
1441
|
-
readonly __wbg_set_groupupdated_metadataFieldChanges: (a: number, b: number, c: number) => void;
|
|
1442
|
-
readonly __wbg_set_groupupdated_removedAdminInboxes: (a: number, b: number, c: number) => void;
|
|
1443
|
-
readonly __wbg_set_groupupdated_removedInboxes: (a: number, b: number, c: number) => void;
|
|
1444
|
-
readonly __wbg_set_groupupdated_removedSuperAdminInboxes: (a: number, b: number, c: number) => void;
|
|
1445
|
-
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
1446
|
-
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
1447
|
-
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
1448
|
-
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
1449
|
-
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
1450
|
-
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
1451
|
-
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
1452
|
-
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
1453
|
-
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
1454
|
-
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
1455
|
-
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
1456
|
-
readonly __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
1457
|
-
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
1458
|
-
readonly __wbg_set_listconversationsoptions_orderBy: (a: number, b: number) => void;
|
|
1459
|
-
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
1460
|
-
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
1461
|
-
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
1462
|
-
readonly __wbg_set_listmessagesoptions_excludeContentTypes: (a: number, b: number, c: number) => void;
|
|
1463
|
-
readonly __wbg_set_listmessagesoptions_excludeSenderInboxIds: (a: number, b: number, c: number) => void;
|
|
1464
|
-
readonly __wbg_set_listmessagesoptions_insertedAfterNs: (a: number, b: number, c: bigint) => void;
|
|
1465
|
-
readonly __wbg_set_listmessagesoptions_insertedBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
1466
|
-
readonly __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
|
|
1467
|
-
readonly __wbg_set_listmessagesoptions_sortBy: (a: number, b: number) => void;
|
|
1468
|
-
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
1469
|
-
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
1470
|
-
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
1471
|
-
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
1472
|
-
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
1473
|
-
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
1474
|
-
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
1475
|
-
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
1476
|
-
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
1477
|
-
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
1478
|
-
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
1479
|
-
readonly __wbg_set_metadatafieldchange_newValue: (a: number, b: number, c: number) => void;
|
|
1480
|
-
readonly __wbg_set_metadatafieldchange_oldValue: (a: number, b: number, c: number) => void;
|
|
1481
|
-
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
1482
|
-
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
1483
|
-
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
1484
|
-
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
1485
|
-
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
1486
|
-
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
1487
|
-
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
1488
|
-
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
1489
|
-
readonly __wbg_set_transactionmetadata_amount: (a: number, b: number) => void;
|
|
1490
|
-
readonly __wbg_set_transactionmetadata_decimals: (a: number, b: number) => void;
|
|
1491
|
-
readonly __wbg_set_transactionmetadata_toAddress: (a: number, b: number, c: number) => void;
|
|
1492
|
-
readonly __wbg_set_transactionreference_metadata: (a: number, b: number) => void;
|
|
1493
|
-
readonly __wbg_set_transactionreference_namespace: (a: number, b: number, c: number) => void;
|
|
1494
|
-
readonly __wbg_set_transactionreference_networkId: (a: number, b: number, c: number) => void;
|
|
1495
|
-
readonly __wbg_set_transactionreference_reference: (a: number, b: number, c: number) => void;
|
|
1496
|
-
readonly __wbg_set_xmtpcursor_originator_id: (a: number, b: number) => void;
|
|
1497
|
-
readonly __wbg_transactionmetadata_free: (a: number, b: number) => void;
|
|
1498
|
-
readonly __wbg_transactionreference_free: (a: number, b: number) => void;
|
|
1499
|
-
readonly __wbg_xmtpcursor_free: (a: number, b: number) => void;
|
|
1500
|
-
readonly client_accountIdentifier: (a: number) => any;
|
|
1501
|
-
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
1502
|
-
readonly client_apiIdentityStatistics: (a: number) => number;
|
|
1503
|
-
readonly client_apiStatistics: (a: number) => number;
|
|
1504
|
-
readonly client_appVersion: (a: number) => [number, number];
|
|
1505
|
-
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
1506
|
-
readonly client_clearAllStatistics: (a: number) => void;
|
|
1507
|
-
readonly client_conversations: (a: number) => number;
|
|
1508
|
-
readonly client_deleteMessage: (a: number, b: number, c: number) => [number, number, number];
|
|
1509
|
-
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
1510
|
-
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
1511
|
-
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
1512
|
-
readonly client_inboxId: (a: number) => [number, number];
|
|
1513
|
-
readonly client_inboxState: (a: number, b: number) => any;
|
|
1514
|
-
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
1515
|
-
readonly client_installationId: (a: number) => [number, number];
|
|
1516
|
-
readonly client_installationIdBytes: (a: number) => any;
|
|
1517
|
-
readonly client_isRegistered: (a: number) => number;
|
|
1518
|
-
readonly client_libxmtpVersion: (a: number) => [number, number];
|
|
1519
|
-
readonly client_messageV2: (a: number, b: number, c: number) => any;
|
|
1520
|
-
readonly client_sendSyncRequest: (a: number) => any;
|
|
1521
|
-
readonly client_syncPreferences: (a: number) => any;
|
|
1522
|
-
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
1523
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
891
|
+
readonly conversation_updateMessageDisappearingSettings: (a: number, b: any) => any;
|
|
892
|
+
readonly conversation_updatePermissionPolicy: (a: number, b: any, c: any, d: number) => any;
|
|
1524
893
|
readonly conversationlistitem_new: (a: number, b: number, c: number) => number;
|
|
1525
894
|
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
1526
895
|
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
1527
896
|
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
1528
897
|
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
1529
898
|
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
899
|
+
readonly conversations_deleteMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
1530
900
|
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
901
|
+
readonly conversations_findEnrichedMessageById: (a: number, b: number, c: number) => any;
|
|
1531
902
|
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
1532
903
|
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
1533
904
|
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
@@ -1540,82 +911,10 @@ export interface InitOutput {
|
|
|
1540
911
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
1541
912
|
readonly conversations_sync: (a: number) => any;
|
|
1542
913
|
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
1543
|
-
readonly
|
|
1544
|
-
readonly
|
|
1545
|
-
readonly
|
|
1546
|
-
readonly
|
|
1547
|
-
readonly decodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
1548
|
-
readonly decodeTransactionReference: (a: number) => [number, number, number];
|
|
1549
|
-
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
1550
|
-
readonly encodeTransactionReference: (a: number) => [number, number, number];
|
|
1551
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
1552
|
-
readonly groupsyncsummary_new: (a: number, b: number) => number;
|
|
1553
|
-
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
1554
|
-
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
1555
|
-
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
1556
|
-
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint, k: number) => number;
|
|
1557
|
-
readonly listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigint, e: number, f: bigint, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: bigint, s: number, t: bigint) => number;
|
|
1558
|
-
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
1559
|
-
readonly message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
1560
|
-
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
1561
|
-
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
1562
|
-
readonly remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
|
|
1563
|
-
readonly __wbg_set_groupupdated_initiatedByInboxId: (a: number, b: number, c: number) => void;
|
|
1564
|
-
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
1565
|
-
readonly __wbg_set_inbox_inboxId: (a: number, b: number, c: number) => void;
|
|
1566
|
-
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
1567
|
-
readonly __wbg_set_metadatafieldchange_fieldName: (a: number, b: number, c: number) => void;
|
|
1568
|
-
readonly __wbg_set_transactionmetadata_currency: (a: number, b: number, c: number) => void;
|
|
1569
|
-
readonly __wbg_set_transactionmetadata_fromAddress: (a: number, b: number, c: number) => void;
|
|
1570
|
-
readonly __wbg_set_transactionmetadata_transactionType: (a: number, b: number, c: number) => void;
|
|
1571
|
-
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
1572
|
-
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
1573
|
-
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
1574
|
-
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
1575
|
-
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
1576
|
-
readonly __wbg_set_xmtpcursor_sequence_id: (a: number, b: bigint) => void;
|
|
1577
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
1578
|
-
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
1579
|
-
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
1580
|
-
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
1581
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
1582
|
-
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
1583
|
-
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
1584
|
-
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
1585
|
-
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
1586
|
-
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
1587
|
-
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
1588
|
-
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
1589
|
-
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
1590
|
-
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
1591
|
-
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
1592
|
-
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
1593
|
-
readonly __wbg_get_xmtpcursor_sequence_id: (a: number) => bigint;
|
|
1594
|
-
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
1595
|
-
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
1596
|
-
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
1597
|
-
readonly __wbg_get_groupupdated_initiatedByInboxId: (a: number) => [number, number];
|
|
1598
|
-
readonly __wbg_get_inbox_inboxId: (a: number) => [number, number];
|
|
1599
|
-
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
1600
|
-
readonly __wbg_get_metadatafieldchange_fieldName: (a: number) => [number, number];
|
|
1601
|
-
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
1602
|
-
readonly __wbg_get_transactionmetadata_currency: (a: number) => [number, number];
|
|
1603
|
-
readonly __wbg_get_transactionmetadata_fromAddress: (a: number) => [number, number];
|
|
1604
|
-
readonly __wbg_get_transactionmetadata_transactionType: (a: number) => [number, number];
|
|
1605
|
-
readonly __wbg_attachment_free: (a: number, b: number) => void;
|
|
1606
|
-
readonly __wbg_get_attachment_content: (a: number) => [number, number];
|
|
1607
|
-
readonly __wbg_get_attachment_filename: (a: number) => [number, number];
|
|
1608
|
-
readonly __wbg_get_attachment_mimeType: (a: number) => [number, number];
|
|
1609
|
-
readonly __wbg_readreceipt_free: (a: number, b: number) => void;
|
|
1610
|
-
readonly __wbg_set_attachment_content: (a: number, b: number, c: number) => void;
|
|
1611
|
-
readonly __wbg_set_attachment_filename: (a: number, b: number, c: number) => void;
|
|
1612
|
-
readonly __wbg_set_attachment_mimeType: (a: number, b: number, c: number) => void;
|
|
1613
|
-
readonly decodeAttachment: (a: number) => [number, number, number];
|
|
1614
|
-
readonly decodeReadReceipt: (a: number) => [number, number, number];
|
|
1615
|
-
readonly encodeAttachment: (a: number) => [number, number, number];
|
|
1616
|
-
readonly encodeReadReceipt: (a: number) => [number, number, number];
|
|
1617
|
-
readonly decodeWalletSendCalls: (a: number) => [number, number, number];
|
|
1618
|
-
readonly encodeWalletSendCalls: (a: any) => [number, number, number];
|
|
914
|
+
readonly streamcloser_end: (a: number) => void;
|
|
915
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
916
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
917
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
1619
918
|
readonly rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
|
|
1620
919
|
readonly rust_zstd_wasm_shim_free: (a: number) => void;
|
|
1621
920
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
@@ -1648,15 +947,15 @@ export interface InitOutput {
|
|
|
1648
947
|
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
1649
948
|
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
1650
949
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
1651
|
-
readonly
|
|
1652
|
-
readonly
|
|
1653
|
-
readonly
|
|
1654
|
-
readonly
|
|
1655
|
-
readonly
|
|
1656
|
-
readonly
|
|
1657
|
-
readonly
|
|
1658
|
-
readonly
|
|
1659
|
-
readonly
|
|
950
|
+
readonly wasm_bindgen__convert__closures_____invoke__h956b60152b2cf005: (a: number, b: number) => void;
|
|
951
|
+
readonly wasm_bindgen__closure__destroy__h3c5639ee43c80f22: (a: number, b: number) => void;
|
|
952
|
+
readonly wasm_bindgen__convert__closures_____invoke__hdff293b41f2cecc6: (a: number, b: number, c: any) => void;
|
|
953
|
+
readonly wasm_bindgen__closure__destroy__hed8af60076250245: (a: number, b: number) => void;
|
|
954
|
+
readonly wasm_bindgen__convert__closures_____invoke__hceddd2b8fc291040: (a: number, b: number) => void;
|
|
955
|
+
readonly wasm_bindgen__closure__destroy__hfbd660e60d498df9: (a: number, b: number) => void;
|
|
956
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6af3cd86eb56f4b1: (a: number, b: number) => void;
|
|
957
|
+
readonly wasm_bindgen__closure__destroy__he7b712e0eb1b5ac1: (a: number, b: number) => void;
|
|
958
|
+
readonly wasm_bindgen__convert__closures_____invoke__h47a8fb56fc48c5fb: (a: number, b: number, c: any, d: any) => void;
|
|
1660
959
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
1661
960
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
1662
961
|
readonly __wbindgen_exn_store: (a: number) => void;
|