@xmtp/wasm-bindings 1.5.4 → 1.6.0-dev.07065a7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bindings_wasm.d.ts +607 -250
- package/dist/bindings_wasm.js +3605 -1816
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +379 -239
- package/dist/version.json +3 -3
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null, allow_offline?: boolean | null, disable_events?: boolean | null, app_version?: string | null): Promise<Client>;
|
|
3
|
+
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null, allow_offline?: boolean | null, disable_events?: boolean | null, app_version?: string | null, gateway_host?: string | null): Promise<Client>;
|
|
4
4
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
5
5
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
6
6
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
7
7
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
8
|
-
export function getInboxIdForIdentifier(
|
|
8
|
+
export function getInboxIdForIdentifier(v3_host: string, gateway_host: string | null | undefined, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
9
9
|
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
10
|
-
export function inboxStateFromInboxIds(
|
|
10
|
+
export function inboxStateFromInboxIds(v3_host: string, gateway_host: string | null | undefined, inbox_ids: string[]): Promise<InboxState[]>;
|
|
11
11
|
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
12
|
-
export function revokeInstallationsSignatureRequest(
|
|
13
|
-
export function applySignatureRequest(
|
|
12
|
+
export function revokeInstallationsSignatureRequest(v3_host: string, gateway_host: string | null | undefined, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): SignatureRequestHandle;
|
|
13
|
+
export function applySignatureRequest(v3_host: string, gateway_host: string | null | undefined, signature_request: SignatureRequestHandle): Promise<void>;
|
|
14
14
|
/**
|
|
15
15
|
* Entry point invoked by JavaScript in a worker.
|
|
16
16
|
*/
|
|
@@ -69,6 +69,19 @@ export enum MetadataField {
|
|
|
69
69
|
MessageExpirationFromMS = 3,
|
|
70
70
|
MessageExpirationMS = 4,
|
|
71
71
|
}
|
|
72
|
+
export enum PayloadType {
|
|
73
|
+
Text = 0,
|
|
74
|
+
Reply = 1,
|
|
75
|
+
Reaction = 2,
|
|
76
|
+
Attachment = 3,
|
|
77
|
+
RemoteAttachment = 4,
|
|
78
|
+
MultiRemoteAttachment = 5,
|
|
79
|
+
TransactionReference = 6,
|
|
80
|
+
GroupUpdated = 7,
|
|
81
|
+
ReadReceipt = 8,
|
|
82
|
+
WalletSendCalls = 9,
|
|
83
|
+
Custom = 10,
|
|
84
|
+
}
|
|
72
85
|
export enum PermissionLevel {
|
|
73
86
|
Member = 0,
|
|
74
87
|
Admin = 1,
|
|
@@ -94,12 +107,23 @@ export enum ReactionAction {
|
|
|
94
107
|
Added = 1,
|
|
95
108
|
Removed = 2,
|
|
96
109
|
}
|
|
110
|
+
export enum ReactionActionPayload {
|
|
111
|
+
Added = 0,
|
|
112
|
+
Removed = 1,
|
|
113
|
+
Unknown = 2,
|
|
114
|
+
}
|
|
97
115
|
export enum ReactionSchema {
|
|
98
116
|
Unknown = 0,
|
|
99
117
|
Unicode = 1,
|
|
100
118
|
Shortcode = 2,
|
|
101
119
|
Custom = 3,
|
|
102
120
|
}
|
|
121
|
+
export enum ReactionSchemaPayload {
|
|
122
|
+
Unicode = 0,
|
|
123
|
+
Shortcode = 1,
|
|
124
|
+
Custom = 2,
|
|
125
|
+
Unknown = 3,
|
|
126
|
+
}
|
|
103
127
|
export enum SortDirection {
|
|
104
128
|
Ascending = 0,
|
|
105
129
|
Descending = 1,
|
|
@@ -124,6 +148,7 @@ export type UserPreference = { type: "Consent"; consent: Consent } | { type: "Hm
|
|
|
124
148
|
export class ApiStats {
|
|
125
149
|
private constructor();
|
|
126
150
|
free(): void;
|
|
151
|
+
[Symbol.dispose](): void;
|
|
127
152
|
upload_key_package: bigint;
|
|
128
153
|
fetch_key_package: bigint;
|
|
129
154
|
send_group_messages: bigint;
|
|
@@ -133,9 +158,19 @@ export class ApiStats {
|
|
|
133
158
|
subscribe_messages: bigint;
|
|
134
159
|
subscribe_welcomes: bigint;
|
|
135
160
|
}
|
|
161
|
+
export class Attachment {
|
|
162
|
+
private constructor();
|
|
163
|
+
free(): void;
|
|
164
|
+
[Symbol.dispose](): void;
|
|
165
|
+
get filename(): string | undefined;
|
|
166
|
+
set filename(value: string | null | undefined);
|
|
167
|
+
mimeType: string;
|
|
168
|
+
content: Uint8Array;
|
|
169
|
+
}
|
|
136
170
|
export class Client {
|
|
137
171
|
private constructor();
|
|
138
172
|
free(): void;
|
|
173
|
+
[Symbol.dispose](): void;
|
|
139
174
|
/**
|
|
140
175
|
* Output booleans should be zipped with the index of input identifiers
|
|
141
176
|
*/
|
|
@@ -150,8 +185,8 @@ export class Client {
|
|
|
150
185
|
apiAggregateStatistics(): string;
|
|
151
186
|
clearAllStatistics(): void;
|
|
152
187
|
uploadDebugArchive(server_url: string): Promise<string>;
|
|
153
|
-
|
|
154
|
-
|
|
188
|
+
deleteMessage(message_id: Uint8Array): number;
|
|
189
|
+
messageV2(message_id: Uint8Array): Promise<DecodedMessage>;
|
|
155
190
|
/**
|
|
156
191
|
*
|
|
157
192
|
* * Get the client's inbox state.
|
|
@@ -180,6 +215,8 @@ export class Client {
|
|
|
180
215
|
registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
|
|
181
216
|
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
182
217
|
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
218
|
+
setConsentStates(records: Consent[]): Promise<void>;
|
|
219
|
+
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
183
220
|
readonly accountIdentifier: Identifier;
|
|
184
221
|
readonly inboxId: string;
|
|
185
222
|
readonly isRegistered: boolean;
|
|
@@ -190,6 +227,7 @@ export class Client {
|
|
|
190
227
|
}
|
|
191
228
|
export class Consent {
|
|
192
229
|
free(): void;
|
|
230
|
+
[Symbol.dispose](): void;
|
|
193
231
|
constructor(entity_type: ConsentEntityType, state: ConsentState, entity: string);
|
|
194
232
|
entityType: ConsentEntityType;
|
|
195
233
|
state: ConsentState;
|
|
@@ -197,6 +235,7 @@ export class Consent {
|
|
|
197
235
|
}
|
|
198
236
|
export class ContentTypeId {
|
|
199
237
|
free(): void;
|
|
238
|
+
[Symbol.dispose](): void;
|
|
200
239
|
constructor(authority_id: string, type_id: string, version_major: number, version_minor: number);
|
|
201
240
|
authorityId: string;
|
|
202
241
|
typeId: string;
|
|
@@ -206,20 +245,22 @@ export class ContentTypeId {
|
|
|
206
245
|
export class Conversation {
|
|
207
246
|
private constructor();
|
|
208
247
|
free(): void;
|
|
248
|
+
[Symbol.dispose](): void;
|
|
209
249
|
consentState(): ConsentState;
|
|
210
250
|
updateConsentState(state: ConsentState): void;
|
|
211
251
|
id(): string;
|
|
212
|
-
send(encoded_content: EncodedContent): Promise<string>;
|
|
252
|
+
send(encoded_content: EncodedContent, opts: SendMessageOpts): Promise<string>;
|
|
213
253
|
/**
|
|
214
254
|
* send a message without immediately publishing to the delivery service.
|
|
215
255
|
*/
|
|
216
|
-
sendOptimistic(encoded_content: EncodedContent): string;
|
|
256
|
+
sendOptimistic(encoded_content: EncodedContent, opts: SendMessageOpts): string;
|
|
217
257
|
/**
|
|
218
258
|
* Publish all unpublished messages
|
|
219
259
|
*/
|
|
220
260
|
publishMessages(): Promise<void>;
|
|
221
261
|
sync(): Promise<void>;
|
|
222
262
|
findMessages(opts?: ListMessagesOptions | null): Promise<Message[]>;
|
|
263
|
+
countMessages(opts?: ListMessagesOptions | null): Promise<bigint>;
|
|
223
264
|
findMessagesWithReactions(opts?: ListMessagesOptions | null): Promise<MessageWithReactions[]>;
|
|
224
265
|
listMembers(): Promise<any>;
|
|
225
266
|
adminList(): string[];
|
|
@@ -256,10 +297,13 @@ export class Conversation {
|
|
|
256
297
|
getHmacKeys(): any;
|
|
257
298
|
getDebugInfo(): Promise<any>;
|
|
258
299
|
findDuplicateDms(): Promise<Conversation[]>;
|
|
300
|
+
findMessagesV2(opts?: ListMessagesOptions | null): Promise<DecodedMessage[]>;
|
|
301
|
+
getLastReadTimes(): Promise<any>;
|
|
259
302
|
}
|
|
260
303
|
export class ConversationDebugInfo {
|
|
261
304
|
private constructor();
|
|
262
305
|
free(): void;
|
|
306
|
+
[Symbol.dispose](): void;
|
|
263
307
|
epoch: bigint;
|
|
264
308
|
maybeForked: boolean;
|
|
265
309
|
forkDetails: string;
|
|
@@ -267,10 +311,11 @@ export class ConversationDebugInfo {
|
|
|
267
311
|
set isCommitLogForked(value: boolean | null | undefined);
|
|
268
312
|
localCommitLog: string;
|
|
269
313
|
remoteCommitLog: string;
|
|
270
|
-
cursor:
|
|
314
|
+
cursor: XmtpCursor[];
|
|
271
315
|
}
|
|
272
316
|
export class ConversationListItem {
|
|
273
317
|
free(): void;
|
|
318
|
+
[Symbol.dispose](): void;
|
|
274
319
|
constructor(conversation: Conversation, last_message?: Message | null, is_commit_log_forked?: boolean | null);
|
|
275
320
|
conversation: Conversation;
|
|
276
321
|
get lastMessage(): Message | undefined;
|
|
@@ -281,6 +326,7 @@ export class ConversationListItem {
|
|
|
281
326
|
export class Conversations {
|
|
282
327
|
private constructor();
|
|
283
328
|
free(): void;
|
|
329
|
+
[Symbol.dispose](): void;
|
|
284
330
|
createGroupOptimistic(options?: CreateGroupOptions | null): Conversation;
|
|
285
331
|
createGroup(account_identifiers: Identifier[], options?: CreateGroupOptions | null): Promise<Conversation>;
|
|
286
332
|
createGroupByInboxIds(inbox_ids: string[], options?: CreateGroupOptions | null): Promise<Conversation>;
|
|
@@ -304,12 +350,14 @@ export class Conversations {
|
|
|
304
350
|
}
|
|
305
351
|
export class CreateDMOptions {
|
|
306
352
|
free(): void;
|
|
353
|
+
[Symbol.dispose](): void;
|
|
307
354
|
constructor(message_disappearing_settings?: MessageDisappearingSettings | null);
|
|
308
355
|
get messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
309
356
|
set messageDisappearingSettings(value: MessageDisappearingSettings | null | undefined);
|
|
310
357
|
}
|
|
311
358
|
export class CreateGroupOptions {
|
|
312
359
|
free(): void;
|
|
360
|
+
[Symbol.dispose](): void;
|
|
313
361
|
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);
|
|
314
362
|
get permissions(): GroupPermissionsOptions | undefined;
|
|
315
363
|
set permissions(value: GroupPermissionsOptions | null | undefined);
|
|
@@ -324,8 +372,44 @@ export class CreateGroupOptions {
|
|
|
324
372
|
get messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
325
373
|
set messageDisappearingSettings(value: MessageDisappearingSettings | null | undefined);
|
|
326
374
|
}
|
|
375
|
+
export class DecodedMessage {
|
|
376
|
+
private constructor();
|
|
377
|
+
free(): void;
|
|
378
|
+
[Symbol.dispose](): void;
|
|
379
|
+
id: Uint8Array;
|
|
380
|
+
sent_at_ns: bigint;
|
|
381
|
+
kind: GroupMessageKind;
|
|
382
|
+
sender_installation_id: Uint8Array;
|
|
383
|
+
sender_inbox_id: string;
|
|
384
|
+
content_type: ContentTypeId;
|
|
385
|
+
conversation_id: Uint8Array;
|
|
386
|
+
content: DecodedMessageContent;
|
|
387
|
+
get fallback_text(): string | undefined;
|
|
388
|
+
set fallback_text(value: string | null | undefined);
|
|
389
|
+
reactions: DecodedMessage[];
|
|
390
|
+
delivery_status: DeliveryStatus;
|
|
391
|
+
num_replies: bigint;
|
|
392
|
+
}
|
|
393
|
+
export class DecodedMessageContent {
|
|
394
|
+
private constructor();
|
|
395
|
+
free(): void;
|
|
396
|
+
[Symbol.dispose](): void;
|
|
397
|
+
asText(): TextContent | undefined;
|
|
398
|
+
asReply(): EnrichedReply | undefined;
|
|
399
|
+
asReaction(): ReactionPayload | undefined;
|
|
400
|
+
asAttachment(): Attachment | undefined;
|
|
401
|
+
asRemoteAttachment(): RemoteAttachment | undefined;
|
|
402
|
+
asMultiRemoteAttachment(): MultiRemoteAttachment | undefined;
|
|
403
|
+
asTransactionReference(): TransactionReference | undefined;
|
|
404
|
+
asGroupUpdated(): GroupUpdated | undefined;
|
|
405
|
+
asReadReceipt(): ReadReceipt | undefined;
|
|
406
|
+
asWalletSendCalls(): any;
|
|
407
|
+
asCustom(): EncodedContent | undefined;
|
|
408
|
+
readonly payloadType: PayloadType;
|
|
409
|
+
}
|
|
327
410
|
export class EncodedContent {
|
|
328
411
|
free(): void;
|
|
412
|
+
[Symbol.dispose](): void;
|
|
329
413
|
constructor(type: ContentTypeId | null | undefined, parameters: any, fallback: string | null | undefined, compression: number | null | undefined, content: Uint8Array);
|
|
330
414
|
get type(): ContentTypeId | undefined;
|
|
331
415
|
set type(value: ContentTypeId | null | undefined);
|
|
@@ -336,8 +420,17 @@ export class EncodedContent {
|
|
|
336
420
|
set compression(value: number | null | undefined);
|
|
337
421
|
content: Uint8Array;
|
|
338
422
|
}
|
|
423
|
+
export class EnrichedReply {
|
|
424
|
+
private constructor();
|
|
425
|
+
free(): void;
|
|
426
|
+
[Symbol.dispose](): void;
|
|
427
|
+
readonly referenceId: string;
|
|
428
|
+
readonly content: DecodedMessageContent;
|
|
429
|
+
readonly inReplyTo: DecodedMessage | undefined;
|
|
430
|
+
}
|
|
339
431
|
export class GroupMember {
|
|
340
432
|
free(): void;
|
|
433
|
+
[Symbol.dispose](): void;
|
|
341
434
|
constructor(inboxId: string, accountIdentifiers: Identifier[], installationIds: string[], permissionLevel: PermissionLevel, consentState: ConsentState);
|
|
342
435
|
inboxId: string;
|
|
343
436
|
accountIdentifiers: Identifier[];
|
|
@@ -348,31 +441,51 @@ export class GroupMember {
|
|
|
348
441
|
export class GroupMetadata {
|
|
349
442
|
private constructor();
|
|
350
443
|
free(): void;
|
|
444
|
+
[Symbol.dispose](): void;
|
|
351
445
|
creatorInboxId(): string;
|
|
352
446
|
conversationType(): string;
|
|
353
447
|
}
|
|
354
448
|
export class GroupPermissions {
|
|
355
449
|
private constructor();
|
|
356
450
|
free(): void;
|
|
451
|
+
[Symbol.dispose](): void;
|
|
357
452
|
policyType(): GroupPermissionsOptions;
|
|
358
453
|
policySet(): PermissionPolicySet;
|
|
359
454
|
}
|
|
455
|
+
export class GroupUpdated {
|
|
456
|
+
private constructor();
|
|
457
|
+
free(): void;
|
|
458
|
+
[Symbol.dispose](): void;
|
|
459
|
+
initiatedByInboxId: string;
|
|
460
|
+
addedInboxes: Inbox[];
|
|
461
|
+
removedInboxes: Inbox[];
|
|
462
|
+
metadataFieldChanges: MetadataFieldChange[];
|
|
463
|
+
}
|
|
360
464
|
export class HmacKey {
|
|
361
465
|
private constructor();
|
|
362
466
|
free(): void;
|
|
467
|
+
[Symbol.dispose](): void;
|
|
363
468
|
key: Uint8Array;
|
|
364
469
|
epoch: bigint;
|
|
365
470
|
}
|
|
366
471
|
export class IdentityStats {
|
|
367
472
|
private constructor();
|
|
368
473
|
free(): void;
|
|
474
|
+
[Symbol.dispose](): void;
|
|
369
475
|
publish_identity_update: bigint;
|
|
370
476
|
get_identity_updates_v2: bigint;
|
|
371
477
|
get_inbox_ids: bigint;
|
|
372
478
|
verify_smart_contract_wallet_signature: bigint;
|
|
373
479
|
}
|
|
480
|
+
export class Inbox {
|
|
481
|
+
private constructor();
|
|
482
|
+
free(): void;
|
|
483
|
+
[Symbol.dispose](): void;
|
|
484
|
+
inboxId: string;
|
|
485
|
+
}
|
|
374
486
|
export class InboxState {
|
|
375
487
|
free(): void;
|
|
488
|
+
[Symbol.dispose](): void;
|
|
376
489
|
constructor(inbox_id: string, recovery_identifier: Identifier, installations: Installation[], account_identifiers: Identifier[]);
|
|
377
490
|
inboxId: string;
|
|
378
491
|
recoveryIdentifier: Identifier;
|
|
@@ -381,6 +494,7 @@ export class InboxState {
|
|
|
381
494
|
}
|
|
382
495
|
export class Installation {
|
|
383
496
|
free(): void;
|
|
497
|
+
[Symbol.dispose](): void;
|
|
384
498
|
constructor(bytes: Uint8Array, id: string, client_timestamp_ns?: bigint | null);
|
|
385
499
|
bytes: Uint8Array;
|
|
386
500
|
id: string;
|
|
@@ -390,6 +504,7 @@ export class Installation {
|
|
|
390
504
|
export class IntoUnderlyingByteSource {
|
|
391
505
|
private constructor();
|
|
392
506
|
free(): void;
|
|
507
|
+
[Symbol.dispose](): void;
|
|
393
508
|
start(controller: ReadableByteStreamController): void;
|
|
394
509
|
pull(controller: ReadableByteStreamController): Promise<any>;
|
|
395
510
|
cancel(): void;
|
|
@@ -399,6 +514,7 @@ export class IntoUnderlyingByteSource {
|
|
|
399
514
|
export class IntoUnderlyingSink {
|
|
400
515
|
private constructor();
|
|
401
516
|
free(): void;
|
|
517
|
+
[Symbol.dispose](): void;
|
|
402
518
|
write(chunk: any): Promise<any>;
|
|
403
519
|
close(): Promise<any>;
|
|
404
520
|
abort(reason: any): Promise<any>;
|
|
@@ -406,12 +522,14 @@ export class IntoUnderlyingSink {
|
|
|
406
522
|
export class IntoUnderlyingSource {
|
|
407
523
|
private constructor();
|
|
408
524
|
free(): void;
|
|
525
|
+
[Symbol.dispose](): void;
|
|
409
526
|
pull(controller: ReadableStreamDefaultController): Promise<any>;
|
|
410
527
|
cancel(): void;
|
|
411
528
|
}
|
|
412
529
|
export class KeyPackageStatus {
|
|
413
530
|
private constructor();
|
|
414
531
|
free(): void;
|
|
532
|
+
[Symbol.dispose](): void;
|
|
415
533
|
get lifetime(): Lifetime | undefined;
|
|
416
534
|
set lifetime(value: Lifetime | null | undefined);
|
|
417
535
|
get validationError(): string | undefined;
|
|
@@ -420,11 +538,13 @@ export class KeyPackageStatus {
|
|
|
420
538
|
export class Lifetime {
|
|
421
539
|
private constructor();
|
|
422
540
|
free(): void;
|
|
541
|
+
[Symbol.dispose](): void;
|
|
423
542
|
not_before: bigint;
|
|
424
543
|
not_after: bigint;
|
|
425
544
|
}
|
|
426
545
|
export class ListConversationsOptions {
|
|
427
546
|
free(): void;
|
|
547
|
+
[Symbol.dispose](): void;
|
|
428
548
|
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);
|
|
429
549
|
get consentStates(): any[] | undefined;
|
|
430
550
|
set consentStates(value: any[] | null | undefined);
|
|
@@ -441,9 +561,12 @@ export class ListConversationsOptions {
|
|
|
441
561
|
}
|
|
442
562
|
export class ListMessagesOptions {
|
|
443
563
|
free(): void;
|
|
444
|
-
|
|
564
|
+
[Symbol.dispose](): void;
|
|
565
|
+
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);
|
|
445
566
|
get contentTypes(): any[] | undefined;
|
|
446
567
|
set contentTypes(value: any[] | null | undefined);
|
|
568
|
+
get excludeContentTypes(): any[] | undefined;
|
|
569
|
+
set excludeContentTypes(value: any[] | null | undefined);
|
|
447
570
|
get sentBeforeNs(): bigint | undefined;
|
|
448
571
|
set sentBeforeNs(value: bigint | null | undefined);
|
|
449
572
|
get sentAfterNs(): bigint | undefined;
|
|
@@ -456,12 +579,15 @@ export class ListMessagesOptions {
|
|
|
456
579
|
set direction(value: SortDirection | null | undefined);
|
|
457
580
|
get kind(): GroupMessageKind | undefined;
|
|
458
581
|
set kind(value: GroupMessageKind | null | undefined);
|
|
582
|
+
get excludeSenderInboxIds(): string[] | undefined;
|
|
583
|
+
set excludeSenderInboxIds(value: string[] | null | undefined);
|
|
459
584
|
}
|
|
460
585
|
/**
|
|
461
586
|
* Specify options for the logger
|
|
462
587
|
*/
|
|
463
588
|
export class LogOptions {
|
|
464
589
|
free(): void;
|
|
590
|
+
[Symbol.dispose](): void;
|
|
465
591
|
constructor(structured: boolean, performance: boolean, level?: LogLevel | null);
|
|
466
592
|
/**
|
|
467
593
|
* enable structured JSON logging to stdout.Useful for third-party log viewers
|
|
@@ -482,6 +608,7 @@ export class LogOptions {
|
|
|
482
608
|
}
|
|
483
609
|
export class Message {
|
|
484
610
|
free(): void;
|
|
611
|
+
[Symbol.dispose](): void;
|
|
485
612
|
constructor(id: string, sent_at_ns: bigint, convo_id: string, sender_inbox_id: string, content: EncodedContent, kind: GroupMessageKind, delivery_status: DeliveryStatus);
|
|
486
613
|
id: string;
|
|
487
614
|
sentAtNs: bigint;
|
|
@@ -493,6 +620,7 @@ export class Message {
|
|
|
493
620
|
}
|
|
494
621
|
export class MessageDisappearingSettings {
|
|
495
622
|
free(): void;
|
|
623
|
+
[Symbol.dispose](): void;
|
|
496
624
|
constructor(from_ns: bigint, in_ns: bigint);
|
|
497
625
|
fromNs: bigint;
|
|
498
626
|
inNs: bigint;
|
|
@@ -500,17 +628,30 @@ export class MessageDisappearingSettings {
|
|
|
500
628
|
export class MessageWithReactions {
|
|
501
629
|
private constructor();
|
|
502
630
|
free(): void;
|
|
631
|
+
[Symbol.dispose](): void;
|
|
503
632
|
message: Message;
|
|
504
633
|
reactions: Message[];
|
|
505
634
|
}
|
|
635
|
+
export class MetadataFieldChange {
|
|
636
|
+
private constructor();
|
|
637
|
+
free(): void;
|
|
638
|
+
[Symbol.dispose](): void;
|
|
639
|
+
fieldName: string;
|
|
640
|
+
get oldValue(): string | undefined;
|
|
641
|
+
set oldValue(value: string | null | undefined);
|
|
642
|
+
get newValue(): string | undefined;
|
|
643
|
+
set newValue(value: string | null | undefined);
|
|
644
|
+
}
|
|
506
645
|
export class MultiRemoteAttachment {
|
|
507
646
|
free(): void;
|
|
647
|
+
[Symbol.dispose](): void;
|
|
508
648
|
constructor(attachments: RemoteAttachmentInfo[]);
|
|
509
649
|
attachments: RemoteAttachmentInfo[];
|
|
510
650
|
}
|
|
511
651
|
export class Opfs {
|
|
512
652
|
private constructor();
|
|
513
653
|
free(): void;
|
|
654
|
+
[Symbol.dispose](): void;
|
|
514
655
|
static init_sqlite_opfs(): Promise<void>;
|
|
515
656
|
/**
|
|
516
657
|
* Check if the global OPFS object has been initialized
|
|
@@ -554,9 +695,11 @@ export class Opfs {
|
|
|
554
695
|
export class PasskeySignature {
|
|
555
696
|
private constructor();
|
|
556
697
|
free(): void;
|
|
698
|
+
[Symbol.dispose](): void;
|
|
557
699
|
}
|
|
558
700
|
export class PermissionPolicySet {
|
|
559
701
|
free(): void;
|
|
702
|
+
[Symbol.dispose](): void;
|
|
560
703
|
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);
|
|
561
704
|
addMemberPolicy: PermissionPolicy;
|
|
562
705
|
removeMemberPolicy: PermissionPolicy;
|
|
@@ -569,6 +712,7 @@ export class PermissionPolicySet {
|
|
|
569
712
|
}
|
|
570
713
|
export class Reaction {
|
|
571
714
|
free(): void;
|
|
715
|
+
[Symbol.dispose](): void;
|
|
572
716
|
constructor(reference: string, referenceInboxId: string, action: ReactionAction, content: string, schema: ReactionSchema);
|
|
573
717
|
reference: string;
|
|
574
718
|
referenceInboxId: string;
|
|
@@ -576,8 +720,38 @@ export class Reaction {
|
|
|
576
720
|
content: string;
|
|
577
721
|
schema: ReactionSchema;
|
|
578
722
|
}
|
|
723
|
+
export class ReactionPayload {
|
|
724
|
+
private constructor();
|
|
725
|
+
free(): void;
|
|
726
|
+
[Symbol.dispose](): void;
|
|
727
|
+
reference: string;
|
|
728
|
+
referenceInboxId: string;
|
|
729
|
+
action: ReactionActionPayload;
|
|
730
|
+
content: string;
|
|
731
|
+
schema: ReactionSchemaPayload;
|
|
732
|
+
}
|
|
733
|
+
export class ReadReceipt {
|
|
734
|
+
private constructor();
|
|
735
|
+
free(): void;
|
|
736
|
+
[Symbol.dispose](): void;
|
|
737
|
+
}
|
|
738
|
+
export class RemoteAttachment {
|
|
739
|
+
private constructor();
|
|
740
|
+
free(): void;
|
|
741
|
+
[Symbol.dispose](): void;
|
|
742
|
+
url: string;
|
|
743
|
+
contentDigest: string;
|
|
744
|
+
secret: Uint8Array;
|
|
745
|
+
salt: Uint8Array;
|
|
746
|
+
nonce: Uint8Array;
|
|
747
|
+
scheme: string;
|
|
748
|
+
contentLength: bigint;
|
|
749
|
+
get filename(): string | undefined;
|
|
750
|
+
set filename(value: string | null | undefined);
|
|
751
|
+
}
|
|
579
752
|
export class RemoteAttachmentInfo {
|
|
580
753
|
free(): void;
|
|
754
|
+
[Symbol.dispose](): void;
|
|
581
755
|
constructor(secret: Uint8Array, contentDigest: string, nonce: Uint8Array, scheme: string, url: string, salt: Uint8Array, contentLength?: number | null, filename?: string | null);
|
|
582
756
|
secret: Uint8Array;
|
|
583
757
|
contentDigest: string;
|
|
@@ -590,9 +764,16 @@ export class RemoteAttachmentInfo {
|
|
|
590
764
|
get filename(): string | undefined;
|
|
591
765
|
set filename(value: string | null | undefined);
|
|
592
766
|
}
|
|
767
|
+
export class SendMessageOpts {
|
|
768
|
+
private constructor();
|
|
769
|
+
free(): void;
|
|
770
|
+
[Symbol.dispose](): void;
|
|
771
|
+
shouldPush: boolean;
|
|
772
|
+
}
|
|
593
773
|
export class SignatureRequestHandle {
|
|
594
774
|
private constructor();
|
|
595
775
|
free(): void;
|
|
776
|
+
[Symbol.dispose](): void;
|
|
596
777
|
signatureText(): Promise<string>;
|
|
597
778
|
addEcdsaSignature(signature_bytes: Uint8Array): Promise<void>;
|
|
598
779
|
addPasskeySignature(signature: PasskeySignature): Promise<void>;
|
|
@@ -601,6 +782,7 @@ export class SignatureRequestHandle {
|
|
|
601
782
|
export class StreamCloser {
|
|
602
783
|
private constructor();
|
|
603
784
|
free(): void;
|
|
785
|
+
[Symbol.dispose](): void;
|
|
604
786
|
/**
|
|
605
787
|
* Signal the stream to end
|
|
606
788
|
* Does not wait for the stream to end.
|
|
@@ -618,11 +800,131 @@ export class StreamCloser {
|
|
|
618
800
|
*/
|
|
619
801
|
isClosed(): boolean;
|
|
620
802
|
}
|
|
803
|
+
export class TextContent {
|
|
804
|
+
private constructor();
|
|
805
|
+
free(): void;
|
|
806
|
+
[Symbol.dispose](): void;
|
|
807
|
+
content: string;
|
|
808
|
+
}
|
|
809
|
+
export class TransactionMetadata {
|
|
810
|
+
private constructor();
|
|
811
|
+
free(): void;
|
|
812
|
+
[Symbol.dispose](): void;
|
|
813
|
+
transactionType: string;
|
|
814
|
+
currency: string;
|
|
815
|
+
amount: number;
|
|
816
|
+
decimals: number;
|
|
817
|
+
fromAddress: string;
|
|
818
|
+
toAddress: string;
|
|
819
|
+
}
|
|
820
|
+
export class TransactionReference {
|
|
821
|
+
private constructor();
|
|
822
|
+
free(): void;
|
|
823
|
+
[Symbol.dispose](): void;
|
|
824
|
+
get namespace(): string | undefined;
|
|
825
|
+
set namespace(value: string | null | undefined);
|
|
826
|
+
networkId: string;
|
|
827
|
+
reference: string;
|
|
828
|
+
get metadata(): TransactionMetadata | undefined;
|
|
829
|
+
set metadata(value: TransactionMetadata | null | undefined);
|
|
830
|
+
}
|
|
831
|
+
export class XmtpCursor {
|
|
832
|
+
private constructor();
|
|
833
|
+
free(): void;
|
|
834
|
+
[Symbol.dispose](): void;
|
|
835
|
+
originator_id: number;
|
|
836
|
+
sequence_id: bigint;
|
|
837
|
+
}
|
|
621
838
|
|
|
622
839
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
623
840
|
|
|
624
841
|
export interface InitOutput {
|
|
625
842
|
readonly memory: WebAssembly.Memory;
|
|
843
|
+
readonly __wbg_decodedmessagecontent_free: (a: number, b: number) => void;
|
|
844
|
+
readonly decodedmessagecontent_payloadType: (a: number) => number;
|
|
845
|
+
readonly decodedmessagecontent_asText: (a: number) => number;
|
|
846
|
+
readonly decodedmessagecontent_asReply: (a: number) => number;
|
|
847
|
+
readonly decodedmessagecontent_asReaction: (a: number) => number;
|
|
848
|
+
readonly decodedmessagecontent_asAttachment: (a: number) => number;
|
|
849
|
+
readonly decodedmessagecontent_asRemoteAttachment: (a: number) => number;
|
|
850
|
+
readonly decodedmessagecontent_asMultiRemoteAttachment: (a: number) => number;
|
|
851
|
+
readonly decodedmessagecontent_asTransactionReference: (a: number) => number;
|
|
852
|
+
readonly decodedmessagecontent_asGroupUpdated: (a: number) => number;
|
|
853
|
+
readonly decodedmessagecontent_asReadReceipt: (a: number) => number;
|
|
854
|
+
readonly decodedmessagecontent_asWalletSendCalls: (a: number) => [number, number, number];
|
|
855
|
+
readonly decodedmessagecontent_asCustom: (a: number) => number;
|
|
856
|
+
readonly __wbg_enrichedreply_free: (a: number, b: number) => void;
|
|
857
|
+
readonly enrichedreply_referenceId: (a: number) => [number, number];
|
|
858
|
+
readonly enrichedreply_content: (a: number) => number;
|
|
859
|
+
readonly enrichedreply_inReplyTo: (a: number) => number;
|
|
860
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
861
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
862
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
863
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
864
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
865
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
866
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
867
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
868
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
869
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
870
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
871
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
872
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
873
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
874
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
875
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
876
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
877
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
878
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
879
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
880
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
881
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
882
|
+
readonly __wbg_decodedmessage_free: (a: number, b: number) => void;
|
|
883
|
+
readonly __wbg_get_decodedmessage_id: (a: number) => [number, number];
|
|
884
|
+
readonly __wbg_set_decodedmessage_id: (a: number, b: number, c: number) => void;
|
|
885
|
+
readonly __wbg_get_decodedmessage_sent_at_ns: (a: number) => bigint;
|
|
886
|
+
readonly __wbg_set_decodedmessage_sent_at_ns: (a: number, b: bigint) => void;
|
|
887
|
+
readonly __wbg_get_decodedmessage_kind: (a: number) => number;
|
|
888
|
+
readonly __wbg_set_decodedmessage_kind: (a: number, b: number) => void;
|
|
889
|
+
readonly __wbg_get_decodedmessage_sender_installation_id: (a: number) => [number, number];
|
|
890
|
+
readonly __wbg_set_decodedmessage_sender_installation_id: (a: number, b: number, c: number) => void;
|
|
891
|
+
readonly __wbg_get_decodedmessage_sender_inbox_id: (a: number) => [number, number];
|
|
892
|
+
readonly __wbg_set_decodedmessage_sender_inbox_id: (a: number, b: number, c: number) => void;
|
|
893
|
+
readonly __wbg_get_decodedmessage_content_type: (a: number) => number;
|
|
894
|
+
readonly __wbg_set_decodedmessage_content_type: (a: number, b: number) => void;
|
|
895
|
+
readonly __wbg_get_decodedmessage_conversation_id: (a: number) => [number, number];
|
|
896
|
+
readonly __wbg_set_decodedmessage_conversation_id: (a: number, b: number, c: number) => void;
|
|
897
|
+
readonly __wbg_get_decodedmessage_content: (a: number) => number;
|
|
898
|
+
readonly __wbg_set_decodedmessage_content: (a: number, b: number) => void;
|
|
899
|
+
readonly __wbg_get_decodedmessage_fallback_text: (a: number) => [number, number];
|
|
900
|
+
readonly __wbg_set_decodedmessage_fallback_text: (a: number, b: number, c: number) => void;
|
|
901
|
+
readonly __wbg_get_decodedmessage_reactions: (a: number) => [number, number];
|
|
902
|
+
readonly __wbg_set_decodedmessage_reactions: (a: number, b: number, c: number) => void;
|
|
903
|
+
readonly __wbg_get_decodedmessage_delivery_status: (a: number) => number;
|
|
904
|
+
readonly __wbg_set_decodedmessage_delivery_status: (a: number, b: number) => void;
|
|
905
|
+
readonly __wbg_get_decodedmessage_num_replies: (a: number) => bigint;
|
|
906
|
+
readonly __wbg_set_decodedmessage_num_replies: (a: number, b: bigint) => void;
|
|
907
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
908
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
909
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
910
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
911
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
912
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
913
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
914
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
915
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
916
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
917
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
918
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
919
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
920
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
921
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
922
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
923
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
924
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
925
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
926
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
927
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
626
928
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
627
929
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
628
930
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -632,7 +934,7 @@ export interface InitOutput {
|
|
|
632
934
|
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
633
935
|
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
634
936
|
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
635
|
-
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) => any;
|
|
937
|
+
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) => any;
|
|
636
938
|
readonly client_accountIdentifier: (a: number) => any;
|
|
637
939
|
readonly client_inboxId: (a: number) => [number, number];
|
|
638
940
|
readonly client_isRegistered: (a: number) => number;
|
|
@@ -651,113 +953,27 @@ export interface InitOutput {
|
|
|
651
953
|
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
652
954
|
readonly client_clearAllStatistics: (a: number) => void;
|
|
653
955
|
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
654
|
-
readonly
|
|
655
|
-
readonly
|
|
656
|
-
readonly
|
|
657
|
-
readonly
|
|
658
|
-
readonly
|
|
659
|
-
readonly
|
|
660
|
-
readonly
|
|
661
|
-
readonly
|
|
662
|
-
readonly
|
|
663
|
-
readonly
|
|
664
|
-
readonly
|
|
665
|
-
readonly
|
|
666
|
-
readonly
|
|
667
|
-
readonly
|
|
668
|
-
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
669
|
-
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
670
|
-
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
671
|
-
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
672
|
-
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
673
|
-
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
674
|
-
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
675
|
-
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
676
|
-
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
677
|
-
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
678
|
-
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
679
|
-
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
680
|
-
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;
|
|
681
|
-
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
682
|
-
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
683
|
-
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
684
|
-
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
685
|
-
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
686
|
-
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
687
|
-
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
688
|
-
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
689
|
-
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
690
|
-
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
691
|
-
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
692
|
-
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
693
|
-
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
694
|
-
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
695
|
-
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
696
|
-
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
697
|
-
readonly encodeReaction: (a: number) => [number, number, number];
|
|
698
|
-
readonly decodeReaction: (a: any) => [number, number, number];
|
|
699
|
-
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
700
|
-
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
701
|
-
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
702
|
-
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
703
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
704
|
-
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
705
|
-
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
706
|
-
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
707
|
-
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
708
|
-
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
709
|
-
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
710
|
-
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
711
|
-
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
712
|
-
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
713
|
-
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
714
|
-
readonly conversation_id: (a: number) => [number, number];
|
|
715
|
-
readonly conversation_send: (a: number, b: number) => any;
|
|
716
|
-
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
717
|
-
readonly conversation_publishMessages: (a: number) => any;
|
|
718
|
-
readonly conversation_sync: (a: number) => any;
|
|
719
|
-
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
720
|
-
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
721
|
-
readonly conversation_listMembers: (a: number) => any;
|
|
722
|
-
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
723
|
-
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
724
|
-
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
725
|
-
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
726
|
-
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
727
|
-
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
728
|
-
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
729
|
-
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
730
|
-
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
731
|
-
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
732
|
-
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
733
|
-
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
734
|
-
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
735
|
-
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
736
|
-
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
737
|
-
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
738
|
-
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
739
|
-
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
740
|
-
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
741
|
-
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
742
|
-
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
743
|
-
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
744
|
-
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
745
|
-
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
746
|
-
readonly conversation_groupMetadata: (a: number) => any;
|
|
747
|
-
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
748
|
-
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
749
|
-
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
750
|
-
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
751
|
-
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
752
|
-
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
753
|
-
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
754
|
-
readonly conversation_getDebugInfo: (a: number) => any;
|
|
755
|
-
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
956
|
+
readonly client_deleteMessage: (a: number, b: number, c: number) => [number, number, number];
|
|
957
|
+
readonly client_messageV2: (a: number, b: number, c: number) => any;
|
|
958
|
+
readonly __wbg_readreceipt_free: (a: number, b: number) => void;
|
|
959
|
+
readonly __wbg_remoteattachment_free: (a: number, b: number) => void;
|
|
960
|
+
readonly __wbg_get_remoteattachment_url: (a: number) => [number, number];
|
|
961
|
+
readonly __wbg_get_remoteattachment_contentDigest: (a: number) => [number, number];
|
|
962
|
+
readonly __wbg_get_remoteattachment_secret: (a: number) => [number, number];
|
|
963
|
+
readonly __wbg_get_remoteattachment_salt: (a: number) => [number, number];
|
|
964
|
+
readonly __wbg_set_remoteattachment_salt: (a: number, b: number, c: number) => void;
|
|
965
|
+
readonly __wbg_get_remoteattachment_nonce: (a: number) => [number, number];
|
|
966
|
+
readonly __wbg_set_remoteattachment_nonce: (a: number, b: number, c: number) => void;
|
|
967
|
+
readonly __wbg_get_remoteattachment_scheme: (a: number) => [number, number];
|
|
968
|
+
readonly __wbg_get_remoteattachment_filename: (a: number) => [number, number];
|
|
969
|
+
readonly __wbg_set_remoteattachment_filename: (a: number, b: number, c: number) => void;
|
|
756
970
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
757
971
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
758
972
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
759
973
|
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
760
974
|
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
975
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
976
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
761
977
|
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
762
978
|
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
763
979
|
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
@@ -765,7 +981,13 @@ export interface InitOutput {
|
|
|
765
981
|
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
766
982
|
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
767
983
|
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
984
|
+
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
985
|
+
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
986
|
+
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
768
987
|
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
988
|
+
readonly __wbg_xmtpcursor_free: (a: number, b: number) => void;
|
|
989
|
+
readonly __wbg_get_xmtpcursor_originator_id: (a: number) => number;
|
|
990
|
+
readonly __wbg_set_xmtpcursor_originator_id: (a: number, b: number) => void;
|
|
769
991
|
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
770
992
|
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
771
993
|
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
@@ -779,8 +1001,8 @@ export interface InitOutput {
|
|
|
779
1001
|
readonly __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
|
|
780
1002
|
readonly __wbg_get_conversationdebuginfo_remoteCommitLog: (a: number) => [number, number];
|
|
781
1003
|
readonly __wbg_set_conversationdebuginfo_remoteCommitLog: (a: number, b: number, c: number) => void;
|
|
782
|
-
readonly __wbg_get_conversationdebuginfo_cursor: (a: number) =>
|
|
783
|
-
readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b:
|
|
1004
|
+
readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => [number, number];
|
|
1005
|
+
readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: number, c: number) => void;
|
|
784
1006
|
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
785
1007
|
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
786
1008
|
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
@@ -799,7 +1021,6 @@ export interface InitOutput {
|
|
|
799
1021
|
readonly createdmoptions_new: (a: number) => number;
|
|
800
1022
|
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
801
1023
|
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
802
|
-
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
803
1024
|
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
804
1025
|
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
805
1026
|
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
@@ -826,63 +1047,20 @@ export interface InitOutput {
|
|
|
826
1047
|
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
827
1048
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
828
1049
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
829
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
830
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
831
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
832
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
833
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
834
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
835
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
836
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
837
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
838
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
839
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
840
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
841
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
842
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
843
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
844
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
845
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
846
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
847
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
848
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
849
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
850
|
-
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
851
|
-
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
852
|
-
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
853
|
-
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
854
|
-
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
855
|
-
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
856
|
-
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
857
|
-
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
858
|
-
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
859
|
-
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
860
|
-
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
861
|
-
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
862
|
-
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
863
|
-
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
864
|
-
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
865
|
-
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
866
|
-
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
867
|
-
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
868
|
-
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
869
|
-
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
870
|
-
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
871
|
-
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
872
|
-
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
873
|
-
readonly client_inboxState: (a: number, b: number) => any;
|
|
874
|
-
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
875
|
-
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
876
1050
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
877
1051
|
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
878
1052
|
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
1053
|
+
readonly __wbg_get_listmessagesoptions_excludeContentTypes: (a: number) => [number, number];
|
|
1054
|
+
readonly __wbg_set_listmessagesoptions_excludeContentTypes: (a: number, b: number, c: number) => void;
|
|
879
1055
|
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
880
1056
|
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
881
1057
|
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
882
1058
|
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
883
1059
|
readonly __wbg_get_listmessagesoptions_kind: (a: number) => number;
|
|
884
1060
|
readonly __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
|
|
885
|
-
readonly
|
|
1061
|
+
readonly __wbg_get_listmessagesoptions_excludeSenderInboxIds: (a: number) => [number, number];
|
|
1062
|
+
readonly __wbg_set_listmessagesoptions_excludeSenderInboxIds: (a: number, b: number, c: number) => void;
|
|
1063
|
+
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) => number;
|
|
886
1064
|
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
887
1065
|
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
888
1066
|
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
@@ -902,98 +1080,75 @@ export interface InitOutput {
|
|
|
902
1080
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
903
1081
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
904
1082
|
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
905
|
-
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
906
|
-
readonly opfs_init_sqlite_opfs: () => any;
|
|
907
|
-
readonly opfs_exists: () => number;
|
|
908
|
-
readonly opfs_error: () => [number, number];
|
|
909
|
-
readonly opfs_wipeFiles: () => any;
|
|
910
|
-
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
911
|
-
readonly opfs_getFileNames: () => [number, number];
|
|
912
|
-
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
913
|
-
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
914
|
-
readonly opfs_getFileCount: () => number;
|
|
915
|
-
readonly opfs_getCapacity: () => number;
|
|
916
|
-
readonly opfs_addCapacity: (a: number) => any;
|
|
917
|
-
readonly opfs_reduceCapacity: (a: number) => any;
|
|
918
|
-
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
919
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
920
|
-
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
921
|
-
readonly applySignatureRequest: (a: number, b: number, c: number) => any;
|
|
922
|
-
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
923
|
-
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
924
|
-
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
925
|
-
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
|
|
926
|
-
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
927
|
-
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
928
|
-
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
929
|
-
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
930
|
-
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
931
|
-
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
932
|
-
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
933
|
-
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
934
|
-
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
935
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
936
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
937
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
938
|
-
readonly streamcloser_end: (a: number) => void;
|
|
939
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
940
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
941
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
942
1083
|
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
943
|
-
readonly
|
|
944
|
-
readonly
|
|
945
|
-
readonly
|
|
946
|
-
readonly
|
|
947
|
-
readonly
|
|
948
|
-
readonly
|
|
949
|
-
readonly
|
|
950
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
1084
|
+
readonly __wbg_set_remoteattachment_url: (a: number, b: number, c: number) => void;
|
|
1085
|
+
readonly __wbg_set_remoteattachment_contentDigest: (a: number, b: number, c: number) => void;
|
|
1086
|
+
readonly __wbg_set_remoteattachment_secret: (a: number, b: number, c: number) => void;
|
|
1087
|
+
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
1088
|
+
readonly __wbg_set_remoteattachment_scheme: (a: number, b: number, c: number) => void;
|
|
1089
|
+
readonly __wbg_set_remoteattachment_contentLength: (a: number, b: bigint) => void;
|
|
1090
|
+
readonly __wbg_set_xmtpcursor_sequence_id: (a: number, b: bigint) => void;
|
|
951
1091
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
952
|
-
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
953
1092
|
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
954
|
-
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
955
|
-
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
956
1093
|
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
957
1094
|
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
958
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
959
1095
|
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
960
1096
|
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
961
1097
|
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
962
|
-
readonly
|
|
1098
|
+
readonly __wbg_get_remoteattachment_contentLength: (a: number) => bigint;
|
|
1099
|
+
readonly __wbg_get_xmtpcursor_sequence_id: (a: number) => bigint;
|
|
963
1100
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
964
|
-
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
965
1101
|
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
966
|
-
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
967
|
-
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
968
1102
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
969
|
-
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
970
1103
|
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
971
1104
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
972
1105
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
973
|
-
readonly
|
|
974
|
-
readonly
|
|
975
|
-
readonly
|
|
976
|
-
readonly
|
|
977
|
-
readonly
|
|
978
|
-
readonly
|
|
979
|
-
readonly
|
|
980
|
-
readonly
|
|
981
|
-
readonly
|
|
982
|
-
readonly
|
|
983
|
-
readonly
|
|
984
|
-
readonly
|
|
985
|
-
readonly
|
|
986
|
-
readonly
|
|
987
|
-
readonly
|
|
988
|
-
readonly
|
|
989
|
-
readonly
|
|
990
|
-
readonly
|
|
991
|
-
readonly
|
|
992
|
-
readonly
|
|
993
|
-
readonly
|
|
994
|
-
readonly
|
|
995
|
-
readonly
|
|
996
|
-
readonly
|
|
1106
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
1107
|
+
readonly streamcloser_end: (a: number) => void;
|
|
1108
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
1109
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
1110
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
1111
|
+
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
1112
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
1113
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
1114
|
+
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
1115
|
+
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
1116
|
+
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
1117
|
+
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
1118
|
+
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
1119
|
+
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
1120
|
+
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
1121
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
1122
|
+
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
1123
|
+
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
1124
|
+
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
1125
|
+
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
1126
|
+
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
1127
|
+
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
1128
|
+
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;
|
|
1129
|
+
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
1130
|
+
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
1131
|
+
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
1132
|
+
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
1133
|
+
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
1134
|
+
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
1135
|
+
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
1136
|
+
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
1137
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
1138
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
1139
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
1140
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
1141
|
+
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
1142
|
+
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
1143
|
+
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
1144
|
+
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
1145
|
+
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1146
|
+
readonly encodeReaction: (a: number) => [number, number, number];
|
|
1147
|
+
readonly decodeReaction: (a: any) => [number, number, number];
|
|
1148
|
+
readonly __wbg_reactionpayload_free: (a: number, b: number) => void;
|
|
1149
|
+
readonly __wbg_get_reactionpayload_reference: (a: number) => [number, number];
|
|
1150
|
+
readonly __wbg_get_reactionpayload_referenceInboxId: (a: number) => [number, number];
|
|
1151
|
+
readonly __wbg_get_reactionpayload_content: (a: number) => [number, number];
|
|
997
1152
|
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
998
1153
|
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
999
1154
|
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
@@ -1012,14 +1167,215 @@ export interface InitOutput {
|
|
|
1012
1167
|
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
1013
1168
|
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
1014
1169
|
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
1170
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: any) => any;
|
|
1171
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
1172
|
+
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
1173
|
+
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
1174
|
+
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
1175
|
+
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
1176
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
1177
|
+
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
1178
|
+
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
1179
|
+
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
1180
|
+
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
1181
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
1182
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
1183
|
+
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
1184
|
+
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
1185
|
+
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
1186
|
+
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
1187
|
+
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
1188
|
+
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
1189
|
+
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
1190
|
+
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
1191
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
1192
|
+
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
1193
|
+
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
1194
|
+
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
1195
|
+
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
1196
|
+
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
1197
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
1198
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
1199
|
+
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
1200
|
+
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
1201
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
1202
|
+
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number) => [number, number, number];
|
|
1203
|
+
readonly applySignatureRequest: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
1204
|
+
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
1205
|
+
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
1206
|
+
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
1207
|
+
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
|
|
1208
|
+
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
1209
|
+
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
1210
|
+
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
1211
|
+
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
1212
|
+
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
1213
|
+
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
1214
|
+
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
1215
|
+
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
1216
|
+
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
1217
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
1218
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
1219
|
+
readonly __wbg_set_reactionpayload_reference: (a: number, b: number, c: number) => void;
|
|
1220
|
+
readonly __wbg_set_reactionpayload_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
1221
|
+
readonly __wbg_set_reactionpayload_content: (a: number, b: number, c: number) => void;
|
|
1222
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
1223
|
+
readonly __wbg_set_reactionpayload_action: (a: number, b: number) => void;
|
|
1224
|
+
readonly __wbg_set_reactionpayload_schema: (a: number, b: number) => void;
|
|
1225
|
+
readonly __wbg_get_reactionpayload_action: (a: number) => number;
|
|
1226
|
+
readonly __wbg_get_reactionpayload_schema: (a: number) => number;
|
|
1015
1227
|
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
1016
1228
|
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
1017
1229
|
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
1018
1230
|
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
1231
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
1232
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
1019
1233
|
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
1020
1234
|
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
1021
1235
|
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
1022
1236
|
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
1237
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
1238
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
1239
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
1240
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
1241
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
1242
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
1243
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
1244
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
1245
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
1246
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
1247
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
1248
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
1249
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
1250
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
1251
|
+
readonly __wbg_groupupdated_free: (a: number, b: number) => void;
|
|
1252
|
+
readonly __wbg_get_groupupdated_initiatedByInboxId: (a: number) => [number, number];
|
|
1253
|
+
readonly __wbg_get_groupupdated_addedInboxes: (a: number) => [number, number];
|
|
1254
|
+
readonly __wbg_set_groupupdated_addedInboxes: (a: number, b: number, c: number) => void;
|
|
1255
|
+
readonly __wbg_get_groupupdated_removedInboxes: (a: number) => [number, number];
|
|
1256
|
+
readonly __wbg_set_groupupdated_removedInboxes: (a: number, b: number, c: number) => void;
|
|
1257
|
+
readonly __wbg_get_groupupdated_metadataFieldChanges: (a: number) => [number, number];
|
|
1258
|
+
readonly __wbg_set_groupupdated_metadataFieldChanges: (a: number, b: number, c: number) => void;
|
|
1259
|
+
readonly __wbg_inbox_free: (a: number, b: number) => void;
|
|
1260
|
+
readonly __wbg_get_inbox_inboxId: (a: number) => [number, number];
|
|
1261
|
+
readonly __wbg_metadatafieldchange_free: (a: number, b: number) => void;
|
|
1262
|
+
readonly __wbg_get_metadatafieldchange_fieldName: (a: number) => [number, number];
|
|
1263
|
+
readonly __wbg_get_metadatafieldchange_oldValue: (a: number) => [number, number];
|
|
1264
|
+
readonly __wbg_set_metadatafieldchange_oldValue: (a: number, b: number, c: number) => void;
|
|
1265
|
+
readonly __wbg_get_metadatafieldchange_newValue: (a: number) => [number, number];
|
|
1266
|
+
readonly __wbg_set_metadatafieldchange_newValue: (a: number, b: number, c: number) => void;
|
|
1267
|
+
readonly __wbg_get_textcontent_content: (a: number) => [number, number];
|
|
1268
|
+
readonly __wbg_sendmessageopts_free: (a: number, b: number) => void;
|
|
1269
|
+
readonly __wbg_get_sendmessageopts_shouldPush: (a: number) => number;
|
|
1270
|
+
readonly __wbg_set_sendmessageopts_shouldPush: (a: number, b: number) => void;
|
|
1271
|
+
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
1272
|
+
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
1273
|
+
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
1274
|
+
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
1275
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
1276
|
+
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
1277
|
+
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
1278
|
+
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
1279
|
+
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
1280
|
+
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
1281
|
+
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
1282
|
+
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
1283
|
+
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
1284
|
+
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1285
|
+
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
1286
|
+
readonly conversation_id: (a: number) => [number, number];
|
|
1287
|
+
readonly conversation_send: (a: number, b: number, c: number) => any;
|
|
1288
|
+
readonly conversation_sendOptimistic: (a: number, b: number, c: number) => [number, number, number, number];
|
|
1289
|
+
readonly conversation_publishMessages: (a: number) => any;
|
|
1290
|
+
readonly conversation_sync: (a: number) => any;
|
|
1291
|
+
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
1292
|
+
readonly conversation_countMessages: (a: number, b: number) => any;
|
|
1293
|
+
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
1294
|
+
readonly conversation_listMembers: (a: number) => any;
|
|
1295
|
+
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
1296
|
+
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
1297
|
+
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
1298
|
+
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
1299
|
+
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
1300
|
+
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
1301
|
+
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
1302
|
+
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
1303
|
+
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
1304
|
+
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
1305
|
+
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
1306
|
+
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
1307
|
+
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
1308
|
+
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
1309
|
+
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
1310
|
+
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
1311
|
+
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
1312
|
+
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
1313
|
+
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
1314
|
+
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
1315
|
+
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
1316
|
+
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
1317
|
+
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
1318
|
+
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
1319
|
+
readonly conversation_groupMetadata: (a: number) => any;
|
|
1320
|
+
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
1321
|
+
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
1322
|
+
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
1323
|
+
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
1324
|
+
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
1325
|
+
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
1326
|
+
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
1327
|
+
readonly conversation_getDebugInfo: (a: number) => any;
|
|
1328
|
+
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
1329
|
+
readonly conversation_findMessagesV2: (a: number, b: number) => any;
|
|
1330
|
+
readonly conversation_getLastReadTimes: (a: number) => any;
|
|
1331
|
+
readonly __wbg_set_groupupdated_initiatedByInboxId: (a: number, b: number, c: number) => void;
|
|
1332
|
+
readonly __wbg_set_inbox_inboxId: (a: number, b: number, c: number) => void;
|
|
1333
|
+
readonly __wbg_set_metadatafieldchange_fieldName: (a: number, b: number, c: number) => void;
|
|
1334
|
+
readonly __wbg_set_textcontent_content: (a: number, b: number, c: number) => void;
|
|
1335
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
1336
|
+
readonly __wbg_textcontent_free: (a: number, b: number) => void;
|
|
1337
|
+
readonly __wbg_attachment_free: (a: number, b: number) => void;
|
|
1338
|
+
readonly __wbg_get_attachment_filename: (a: number) => [number, number];
|
|
1339
|
+
readonly __wbg_set_attachment_filename: (a: number, b: number, c: number) => void;
|
|
1340
|
+
readonly __wbg_get_attachment_mimeType: (a: number) => [number, number];
|
|
1341
|
+
readonly __wbg_set_attachment_mimeType: (a: number, b: number, c: number) => void;
|
|
1342
|
+
readonly __wbg_get_attachment_content: (a: number) => [number, number];
|
|
1343
|
+
readonly __wbg_set_attachment_content: (a: number, b: number, c: number) => void;
|
|
1344
|
+
readonly __wbg_transactionreference_free: (a: number, b: number) => void;
|
|
1345
|
+
readonly __wbg_get_transactionreference_namespace: (a: number) => [number, number];
|
|
1346
|
+
readonly __wbg_set_transactionreference_namespace: (a: number, b: number, c: number) => void;
|
|
1347
|
+
readonly __wbg_get_transactionreference_networkId: (a: number) => [number, number];
|
|
1348
|
+
readonly __wbg_set_transactionreference_networkId: (a: number, b: number, c: number) => void;
|
|
1349
|
+
readonly __wbg_get_transactionreference_reference: (a: number) => [number, number];
|
|
1350
|
+
readonly __wbg_set_transactionreference_reference: (a: number, b: number, c: number) => void;
|
|
1351
|
+
readonly __wbg_get_transactionreference_metadata: (a: number) => number;
|
|
1352
|
+
readonly __wbg_set_transactionreference_metadata: (a: number, b: number) => void;
|
|
1353
|
+
readonly __wbg_transactionmetadata_free: (a: number, b: number) => void;
|
|
1354
|
+
readonly __wbg_get_transactionmetadata_transactionType: (a: number) => [number, number];
|
|
1355
|
+
readonly __wbg_set_transactionmetadata_transactionType: (a: number, b: number, c: number) => void;
|
|
1356
|
+
readonly __wbg_get_transactionmetadata_currency: (a: number) => [number, number];
|
|
1357
|
+
readonly __wbg_set_transactionmetadata_currency: (a: number, b: number, c: number) => void;
|
|
1358
|
+
readonly __wbg_get_transactionmetadata_amount: (a: number) => number;
|
|
1359
|
+
readonly __wbg_set_transactionmetadata_amount: (a: number, b: number) => void;
|
|
1360
|
+
readonly __wbg_get_transactionmetadata_decimals: (a: number) => number;
|
|
1361
|
+
readonly __wbg_set_transactionmetadata_decimals: (a: number, b: number) => void;
|
|
1362
|
+
readonly __wbg_get_transactionmetadata_fromAddress: (a: number) => [number, number];
|
|
1363
|
+
readonly __wbg_set_transactionmetadata_fromAddress: (a: number, b: number, c: number) => void;
|
|
1364
|
+
readonly __wbg_get_transactionmetadata_toAddress: (a: number) => [number, number];
|
|
1365
|
+
readonly __wbg_set_transactionmetadata_toAddress: (a: number, b: number, c: number) => void;
|
|
1366
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
1367
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
1368
|
+
readonly opfs_exists: () => number;
|
|
1369
|
+
readonly opfs_error: () => [number, number];
|
|
1370
|
+
readonly opfs_wipeFiles: () => any;
|
|
1371
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
1372
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
1373
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
1374
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
1375
|
+
readonly opfs_getFileCount: () => number;
|
|
1376
|
+
readonly opfs_getCapacity: () => number;
|
|
1377
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
1378
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
1023
1379
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
1024
1380
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
1025
1381
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -1039,15 +1395,15 @@ export interface InitOutput {
|
|
|
1039
1395
|
readonly rust_sqlite_wasm_shim_realloc: (a: number, b: number) => number;
|
|
1040
1396
|
readonly rust_sqlite_wasm_shim_calloc: (a: number, b: number) => number;
|
|
1041
1397
|
readonly sqlite3_os_init: () => number;
|
|
1042
|
-
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1043
|
-
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1044
|
-
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1045
1398
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
1046
1399
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
1047
1400
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
1048
1401
|
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
1049
1402
|
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
1050
1403
|
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
1404
|
+
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1405
|
+
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1406
|
+
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1051
1407
|
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
1052
1408
|
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
1053
1409
|
readonly intounderlyingsink_close: (a: number) => any;
|
|
@@ -1062,10 +1418,11 @@ export interface InitOutput {
|
|
|
1062
1418
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1063
1419
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
1064
1420
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1065
|
-
readonly
|
|
1066
|
-
readonly
|
|
1067
|
-
readonly
|
|
1068
|
-
readonly
|
|
1421
|
+
readonly wasm_bindgen__convert__closures_____invoke__h4b9132d070774788: (a: number, b: number) => void;
|
|
1422
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6553f0a100c562a9: (a: number, b: number) => void;
|
|
1423
|
+
readonly closure6887_externref_shim: (a: number, b: number, c: any) => void;
|
|
1424
|
+
readonly wasm_bindgen__convert__closures_____invoke__ha8342c4eebc28ece: (a: number, b: number) => void;
|
|
1425
|
+
readonly closure7852_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1069
1426
|
readonly __wbindgen_start: () => void;
|
|
1070
1427
|
}
|
|
1071
1428
|
|