@xmtp/wasm-bindings 1.6.8 → 1.7.0-dev.fe26e2e
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 +620 -1321
- package/dist/bindings_wasm.js +1321 -6857
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +94 -560
- 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 inboxStateFromInboxIds(
|
|
7
|
-
export function
|
|
8
|
-
export function
|
|
9
|
-
export function
|
|
10
|
-
export function
|
|
11
|
-
export function
|
|
12
|
-
export function
|
|
13
|
-
export function
|
|
14
|
-
|
|
15
|
-
|
|
3
|
+
export function applySignatureRequest(host: string, gatewayHost: string | null | undefined, signatureRequest: SignatureRequestHandle): Promise<void>;
|
|
4
|
+
export function verifySignedWithPublicKey(signatureText: string, signatureBytes: Uint8Array, publicKey: Uint8Array): void;
|
|
5
|
+
export function revokeInstallationsSignatureRequest(host: string, gatewayHost: string | null | undefined, recoveryIdentifier: Identifier, inboxId: string, installationIds: Uint8Array[]): SignatureRequestHandle;
|
|
6
|
+
export function inboxStateFromInboxIds(host: string, gatewayHost: string | null | undefined, inboxIds: string[]): Promise<InboxState[]>;
|
|
7
|
+
export function attachmentContentType(): ContentTypeId;
|
|
8
|
+
export function encodeAttachment(attachment: Attachment): EncodedContent;
|
|
9
|
+
export function readReceiptContentType(): ContentTypeId;
|
|
10
|
+
export function encodeReadReceipt(read_receipt: ReadReceipt): EncodedContent;
|
|
11
|
+
export function groupUpdatedContentType(): ContentTypeId;
|
|
12
|
+
export function leaveRequestContentType(): ContentTypeId;
|
|
13
|
+
export function remoteAttachmentContentType(): ContentTypeId;
|
|
14
|
+
/**
|
|
15
|
+
* Encrypts an attachment for storage as a remote attachment.
|
|
16
|
+
*/
|
|
17
|
+
export function encryptAttachment(attachment: Attachment): EncryptedAttachment;
|
|
18
|
+
/**
|
|
19
|
+
* Decrypts an encrypted payload from a remote attachment.
|
|
20
|
+
*/
|
|
21
|
+
export function decryptAttachment(encryptedBytes: Uint8Array, remoteAttachment: RemoteAttachment): Attachment;
|
|
22
|
+
export function encodeRemoteAttachment(remote_attachment: RemoteAttachment): EncodedContent;
|
|
23
|
+
export function walletSendCallsContentType(): ContentTypeId;
|
|
24
|
+
export function encodeWalletSendCalls(wallet_send_calls: WalletSendCalls): EncodedContent;
|
|
25
|
+
export function encodeTransactionReference(transaction_reference: TransactionReference): EncodedContent;
|
|
26
|
+
export function transactionReferenceContentType(): ContentTypeId;
|
|
27
|
+
export function encodeMultiRemoteAttachment(multi_remote_attachment: MultiRemoteAttachment): EncodedContent;
|
|
28
|
+
export function multiRemoteAttachmentContentType(): ContentTypeId;
|
|
29
|
+
export function encodeText(text: string): EncodedContent;
|
|
30
|
+
export function textContentType(): ContentTypeId;
|
|
31
|
+
export function replyContentType(): ContentTypeId;
|
|
32
|
+
export function encodeIntent(intent: Intent): EncodedContent;
|
|
33
|
+
export function intentContentType(): ContentTypeId;
|
|
34
|
+
export function encodeActions(actions: Actions): EncodedContent;
|
|
35
|
+
export function actionsContentType(): ContentTypeId;
|
|
36
|
+
export function encodeMarkdown(text: string): EncodedContent;
|
|
37
|
+
export function markdownContentType(): ContentTypeId;
|
|
38
|
+
export function encodeReaction(reaction: Reaction): EncodedContent;
|
|
39
|
+
export function reactionContentType(): ContentTypeId;
|
|
40
|
+
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>;
|
|
16
41
|
export function generateInboxId(accountIdentifier: Identifier, nonce?: bigint | null): string;
|
|
17
42
|
export function getInboxIdForIdentifier(host: string, gatewayHost: string | null | undefined, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
18
|
-
export function decodeGroupUpdated(bytes: Uint8Array): GroupUpdated;
|
|
19
|
-
export function decodeWalletSendCalls(bytes: Uint8Array): any;
|
|
20
|
-
export function encodeWalletSendCalls(wallet_send_calls: any): Uint8Array;
|
|
21
|
-
export function decodeXmtpText(bytes: Uint8Array): string;
|
|
22
|
-
export function encodeXmtpText(text: string): Uint8Array;
|
|
23
|
-
export function encodeAttachment(attachment: Attachment): Uint8Array;
|
|
24
|
-
export function decodeAttachment(bytes: Uint8Array): Attachment;
|
|
25
|
-
export function decodeReadReceipt(bytes: Uint8Array): ReadReceipt;
|
|
26
|
-
export function encodeReadReceipt(readReceipt: ReadReceipt): Uint8Array;
|
|
27
|
-
export function encodeRemoteAttachment(remoteAttachment: RemoteAttachment): Uint8Array;
|
|
28
|
-
export function decodeRemoteAttachment(bytes: Uint8Array): RemoteAttachment;
|
|
29
|
-
export function decodeTransactionReference(bytes: Uint8Array): TransactionReference;
|
|
30
|
-
export function encodeTransactionReference(transactionReference: TransactionReference): Uint8Array;
|
|
31
|
-
export function encodeReply(reply: Reply): Uint8Array;
|
|
32
|
-
export function decodeReply(bytes: Uint8Array): Reply;
|
|
33
|
-
export function decodeIntent(bytes: Uint8Array): Intent;
|
|
34
|
-
export function encodeIntent(intent: Intent): Uint8Array;
|
|
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 interface PasskeySignature {
|
|
54
|
+
publicKey: Uint8Array;
|
|
55
|
+
signature: Uint8Array;
|
|
56
|
+
authenticatorData: Uint8Array;
|
|
57
|
+
clientDataJson: Uint8Array;
|
|
43
58
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
59
|
+
|
|
60
|
+
export interface KeyPackageStatus {
|
|
61
|
+
lifetime?: Lifetime;
|
|
62
|
+
validationError?: string;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface Installation {
|
|
66
|
+
bytes: Uint8Array;
|
|
67
|
+
id: string;
|
|
68
|
+
clientTimestampNs?: bigint;
|
|
47
69
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
70
|
+
|
|
71
|
+
export interface InboxState {
|
|
72
|
+
inboxId: string;
|
|
73
|
+
recoveryIdentifier: Identifier;
|
|
74
|
+
installations: Installation[];
|
|
75
|
+
accountIdentifiers: Identifier[];
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface Lifetime {
|
|
79
|
+
notBefore: bigint;
|
|
80
|
+
notAfter: bigint;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export interface Attachment {
|
|
84
|
+
filename?: string;
|
|
85
|
+
mimeType: string;
|
|
86
|
+
content: Uint8Array;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export type ReadReceipt = Record<string, never>;
|
|
90
|
+
|
|
91
|
+
export interface MetadataFieldChange {
|
|
92
|
+
fieldName: string;
|
|
93
|
+
oldValue?: string;
|
|
94
|
+
newValue?: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export interface Inbox {
|
|
98
|
+
inboxId: string;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export interface GroupUpdated {
|
|
102
|
+
initiatedByInboxId: string;
|
|
103
|
+
addedInboxes: Inbox[];
|
|
104
|
+
removedInboxes: Inbox[];
|
|
105
|
+
leftInboxes: Inbox[];
|
|
106
|
+
metadataFieldChanges: MetadataFieldChange[];
|
|
107
|
+
addedAdminInboxes: Inbox[];
|
|
108
|
+
removedAdminInboxes: Inbox[];
|
|
109
|
+
addedSuperAdminInboxes: Inbox[];
|
|
110
|
+
removedSuperAdminInboxes: Inbox[];
|
|
51
111
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
Denied = 2,
|
|
112
|
+
|
|
113
|
+
export interface LeaveRequest {
|
|
114
|
+
authenticatedNote?: Uint8Array;
|
|
56
115
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
RemoteAttachment = 9,
|
|
68
|
-
TransactionReference = 10,
|
|
116
|
+
|
|
117
|
+
export interface RemoteAttachment {
|
|
118
|
+
url: string;
|
|
119
|
+
contentDigest: string;
|
|
120
|
+
secret: Uint8Array;
|
|
121
|
+
salt: Uint8Array;
|
|
122
|
+
nonce: Uint8Array;
|
|
123
|
+
scheme: string;
|
|
124
|
+
contentLength: number;
|
|
125
|
+
filename?: string;
|
|
69
126
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Result of encrypting an attachment for remote storage.
|
|
130
|
+
*/
|
|
131
|
+
export interface EncryptedAttachment {
|
|
132
|
+
/**
|
|
133
|
+
* The encrypted bytes to upload to the remote server
|
|
134
|
+
*/
|
|
135
|
+
payload: Uint8Array;
|
|
136
|
+
/**
|
|
137
|
+
* SHA-256 digest of the encrypted bytes (hex-encoded)
|
|
138
|
+
*/
|
|
139
|
+
contentDigest: string;
|
|
140
|
+
/**
|
|
141
|
+
* The 32-byte secret key needed for decryption
|
|
142
|
+
*/
|
|
143
|
+
secret: Uint8Array;
|
|
144
|
+
/**
|
|
145
|
+
* The 32-byte salt used in key derivation
|
|
146
|
+
*/
|
|
147
|
+
salt: Uint8Array;
|
|
148
|
+
/**
|
|
149
|
+
* The 12-byte nonce used in encryption
|
|
150
|
+
*/
|
|
151
|
+
nonce: Uint8Array;
|
|
152
|
+
/**
|
|
153
|
+
* The length of the encrypted content
|
|
154
|
+
*/
|
|
155
|
+
contentLength: number;
|
|
156
|
+
/**
|
|
157
|
+
* The filename of the attachment
|
|
158
|
+
*/
|
|
159
|
+
filename?: string;
|
|
75
160
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
161
|
+
|
|
162
|
+
export interface WalletSendCalls {
|
|
163
|
+
version: string;
|
|
164
|
+
chainId: string;
|
|
165
|
+
from: string;
|
|
166
|
+
calls: WalletCall[];
|
|
167
|
+
capabilities?: Record<string, string>;
|
|
80
168
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
169
|
+
|
|
170
|
+
export interface WalletCall {
|
|
171
|
+
to?: string;
|
|
172
|
+
data?: string;
|
|
173
|
+
value?: string;
|
|
174
|
+
gas?: string;
|
|
175
|
+
metadata?: Record<string, string>;
|
|
87
176
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
177
|
+
|
|
178
|
+
export interface TransactionMetadata {
|
|
179
|
+
transactionType: string;
|
|
180
|
+
currency: string;
|
|
181
|
+
amount: number;
|
|
182
|
+
decimals: number;
|
|
183
|
+
fromAddress: string;
|
|
184
|
+
toAddress: string;
|
|
91
185
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
186
|
+
|
|
187
|
+
export interface TransactionReference {
|
|
188
|
+
namespace?: string;
|
|
189
|
+
networkId: string;
|
|
190
|
+
reference: string;
|
|
191
|
+
metadata?: TransactionMetadata;
|
|
96
192
|
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
193
|
+
|
|
194
|
+
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 };
|
|
195
|
+
|
|
196
|
+
export interface MultiRemoteAttachment {
|
|
197
|
+
attachments: RemoteAttachmentInfo[];
|
|
100
198
|
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
199
|
+
|
|
200
|
+
export interface RemoteAttachmentInfo {
|
|
201
|
+
secret: Uint8Array;
|
|
202
|
+
contentDigest: string;
|
|
203
|
+
nonce: Uint8Array;
|
|
204
|
+
scheme: string;
|
|
205
|
+
url: string;
|
|
206
|
+
salt: Uint8Array;
|
|
207
|
+
contentLength?: number;
|
|
208
|
+
filename?: string;
|
|
104
209
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
ImageUrlSquare = 2,
|
|
109
|
-
MessageExpirationFromMS = 3,
|
|
110
|
-
MessageExpirationMS = 4,
|
|
210
|
+
|
|
211
|
+
export interface TextContent {
|
|
212
|
+
content: string;
|
|
111
213
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
RemoteAttachment = 4,
|
|
118
|
-
MultiRemoteAttachment = 5,
|
|
119
|
-
TransactionReference = 6,
|
|
120
|
-
GroupUpdated = 7,
|
|
121
|
-
ReadReceipt = 8,
|
|
122
|
-
LeaveRequest = 9,
|
|
123
|
-
WalletSendCalls = 10,
|
|
124
|
-
Intent = 11,
|
|
125
|
-
Actions = 12,
|
|
126
|
-
Custom = 13,
|
|
214
|
+
|
|
215
|
+
export interface Reply {
|
|
216
|
+
content: EncodedContent;
|
|
217
|
+
reference: string;
|
|
218
|
+
referenceInboxId?: string;
|
|
127
219
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
220
|
+
|
|
221
|
+
export interface EnrichedReply {
|
|
222
|
+
referenceId: string;
|
|
223
|
+
content: DecodedMessageContent;
|
|
224
|
+
inReplyTo?: DecodedMessage;
|
|
132
225
|
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
DoesNotExist = 4,
|
|
139
|
-
Other = 5,
|
|
226
|
+
|
|
227
|
+
export interface Intent {
|
|
228
|
+
id: string;
|
|
229
|
+
actionId: string;
|
|
230
|
+
metadata?: Record<string, string | number | boolean | null>;
|
|
140
231
|
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
232
|
+
|
|
233
|
+
export type ActionStyle = "primary" | "secondary" | "danger";
|
|
234
|
+
|
|
235
|
+
export interface Action {
|
|
236
|
+
id: string;
|
|
237
|
+
label: string;
|
|
238
|
+
imageUrl?: string;
|
|
239
|
+
style?: ActionStyle;
|
|
240
|
+
expiresAtNs?: bigint;
|
|
147
241
|
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
242
|
+
|
|
243
|
+
export interface Actions {
|
|
244
|
+
id: string;
|
|
245
|
+
description: string;
|
|
246
|
+
actions: Action[];
|
|
247
|
+
expiresAtNs?: bigint;
|
|
152
248
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
Unknown = 2,
|
|
249
|
+
|
|
250
|
+
export interface MarkdownContent {
|
|
251
|
+
content: string;
|
|
157
252
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
253
|
+
|
|
254
|
+
export interface Reaction {
|
|
255
|
+
reference: string;
|
|
256
|
+
referenceInboxId: string;
|
|
257
|
+
action: ReactionAction;
|
|
258
|
+
content: string;
|
|
259
|
+
schema: ReactionSchema;
|
|
163
260
|
}
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
261
|
+
|
|
262
|
+
export type ReactionAction = "unknown" | "added" | "removed";
|
|
263
|
+
|
|
264
|
+
export type ReactionSchema = "unknown" | "unicode" | "shortcode" | "custom";
|
|
265
|
+
|
|
266
|
+
export interface EncodedContent {
|
|
267
|
+
type?: ContentTypeId;
|
|
268
|
+
parameters?: Record<string, string>;
|
|
269
|
+
fallback?: string;
|
|
270
|
+
compression?: number;
|
|
271
|
+
content: Uint8Array;
|
|
169
272
|
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
273
|
+
|
|
274
|
+
export interface ContentTypeId {
|
|
275
|
+
authorityId: string;
|
|
276
|
+
typeId: string;
|
|
277
|
+
versionMajor: number;
|
|
278
|
+
versionMinor: number;
|
|
173
279
|
}
|
|
174
|
-
|
|
175
|
-
|
|
280
|
+
|
|
281
|
+
export interface DecodedMessage {
|
|
282
|
+
id: string;
|
|
283
|
+
sentAtNs: bigint;
|
|
284
|
+
kind: GroupMessageKind;
|
|
285
|
+
senderInstallationId: string;
|
|
286
|
+
senderInboxId: string;
|
|
287
|
+
contentType: ContentTypeId;
|
|
288
|
+
conversationId: string;
|
|
289
|
+
content: DecodedMessageContent;
|
|
290
|
+
fallback?: string;
|
|
291
|
+
reactions: DecodedMessage[];
|
|
292
|
+
deliveryStatus: DeliveryStatus;
|
|
293
|
+
numReplies: bigint;
|
|
294
|
+
expiresAtNs: bigint | undefined;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
298
|
+
|
|
299
|
+
export interface Credential {
|
|
300
|
+
name?: string;
|
|
301
|
+
value: string;
|
|
302
|
+
expiresAtSeconds: bigint;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export type LogLevel = "off" | "error" | "warn" | "info" | "debug" | "trace";
|
|
306
|
+
|
|
307
|
+
export type ClientMode = "default" | "notification";
|
|
308
|
+
|
|
176
309
|
/**
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
* *This API requires the following crate features to be activated: `ReadableStreamType`*
|
|
310
|
+
* Specify options for the logger
|
|
180
311
|
*/
|
|
181
|
-
|
|
182
|
-
|
|
312
|
+
export interface LogOptions {
|
|
313
|
+
/**
|
|
314
|
+
* enable structured JSON logging to stdout. Useful for third-party log viewers
|
|
315
|
+
*/
|
|
316
|
+
structured?: boolean;
|
|
317
|
+
/**
|
|
318
|
+
* enable performance metrics for libxmtp in the `performance` tab
|
|
319
|
+
*/
|
|
320
|
+
performance?: boolean;
|
|
321
|
+
/**
|
|
322
|
+
* filter for logs
|
|
323
|
+
*/
|
|
324
|
+
level?: LogLevel;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
export type DeviceSyncWorkerMode = "enabled" | "disabled";
|
|
328
|
+
|
|
329
|
+
export interface GroupSyncSummary {
|
|
330
|
+
numEligible: number;
|
|
331
|
+
numSynced: number;
|
|
332
|
+
}
|
|
183
333
|
|
|
184
334
|
export interface Identifier {
|
|
185
335
|
identifier: string;
|
|
186
336
|
identifierKind: IdentifierKind;
|
|
187
337
|
}
|
|
188
338
|
|
|
189
|
-
export
|
|
339
|
+
export interface ApiStats {
|
|
340
|
+
uploadKeyPackage: bigint;
|
|
341
|
+
fetchKeyPackage: bigint;
|
|
342
|
+
sendGroupMessages: bigint;
|
|
343
|
+
sendWelcomeMessages: bigint;
|
|
344
|
+
queryGroupMessages: bigint;
|
|
345
|
+
queryWelcomeMessages: bigint;
|
|
346
|
+
subscribeMessages: bigint;
|
|
347
|
+
subscribeWelcomes: bigint;
|
|
348
|
+
}
|
|
190
349
|
|
|
191
|
-
export
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
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);
|
|
350
|
+
export type IdentifierKind = "Ethereum" | "Passkey";
|
|
351
|
+
|
|
352
|
+
export interface IdentityStats {
|
|
353
|
+
publishIdentityUpdate: bigint;
|
|
354
|
+
getIdentityUpdatesV2: bigint;
|
|
355
|
+
getInboxIds: bigint;
|
|
356
|
+
verifySmartContractWalletSignature: bigint;
|
|
203
357
|
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
358
|
+
|
|
359
|
+
export type PermissionUpdateType = "addMember" | "removeMember" | "addAdmin" | "removeAdmin" | "updateMetadata";
|
|
360
|
+
|
|
361
|
+
export interface PermissionPolicySet {
|
|
362
|
+
addMemberPolicy: PermissionPolicy;
|
|
363
|
+
removeMemberPolicy: PermissionPolicy;
|
|
364
|
+
addAdminPolicy: PermissionPolicy;
|
|
365
|
+
removeAdminPolicy: PermissionPolicy;
|
|
366
|
+
updateGroupNamePolicy: PermissionPolicy;
|
|
367
|
+
updateGroupDescriptionPolicy: PermissionPolicy;
|
|
368
|
+
updateGroupImageUrlSquarePolicy: PermissionPolicy;
|
|
369
|
+
updateMessageDisappearingPolicy: PermissionPolicy;
|
|
215
370
|
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
query_group_messages: bigint;
|
|
225
|
-
query_welcome_messages: bigint;
|
|
226
|
-
subscribe_messages: bigint;
|
|
227
|
-
subscribe_welcomes: bigint;
|
|
371
|
+
|
|
372
|
+
export type MetadataField = "groupName" | "description" | "imageUrlSquare" | "messageExpirationFromMS" | "messageExpirationMS";
|
|
373
|
+
|
|
374
|
+
export type GroupPermissionsOptions = "default" | "adminOnly" | "customPolicy";
|
|
375
|
+
|
|
376
|
+
export interface GroupPermissions {
|
|
377
|
+
policyType: GroupPermissionsOptions;
|
|
378
|
+
policySet: PermissionPolicySet;
|
|
228
379
|
}
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
380
|
+
|
|
381
|
+
export type PermissionPolicy = "allow" | "deny" | "admin" | "superAdmin" | "doesNotExist" | "other";
|
|
382
|
+
|
|
383
|
+
export type ContentType = "unknown" | "text" | "markdown" | "leaveRequest" | "groupMembershipChange" | "groupUpdated" | "reaction" | "readReceipt" | "reply" | "attachment" | "remoteAttachment" | "transactionReference";
|
|
384
|
+
|
|
385
|
+
export interface GroupMember {
|
|
386
|
+
inboxId: string;
|
|
387
|
+
accountIdentifiers: Identifier[];
|
|
388
|
+
installationIds: string[];
|
|
389
|
+
permissionLevel: PermissionLevel;
|
|
390
|
+
consentState: ConsentState;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
export interface GroupMetadata {
|
|
394
|
+
creatorInboxId: string;
|
|
395
|
+
conversationType: string;
|
|
237
396
|
}
|
|
397
|
+
|
|
398
|
+
export interface SendMessageOpts {
|
|
399
|
+
shouldPush: boolean;
|
|
400
|
+
optimistic?: boolean;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export type PermissionLevel = "member" | "admin" | "superAdmin";
|
|
404
|
+
|
|
405
|
+
export interface Consent {
|
|
406
|
+
entityType: ConsentEntityType;
|
|
407
|
+
state: ConsentState;
|
|
408
|
+
entity: string;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
export type ConsentState = "unknown" | "allowed" | "denied";
|
|
412
|
+
|
|
413
|
+
export type ConsentEntityType = "groupId" | "inboxId";
|
|
414
|
+
|
|
415
|
+
export interface ConversationDebugInfo {
|
|
416
|
+
epoch: bigint;
|
|
417
|
+
maybeForked: boolean;
|
|
418
|
+
forkDetails: string;
|
|
419
|
+
isCommitLogForked?: boolean;
|
|
420
|
+
localCommitLog: string;
|
|
421
|
+
remoteCommitLog: string;
|
|
422
|
+
cursor: Cursor[];
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
export interface Cursor {
|
|
426
|
+
originatorId: number;
|
|
427
|
+
sequenceId: bigint;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
export type ListConversationsOrderBy = "createdAt" | "lastActivity";
|
|
431
|
+
|
|
432
|
+
export interface MessageDisappearingSettings {
|
|
433
|
+
fromNs: bigint;
|
|
434
|
+
inNs: bigint;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export interface CreateGroupOptions {
|
|
438
|
+
permissions?: GroupPermissionsOptions;
|
|
439
|
+
groupName?: string;
|
|
440
|
+
groupImageUrlSquare?: string;
|
|
441
|
+
groupDescription?: string;
|
|
442
|
+
customPermissionPolicySet?: PermissionPolicySet;
|
|
443
|
+
messageDisappearingSettings?: MessageDisappearingSettings;
|
|
444
|
+
appData?: string;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
export interface HmacKey {
|
|
448
|
+
key: Uint8Array;
|
|
449
|
+
epoch: bigint;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
export interface CreateDMOptions {
|
|
453
|
+
messageDisappearingSettings?: MessageDisappearingSettings;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
export interface ListConversationsOptions {
|
|
457
|
+
consentStates?: ConsentState[];
|
|
458
|
+
conversationType?: ConversationType;
|
|
459
|
+
createdAfterNs?: bigint;
|
|
460
|
+
createdBeforeNs?: bigint;
|
|
461
|
+
includeDuplicateDms?: boolean;
|
|
462
|
+
orderBy?: ListConversationsOrderBy;
|
|
463
|
+
limit?: bigint;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
export type GroupMembershipState = "allowed" | "rejected" | "pending" | "restored" | "pendingRemove";
|
|
467
|
+
|
|
468
|
+
export type ConversationType = "dm" | "group" | "sync" | "oneshot";
|
|
469
|
+
|
|
470
|
+
export interface ListMessagesOptions {
|
|
471
|
+
contentTypes?: ContentType[];
|
|
472
|
+
excludeContentTypes?: ContentType[];
|
|
473
|
+
sentBeforeNs?: bigint;
|
|
474
|
+
sentAfterNs?: bigint;
|
|
475
|
+
limit?: bigint;
|
|
476
|
+
deliveryStatus?: DeliveryStatus;
|
|
477
|
+
direction?: SortDirection;
|
|
478
|
+
kind?: GroupMessageKind;
|
|
479
|
+
excludeSenderInboxIds?: string[];
|
|
480
|
+
sortBy?: MessageSortBy;
|
|
481
|
+
insertedAfterNs?: bigint;
|
|
482
|
+
insertedBeforeNs?: bigint;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
export interface MessageWithReactions {
|
|
486
|
+
message: Message;
|
|
487
|
+
reactions: Message[];
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
export interface Message {
|
|
491
|
+
id: string;
|
|
492
|
+
sentAtNs: bigint;
|
|
493
|
+
convoId: string;
|
|
494
|
+
senderInboxId: string;
|
|
495
|
+
content: EncodedContent;
|
|
496
|
+
kind: GroupMessageKind;
|
|
497
|
+
deliveryStatus: DeliveryStatus;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export type MessageSortBy = "sentAt" | "insertedAt";
|
|
501
|
+
|
|
502
|
+
export type SortDirection = "ascending" | "descending";
|
|
503
|
+
|
|
504
|
+
export type GroupMessageKind = "application" | "membershipchange";
|
|
505
|
+
|
|
506
|
+
export type DeliveryStatus = "unpublished" | "published" | "failed";
|
|
507
|
+
|
|
238
508
|
export class AuthHandle {
|
|
239
509
|
free(): void;
|
|
240
510
|
[Symbol.dispose](): void;
|
|
@@ -246,15 +516,15 @@ 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
529
|
/**
|
|
260
530
|
*
|
|
@@ -264,8 +534,8 @@ export class Client {
|
|
|
264
534
|
* * Otherwise, the state will be read from the local database.
|
|
265
535
|
*
|
|
266
536
|
*/
|
|
267
|
-
inboxState(
|
|
268
|
-
getLatestInboxState(
|
|
537
|
+
inboxState(refreshFromNetwork: boolean): Promise<InboxState>;
|
|
538
|
+
getLatestInboxState(inboxId: string): Promise<InboxState>;
|
|
269
539
|
/**
|
|
270
540
|
*
|
|
271
541
|
* * Get key package statuses for a list of installation IDs.
|
|
@@ -273,25 +543,22 @@ export class Client {
|
|
|
273
543
|
* * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
|
|
274
544
|
*
|
|
275
545
|
*/
|
|
276
|
-
getKeyPackageStatusesForInstallationIds(
|
|
277
|
-
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
278
|
-
setConsentStates(records: Consent[]): Promise<void>;
|
|
546
|
+
getKeyPackageStatusesForInstallationIds(installationIds: string[]): Promise<any>;
|
|
279
547
|
/**
|
|
280
548
|
* Output booleans should be zipped with the index of input identifiers
|
|
281
549
|
*/
|
|
282
|
-
canMessage(
|
|
550
|
+
canMessage(accountIdentifiers: Identifier[]): Promise<any>;
|
|
283
551
|
conversations(): Conversations;
|
|
284
552
|
apiStatistics(): ApiStats;
|
|
285
|
-
deleteMessage(message_id: Uint8Array): number;
|
|
286
|
-
messageV2(message_id: Uint8Array): Promise<DecodedMessage>;
|
|
287
553
|
syncPreferences(): Promise<GroupSyncSummary>;
|
|
288
554
|
sendSyncRequest(): Promise<void>;
|
|
289
555
|
clearAllStatistics(): void;
|
|
290
|
-
uploadDebugArchive(server_url: string): Promise<string>;
|
|
291
556
|
apiIdentityStatistics(): IdentityStats;
|
|
292
557
|
apiAggregateStatistics(): string;
|
|
293
|
-
inboxStateFromInboxIds(
|
|
558
|
+
inboxStateFromInboxIds(inboxIds: string[], refreshFromNetwork: boolean): Promise<InboxState[]>;
|
|
294
559
|
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
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,49 +567,36 @@ 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;
|
|
323
573
|
[Symbol.dispose](): void;
|
|
324
|
-
consentState(): ConsentState;
|
|
325
|
-
updateConsentState(state: ConsentState): void;
|
|
326
574
|
adminList(): string[];
|
|
327
575
|
getDebugInfo(): Promise<any>;
|
|
328
576
|
groupName(): string;
|
|
329
|
-
|
|
577
|
+
sendReply(reply: Reply, optimistic?: boolean | null): Promise<string>;
|
|
578
|
+
addMembers(accountIdentifiers: Identifier[]): Promise<void>;
|
|
330
579
|
leaveGroup(): Promise<void>;
|
|
580
|
+
sendIntent(intent: Intent, optimistic?: boolean | null): Promise<string>;
|
|
331
581
|
listMembers(): Promise<any>;
|
|
332
|
-
removeAdmin(
|
|
582
|
+
removeAdmin(inboxId: string): Promise<void>;
|
|
583
|
+
sendActions(actions: Actions, optimistic?: boolean | null): Promise<string>;
|
|
333
584
|
createdAtNs(): bigint;
|
|
334
585
|
findMessages(opts?: ListMessagesOptions | null): Promise<Message[]>;
|
|
335
586
|
getHmacKeys(): any;
|
|
587
|
+
sendMarkdown(markdown: string, optimistic?: boolean | null): Promise<string>;
|
|
588
|
+
sendReaction(reaction: Reaction, optimistic?: boolean | null): Promise<string>;
|
|
336
589
|
countMessages(opts?: ListMessagesOptions | null): Promise<bigint>;
|
|
337
590
|
groupMetadata(): Promise<GroupMetadata>;
|
|
338
|
-
isSuperAdmin(
|
|
339
|
-
removeMembers(
|
|
340
|
-
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>;
|
|
341
595
|
/**
|
|
342
596
|
* send a message without immediately publishing to the delivery service.
|
|
343
597
|
*/
|
|
344
|
-
sendOptimistic(
|
|
345
|
-
updateAppData(
|
|
598
|
+
sendOptimistic(encodedContent: EncodedContent, opts: SendMessageOpts): string;
|
|
599
|
+
updateAppData(appData: string): Promise<void>;
|
|
346
600
|
dmPeerInboxId(): string;
|
|
347
601
|
membershipState(): GroupMembershipState;
|
|
348
602
|
/**
|
|
@@ -353,50 +607,45 @@ export class Conversation {
|
|
|
353
607
|
addedByInboxId(): string;
|
|
354
608
|
groupDescription(): string;
|
|
355
609
|
groupPermissions(): GroupPermissions;
|
|
356
|
-
|
|
610
|
+
sendReadReceipt(optimistic?: boolean | null): Promise<string>;
|
|
611
|
+
updateGroupName(groupName: string): Promise<void>;
|
|
357
612
|
findDuplicateDms(): Promise<Conversation[]>;
|
|
358
613
|
pausedForVersion(): string | undefined;
|
|
359
|
-
removeSuperAdmin(
|
|
614
|
+
removeSuperAdmin(inboxId: string): Promise<void>;
|
|
360
615
|
getLastReadTimes(): Promise<any>;
|
|
361
616
|
findEnrichedMessages(opts?: ListMessagesOptions | null): Promise<DecodedMessage[]>;
|
|
362
617
|
groupImageUrlSquare(): string;
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
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>;
|
|
367
625
|
findMessagesWithReactions(opts?: ListMessagesOptions | null): Promise<MessageWithReactions[]>;
|
|
626
|
+
sendMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment, optimistic?: boolean | null): Promise<string>;
|
|
368
627
|
messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
369
|
-
updateGroupImageUrlSquare(
|
|
628
|
+
updateGroupImageUrlSquare(groupImageUrlSquare: string): Promise<void>;
|
|
370
629
|
id(): string;
|
|
371
|
-
processStreamedGroupMessage(
|
|
630
|
+
processStreamedGroupMessage(envelopeBytes: Uint8Array): Promise<Message[]>;
|
|
372
631
|
isMessageDisappearingEnabled(): boolean;
|
|
373
632
|
removeMessageDisappearingSettings(): Promise<void>;
|
|
374
633
|
updateMessageDisappearingSettings(settings: MessageDisappearingSettings): Promise<void>;
|
|
375
|
-
send(
|
|
634
|
+
send(encodedContent: EncodedContent, opts: SendMessageOpts): Promise<string>;
|
|
376
635
|
sync(): Promise<void>;
|
|
377
636
|
stream(callback: any): StreamCloser;
|
|
378
637
|
appData(): string;
|
|
379
|
-
isAdmin(
|
|
380
|
-
addAdmin(
|
|
638
|
+
isAdmin(inboxId: string): boolean;
|
|
639
|
+
addAdmin(inboxId: string): Promise<void>;
|
|
381
640
|
isActive(): boolean;
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
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[];
|
|
641
|
+
sendText(text: string, optimistic?: boolean | null): Promise<string>;
|
|
642
|
+
consentState(): ConsentState;
|
|
643
|
+
updateConsentState(state: ConsentState): void;
|
|
395
644
|
}
|
|
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,170 +735,25 @@ 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 __wbg_action_free: (a: number, b: number) => void;
|
|
979
|
-
readonly __wbg_actions_free: (a: number, b: number) => void;
|
|
980
|
-
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
981
743
|
readonly __wbg_authhandle_free: (a: number, b: number) => void;
|
|
982
744
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
983
|
-
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
984
|
-
readonly __wbg_credential_free: (a: number, b: number) => void;
|
|
985
|
-
readonly __wbg_get_action_expiresAtNs: (a: number) => [number, bigint];
|
|
986
|
-
readonly __wbg_get_action_id: (a: number) => [number, number];
|
|
987
|
-
readonly __wbg_get_action_imageUrl: (a: number) => [number, number];
|
|
988
|
-
readonly __wbg_get_action_label: (a: number) => [number, number];
|
|
989
|
-
readonly __wbg_get_action_style: (a: number) => number;
|
|
990
|
-
readonly __wbg_get_actions_description: (a: number) => [number, number];
|
|
991
|
-
readonly __wbg_get_actions_id: (a: number) => [number, number];
|
|
992
|
-
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
993
|
-
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
994
|
-
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
995
|
-
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
996
|
-
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
997
|
-
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
998
|
-
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
999
|
-
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
1000
|
-
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
1001
|
-
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
1002
|
-
readonly __wbg_get_consent_state: (a: number) => number;
|
|
1003
|
-
readonly __wbg_get_groupsyncsummary_numEligible: (a: number) => number;
|
|
1004
|
-
readonly __wbg_get_groupsyncsummary_numSynced: (a: number) => number;
|
|
1005
|
-
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
1006
|
-
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
1007
|
-
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
1008
|
-
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
1009
|
-
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
1010
|
-
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
1011
|
-
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
1012
|
-
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
1013
|
-
readonly __wbg_get_leaverequest_authenticatedNote: (a: number) => any;
|
|
1014
|
-
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
1015
|
-
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
1016
|
-
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
1017
|
-
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
1018
|
-
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
1019
|
-
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
1020
|
-
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
1021
|
-
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
1022
|
-
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
1023
|
-
readonly __wbg_get_reactionpayload_content: (a: number) => [number, number];
|
|
1024
|
-
readonly __wbg_get_reactionpayload_reference: (a: number) => [number, number];
|
|
1025
|
-
readonly __wbg_get_reactionpayload_referenceInboxId: (a: number) => [number, number];
|
|
1026
|
-
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
1027
|
-
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
1028
|
-
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
1029
|
-
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
1030
|
-
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
1031
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
1032
|
-
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
1033
|
-
readonly __wbg_groupsyncsummary_free: (a: number, b: number) => void;
|
|
1034
|
-
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
1035
|
-
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
1036
|
-
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
1037
|
-
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
1038
|
-
readonly __wbg_leaverequest_free: (a: number, b: number) => void;
|
|
1039
|
-
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
1040
|
-
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
1041
|
-
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
1042
|
-
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
1043
|
-
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
1044
|
-
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
1045
|
-
readonly __wbg_reactionpayload_free: (a: number, b: number) => void;
|
|
1046
|
-
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
1047
|
-
readonly __wbg_set_action_expiresAtNs: (a: number, b: number, c: bigint) => void;
|
|
1048
|
-
readonly __wbg_set_action_id: (a: number, b: number, c: number) => void;
|
|
1049
|
-
readonly __wbg_set_action_imageUrl: (a: number, b: number, c: number) => void;
|
|
1050
|
-
readonly __wbg_set_action_label: (a: number, b: number, c: number) => void;
|
|
1051
|
-
readonly __wbg_set_action_style: (a: number, b: number) => void;
|
|
1052
|
-
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
1053
|
-
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
1054
|
-
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
1055
|
-
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
1056
|
-
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
1057
|
-
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
1058
|
-
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
1059
|
-
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
1060
|
-
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
1061
|
-
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
1062
|
-
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
1063
|
-
readonly __wbg_set_groupsyncsummary_numEligible: (a: number, b: number) => void;
|
|
1064
|
-
readonly __wbg_set_groupsyncsummary_numSynced: (a: number, b: number) => void;
|
|
1065
|
-
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
1066
|
-
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
1067
|
-
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
1068
|
-
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
1069
|
-
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
1070
|
-
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
1071
|
-
readonly __wbg_set_leaverequest_authenticatedNote: (a: number, b: number) => void;
|
|
1072
|
-
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
1073
|
-
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
1074
|
-
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
1075
|
-
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
1076
|
-
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
1077
|
-
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
1078
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
1079
|
-
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
1080
|
-
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
1081
|
-
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
1082
|
-
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
1083
|
-
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
1084
|
-
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
1085
|
-
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
1086
|
-
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
1087
745
|
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
1088
|
-
readonly
|
|
1089
|
-
readonly actions_addAction: (a: number, b: number) => void;
|
|
1090
|
-
readonly actions_getActions: (a: number) => [number, number];
|
|
1091
|
-
readonly actions_new: (a: number, b: number, c: number, d: number, e: number, f: bigint) => number;
|
|
1092
|
-
readonly actions_setActions: (a: number, b: number, c: number) => void;
|
|
746
|
+
readonly actionsContentType: () => any;
|
|
1093
747
|
readonly applySignatureRequest: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
748
|
+
readonly attachmentContentType: () => any;
|
|
1094
749
|
readonly authhandle_id: (a: number) => number;
|
|
1095
750
|
readonly authhandle_new: () => number;
|
|
1096
|
-
readonly authhandle_set: (a: number, b:
|
|
751
|
+
readonly authhandle_set: (a: number, b: any) => any;
|
|
1097
752
|
readonly client_accountIdentifier: (a: number) => any;
|
|
1098
753
|
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
1099
754
|
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
1100
|
-
readonly client_apiIdentityStatistics: (a: number) =>
|
|
1101
|
-
readonly client_apiStatistics: (a: number) =>
|
|
755
|
+
readonly client_apiIdentityStatistics: (a: number) => any;
|
|
756
|
+
readonly client_apiStatistics: (a: number) => any;
|
|
1102
757
|
readonly client_appVersion: (a: number) => [number, number];
|
|
1103
758
|
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
1104
759
|
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
@@ -1106,9 +761,7 @@ export interface InitOutput {
|
|
|
1106
761
|
readonly client_clearAllStatistics: (a: number) => void;
|
|
1107
762
|
readonly client_conversations: (a: number) => number;
|
|
1108
763
|
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
1109
|
-
readonly client_deleteMessage: (a: number, b: number, c: number) => [number, number, number];
|
|
1110
764
|
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
1111
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
1112
765
|
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
1113
766
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
1114
767
|
readonly client_inboxId: (a: number) => [number, number];
|
|
@@ -1118,425 +771,61 @@ export interface InitOutput {
|
|
|
1118
771
|
readonly client_installationIdBytes: (a: number) => any;
|
|
1119
772
|
readonly client_isRegistered: (a: number) => number;
|
|
1120
773
|
readonly client_libxmtpVersion: (a: number) => [number, number];
|
|
1121
|
-
readonly client_messageV2: (a: number, b: number, c: number) => any;
|
|
1122
774
|
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
1123
775
|
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
1124
776
|
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
1125
777
|
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
1126
778
|
readonly client_sendSyncRequest: (a: number) => any;
|
|
1127
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
1128
779
|
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
1129
780
|
readonly client_syncPreferences: (a: number) => any;
|
|
1130
|
-
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
1131
781
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
1132
|
-
readonly
|
|
1133
|
-
readonly
|
|
1134
|
-
readonly
|
|
1135
|
-
readonly
|
|
1136
|
-
readonly
|
|
1137
|
-
readonly
|
|
1138
|
-
readonly
|
|
1139
|
-
readonly
|
|
1140
|
-
readonly
|
|
1141
|
-
readonly
|
|
1142
|
-
readonly
|
|
1143
|
-
readonly
|
|
1144
|
-
readonly
|
|
782
|
+
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;
|
|
783
|
+
readonly decryptAttachment: (a: number, b: number, c: any) => [number, number, number];
|
|
784
|
+
readonly encodeActions: (a: any) => [number, number, number];
|
|
785
|
+
readonly encodeAttachment: (a: any) => [number, number, number];
|
|
786
|
+
readonly encodeIntent: (a: any) => [number, number, number];
|
|
787
|
+
readonly encodeMarkdown: (a: number, b: number) => [number, number, number];
|
|
788
|
+
readonly encodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
789
|
+
readonly encodeReaction: (a: any) => [number, number, number];
|
|
790
|
+
readonly encodeReadReceipt: (a: any) => [number, number, number];
|
|
791
|
+
readonly encodeRemoteAttachment: (a: any) => [number, number, number];
|
|
792
|
+
readonly encodeText: (a: number, b: number) => [number, number, number];
|
|
793
|
+
readonly encodeTransactionReference: (a: any) => [number, number, number];
|
|
794
|
+
readonly encodeWalletSendCalls: (a: any) => [number, number, number];
|
|
795
|
+
readonly encryptAttachment: (a: any) => [number, number, number];
|
|
1145
796
|
readonly generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
|
|
1146
797
|
readonly getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: any) => any;
|
|
1147
|
-
readonly
|
|
798
|
+
readonly groupUpdatedContentType: () => any;
|
|
1148
799
|
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
1149
|
-
readonly
|
|
1150
|
-
readonly
|
|
1151
|
-
readonly
|
|
1152
|
-
readonly
|
|
1153
|
-
readonly
|
|
1154
|
-
readonly
|
|
1155
|
-
readonly
|
|
1156
|
-
readonly
|
|
1157
|
-
readonly opfs_getCapacity: () => number;
|
|
1158
|
-
readonly opfs_getFileCount: () => number;
|
|
1159
|
-
readonly opfs_getFileNames: () => [number, number];
|
|
1160
|
-
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
1161
|
-
readonly opfs_init_sqlite_opfs: () => any;
|
|
1162
|
-
readonly opfs_reduceCapacity: (a: number) => any;
|
|
1163
|
-
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
1164
|
-
readonly opfs_wipeFiles: () => any;
|
|
1165
|
-
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1166
|
-
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;
|
|
800
|
+
readonly intentContentType: () => any;
|
|
801
|
+
readonly leaveRequestContentType: () => any;
|
|
802
|
+
readonly markdownContentType: () => any;
|
|
803
|
+
readonly multiRemoteAttachmentContentType: () => any;
|
|
804
|
+
readonly reactionContentType: () => any;
|
|
805
|
+
readonly readReceiptContentType: () => any;
|
|
806
|
+
readonly remoteAttachmentContentType: () => any;
|
|
807
|
+
readonly replyContentType: () => any;
|
|
1167
808
|
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number) => [number, number, number];
|
|
1168
809
|
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
1169
|
-
readonly signaturerequesthandle_addPasskeySignature: (a: number, b:
|
|
810
|
+
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: any) => any;
|
|
1170
811
|
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
1171
812
|
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
813
|
+
readonly textContentType: () => any;
|
|
814
|
+
readonly transactionReferenceContentType: () => any;
|
|
1172
815
|
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
1173
|
-
readonly
|
|
1174
|
-
readonly
|
|
1175
|
-
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
1176
|
-
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
1177
|
-
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
1178
|
-
readonly __wbg_set_reactionpayload_content: (a: number, b: number, c: number) => void;
|
|
1179
|
-
readonly __wbg_set_reactionpayload_reference: (a: number, b: number, c: number) => void;
|
|
1180
|
-
readonly __wbg_set_reactionpayload_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
1181
|
-
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
1182
|
-
readonly __wbg_set_reactionpayload_action: (a: number, b: number) => void;
|
|
1183
|
-
readonly __wbg_set_reactionpayload_schema: (a: number, b: number) => void;
|
|
1184
|
-
readonly __wbg_get_reactionpayload_action: (a: number) => number;
|
|
1185
|
-
readonly __wbg_get_reactionpayload_schema: (a: number) => number;
|
|
1186
|
-
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
1187
|
-
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
1188
|
-
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
1189
|
-
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
1190
|
-
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
1191
|
-
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
1192
|
-
readonly __wbg_get_actions_expiresAtNs: (a: number) => [number, bigint];
|
|
1193
|
-
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
1194
|
-
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
1195
|
-
readonly __wbg_set_actions_expiresAtNs: (a: number, b: number, c: bigint) => void;
|
|
1196
|
-
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
1197
|
-
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
1198
|
-
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
1199
|
-
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
1200
|
-
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
1201
|
-
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
1202
|
-
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
1203
|
-
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
816
|
+
readonly walletSendCallsContentType: () => any;
|
|
817
|
+
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
1204
818
|
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
1205
819
|
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
1206
|
-
readonly __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
1207
|
-
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
1208
|
-
readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => [number, number];
|
|
1209
|
-
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
1210
|
-
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
1211
|
-
readonly __wbg_get_conversationdebuginfo_isCommitLogForked: (a: number) => number;
|
|
1212
|
-
readonly __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
|
|
1213
|
-
readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
1214
|
-
readonly __wbg_get_conversationdebuginfo_remoteCommitLog: (a: number) => [number, number];
|
|
1215
820
|
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
1216
821
|
readonly __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
|
|
1217
|
-
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) =>
|
|
1218
|
-
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
1219
|
-
readonly __wbg_get_creategroupoptions_appData: (a: number) => [number, number];
|
|
1220
|
-
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
1221
|
-
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
1222
|
-
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
1223
|
-
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
1224
|
-
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
1225
|
-
readonly __wbg_get_groupupdated_addedAdminInboxes: (a: number) => [number, number];
|
|
1226
|
-
readonly __wbg_get_groupupdated_addedInboxes: (a: number) => [number, number];
|
|
1227
|
-
readonly __wbg_get_groupupdated_addedSuperAdminInboxes: (a: number) => [number, number];
|
|
1228
|
-
readonly __wbg_get_groupupdated_initiatedByInboxId: (a: number) => [number, number];
|
|
1229
|
-
readonly __wbg_get_groupupdated_leftInboxes: (a: number) => [number, number];
|
|
1230
|
-
readonly __wbg_get_groupupdated_metadataFieldChanges: (a: number) => [number, number];
|
|
1231
|
-
readonly __wbg_get_groupupdated_removedAdminInboxes: (a: number) => [number, number];
|
|
1232
|
-
readonly __wbg_get_groupupdated_removedInboxes: (a: number) => [number, number];
|
|
1233
|
-
readonly __wbg_get_groupupdated_removedSuperAdminInboxes: (a: number) => [number, number];
|
|
1234
|
-
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
1235
|
-
readonly __wbg_get_inbox_inboxId: (a: number) => [number, number];
|
|
1236
|
-
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
1237
|
-
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
1238
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
1239
|
-
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
1240
|
-
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
1241
|
-
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
1242
|
-
readonly __wbg_get_listconversationsoptions_orderBy: (a: number) => number;
|
|
1243
|
-
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
1244
|
-
readonly __wbg_get_metadatafieldchange_fieldName: (a: number) => [number, number];
|
|
1245
|
-
readonly __wbg_get_metadatafieldchange_newValue: (a: number) => [number, number];
|
|
1246
|
-
readonly __wbg_get_metadatafieldchange_oldValue: (a: number) => [number, number];
|
|
1247
|
-
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
1248
|
-
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
1249
|
-
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
1250
|
-
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
1251
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
1252
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
1253
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
1254
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
1255
|
-
readonly __wbg_get_textcontent_content: (a: number) => [number, number];
|
|
1256
|
-
readonly __wbg_get_xmtpcursor_originator_id: (a: number) => number;
|
|
1257
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
1258
|
-
readonly __wbg_groupupdated_free: (a: number, b: number) => void;
|
|
1259
|
-
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
1260
|
-
readonly __wbg_inbox_free: (a: number, b: number) => void;
|
|
1261
|
-
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
1262
|
-
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
1263
|
-
readonly __wbg_metadatafieldchange_free: (a: number, b: number) => void;
|
|
1264
|
-
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
1265
|
-
readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: number, c: number) => void;
|
|
1266
|
-
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
1267
|
-
readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
1268
|
-
readonly __wbg_set_conversationdebuginfo_isCommitLogForked: (a: number, b: number) => void;
|
|
1269
|
-
readonly __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
|
|
1270
|
-
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
1271
|
-
readonly __wbg_set_conversationdebuginfo_remoteCommitLog: (a: number, b: number, c: number) => void;
|
|
822
|
+
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => any;
|
|
1272
823
|
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
1273
824
|
readonly __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
|
|
1274
825
|
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
1275
|
-
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
1276
|
-
readonly __wbg_set_creategroupoptions_appData: (a: number, b: number, c: number) => void;
|
|
1277
|
-
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
1278
|
-
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
1279
|
-
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
1280
|
-
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
1281
|
-
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
1282
|
-
readonly __wbg_set_groupupdated_addedAdminInboxes: (a: number, b: number, c: number) => void;
|
|
1283
|
-
readonly __wbg_set_groupupdated_addedInboxes: (a: number, b: number, c: number) => void;
|
|
1284
|
-
readonly __wbg_set_groupupdated_addedSuperAdminInboxes: (a: number, b: number, c: number) => void;
|
|
1285
|
-
readonly __wbg_set_groupupdated_initiatedByInboxId: (a: number, b: number, c: number) => void;
|
|
1286
|
-
readonly __wbg_set_groupupdated_leftInboxes: (a: number, b: number, c: number) => void;
|
|
1287
|
-
readonly __wbg_set_groupupdated_metadataFieldChanges: (a: number, b: number, c: number) => void;
|
|
1288
|
-
readonly __wbg_set_groupupdated_removedAdminInboxes: (a: number, b: number, c: number) => void;
|
|
1289
|
-
readonly __wbg_set_groupupdated_removedInboxes: (a: number, b: number, c: number) => void;
|
|
1290
|
-
readonly __wbg_set_groupupdated_removedSuperAdminInboxes: (a: number, b: number, c: number) => void;
|
|
1291
|
-
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
1292
|
-
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
1293
|
-
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
1294
|
-
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
1295
|
-
readonly __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
1296
|
-
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
1297
|
-
readonly __wbg_set_listconversationsoptions_orderBy: (a: number, b: number) => void;
|
|
1298
|
-
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
1299
|
-
readonly __wbg_set_metadatafieldchange_newValue: (a: number, b: number, c: number) => void;
|
|
1300
|
-
readonly __wbg_set_metadatafieldchange_oldValue: (a: number, b: number, c: number) => void;
|
|
1301
|
-
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
1302
|
-
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
1303
|
-
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
1304
|
-
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
1305
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
1306
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
1307
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
1308
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
1309
|
-
readonly __wbg_set_xmtpcursor_originator_id: (a: number, b: number) => void;
|
|
1310
826
|
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
1311
|
-
readonly
|
|
1312
|
-
readonly
|
|
1313
|
-
readonly conversationlistitem_new: (a: number, b: number, c: number) => number;
|
|
1314
|
-
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
1315
|
-
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
1316
|
-
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
1317
|
-
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
1318
|
-
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
1319
|
-
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
1320
|
-
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
1321
|
-
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
1322
|
-
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
1323
|
-
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
1324
|
-
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
1325
|
-
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
1326
|
-
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
1327
|
-
readonly conversations_streamLocal: (a: number, b: number) => any;
|
|
1328
|
-
readonly conversations_streamMessageDeletions: (a: number, b: any) => [number, number, number];
|
|
1329
|
-
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
1330
|
-
readonly conversations_sync: (a: number) => any;
|
|
1331
|
-
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
1332
|
-
readonly createdmoptions_new: (a: number) => number;
|
|
1333
|
-
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => number;
|
|
1334
|
-
readonly decodeGroupUpdated: (a: any) => [number, number, number];
|
|
1335
|
-
readonly decodeWalletSendCalls: (a: any) => [number, number, number];
|
|
1336
|
-
readonly decodeXmtpText: (a: any) => [number, number, number, number];
|
|
1337
|
-
readonly encodeWalletSendCalls: (a: any) => [number, number, number];
|
|
1338
|
-
readonly encodeXmtpText: (a: number, b: number) => [number, number, number];
|
|
1339
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
1340
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
1341
|
-
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;
|
|
1342
|
-
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
1343
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1344
|
-
readonly streamcloser_end: (a: number) => void;
|
|
1345
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
1346
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
1347
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
1348
|
-
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
1349
|
-
readonly __wbg_set_inbox_inboxId: (a: number, b: number, c: number) => void;
|
|
1350
|
-
readonly __wbg_set_metadatafieldchange_fieldName: (a: number, b: number, c: number) => void;
|
|
1351
|
-
readonly __wbg_set_textcontent_content: (a: number, b: number, c: number) => void;
|
|
1352
|
-
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
1353
|
-
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
1354
|
-
readonly __wbg_set_xmtpcursor_sequence_id: (a: number, b: bigint) => void;
|
|
1355
|
-
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
1356
|
-
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
1357
|
-
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
1358
|
-
readonly __wbg_get_xmtpcursor_sequence_id: (a: number) => bigint;
|
|
1359
|
-
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
1360
|
-
readonly __wbg_attachment_free: (a: number, b: number) => void;
|
|
1361
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
1362
|
-
readonly __wbg_decodedmessagecontent_free: (a: number, b: number) => void;
|
|
1363
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
1364
|
-
readonly __wbg_enrichedreply_free: (a: number, b: number) => void;
|
|
1365
|
-
readonly __wbg_get_attachment_content: (a: number) => [number, number];
|
|
1366
|
-
readonly __wbg_get_attachment_filename: (a: number) => [number, number];
|
|
1367
|
-
readonly __wbg_get_attachment_mimeType: (a: number) => [number, number];
|
|
1368
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
1369
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
1370
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
1371
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
1372
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
1373
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
1374
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
1375
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
1376
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
1377
|
-
readonly __wbg_get_intent_actionId: (a: number) => [number, number];
|
|
1378
|
-
readonly __wbg_get_intent_id: (a: number) => [number, number];
|
|
1379
|
-
readonly __wbg_get_intent_metadata: (a: number) => any;
|
|
1380
|
-
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
1381
|
-
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
1382
|
-
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
1383
|
-
readonly __wbg_get_listmessagesoptions_excludeContentTypes: (a: number) => [number, number];
|
|
1384
|
-
readonly __wbg_get_listmessagesoptions_excludeSenderInboxIds: (a: number) => [number, number];
|
|
1385
|
-
readonly __wbg_get_listmessagesoptions_insertedAfterNs: (a: number) => [number, bigint];
|
|
1386
|
-
readonly __wbg_get_listmessagesoptions_insertedBeforeNs: (a: number) => [number, bigint];
|
|
1387
|
-
readonly __wbg_get_listmessagesoptions_kind: (a: number) => number;
|
|
1388
|
-
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
1389
|
-
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
1390
|
-
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
1391
|
-
readonly __wbg_get_listmessagesoptions_sortBy: (a: number) => number;
|
|
1392
|
-
readonly __wbg_get_message_content: (a: number) => number;
|
|
1393
|
-
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
1394
|
-
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
1395
|
-
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
1396
|
-
readonly __wbg_get_message_kind: (a: number) => number;
|
|
1397
|
-
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
1398
|
-
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
1399
|
-
readonly __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
1400
|
-
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
1401
|
-
readonly __wbg_get_remoteattachment_contentDigest: (a: number) => [number, number];
|
|
1402
|
-
readonly __wbg_get_remoteattachment_contentLength: (a: number) => number;
|
|
1403
|
-
readonly __wbg_get_remoteattachment_filename: (a: number) => [number, number];
|
|
1404
|
-
readonly __wbg_get_remoteattachment_nonce: (a: number) => [number, number];
|
|
1405
|
-
readonly __wbg_get_remoteattachment_salt: (a: number) => [number, number];
|
|
1406
|
-
readonly __wbg_get_remoteattachment_scheme: (a: number) => [number, number];
|
|
1407
|
-
readonly __wbg_get_remoteattachment_secret: (a: number) => [number, number];
|
|
1408
|
-
readonly __wbg_get_remoteattachment_url: (a: number) => [number, number];
|
|
1409
|
-
readonly __wbg_get_reply_content: (a: number) => number;
|
|
1410
|
-
readonly __wbg_get_reply_reference: (a: number) => [number, number];
|
|
1411
|
-
readonly __wbg_get_transactionmetadata_amount: (a: number) => number;
|
|
1412
|
-
readonly __wbg_get_transactionmetadata_currency: (a: number) => [number, number];
|
|
1413
|
-
readonly __wbg_get_transactionmetadata_decimals: (a: number) => number;
|
|
1414
|
-
readonly __wbg_get_transactionmetadata_fromAddress: (a: number) => [number, number];
|
|
1415
|
-
readonly __wbg_get_transactionmetadata_toAddress: (a: number) => [number, number];
|
|
1416
|
-
readonly __wbg_get_transactionmetadata_transactionType: (a: number) => [number, number];
|
|
1417
|
-
readonly __wbg_get_transactionreference_metadata: (a: number) => number;
|
|
1418
|
-
readonly __wbg_get_transactionreference_namespace: (a: number) => [number, number];
|
|
1419
|
-
readonly __wbg_get_transactionreference_networkId: (a: number) => [number, number];
|
|
1420
|
-
readonly __wbg_get_transactionreference_reference: (a: number) => [number, number];
|
|
1421
|
-
readonly __wbg_intent_free: (a: number, b: number) => void;
|
|
1422
|
-
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
1423
|
-
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
1424
|
-
readonly __wbg_messagewithreactions_free: (a: number, b: number) => void;
|
|
1425
|
-
readonly __wbg_readreceipt_free: (a: number, b: number) => void;
|
|
1426
|
-
readonly __wbg_remoteattachment_free: (a: number, b: number) => void;
|
|
1427
|
-
readonly __wbg_reply_free: (a: number, b: number) => void;
|
|
1428
|
-
readonly __wbg_set_attachment_content: (a: number, b: number, c: number) => void;
|
|
1429
|
-
readonly __wbg_set_attachment_filename: (a: number, b: number, c: number) => void;
|
|
1430
|
-
readonly __wbg_set_attachment_mimeType: (a: number, b: number, c: number) => void;
|
|
1431
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
1432
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
1433
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
1434
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
1435
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
1436
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
1437
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
1438
|
-
readonly __wbg_set_intent_metadata: (a: number, b: any) => void;
|
|
1439
|
-
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
1440
|
-
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
1441
|
-
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
1442
|
-
readonly __wbg_set_listmessagesoptions_excludeContentTypes: (a: number, b: number, c: number) => void;
|
|
1443
|
-
readonly __wbg_set_listmessagesoptions_excludeSenderInboxIds: (a: number, b: number, c: number) => void;
|
|
1444
|
-
readonly __wbg_set_listmessagesoptions_insertedAfterNs: (a: number, b: number, c: bigint) => void;
|
|
1445
|
-
readonly __wbg_set_listmessagesoptions_insertedBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
1446
|
-
readonly __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
|
|
1447
|
-
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
1448
|
-
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
1449
|
-
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
1450
|
-
readonly __wbg_set_listmessagesoptions_sortBy: (a: number, b: number) => void;
|
|
1451
|
-
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
1452
|
-
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
1453
|
-
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
1454
|
-
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
1455
|
-
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
1456
|
-
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
1457
|
-
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
1458
|
-
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
1459
|
-
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
1460
|
-
readonly __wbg_set_remoteattachment_contentLength: (a: number, b: number) => void;
|
|
1461
|
-
readonly __wbg_set_remoteattachment_filename: (a: number, b: number, c: number) => void;
|
|
1462
|
-
readonly __wbg_set_remoteattachment_nonce: (a: number, b: number, c: number) => void;
|
|
1463
|
-
readonly __wbg_set_remoteattachment_salt: (a: number, b: number, c: number) => void;
|
|
1464
|
-
readonly __wbg_set_remoteattachment_scheme: (a: number, b: number, c: number) => void;
|
|
1465
|
-
readonly __wbg_set_remoteattachment_secret: (a: number, b: number, c: number) => void;
|
|
1466
|
-
readonly __wbg_set_reply_content: (a: number, b: number) => void;
|
|
1467
|
-
readonly __wbg_set_transactionmetadata_amount: (a: number, b: number) => void;
|
|
1468
|
-
readonly __wbg_set_transactionmetadata_decimals: (a: number, b: number) => void;
|
|
1469
|
-
readonly __wbg_set_transactionmetadata_fromAddress: (a: number, b: number, c: number) => void;
|
|
1470
|
-
readonly __wbg_set_transactionmetadata_transactionType: (a: number, b: number, c: number) => void;
|
|
1471
|
-
readonly __wbg_set_transactionreference_metadata: (a: number, b: number) => void;
|
|
1472
|
-
readonly __wbg_set_transactionreference_namespace: (a: number, b: number, c: number) => void;
|
|
1473
|
-
readonly __wbg_set_transactionreference_networkId: (a: number, b: number, c: number) => void;
|
|
1474
|
-
readonly __wbg_set_transactionreference_reference: (a: number, b: number, c: number) => void;
|
|
1475
|
-
readonly __wbg_transactionmetadata_free: (a: number, b: number) => void;
|
|
1476
|
-
readonly __wbg_transactionreference_free: (a: number, b: number) => void;
|
|
1477
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
1478
|
-
readonly decodeAttachment: (a: any) => [number, number, number];
|
|
1479
|
-
readonly decodeIntent: (a: any) => [number, number, number];
|
|
1480
|
-
readonly decodeReadReceipt: (a: any) => [number, number, number];
|
|
1481
|
-
readonly decodeRemoteAttachment: (a: any) => [number, number, number];
|
|
1482
|
-
readonly decodeReply: (a: any) => [number, number, number];
|
|
1483
|
-
readonly decodeTransactionReference: (a: any) => [number, number, number];
|
|
1484
|
-
readonly decodedmessagecontent_asActions: (a: number) => [number, number, number];
|
|
1485
|
-
readonly decodedmessagecontent_asAttachment: (a: number) => number;
|
|
1486
|
-
readonly decodedmessagecontent_asCustom: (a: number) => number;
|
|
1487
|
-
readonly decodedmessagecontent_asGroupUpdated: (a: number) => number;
|
|
1488
|
-
readonly decodedmessagecontent_asIntent: (a: number) => [number, number, number];
|
|
1489
|
-
readonly decodedmessagecontent_asLeaveRequest: (a: number) => number;
|
|
1490
|
-
readonly decodedmessagecontent_asMultiRemoteAttachment: (a: number) => number;
|
|
1491
|
-
readonly decodedmessagecontent_asReaction: (a: number) => number;
|
|
1492
|
-
readonly decodedmessagecontent_asReadReceipt: (a: number) => number;
|
|
1493
|
-
readonly decodedmessagecontent_asRemoteAttachment: (a: number) => number;
|
|
1494
|
-
readonly decodedmessagecontent_asReply: (a: number) => number;
|
|
1495
|
-
readonly decodedmessagecontent_asText: (a: number) => number;
|
|
1496
|
-
readonly decodedmessagecontent_asTransactionReference: (a: number) => number;
|
|
1497
|
-
readonly decodedmessagecontent_asWalletSendCalls: (a: number) => [number, number, number];
|
|
1498
|
-
readonly decodedmessagecontent_payloadType: (a: number) => number;
|
|
1499
|
-
readonly encodeAttachment: (a: number) => [number, number, number];
|
|
1500
|
-
readonly encodeIntent: (a: number) => [number, number, number];
|
|
1501
|
-
readonly encodeReadReceipt: (a: number) => [number, number, number];
|
|
1502
|
-
readonly encodeRemoteAttachment: (a: number) => [number, number, number];
|
|
1503
|
-
readonly encodeReply: (a: number) => [number, number, number];
|
|
1504
|
-
readonly encodeTransactionReference: (a: number) => [number, number, number];
|
|
1505
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
1506
|
-
readonly enrichedreply_content: (a: number) => number;
|
|
1507
|
-
readonly enrichedreply_inReplyTo: (a: number) => number;
|
|
1508
|
-
readonly enrichedreply_referenceId: (a: number) => [number, number];
|
|
1509
|
-
readonly intent_new: (a: number, b: number, c: number, d: number, e: any) => number;
|
|
1510
|
-
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;
|
|
1511
|
-
readonly message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
1512
|
-
readonly reply_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
1513
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
1514
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
1515
|
-
readonly __wbg_set_intent_actionId: (a: number, b: number, c: number) => void;
|
|
1516
|
-
readonly __wbg_set_intent_id: (a: number, b: number, c: number) => void;
|
|
1517
|
-
readonly __wbg_set_remoteattachment_contentDigest: (a: number, b: number, c: number) => void;
|
|
1518
|
-
readonly __wbg_set_remoteattachment_url: (a: number, b: number, c: number) => void;
|
|
1519
|
-
readonly __wbg_set_reply_reference: (a: number, b: number, c: number) => void;
|
|
1520
|
-
readonly __wbg_set_transactionmetadata_currency: (a: number, b: number, c: number) => void;
|
|
1521
|
-
readonly __wbg_set_transactionmetadata_toAddress: (a: number, b: number, c: number) => void;
|
|
1522
|
-
readonly __wbg_set_reply_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
1523
|
-
readonly __wbg_get_reply_referenceInboxId: (a: number) => [number, number];
|
|
1524
|
-
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
1525
|
-
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
1526
|
-
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
1527
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
1528
|
-
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
1529
|
-
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
1530
|
-
readonly __wbg_get_sendmessageopts_shouldPush: (a: number) => number;
|
|
1531
|
-
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
1532
|
-
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
1533
|
-
readonly __wbg_sendmessageopts_free: (a: number, b: number) => void;
|
|
1534
|
-
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
1535
|
-
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
1536
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
1537
|
-
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
1538
|
-
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
1539
|
-
readonly __wbg_set_sendmessageopts_shouldPush: (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;
|
|
1540
829
|
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
1541
830
|
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
1542
831
|
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
@@ -1544,6 +833,7 @@ export interface InitOutput {
|
|
|
1544
833
|
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
1545
834
|
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
1546
835
|
readonly conversation_appData: (a: number) => [number, number, number, number];
|
|
836
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
1547
837
|
readonly conversation_countMessages: (a: number, b: number) => any;
|
|
1548
838
|
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
1549
839
|
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
@@ -1576,46 +866,55 @@ export interface InitOutput {
|
|
|
1576
866
|
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
1577
867
|
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
1578
868
|
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
1579
|
-
readonly conversation_send: (a: number, b:
|
|
1580
|
-
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;
|
|
1581
883
|
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
1582
884
|
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
1583
885
|
readonly conversation_sync: (a: number) => any;
|
|
1584
886
|
readonly conversation_updateAppData: (a: number, b: number, c: number) => any;
|
|
887
|
+
readonly conversation_updateConsentState: (a: number, b: any) => [number, number];
|
|
1585
888
|
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
1586
889
|
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
1587
890
|
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
1588
|
-
readonly conversation_updateMessageDisappearingSettings: (a: number, b:
|
|
1589
|
-
readonly conversation_updatePermissionPolicy: (a: number, b:
|
|
1590
|
-
readonly
|
|
1591
|
-
readonly
|
|
1592
|
-
readonly
|
|
1593
|
-
readonly
|
|
1594
|
-
readonly
|
|
1595
|
-
readonly
|
|
1596
|
-
readonly
|
|
1597
|
-
readonly
|
|
1598
|
-
readonly
|
|
1599
|
-
readonly
|
|
1600
|
-
readonly
|
|
1601
|
-
readonly
|
|
1602
|
-
readonly
|
|
1603
|
-
readonly
|
|
1604
|
-
readonly
|
|
1605
|
-
readonly
|
|
1606
|
-
readonly
|
|
1607
|
-
readonly
|
|
1608
|
-
readonly
|
|
1609
|
-
readonly
|
|
1610
|
-
readonly
|
|
1611
|
-
readonly
|
|
1612
|
-
readonly
|
|
1613
|
-
readonly
|
|
1614
|
-
readonly
|
|
1615
|
-
readonly __wbg_set_decodedmessage_reactions: (a: number, b: number, c: number) => void;
|
|
1616
|
-
readonly __wbg_set_decodedmessage_sender_inbox_id: (a: number, b: number, c: number) => void;
|
|
1617
|
-
readonly __wbg_set_decodedmessage_sender_installation_id: (a: number, b: number, c: number) => void;
|
|
1618
|
-
readonly __wbg_set_decodedmessage_sent_at_ns: (a: number, b: bigint) => void;
|
|
891
|
+
readonly conversation_updateMessageDisappearingSettings: (a: number, b: any) => any;
|
|
892
|
+
readonly conversation_updatePermissionPolicy: (a: number, b: any, c: any, d: number) => any;
|
|
893
|
+
readonly conversationlistitem_new: (a: number, b: number, c: number) => number;
|
|
894
|
+
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
895
|
+
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
896
|
+
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
897
|
+
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
898
|
+
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
899
|
+
readonly conversations_deleteMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
900
|
+
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
901
|
+
readonly conversations_findEnrichedMessageById: (a: number, b: number, c: number) => any;
|
|
902
|
+
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
903
|
+
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
904
|
+
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
905
|
+
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
906
|
+
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
907
|
+
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
908
|
+
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
909
|
+
readonly conversations_streamLocal: (a: number, b: number) => any;
|
|
910
|
+
readonly conversations_streamMessageDeletions: (a: number, b: any) => [number, number, number];
|
|
911
|
+
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
912
|
+
readonly conversations_sync: (a: number) => any;
|
|
913
|
+
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
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;
|
|
@@ -1635,28 +934,28 @@ export interface InitOutput {
|
|
|
1635
934
|
readonly sqlite3_os_end: () => number;
|
|
1636
935
|
readonly sqlite3_os_init: () => number;
|
|
1637
936
|
readonly task_worker_entry_point: (a: number) => [number, number];
|
|
1638
|
-
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
1639
937
|
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1640
|
-
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
1641
|
-
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
1642
|
-
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
1643
|
-
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
1644
|
-
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
1645
938
|
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1646
939
|
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1647
940
|
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
1648
941
|
readonly intounderlyingsink_abort: (a: number, b: any) => any;
|
|
1649
942
|
readonly intounderlyingsink_close: (a: number) => any;
|
|
1650
943
|
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
1651
|
-
readonly
|
|
1652
|
-
readonly
|
|
1653
|
-
readonly
|
|
1654
|
-
readonly
|
|
1655
|
-
readonly
|
|
1656
|
-
readonly
|
|
1657
|
-
readonly
|
|
1658
|
-
readonly
|
|
1659
|
-
readonly
|
|
944
|
+
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
945
|
+
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
946
|
+
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
947
|
+
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
948
|
+
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
949
|
+
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
950
|
+
readonly wasm_bindgen__convert__closures_____invoke__hdff293b41f2cecc6: (a: number, b: number, c: any) => void;
|
|
951
|
+
readonly wasm_bindgen__closure__destroy__hed8af60076250245: (a: number, b: number) => void;
|
|
952
|
+
readonly wasm_bindgen__convert__closures_____invoke__h956b60152b2cf005: (a: number, b: number) => void;
|
|
953
|
+
readonly wasm_bindgen__closure__destroy__h3c5639ee43c80f22: (a: number, b: number) => void;
|
|
954
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6af3cd86eb56f4b1: (a: number, b: number) => void;
|
|
955
|
+
readonly wasm_bindgen__closure__destroy__he7b712e0eb1b5ac1: (a: number, b: number) => void;
|
|
956
|
+
readonly wasm_bindgen__convert__closures_____invoke__hceddd2b8fc291040: (a: number, b: number) => void;
|
|
957
|
+
readonly wasm_bindgen__closure__destroy__hfbd660e60d498df9: (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;
|