@xmtp/wasm-bindings 1.6.0-dev.3656d63 → 1.6.0-dev.419b6dc
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 +380 -316
- package/dist/bindings_wasm.js +843 -661
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +280 -275
- 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
|
|
3
|
+
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
4
|
+
export function revokeInstallationsSignatureRequest(v3_host: string, gateway_host: string | null | undefined, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): SignatureRequestHandle;
|
|
5
|
+
export function applySignatureRequest(v3_host: string, gateway_host: string | null | undefined, signature_request: SignatureRequestHandle): Promise<void>;
|
|
4
6
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
5
7
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
6
8
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
7
9
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
8
|
-
export function
|
|
9
|
-
export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): SignatureRequestHandle;
|
|
10
|
-
export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
|
|
11
|
-
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
10
|
+
export function getInboxIdForIdentifier(v3_host: string, gateway_host: string | null | undefined, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
12
11
|
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
13
|
-
export function inboxStateFromInboxIds(
|
|
12
|
+
export function inboxStateFromInboxIds(v3_host: string, gateway_host: string | null | undefined, inbox_ids: string[]): Promise<InboxState[]>;
|
|
13
|
+
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>;
|
|
14
14
|
/**
|
|
15
15
|
* Entry point invoked by JavaScript in a worker.
|
|
16
16
|
*/
|
|
@@ -52,6 +52,7 @@ export enum GroupMembershipState {
|
|
|
52
52
|
Rejected = 1,
|
|
53
53
|
Pending = 2,
|
|
54
54
|
Restored = 3,
|
|
55
|
+
PendingRemove = 4,
|
|
55
56
|
}
|
|
56
57
|
export enum GroupMessageKind {
|
|
57
58
|
Application = 0,
|
|
@@ -136,6 +137,8 @@ type LogLevel = "off" | "error" | "warn" | "info" | "debug" | "trace";
|
|
|
136
137
|
* *This API requires the following crate features to be activated: `ReadableStreamType`*
|
|
137
138
|
*/
|
|
138
139
|
type ReadableStreamType = "bytes";
|
|
140
|
+
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
141
|
+
|
|
139
142
|
export interface Identifier {
|
|
140
143
|
identifier: string;
|
|
141
144
|
identifierKind: IdentifierKind;
|
|
@@ -143,11 +146,10 @@ export interface Identifier {
|
|
|
143
146
|
|
|
144
147
|
export type IdentifierKind = "Ethereum" | "Passkey";
|
|
145
148
|
|
|
146
|
-
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
147
|
-
|
|
148
149
|
export class ApiStats {
|
|
149
150
|
private constructor();
|
|
150
151
|
free(): void;
|
|
152
|
+
[Symbol.dispose](): void;
|
|
151
153
|
upload_key_package: bigint;
|
|
152
154
|
fetch_key_package: bigint;
|
|
153
155
|
send_group_messages: bigint;
|
|
@@ -160,6 +162,7 @@ export class ApiStats {
|
|
|
160
162
|
export class Attachment {
|
|
161
163
|
private constructor();
|
|
162
164
|
free(): void;
|
|
165
|
+
[Symbol.dispose](): void;
|
|
163
166
|
get filename(): string | undefined;
|
|
164
167
|
set filename(value: string | null | undefined);
|
|
165
168
|
mimeType: string;
|
|
@@ -168,22 +171,7 @@ export class Attachment {
|
|
|
168
171
|
export class Client {
|
|
169
172
|
private constructor();
|
|
170
173
|
free(): void;
|
|
171
|
-
|
|
172
|
-
* Output booleans should be zipped with the index of input identifiers
|
|
173
|
-
*/
|
|
174
|
-
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
175
|
-
sendSyncRequest(): Promise<void>;
|
|
176
|
-
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
177
|
-
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
178
|
-
conversations(): Conversations;
|
|
179
|
-
syncPreferences(): Promise<number>;
|
|
180
|
-
apiStatistics(): ApiStats;
|
|
181
|
-
apiIdentityStatistics(): IdentityStats;
|
|
182
|
-
apiAggregateStatistics(): string;
|
|
183
|
-
clearAllStatistics(): void;
|
|
184
|
-
uploadDebugArchive(server_url: string): Promise<string>;
|
|
185
|
-
deleteMessage(message_id: Uint8Array): number;
|
|
186
|
-
messageV2(message_id: Uint8Array): Promise<DecodedMessage>;
|
|
174
|
+
[Symbol.dispose](): void;
|
|
187
175
|
createInboxSignatureRequest(): SignatureRequestHandle | undefined;
|
|
188
176
|
addWalletSignatureRequest(new_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
189
177
|
revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
@@ -214,6 +202,22 @@ export class Client {
|
|
|
214
202
|
*
|
|
215
203
|
*/
|
|
216
204
|
getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
|
|
205
|
+
/**
|
|
206
|
+
* Output booleans should be zipped with the index of input identifiers
|
|
207
|
+
*/
|
|
208
|
+
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
209
|
+
sendSyncRequest(): Promise<void>;
|
|
210
|
+
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
211
|
+
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
212
|
+
conversations(): Conversations;
|
|
213
|
+
syncPreferences(): Promise<number>;
|
|
214
|
+
apiStatistics(): ApiStats;
|
|
215
|
+
apiIdentityStatistics(): IdentityStats;
|
|
216
|
+
apiAggregateStatistics(): string;
|
|
217
|
+
clearAllStatistics(): void;
|
|
218
|
+
uploadDebugArchive(server_url: string): Promise<string>;
|
|
219
|
+
deleteMessage(message_id: Uint8Array): number;
|
|
220
|
+
messageV2(message_id: Uint8Array): Promise<DecodedMessage>;
|
|
217
221
|
readonly accountIdentifier: Identifier;
|
|
218
222
|
readonly inboxId: string;
|
|
219
223
|
readonly isRegistered: boolean;
|
|
@@ -224,6 +228,7 @@ export class Client {
|
|
|
224
228
|
}
|
|
225
229
|
export class Consent {
|
|
226
230
|
free(): void;
|
|
231
|
+
[Symbol.dispose](): void;
|
|
227
232
|
constructor(entity_type: ConsentEntityType, state: ConsentState, entity: string);
|
|
228
233
|
entityType: ConsentEntityType;
|
|
229
234
|
state: ConsentState;
|
|
@@ -231,6 +236,7 @@ export class Consent {
|
|
|
231
236
|
}
|
|
232
237
|
export class ContentTypeId {
|
|
233
238
|
free(): void;
|
|
239
|
+
[Symbol.dispose](): void;
|
|
234
240
|
constructor(authority_id: string, type_id: string, version_major: number, version_minor: number);
|
|
235
241
|
authorityId: string;
|
|
236
242
|
typeId: string;
|
|
@@ -240,6 +246,7 @@ export class ContentTypeId {
|
|
|
240
246
|
export class Conversation {
|
|
241
247
|
private constructor();
|
|
242
248
|
free(): void;
|
|
249
|
+
[Symbol.dispose](): void;
|
|
243
250
|
consentState(): ConsentState;
|
|
244
251
|
updateConsentState(state: ConsentState): void;
|
|
245
252
|
id(): string;
|
|
@@ -297,6 +304,7 @@ export class Conversation {
|
|
|
297
304
|
export class ConversationDebugInfo {
|
|
298
305
|
private constructor();
|
|
299
306
|
free(): void;
|
|
307
|
+
[Symbol.dispose](): void;
|
|
300
308
|
epoch: bigint;
|
|
301
309
|
maybeForked: boolean;
|
|
302
310
|
forkDetails: string;
|
|
@@ -304,10 +312,11 @@ export class ConversationDebugInfo {
|
|
|
304
312
|
set isCommitLogForked(value: boolean | null | undefined);
|
|
305
313
|
localCommitLog: string;
|
|
306
314
|
remoteCommitLog: string;
|
|
307
|
-
cursor:
|
|
315
|
+
cursor: XmtpCursor[];
|
|
308
316
|
}
|
|
309
317
|
export class ConversationListItem {
|
|
310
318
|
free(): void;
|
|
319
|
+
[Symbol.dispose](): void;
|
|
311
320
|
constructor(conversation: Conversation, last_message?: Message | null, is_commit_log_forked?: boolean | null);
|
|
312
321
|
conversation: Conversation;
|
|
313
322
|
get lastMessage(): Message | undefined;
|
|
@@ -318,6 +327,7 @@ export class ConversationListItem {
|
|
|
318
327
|
export class Conversations {
|
|
319
328
|
private constructor();
|
|
320
329
|
free(): void;
|
|
330
|
+
[Symbol.dispose](): void;
|
|
321
331
|
createGroupOptimistic(options?: CreateGroupOptions | null): Conversation;
|
|
322
332
|
createGroup(account_identifiers: Identifier[], options?: CreateGroupOptions | null): Promise<Conversation>;
|
|
323
333
|
createGroupByInboxIds(inbox_ids: string[], options?: CreateGroupOptions | null): Promise<Conversation>;
|
|
@@ -341,12 +351,14 @@ export class Conversations {
|
|
|
341
351
|
}
|
|
342
352
|
export class CreateDMOptions {
|
|
343
353
|
free(): void;
|
|
354
|
+
[Symbol.dispose](): void;
|
|
344
355
|
constructor(message_disappearing_settings?: MessageDisappearingSettings | null);
|
|
345
356
|
get messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
346
357
|
set messageDisappearingSettings(value: MessageDisappearingSettings | null | undefined);
|
|
347
358
|
}
|
|
348
359
|
export class CreateGroupOptions {
|
|
349
360
|
free(): void;
|
|
361
|
+
[Symbol.dispose](): void;
|
|
350
362
|
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);
|
|
351
363
|
get permissions(): GroupPermissionsOptions | undefined;
|
|
352
364
|
set permissions(value: GroupPermissionsOptions | null | undefined);
|
|
@@ -364,6 +376,7 @@ export class CreateGroupOptions {
|
|
|
364
376
|
export class DecodedMessage {
|
|
365
377
|
private constructor();
|
|
366
378
|
free(): void;
|
|
379
|
+
[Symbol.dispose](): void;
|
|
367
380
|
id: Uint8Array;
|
|
368
381
|
sent_at_ns: bigint;
|
|
369
382
|
kind: GroupMessageKind;
|
|
@@ -381,6 +394,7 @@ export class DecodedMessage {
|
|
|
381
394
|
export class DecodedMessageContent {
|
|
382
395
|
private constructor();
|
|
383
396
|
free(): void;
|
|
397
|
+
[Symbol.dispose](): void;
|
|
384
398
|
asText(): TextContent | undefined;
|
|
385
399
|
asReply(): EnrichedReply | undefined;
|
|
386
400
|
asReaction(): ReactionPayload | undefined;
|
|
@@ -396,6 +410,7 @@ export class DecodedMessageContent {
|
|
|
396
410
|
}
|
|
397
411
|
export class EncodedContent {
|
|
398
412
|
free(): void;
|
|
413
|
+
[Symbol.dispose](): void;
|
|
399
414
|
constructor(type: ContentTypeId | null | undefined, parameters: any, fallback: string | null | undefined, compression: number | null | undefined, content: Uint8Array);
|
|
400
415
|
get type(): ContentTypeId | undefined;
|
|
401
416
|
set type(value: ContentTypeId | null | undefined);
|
|
@@ -409,12 +424,14 @@ export class EncodedContent {
|
|
|
409
424
|
export class EnrichedReply {
|
|
410
425
|
private constructor();
|
|
411
426
|
free(): void;
|
|
427
|
+
[Symbol.dispose](): void;
|
|
412
428
|
readonly referenceId: string;
|
|
413
429
|
readonly content: DecodedMessageContent;
|
|
414
430
|
readonly inReplyTo: DecodedMessage | undefined;
|
|
415
431
|
}
|
|
416
432
|
export class GroupMember {
|
|
417
433
|
free(): void;
|
|
434
|
+
[Symbol.dispose](): void;
|
|
418
435
|
constructor(inboxId: string, accountIdentifiers: Identifier[], installationIds: string[], permissionLevel: PermissionLevel, consentState: ConsentState);
|
|
419
436
|
inboxId: string;
|
|
420
437
|
accountIdentifiers: Identifier[];
|
|
@@ -425,18 +442,21 @@ export class GroupMember {
|
|
|
425
442
|
export class GroupMetadata {
|
|
426
443
|
private constructor();
|
|
427
444
|
free(): void;
|
|
445
|
+
[Symbol.dispose](): void;
|
|
428
446
|
creatorInboxId(): string;
|
|
429
447
|
conversationType(): string;
|
|
430
448
|
}
|
|
431
449
|
export class GroupPermissions {
|
|
432
450
|
private constructor();
|
|
433
451
|
free(): void;
|
|
452
|
+
[Symbol.dispose](): void;
|
|
434
453
|
policyType(): GroupPermissionsOptions;
|
|
435
454
|
policySet(): PermissionPolicySet;
|
|
436
455
|
}
|
|
437
456
|
export class GroupUpdated {
|
|
438
457
|
private constructor();
|
|
439
458
|
free(): void;
|
|
459
|
+
[Symbol.dispose](): void;
|
|
440
460
|
initiatedByInboxId: string;
|
|
441
461
|
addedInboxes: Inbox[];
|
|
442
462
|
removedInboxes: Inbox[];
|
|
@@ -445,12 +465,14 @@ export class GroupUpdated {
|
|
|
445
465
|
export class HmacKey {
|
|
446
466
|
private constructor();
|
|
447
467
|
free(): void;
|
|
468
|
+
[Symbol.dispose](): void;
|
|
448
469
|
key: Uint8Array;
|
|
449
470
|
epoch: bigint;
|
|
450
471
|
}
|
|
451
472
|
export class IdentityStats {
|
|
452
473
|
private constructor();
|
|
453
474
|
free(): void;
|
|
475
|
+
[Symbol.dispose](): void;
|
|
454
476
|
publish_identity_update: bigint;
|
|
455
477
|
get_identity_updates_v2: bigint;
|
|
456
478
|
get_inbox_ids: bigint;
|
|
@@ -459,10 +481,12 @@ export class IdentityStats {
|
|
|
459
481
|
export class Inbox {
|
|
460
482
|
private constructor();
|
|
461
483
|
free(): void;
|
|
484
|
+
[Symbol.dispose](): void;
|
|
462
485
|
inboxId: string;
|
|
463
486
|
}
|
|
464
487
|
export class InboxState {
|
|
465
488
|
free(): void;
|
|
489
|
+
[Symbol.dispose](): void;
|
|
466
490
|
constructor(inbox_id: string, recovery_identifier: Identifier, installations: Installation[], account_identifiers: Identifier[]);
|
|
467
491
|
inboxId: string;
|
|
468
492
|
recoveryIdentifier: Identifier;
|
|
@@ -471,6 +495,7 @@ export class InboxState {
|
|
|
471
495
|
}
|
|
472
496
|
export class Installation {
|
|
473
497
|
free(): void;
|
|
498
|
+
[Symbol.dispose](): void;
|
|
474
499
|
constructor(bytes: Uint8Array, id: string, client_timestamp_ns?: bigint | null);
|
|
475
500
|
bytes: Uint8Array;
|
|
476
501
|
id: string;
|
|
@@ -480,6 +505,7 @@ export class Installation {
|
|
|
480
505
|
export class IntoUnderlyingByteSource {
|
|
481
506
|
private constructor();
|
|
482
507
|
free(): void;
|
|
508
|
+
[Symbol.dispose](): void;
|
|
483
509
|
start(controller: ReadableByteStreamController): void;
|
|
484
510
|
pull(controller: ReadableByteStreamController): Promise<any>;
|
|
485
511
|
cancel(): void;
|
|
@@ -489,6 +515,7 @@ export class IntoUnderlyingByteSource {
|
|
|
489
515
|
export class IntoUnderlyingSink {
|
|
490
516
|
private constructor();
|
|
491
517
|
free(): void;
|
|
518
|
+
[Symbol.dispose](): void;
|
|
492
519
|
write(chunk: any): Promise<any>;
|
|
493
520
|
close(): Promise<any>;
|
|
494
521
|
abort(reason: any): Promise<any>;
|
|
@@ -496,12 +523,14 @@ export class IntoUnderlyingSink {
|
|
|
496
523
|
export class IntoUnderlyingSource {
|
|
497
524
|
private constructor();
|
|
498
525
|
free(): void;
|
|
526
|
+
[Symbol.dispose](): void;
|
|
499
527
|
pull(controller: ReadableStreamDefaultController): Promise<any>;
|
|
500
528
|
cancel(): void;
|
|
501
529
|
}
|
|
502
530
|
export class KeyPackageStatus {
|
|
503
531
|
private constructor();
|
|
504
532
|
free(): void;
|
|
533
|
+
[Symbol.dispose](): void;
|
|
505
534
|
get lifetime(): Lifetime | undefined;
|
|
506
535
|
set lifetime(value: Lifetime | null | undefined);
|
|
507
536
|
get validationError(): string | undefined;
|
|
@@ -510,11 +539,13 @@ export class KeyPackageStatus {
|
|
|
510
539
|
export class Lifetime {
|
|
511
540
|
private constructor();
|
|
512
541
|
free(): void;
|
|
542
|
+
[Symbol.dispose](): void;
|
|
513
543
|
not_before: bigint;
|
|
514
544
|
not_after: bigint;
|
|
515
545
|
}
|
|
516
546
|
export class ListConversationsOptions {
|
|
517
547
|
free(): void;
|
|
548
|
+
[Symbol.dispose](): void;
|
|
518
549
|
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);
|
|
519
550
|
get consentStates(): any[] | undefined;
|
|
520
551
|
set consentStates(value: any[] | null | undefined);
|
|
@@ -531,6 +562,7 @@ export class ListConversationsOptions {
|
|
|
531
562
|
}
|
|
532
563
|
export class ListMessagesOptions {
|
|
533
564
|
free(): void;
|
|
565
|
+
[Symbol.dispose](): void;
|
|
534
566
|
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);
|
|
535
567
|
get contentTypes(): any[] | undefined;
|
|
536
568
|
set contentTypes(value: any[] | null | undefined);
|
|
@@ -556,6 +588,7 @@ export class ListMessagesOptions {
|
|
|
556
588
|
*/
|
|
557
589
|
export class LogOptions {
|
|
558
590
|
free(): void;
|
|
591
|
+
[Symbol.dispose](): void;
|
|
559
592
|
constructor(structured: boolean, performance: boolean, level?: LogLevel | null);
|
|
560
593
|
/**
|
|
561
594
|
* enable structured JSON logging to stdout.Useful for third-party log viewers
|
|
@@ -576,6 +609,7 @@ export class LogOptions {
|
|
|
576
609
|
}
|
|
577
610
|
export class Message {
|
|
578
611
|
free(): void;
|
|
612
|
+
[Symbol.dispose](): void;
|
|
579
613
|
constructor(id: string, sent_at_ns: bigint, convo_id: string, sender_inbox_id: string, content: EncodedContent, kind: GroupMessageKind, delivery_status: DeliveryStatus);
|
|
580
614
|
id: string;
|
|
581
615
|
sentAtNs: bigint;
|
|
@@ -587,6 +621,7 @@ export class Message {
|
|
|
587
621
|
}
|
|
588
622
|
export class MessageDisappearingSettings {
|
|
589
623
|
free(): void;
|
|
624
|
+
[Symbol.dispose](): void;
|
|
590
625
|
constructor(from_ns: bigint, in_ns: bigint);
|
|
591
626
|
fromNs: bigint;
|
|
592
627
|
inNs: bigint;
|
|
@@ -594,12 +629,14 @@ export class MessageDisappearingSettings {
|
|
|
594
629
|
export class MessageWithReactions {
|
|
595
630
|
private constructor();
|
|
596
631
|
free(): void;
|
|
632
|
+
[Symbol.dispose](): void;
|
|
597
633
|
message: Message;
|
|
598
634
|
reactions: Message[];
|
|
599
635
|
}
|
|
600
636
|
export class MetadataFieldChange {
|
|
601
637
|
private constructor();
|
|
602
638
|
free(): void;
|
|
639
|
+
[Symbol.dispose](): void;
|
|
603
640
|
fieldName: string;
|
|
604
641
|
get oldValue(): string | undefined;
|
|
605
642
|
set oldValue(value: string | null | undefined);
|
|
@@ -608,12 +645,14 @@ export class MetadataFieldChange {
|
|
|
608
645
|
}
|
|
609
646
|
export class MultiRemoteAttachment {
|
|
610
647
|
free(): void;
|
|
648
|
+
[Symbol.dispose](): void;
|
|
611
649
|
constructor(attachments: RemoteAttachmentInfo[]);
|
|
612
650
|
attachments: RemoteAttachmentInfo[];
|
|
613
651
|
}
|
|
614
652
|
export class Opfs {
|
|
615
653
|
private constructor();
|
|
616
654
|
free(): void;
|
|
655
|
+
[Symbol.dispose](): void;
|
|
617
656
|
static init_sqlite_opfs(): Promise<void>;
|
|
618
657
|
/**
|
|
619
658
|
* Check if the global OPFS object has been initialized
|
|
@@ -657,9 +696,11 @@ export class Opfs {
|
|
|
657
696
|
export class PasskeySignature {
|
|
658
697
|
private constructor();
|
|
659
698
|
free(): void;
|
|
699
|
+
[Symbol.dispose](): void;
|
|
660
700
|
}
|
|
661
701
|
export class PermissionPolicySet {
|
|
662
702
|
free(): void;
|
|
703
|
+
[Symbol.dispose](): void;
|
|
663
704
|
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);
|
|
664
705
|
addMemberPolicy: PermissionPolicy;
|
|
665
706
|
removeMemberPolicy: PermissionPolicy;
|
|
@@ -672,6 +713,7 @@ export class PermissionPolicySet {
|
|
|
672
713
|
}
|
|
673
714
|
export class Reaction {
|
|
674
715
|
free(): void;
|
|
716
|
+
[Symbol.dispose](): void;
|
|
675
717
|
constructor(reference: string, referenceInboxId: string, action: ReactionAction, content: string, schema: ReactionSchema);
|
|
676
718
|
reference: string;
|
|
677
719
|
referenceInboxId: string;
|
|
@@ -682,6 +724,7 @@ export class Reaction {
|
|
|
682
724
|
export class ReactionPayload {
|
|
683
725
|
private constructor();
|
|
684
726
|
free(): void;
|
|
727
|
+
[Symbol.dispose](): void;
|
|
685
728
|
reference: string;
|
|
686
729
|
referenceInboxId: string;
|
|
687
730
|
action: ReactionActionPayload;
|
|
@@ -691,10 +734,12 @@ export class ReactionPayload {
|
|
|
691
734
|
export class ReadReceipt {
|
|
692
735
|
private constructor();
|
|
693
736
|
free(): void;
|
|
737
|
+
[Symbol.dispose](): void;
|
|
694
738
|
}
|
|
695
739
|
export class RemoteAttachment {
|
|
696
740
|
private constructor();
|
|
697
741
|
free(): void;
|
|
742
|
+
[Symbol.dispose](): void;
|
|
698
743
|
url: string;
|
|
699
744
|
contentDigest: string;
|
|
700
745
|
secret: Uint8Array;
|
|
@@ -707,6 +752,7 @@ export class RemoteAttachment {
|
|
|
707
752
|
}
|
|
708
753
|
export class RemoteAttachmentInfo {
|
|
709
754
|
free(): void;
|
|
755
|
+
[Symbol.dispose](): void;
|
|
710
756
|
constructor(secret: Uint8Array, contentDigest: string, nonce: Uint8Array, scheme: string, url: string, salt: Uint8Array, contentLength?: number | null, filename?: string | null);
|
|
711
757
|
secret: Uint8Array;
|
|
712
758
|
contentDigest: string;
|
|
@@ -722,11 +768,13 @@ export class RemoteAttachmentInfo {
|
|
|
722
768
|
export class SendMessageOpts {
|
|
723
769
|
private constructor();
|
|
724
770
|
free(): void;
|
|
771
|
+
[Symbol.dispose](): void;
|
|
725
772
|
shouldPush: boolean;
|
|
726
773
|
}
|
|
727
774
|
export class SignatureRequestHandle {
|
|
728
775
|
private constructor();
|
|
729
776
|
free(): void;
|
|
777
|
+
[Symbol.dispose](): void;
|
|
730
778
|
signatureText(): Promise<string>;
|
|
731
779
|
addEcdsaSignature(signature_bytes: Uint8Array): Promise<void>;
|
|
732
780
|
addPasskeySignature(signature: PasskeySignature): Promise<void>;
|
|
@@ -735,6 +783,7 @@ export class SignatureRequestHandle {
|
|
|
735
783
|
export class StreamCloser {
|
|
736
784
|
private constructor();
|
|
737
785
|
free(): void;
|
|
786
|
+
[Symbol.dispose](): void;
|
|
738
787
|
/**
|
|
739
788
|
* Signal the stream to end
|
|
740
789
|
* Does not wait for the stream to end.
|
|
@@ -755,11 +804,13 @@ export class StreamCloser {
|
|
|
755
804
|
export class TextContent {
|
|
756
805
|
private constructor();
|
|
757
806
|
free(): void;
|
|
807
|
+
[Symbol.dispose](): void;
|
|
758
808
|
content: string;
|
|
759
809
|
}
|
|
760
810
|
export class TransactionMetadata {
|
|
761
811
|
private constructor();
|
|
762
812
|
free(): void;
|
|
813
|
+
[Symbol.dispose](): void;
|
|
763
814
|
transactionType: string;
|
|
764
815
|
currency: string;
|
|
765
816
|
amount: number;
|
|
@@ -770,6 +821,7 @@ export class TransactionMetadata {
|
|
|
770
821
|
export class TransactionReference {
|
|
771
822
|
private constructor();
|
|
772
823
|
free(): void;
|
|
824
|
+
[Symbol.dispose](): void;
|
|
773
825
|
get namespace(): string | undefined;
|
|
774
826
|
set namespace(value: string | null | undefined);
|
|
775
827
|
networkId: string;
|
|
@@ -777,68 +829,91 @@ export class TransactionReference {
|
|
|
777
829
|
get metadata(): TransactionMetadata | undefined;
|
|
778
830
|
set metadata(value: TransactionMetadata | null | undefined);
|
|
779
831
|
}
|
|
832
|
+
export class XmtpCursor {
|
|
833
|
+
private constructor();
|
|
834
|
+
free(): void;
|
|
835
|
+
[Symbol.dispose](): void;
|
|
836
|
+
originator_id: number;
|
|
837
|
+
sequence_id: bigint;
|
|
838
|
+
}
|
|
780
839
|
|
|
781
840
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
782
841
|
|
|
783
842
|
export interface InitOutput {
|
|
784
843
|
readonly memory: WebAssembly.Memory;
|
|
785
|
-
readonly
|
|
786
|
-
readonly
|
|
787
|
-
readonly
|
|
788
|
-
readonly
|
|
789
|
-
readonly
|
|
790
|
-
readonly
|
|
791
|
-
readonly
|
|
792
|
-
readonly
|
|
793
|
-
readonly
|
|
794
|
-
readonly
|
|
795
|
-
readonly
|
|
796
|
-
readonly
|
|
797
|
-
readonly
|
|
798
|
-
readonly
|
|
799
|
-
readonly
|
|
800
|
-
readonly
|
|
801
|
-
readonly
|
|
802
|
-
readonly
|
|
803
|
-
readonly
|
|
804
|
-
readonly
|
|
805
|
-
readonly
|
|
806
|
-
readonly
|
|
807
|
-
readonly
|
|
808
|
-
readonly
|
|
809
|
-
readonly
|
|
810
|
-
readonly
|
|
811
|
-
readonly
|
|
812
|
-
readonly
|
|
813
|
-
readonly
|
|
814
|
-
readonly
|
|
815
|
-
readonly
|
|
816
|
-
readonly
|
|
817
|
-
readonly
|
|
818
|
-
readonly
|
|
819
|
-
readonly
|
|
820
|
-
readonly
|
|
821
|
-
readonly
|
|
822
|
-
readonly
|
|
823
|
-
readonly
|
|
824
|
-
readonly
|
|
825
|
-
readonly
|
|
826
|
-
readonly
|
|
827
|
-
readonly
|
|
828
|
-
readonly
|
|
829
|
-
readonly
|
|
830
|
-
readonly
|
|
831
|
-
readonly
|
|
832
|
-
readonly
|
|
833
|
-
readonly
|
|
834
|
-
readonly
|
|
835
|
-
readonly
|
|
836
|
-
readonly
|
|
837
|
-
readonly
|
|
838
|
-
readonly
|
|
839
|
-
readonly
|
|
840
|
-
readonly
|
|
841
|
-
readonly
|
|
844
|
+
readonly __wbg_decodedmessagecontent_free: (a: number, b: number) => void;
|
|
845
|
+
readonly decodedmessagecontent_payloadType: (a: number) => number;
|
|
846
|
+
readonly decodedmessagecontent_asText: (a: number) => number;
|
|
847
|
+
readonly decodedmessagecontent_asReply: (a: number) => number;
|
|
848
|
+
readonly decodedmessagecontent_asReaction: (a: number) => number;
|
|
849
|
+
readonly decodedmessagecontent_asAttachment: (a: number) => number;
|
|
850
|
+
readonly decodedmessagecontent_asRemoteAttachment: (a: number) => number;
|
|
851
|
+
readonly decodedmessagecontent_asMultiRemoteAttachment: (a: number) => number;
|
|
852
|
+
readonly decodedmessagecontent_asTransactionReference: (a: number) => number;
|
|
853
|
+
readonly decodedmessagecontent_asGroupUpdated: (a: number) => number;
|
|
854
|
+
readonly decodedmessagecontent_asReadReceipt: (a: number) => number;
|
|
855
|
+
readonly decodedmessagecontent_asWalletSendCalls: (a: number) => [number, number, number];
|
|
856
|
+
readonly decodedmessagecontent_asCustom: (a: number) => number;
|
|
857
|
+
readonly __wbg_enrichedreply_free: (a: number, b: number) => void;
|
|
858
|
+
readonly enrichedreply_referenceId: (a: number) => [number, number];
|
|
859
|
+
readonly enrichedreply_content: (a: number) => number;
|
|
860
|
+
readonly enrichedreply_inReplyTo: (a: number) => number;
|
|
861
|
+
readonly __wbg_decodedmessage_free: (a: number, b: number) => void;
|
|
862
|
+
readonly __wbg_get_decodedmessage_id: (a: number) => [number, number];
|
|
863
|
+
readonly __wbg_set_decodedmessage_id: (a: number, b: number, c: number) => void;
|
|
864
|
+
readonly __wbg_get_decodedmessage_sent_at_ns: (a: number) => bigint;
|
|
865
|
+
readonly __wbg_set_decodedmessage_sent_at_ns: (a: number, b: bigint) => void;
|
|
866
|
+
readonly __wbg_get_decodedmessage_kind: (a: number) => number;
|
|
867
|
+
readonly __wbg_set_decodedmessage_kind: (a: number, b: number) => void;
|
|
868
|
+
readonly __wbg_get_decodedmessage_sender_installation_id: (a: number) => [number, number];
|
|
869
|
+
readonly __wbg_set_decodedmessage_sender_installation_id: (a: number, b: number, c: number) => void;
|
|
870
|
+
readonly __wbg_get_decodedmessage_sender_inbox_id: (a: number) => [number, number];
|
|
871
|
+
readonly __wbg_set_decodedmessage_sender_inbox_id: (a: number, b: number, c: number) => void;
|
|
872
|
+
readonly __wbg_get_decodedmessage_content_type: (a: number) => number;
|
|
873
|
+
readonly __wbg_set_decodedmessage_content_type: (a: number, b: number) => void;
|
|
874
|
+
readonly __wbg_get_decodedmessage_conversation_id: (a: number) => [number, number];
|
|
875
|
+
readonly __wbg_set_decodedmessage_conversation_id: (a: number, b: number, c: number) => void;
|
|
876
|
+
readonly __wbg_get_decodedmessage_content: (a: number) => number;
|
|
877
|
+
readonly __wbg_set_decodedmessage_content: (a: number, b: number) => void;
|
|
878
|
+
readonly __wbg_get_decodedmessage_fallback_text: (a: number) => [number, number];
|
|
879
|
+
readonly __wbg_set_decodedmessage_fallback_text: (a: number, b: number, c: number) => void;
|
|
880
|
+
readonly __wbg_get_decodedmessage_reactions: (a: number) => [number, number];
|
|
881
|
+
readonly __wbg_set_decodedmessage_reactions: (a: number, b: number, c: number) => void;
|
|
882
|
+
readonly __wbg_get_decodedmessage_delivery_status: (a: number) => number;
|
|
883
|
+
readonly __wbg_set_decodedmessage_delivery_status: (a: number, b: number) => void;
|
|
884
|
+
readonly __wbg_get_decodedmessage_num_replies: (a: number) => bigint;
|
|
885
|
+
readonly __wbg_set_decodedmessage_num_replies: (a: number, b: bigint) => void;
|
|
886
|
+
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
887
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
888
|
+
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number) => [number, number, number];
|
|
889
|
+
readonly applySignatureRequest: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
890
|
+
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
891
|
+
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
892
|
+
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
893
|
+
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
|
|
894
|
+
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
895
|
+
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
896
|
+
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
897
|
+
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
898
|
+
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
899
|
+
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
900
|
+
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
901
|
+
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
902
|
+
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
903
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
904
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
905
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
906
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
907
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
908
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
909
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
910
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
911
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
912
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
913
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
914
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
915
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
916
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
842
917
|
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
843
918
|
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
844
919
|
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
@@ -863,24 +938,69 @@ export interface InitOutput {
|
|
|
863
938
|
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
864
939
|
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
865
940
|
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
866
|
-
readonly
|
|
867
|
-
readonly
|
|
868
|
-
readonly
|
|
869
|
-
readonly
|
|
870
|
-
readonly
|
|
871
|
-
readonly
|
|
872
|
-
readonly
|
|
873
|
-
readonly
|
|
874
|
-
readonly
|
|
875
|
-
readonly
|
|
876
|
-
readonly
|
|
877
|
-
readonly
|
|
878
|
-
readonly
|
|
879
|
-
readonly
|
|
880
|
-
readonly
|
|
881
|
-
readonly
|
|
882
|
-
readonly
|
|
883
|
-
readonly
|
|
941
|
+
readonly __wbg_sendmessageopts_free: (a: number, b: number) => void;
|
|
942
|
+
readonly __wbg_get_sendmessageopts_shouldPush: (a: number) => number;
|
|
943
|
+
readonly __wbg_set_sendmessageopts_shouldPush: (a: number, b: number) => void;
|
|
944
|
+
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
945
|
+
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
946
|
+
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
947
|
+
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
948
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
949
|
+
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
950
|
+
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
951
|
+
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
952
|
+
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
953
|
+
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
954
|
+
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
955
|
+
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
956
|
+
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
957
|
+
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
958
|
+
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
959
|
+
readonly conversation_id: (a: number) => [number, number];
|
|
960
|
+
readonly conversation_send: (a: number, b: number, c: number) => any;
|
|
961
|
+
readonly conversation_sendOptimistic: (a: number, b: number, c: number) => [number, number, number, number];
|
|
962
|
+
readonly conversation_publishMessages: (a: number) => any;
|
|
963
|
+
readonly conversation_sync: (a: number) => any;
|
|
964
|
+
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
965
|
+
readonly conversation_countMessages: (a: number, b: number) => any;
|
|
966
|
+
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
967
|
+
readonly conversation_listMembers: (a: number) => any;
|
|
968
|
+
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
969
|
+
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
970
|
+
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
971
|
+
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
972
|
+
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
973
|
+
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
974
|
+
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
975
|
+
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
976
|
+
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
977
|
+
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
978
|
+
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
979
|
+
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
980
|
+
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
981
|
+
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
982
|
+
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
983
|
+
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
984
|
+
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
985
|
+
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
986
|
+
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
987
|
+
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
988
|
+
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
989
|
+
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
990
|
+
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
991
|
+
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
992
|
+
readonly conversation_groupMetadata: (a: number) => any;
|
|
993
|
+
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
994
|
+
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
995
|
+
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
996
|
+
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
997
|
+
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
998
|
+
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
999
|
+
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
1000
|
+
readonly conversation_getDebugInfo: (a: number) => any;
|
|
1001
|
+
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
1002
|
+
readonly conversation_findMessagesV2: (a: number, b: number) => any;
|
|
1003
|
+
readonly conversation_getLastReadTimes: (a: number) => any;
|
|
884
1004
|
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
885
1005
|
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
886
1006
|
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
@@ -899,13 +1019,20 @@ export interface InitOutput {
|
|
|
899
1019
|
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
900
1020
|
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
901
1021
|
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
902
|
-
readonly
|
|
903
|
-
readonly
|
|
904
|
-
readonly
|
|
905
|
-
readonly
|
|
906
|
-
readonly
|
|
907
|
-
readonly
|
|
908
|
-
readonly
|
|
1022
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
1023
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
1024
|
+
readonly opfs_exists: () => number;
|
|
1025
|
+
readonly opfs_error: () => [number, number];
|
|
1026
|
+
readonly opfs_wipeFiles: () => any;
|
|
1027
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
1028
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
1029
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
1030
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
1031
|
+
readonly opfs_getFileCount: () => number;
|
|
1032
|
+
readonly opfs_getCapacity: () => number;
|
|
1033
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
1034
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
1035
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
909
1036
|
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
910
1037
|
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
911
1038
|
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
@@ -914,55 +1041,6 @@ export interface InitOutput {
|
|
|
914
1041
|
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
915
1042
|
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
916
1043
|
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
917
|
-
readonly __wbg_groupupdated_free: (a: number, b: number) => void;
|
|
918
|
-
readonly __wbg_get_groupupdated_initiatedByInboxId: (a: number) => [number, number];
|
|
919
|
-
readonly __wbg_set_groupupdated_initiatedByInboxId: (a: number, b: number, c: number) => void;
|
|
920
|
-
readonly __wbg_get_groupupdated_addedInboxes: (a: number) => [number, number];
|
|
921
|
-
readonly __wbg_set_groupupdated_addedInboxes: (a: number, b: number, c: number) => void;
|
|
922
|
-
readonly __wbg_get_groupupdated_removedInboxes: (a: number) => [number, number];
|
|
923
|
-
readonly __wbg_set_groupupdated_removedInboxes: (a: number, b: number, c: number) => void;
|
|
924
|
-
readonly __wbg_get_groupupdated_metadataFieldChanges: (a: number) => [number, number];
|
|
925
|
-
readonly __wbg_set_groupupdated_metadataFieldChanges: (a: number, b: number, c: number) => void;
|
|
926
|
-
readonly __wbg_inbox_free: (a: number, b: number) => void;
|
|
927
|
-
readonly __wbg_get_inbox_inboxId: (a: number) => [number, number];
|
|
928
|
-
readonly __wbg_metadatafieldchange_free: (a: number, b: number) => void;
|
|
929
|
-
readonly __wbg_get_metadatafieldchange_fieldName: (a: number) => [number, number];
|
|
930
|
-
readonly __wbg_get_metadatafieldchange_oldValue: (a: number) => [number, number];
|
|
931
|
-
readonly __wbg_set_metadatafieldchange_oldValue: (a: number, b: number, c: number) => void;
|
|
932
|
-
readonly __wbg_get_metadatafieldchange_newValue: (a: number) => [number, number];
|
|
933
|
-
readonly __wbg_set_metadatafieldchange_newValue: (a: number, b: number, c: number) => void;
|
|
934
|
-
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
935
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
936
|
-
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => [number, number, number];
|
|
937
|
-
readonly applySignatureRequest: (a: number, b: number, c: number) => any;
|
|
938
|
-
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
939
|
-
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
940
|
-
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
941
|
-
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
|
|
942
|
-
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
943
|
-
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
944
|
-
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
945
|
-
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
946
|
-
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
947
|
-
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
948
|
-
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
949
|
-
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
950
|
-
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
951
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
952
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
953
|
-
readonly __wbg_set_inbox_inboxId: (a: number, b: number, c: number) => void;
|
|
954
|
-
readonly __wbg_set_metadatafieldchange_fieldName: (a: number, b: number, c: number) => void;
|
|
955
|
-
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
956
|
-
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
957
|
-
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
958
|
-
readonly __wbg_get_consent_state: (a: number) => number;
|
|
959
|
-
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
960
|
-
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
961
|
-
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
962
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
963
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
964
|
-
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
965
|
-
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
966
1044
|
readonly __wbg_attachment_free: (a: number, b: number) => void;
|
|
967
1045
|
readonly __wbg_get_attachment_filename: (a: number) => [number, number];
|
|
968
1046
|
readonly __wbg_set_attachment_filename: (a: number, b: number, c: number) => void;
|
|
@@ -970,38 +1048,21 @@ export interface InitOutput {
|
|
|
970
1048
|
readonly __wbg_set_attachment_mimeType: (a: number, b: number, c: number) => void;
|
|
971
1049
|
readonly __wbg_get_attachment_content: (a: number) => [number, number];
|
|
972
1050
|
readonly __wbg_set_attachment_content: (a: number, b: number, c: number) => 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 __wbg_get_remoteattachment_contentDigest: (a: number) => [number, number];
|
|
989
|
-
readonly __wbg_set_remoteattachment_contentDigest: (a: number, b: number, c: number) => void;
|
|
990
|
-
readonly __wbg_get_remoteattachment_secret: (a: number) => [number, number];
|
|
991
|
-
readonly __wbg_set_remoteattachment_secret: (a: number, b: number, c: number) => void;
|
|
992
|
-
readonly __wbg_get_remoteattachment_salt: (a: number) => [number, number];
|
|
993
|
-
readonly __wbg_set_remoteattachment_salt: (a: number, b: number, c: number) => void;
|
|
994
|
-
readonly __wbg_get_remoteattachment_nonce: (a: number) => [number, number];
|
|
995
|
-
readonly __wbg_set_remoteattachment_nonce: (a: number, b: number, c: number) => void;
|
|
996
|
-
readonly __wbg_get_remoteattachment_scheme: (a: number) => [number, number];
|
|
997
|
-
readonly __wbg_get_remoteattachment_filename: (a: number) => [number, number];
|
|
998
|
-
readonly __wbg_set_remoteattachment_filename: (a: number, b: number, c: number) => void;
|
|
999
|
-
readonly __wbg_enrichedreply_free: (a: number, b: number) => void;
|
|
1000
|
-
readonly enrichedreply_referenceId: (a: number) => [number, number];
|
|
1001
|
-
readonly enrichedreply_content: (a: number) => number;
|
|
1002
|
-
readonly enrichedreply_inReplyTo: (a: number) => number;
|
|
1003
|
-
readonly __wbg_textcontent_free: (a: number, b: number) => void;
|
|
1004
|
-
readonly __wbg_get_textcontent_content: (a: number) => [number, number];
|
|
1051
|
+
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
1052
|
+
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
1053
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
1054
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
1055
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
1056
|
+
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
1057
|
+
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
1058
|
+
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
1059
|
+
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1060
|
+
readonly encodeReaction: (a: number) => [number, number, number];
|
|
1061
|
+
readonly decodeReaction: (a: any) => [number, number, number];
|
|
1062
|
+
readonly __wbg_reactionpayload_free: (a: number, b: number) => void;
|
|
1063
|
+
readonly __wbg_get_reactionpayload_reference: (a: number) => [number, number];
|
|
1064
|
+
readonly __wbg_get_reactionpayload_referenceInboxId: (a: number) => [number, number];
|
|
1065
|
+
readonly __wbg_get_reactionpayload_content: (a: number) => [number, number];
|
|
1005
1066
|
readonly __wbg_transactionreference_free: (a: number, b: number) => void;
|
|
1006
1067
|
readonly __wbg_get_transactionreference_namespace: (a: number) => [number, number];
|
|
1007
1068
|
readonly __wbg_set_transactionreference_namespace: (a: number, b: number, c: number) => void;
|
|
@@ -1020,69 +1081,7 @@ export interface InitOutput {
|
|
|
1020
1081
|
readonly __wbg_set_transactionmetadata_decimals: (a: number, b: number) => void;
|
|
1021
1082
|
readonly __wbg_get_transactionmetadata_fromAddress: (a: number) => [number, number];
|
|
1022
1083
|
readonly __wbg_get_transactionmetadata_toAddress: (a: number) => [number, number];
|
|
1023
|
-
readonly
|
|
1024
|
-
readonly __wbg_get_sendmessageopts_shouldPush: (a: number) => number;
|
|
1025
|
-
readonly __wbg_set_sendmessageopts_shouldPush: (a: number, b: number) => void;
|
|
1026
|
-
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
1027
|
-
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
1028
|
-
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
1029
|
-
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
1030
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
1031
|
-
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
1032
|
-
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
1033
|
-
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
1034
|
-
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
1035
|
-
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
1036
|
-
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
1037
|
-
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
1038
|
-
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
1039
|
-
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1040
|
-
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
1041
|
-
readonly conversation_id: (a: number) => [number, number];
|
|
1042
|
-
readonly conversation_send: (a: number, b: number, c: number) => any;
|
|
1043
|
-
readonly conversation_sendOptimistic: (a: number, b: number, c: number) => [number, number, number, number];
|
|
1044
|
-
readonly conversation_publishMessages: (a: number) => any;
|
|
1045
|
-
readonly conversation_sync: (a: number) => any;
|
|
1046
|
-
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
1047
|
-
readonly conversation_countMessages: (a: number, b: number) => any;
|
|
1048
|
-
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
1049
|
-
readonly conversation_listMembers: (a: number) => any;
|
|
1050
|
-
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
1051
|
-
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
1052
|
-
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
1053
|
-
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
1054
|
-
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
1055
|
-
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
1056
|
-
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
1057
|
-
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
1058
|
-
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
1059
|
-
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
1060
|
-
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
1061
|
-
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
1062
|
-
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
1063
|
-
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
1064
|
-
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
1065
|
-
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
1066
|
-
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
1067
|
-
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
1068
|
-
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
1069
|
-
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
1070
|
-
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
1071
|
-
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
1072
|
-
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
1073
|
-
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
1074
|
-
readonly conversation_groupMetadata: (a: number) => any;
|
|
1075
|
-
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
1076
|
-
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
1077
|
-
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
1078
|
-
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
1079
|
-
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
1080
|
-
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
1081
|
-
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
1082
|
-
readonly conversation_getDebugInfo: (a: number) => any;
|
|
1083
|
-
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
1084
|
-
readonly conversation_findMessagesV2: (a: number, b: number) => any;
|
|
1085
|
-
readonly conversation_getLastReadTimes: (a: number) => any;
|
|
1084
|
+
readonly __wbg_set_transactionmetadata_toAddress: (a: number, b: number, c: number) => void;
|
|
1086
1085
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
1087
1086
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
1088
1087
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -1097,6 +1096,9 @@ export interface InitOutput {
|
|
|
1097
1096
|
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
1098
1097
|
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
1099
1098
|
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
1099
|
+
readonly __wbg_xmtpcursor_free: (a: number, b: number) => void;
|
|
1100
|
+
readonly __wbg_get_xmtpcursor_originator_id: (a: number) => number;
|
|
1101
|
+
readonly __wbg_set_xmtpcursor_originator_id: (a: number, b: number) => void;
|
|
1100
1102
|
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
1101
1103
|
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
1102
1104
|
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
@@ -1110,8 +1112,8 @@ export interface InitOutput {
|
|
|
1110
1112
|
readonly __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
|
|
1111
1113
|
readonly __wbg_get_conversationdebuginfo_remoteCommitLog: (a: number) => [number, number];
|
|
1112
1114
|
readonly __wbg_set_conversationdebuginfo_remoteCommitLog: (a: number, b: number, c: number) => void;
|
|
1113
|
-
readonly __wbg_get_conversationdebuginfo_cursor: (a: number) =>
|
|
1114
|
-
readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b:
|
|
1115
|
+
readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => [number, number];
|
|
1116
|
+
readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: number, c: number) => void;
|
|
1115
1117
|
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
1116
1118
|
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
1117
1119
|
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
@@ -1130,7 +1132,6 @@ export interface InitOutput {
|
|
|
1130
1132
|
readonly createdmoptions_new: (a: number) => number;
|
|
1131
1133
|
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
1132
1134
|
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
1133
|
-
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
1134
1135
|
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
1135
1136
|
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
1136
1137
|
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
@@ -1177,37 +1178,13 @@ export interface InitOutput {
|
|
|
1177
1178
|
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
1178
1179
|
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
1179
1180
|
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
1180
|
-
readonly
|
|
1181
|
-
readonly __wbg_get_decodedmessage_id: (a: number) => [number, number];
|
|
1182
|
-
readonly __wbg_set_decodedmessage_id: (a: number, b: number, c: number) => void;
|
|
1183
|
-
readonly __wbg_get_decodedmessage_sent_at_ns: (a: number) => bigint;
|
|
1184
|
-
readonly __wbg_set_decodedmessage_sent_at_ns: (a: number, b: bigint) => void;
|
|
1185
|
-
readonly __wbg_get_decodedmessage_kind: (a: number) => number;
|
|
1186
|
-
readonly __wbg_set_decodedmessage_kind: (a: number, b: number) => void;
|
|
1187
|
-
readonly __wbg_get_decodedmessage_sender_installation_id: (a: number) => [number, number];
|
|
1188
|
-
readonly __wbg_set_decodedmessage_sender_installation_id: (a: number, b: number, c: number) => void;
|
|
1189
|
-
readonly __wbg_get_decodedmessage_sender_inbox_id: (a: number) => [number, number];
|
|
1190
|
-
readonly __wbg_set_decodedmessage_sender_inbox_id: (a: number, b: number, c: number) => void;
|
|
1191
|
-
readonly __wbg_get_decodedmessage_content_type: (a: number) => number;
|
|
1192
|
-
readonly __wbg_set_decodedmessage_content_type: (a: number, b: number) => void;
|
|
1193
|
-
readonly __wbg_get_decodedmessage_conversation_id: (a: number) => [number, number];
|
|
1194
|
-
readonly __wbg_set_decodedmessage_conversation_id: (a: number, b: number, c: number) => void;
|
|
1195
|
-
readonly __wbg_get_decodedmessage_content: (a: number) => number;
|
|
1196
|
-
readonly __wbg_set_decodedmessage_content: (a: number, b: number) => void;
|
|
1197
|
-
readonly __wbg_get_decodedmessage_fallback_text: (a: number) => [number, number];
|
|
1198
|
-
readonly __wbg_set_decodedmessage_fallback_text: (a: number, b: number, c: number) => void;
|
|
1199
|
-
readonly __wbg_get_decodedmessage_reactions: (a: number) => [number, number];
|
|
1200
|
-
readonly __wbg_set_decodedmessage_reactions: (a: number, b: number, c: number) => void;
|
|
1201
|
-
readonly __wbg_get_decodedmessage_delivery_status: (a: number) => number;
|
|
1202
|
-
readonly __wbg_set_decodedmessage_delivery_status: (a: number, b: number) => void;
|
|
1203
|
-
readonly __wbg_get_decodedmessage_num_replies: (a: number) => bigint;
|
|
1204
|
-
readonly __wbg_set_decodedmessage_num_replies: (a: number, b: bigint) => void;
|
|
1205
|
-
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
1181
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: any) => any;
|
|
1206
1182
|
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
1207
1183
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
1208
1184
|
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
1209
1185
|
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
1210
1186
|
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
1187
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
1211
1188
|
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
1212
1189
|
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
1213
1190
|
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
@@ -1225,7 +1202,9 @@ export interface InitOutput {
|
|
|
1225
1202
|
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
1226
1203
|
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
1227
1204
|
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
1228
|
-
readonly
|
|
1205
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
1206
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
1207
|
+
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
1229
1208
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
1230
1209
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
1231
1210
|
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
@@ -1262,57 +1241,142 @@ export interface InitOutput {
|
|
|
1262
1241
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
1263
1242
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
1264
1243
|
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
1265
|
-
readonly
|
|
1266
|
-
readonly
|
|
1267
|
-
readonly
|
|
1268
|
-
readonly
|
|
1269
|
-
readonly
|
|
1270
|
-
readonly
|
|
1271
|
-
readonly
|
|
1272
|
-
readonly
|
|
1273
|
-
readonly
|
|
1274
|
-
readonly
|
|
1275
|
-
readonly
|
|
1276
|
-
readonly
|
|
1277
|
-
readonly
|
|
1244
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
1245
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
1246
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
1247
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
1248
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
1249
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
1250
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
1251
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
1252
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
1253
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
1254
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
1255
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
1256
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
1257
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
1258
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
1259
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
1260
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
1261
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1262
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
1263
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
1264
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
1265
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
1266
|
+
readonly streamcloser_end: (a: number) => void;
|
|
1267
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
1268
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
1269
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
1278
1270
|
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
1279
|
-
readonly
|
|
1280
|
-
readonly
|
|
1281
|
-
readonly
|
|
1271
|
+
readonly __wbg_get_reactionpayload_action: (a: number) => number;
|
|
1272
|
+
readonly __wbg_get_reactionpayload_schema: (a: number) => number;
|
|
1273
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
1274
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
1275
|
+
readonly __wbg_set_reactionpayload_reference: (a: number, b: number, c: number) => void;
|
|
1276
|
+
readonly __wbg_set_reactionpayload_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
1277
|
+
readonly __wbg_set_reactionpayload_content: (a: number, b: number, c: number) => void;
|
|
1282
1278
|
readonly __wbg_set_transactionmetadata_currency: (a: number, b: number, c: number) => void;
|
|
1279
|
+
readonly __wbg_set_transactionmetadata_transactionType: (a: number, b: number, c: number) => void;
|
|
1280
|
+
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
1283
1281
|
readonly __wbg_set_transactionmetadata_fromAddress: (a: number, b: number, c: number) => void;
|
|
1284
|
-
readonly
|
|
1285
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
1286
|
-
readonly __wbg_set_remoteattachment_url: (a: number, b: number, c: number) => void;
|
|
1282
|
+
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
1287
1283
|
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
1288
1284
|
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
1289
|
-
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
1290
1285
|
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
1291
|
-
readonly
|
|
1292
|
-
readonly __wbg_set_remoteattachment_contentLength: (a: number, b: bigint) => void;
|
|
1286
|
+
readonly __wbg_set_xmtpcursor_sequence_id: (a: number, b: bigint) => void;
|
|
1293
1287
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
1294
|
-
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
1295
1288
|
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
1296
1289
|
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
1297
|
-
readonly
|
|
1290
|
+
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
1298
1291
|
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
1299
1292
|
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
1300
1293
|
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
1301
1294
|
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
1302
1295
|
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
1303
1296
|
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
1304
|
-
readonly
|
|
1297
|
+
readonly __wbg_set_reactionpayload_action: (a: number, b: number) => void;
|
|
1298
|
+
readonly __wbg_set_reactionpayload_schema: (a: number, b: number) => void;
|
|
1299
|
+
readonly __wbg_get_xmtpcursor_sequence_id: (a: number) => bigint;
|
|
1305
1300
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
1306
|
-
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
1307
1301
|
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
1308
1302
|
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
1309
|
-
readonly
|
|
1303
|
+
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
1310
1304
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
1311
1305
|
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
1312
1306
|
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
1313
1307
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
1314
1308
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
1315
1309
|
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
1310
|
+
readonly __wbg_readreceipt_free: (a: number, b: number) => void;
|
|
1311
|
+
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
1312
|
+
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
1313
|
+
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
1314
|
+
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
1315
|
+
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
1316
|
+
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
1317
|
+
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
1318
|
+
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
1319
|
+
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
1320
|
+
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;
|
|
1321
|
+
readonly client_accountIdentifier: (a: number) => any;
|
|
1322
|
+
readonly client_inboxId: (a: number) => [number, number];
|
|
1323
|
+
readonly client_isRegistered: (a: number) => number;
|
|
1324
|
+
readonly client_installationId: (a: number) => [number, number];
|
|
1325
|
+
readonly client_installationIdBytes: (a: number) => any;
|
|
1326
|
+
readonly client_appVersion: (a: number) => [number, number];
|
|
1327
|
+
readonly client_libxmtpVersion: (a: number) => [number, number];
|
|
1328
|
+
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
1329
|
+
readonly client_sendSyncRequest: (a: number) => any;
|
|
1330
|
+
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
1331
|
+
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
1332
|
+
readonly client_conversations: (a: number) => number;
|
|
1333
|
+
readonly client_syncPreferences: (a: number) => any;
|
|
1334
|
+
readonly client_apiStatistics: (a: number) => number;
|
|
1335
|
+
readonly client_apiIdentityStatistics: (a: number) => number;
|
|
1336
|
+
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
1337
|
+
readonly client_clearAllStatistics: (a: number) => void;
|
|
1338
|
+
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
1339
|
+
readonly client_deleteMessage: (a: number, b: number, c: number) => [number, number, number];
|
|
1340
|
+
readonly client_messageV2: (a: number, b: number, c: number) => any;
|
|
1341
|
+
readonly __wbg_groupupdated_free: (a: number, b: number) => void;
|
|
1342
|
+
readonly __wbg_get_groupupdated_initiatedByInboxId: (a: number) => [number, number];
|
|
1343
|
+
readonly __wbg_set_groupupdated_initiatedByInboxId: (a: number, b: number, c: number) => void;
|
|
1344
|
+
readonly __wbg_get_groupupdated_addedInboxes: (a: number) => [number, number];
|
|
1345
|
+
readonly __wbg_set_groupupdated_addedInboxes: (a: number, b: number, c: number) => void;
|
|
1346
|
+
readonly __wbg_get_groupupdated_removedInboxes: (a: number) => [number, number];
|
|
1347
|
+
readonly __wbg_set_groupupdated_removedInboxes: (a: number, b: number, c: number) => void;
|
|
1348
|
+
readonly __wbg_get_groupupdated_metadataFieldChanges: (a: number) => [number, number];
|
|
1349
|
+
readonly __wbg_set_groupupdated_metadataFieldChanges: (a: number, b: number, c: number) => void;
|
|
1350
|
+
readonly __wbg_inbox_free: (a: number, b: number) => void;
|
|
1351
|
+
readonly __wbg_get_inbox_inboxId: (a: number) => [number, number];
|
|
1352
|
+
readonly __wbg_metadatafieldchange_free: (a: number, b: number) => void;
|
|
1353
|
+
readonly __wbg_get_metadatafieldchange_fieldName: (a: number) => [number, number];
|
|
1354
|
+
readonly __wbg_get_metadatafieldchange_oldValue: (a: number) => [number, number];
|
|
1355
|
+
readonly __wbg_set_metadatafieldchange_oldValue: (a: number, b: number, c: number) => void;
|
|
1356
|
+
readonly __wbg_get_metadatafieldchange_newValue: (a: number) => [number, number];
|
|
1357
|
+
readonly __wbg_set_metadatafieldchange_newValue: (a: number, b: number, c: number) => void;
|
|
1358
|
+
readonly __wbg_remoteattachment_free: (a: number, b: number) => void;
|
|
1359
|
+
readonly __wbg_get_remoteattachment_url: (a: number) => [number, number];
|
|
1360
|
+
readonly __wbg_set_remoteattachment_url: (a: number, b: number, c: number) => void;
|
|
1361
|
+
readonly __wbg_get_remoteattachment_contentDigest: (a: number) => [number, number];
|
|
1362
|
+
readonly __wbg_set_remoteattachment_contentDigest: (a: number, b: number, c: number) => void;
|
|
1363
|
+
readonly __wbg_get_remoteattachment_secret: (a: number) => [number, number];
|
|
1364
|
+
readonly __wbg_set_remoteattachment_secret: (a: number, b: number, c: number) => void;
|
|
1365
|
+
readonly __wbg_get_remoteattachment_salt: (a: number) => [number, number];
|
|
1366
|
+
readonly __wbg_set_remoteattachment_salt: (a: number, b: number, c: number) => void;
|
|
1367
|
+
readonly __wbg_get_remoteattachment_nonce: (a: number) => [number, number];
|
|
1368
|
+
readonly __wbg_set_remoteattachment_nonce: (a: number, b: number, c: number) => void;
|
|
1369
|
+
readonly __wbg_get_remoteattachment_scheme: (a: number) => [number, number];
|
|
1370
|
+
readonly __wbg_set_remoteattachment_scheme: (a: number, b: number, c: number) => void;
|
|
1371
|
+
readonly __wbg_get_remoteattachment_contentLength: (a: number) => bigint;
|
|
1372
|
+
readonly __wbg_set_remoteattachment_contentLength: (a: number, b: bigint) => void;
|
|
1373
|
+
readonly __wbg_get_remoteattachment_filename: (a: number) => [number, number];
|
|
1374
|
+
readonly __wbg_set_remoteattachment_filename: (a: number, b: number, c: number) => void;
|
|
1375
|
+
readonly __wbg_get_textcontent_content: (a: number) => [number, number];
|
|
1376
|
+
readonly __wbg_set_inbox_inboxId: (a: number, b: number, c: number) => void;
|
|
1377
|
+
readonly __wbg_set_metadatafieldchange_fieldName: (a: number, b: number, c: number) => void;
|
|
1378
|
+
readonly __wbg_set_textcontent_content: (a: number, b: number, c: number) => void;
|
|
1379
|
+
readonly __wbg_textcontent_free: (a: number, b: number) => void;
|
|
1316
1380
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
1317
1381
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
1318
1382
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -1332,15 +1396,15 @@ export interface InitOutput {
|
|
|
1332
1396
|
readonly rust_sqlite_wasm_shim_realloc: (a: number, b: number) => number;
|
|
1333
1397
|
readonly rust_sqlite_wasm_shim_calloc: (a: number, b: number) => number;
|
|
1334
1398
|
readonly sqlite3_os_init: () => number;
|
|
1335
|
-
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1336
|
-
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1337
|
-
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1338
1399
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
1339
1400
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
1340
1401
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
1341
1402
|
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
1342
1403
|
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
1343
1404
|
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
1405
|
+
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1406
|
+
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1407
|
+
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1344
1408
|
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
1345
1409
|
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
1346
1410
|
readonly intounderlyingsink_close: (a: number) => any;
|
|
@@ -1355,11 +1419,11 @@ export interface InitOutput {
|
|
|
1355
1419
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1356
1420
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
1357
1421
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1358
|
-
readonly
|
|
1359
|
-
readonly
|
|
1360
|
-
readonly
|
|
1361
|
-
readonly
|
|
1362
|
-
readonly
|
|
1422
|
+
readonly wasm_bindgen__convert__closures_____invoke__ha8342c4eebc28ece: (a: number, b: number) => void;
|
|
1423
|
+
readonly wasm_bindgen__convert__closures_____invoke__h4b9132d070774788: (a: number, b: number) => void;
|
|
1424
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6553f0a100c562a9: (a: number, b: number) => void;
|
|
1425
|
+
readonly closure6979_externref_shim: (a: number, b: number, c: any) => void;
|
|
1426
|
+
readonly closure7944_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1363
1427
|
readonly __wbindgen_start: () => void;
|
|
1364
1428
|
}
|
|
1365
1429
|
|