@xmtp/wasm-bindings 1.2.0-rc2 → 1.2.0-rc4
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 +281 -226
- package/dist/bindings_wasm.js +334 -175
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +256 -224
- package/dist/snippets/sqlite-wasm-rs-7363ec544fce135b/src/vfs/utils.js +11 -0
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
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): Promise<Client>;
|
|
4
|
+
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
4
5
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
5
6
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
6
7
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
7
8
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
8
|
-
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
9
9
|
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
10
10
|
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
11
11
|
export enum ConsentEntityType {
|
|
@@ -120,6 +120,18 @@ export type IdentifierKind = "Ethereum" | "Passkey";
|
|
|
120
120
|
|
|
121
121
|
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
122
122
|
|
|
123
|
+
export class ApiStats {
|
|
124
|
+
private constructor();
|
|
125
|
+
free(): void;
|
|
126
|
+
upload_key_package: bigint;
|
|
127
|
+
fetch_key_package: bigint;
|
|
128
|
+
send_group_messages: bigint;
|
|
129
|
+
send_welcome_messages: bigint;
|
|
130
|
+
query_group_messages: bigint;
|
|
131
|
+
query_welcome_messages: bigint;
|
|
132
|
+
subscribe_messages: bigint;
|
|
133
|
+
subscribe_welcomes: bigint;
|
|
134
|
+
}
|
|
123
135
|
export class Client {
|
|
124
136
|
private constructor();
|
|
125
137
|
free(): void;
|
|
@@ -133,6 +145,10 @@ export class Client {
|
|
|
133
145
|
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
134
146
|
conversations(): Conversations;
|
|
135
147
|
syncPreferences(): Promise<number>;
|
|
148
|
+
apiStatistics(): ApiStats;
|
|
149
|
+
apiIdentityStatistics(): IdentityStats;
|
|
150
|
+
apiAggregateStatistics(): string;
|
|
151
|
+
uploadDebugArchive(server_url: string): Promise<string>;
|
|
136
152
|
createInboxSignatureText(): string | undefined;
|
|
137
153
|
addWalletSignatureText(new_identifier: Identifier): Promise<string>;
|
|
138
154
|
revokeWalletSignatureText(identifier: Identifier): Promise<string>;
|
|
@@ -267,7 +283,6 @@ export class Conversations {
|
|
|
267
283
|
findMessageById(message_id: string): Message;
|
|
268
284
|
sync(): Promise<void>;
|
|
269
285
|
syncAllConversations(consent_states?: any[] | null): Promise<number>;
|
|
270
|
-
syncDeviceSync(): Promise<void>;
|
|
271
286
|
list(opts?: ListConversationsOptions | null): Array<any>;
|
|
272
287
|
getHmacKeys(): any;
|
|
273
288
|
stream(callback: any, conversation_type?: ConversationType | null): StreamCloser;
|
|
@@ -336,6 +351,14 @@ export class HmacKey {
|
|
|
336
351
|
key: Uint8Array;
|
|
337
352
|
epoch: bigint;
|
|
338
353
|
}
|
|
354
|
+
export class IdentityStats {
|
|
355
|
+
private constructor();
|
|
356
|
+
free(): void;
|
|
357
|
+
publish_identity_update: bigint;
|
|
358
|
+
get_identity_updates_v2: bigint;
|
|
359
|
+
get_inbox_ids: bigint;
|
|
360
|
+
verify_smart_contract_wallet_signature: bigint;
|
|
361
|
+
}
|
|
339
362
|
export class InboxState {
|
|
340
363
|
free(): void;
|
|
341
364
|
constructor(inbox_id: string, recovery_identifier: Identifier, installations: Installation[], account_identifiers: Identifier[]);
|
|
@@ -580,117 +603,6 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
580
603
|
|
|
581
604
|
export interface InitOutput {
|
|
582
605
|
readonly memory: WebAssembly.Memory;
|
|
583
|
-
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
584
|
-
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
585
|
-
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
586
|
-
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
587
|
-
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
588
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
589
|
-
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
590
|
-
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
591
|
-
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
592
|
-
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
593
|
-
readonly __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
594
|
-
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
595
|
-
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
596
|
-
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
597
|
-
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
598
|
-
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
599
|
-
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
600
|
-
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
601
|
-
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
602
|
-
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
603
|
-
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
604
|
-
readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
605
|
-
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
606
|
-
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
607
|
-
readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
608
|
-
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
609
|
-
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
610
|
-
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
611
|
-
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
612
|
-
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
613
|
-
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
614
|
-
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
615
|
-
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
616
|
-
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
617
|
-
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
618
|
-
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
619
|
-
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
620
|
-
readonly __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
621
|
-
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
622
|
-
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
623
|
-
readonly createdmoptions_new: (a: number) => number;
|
|
624
|
-
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
625
|
-
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
626
|
-
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
627
|
-
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
628
|
-
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
629
|
-
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
630
|
-
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
631
|
-
readonly conversationlistitem_new: (a: number, b: number) => number;
|
|
632
|
-
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
633
|
-
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
634
|
-
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
635
|
-
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
636
|
-
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
637
|
-
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
638
|
-
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
639
|
-
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
640
|
-
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
641
|
-
readonly conversations_sync: (a: number) => any;
|
|
642
|
-
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
643
|
-
readonly conversations_syncDeviceSync: (a: number) => any;
|
|
644
|
-
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
645
|
-
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
646
|
-
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
647
|
-
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
648
|
-
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
649
|
-
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
650
|
-
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
651
|
-
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
652
|
-
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
653
|
-
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
654
|
-
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
655
|
-
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
656
|
-
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
657
|
-
readonly __wbg_get_listmessagesoptions_kind: (a: number) => number;
|
|
658
|
-
readonly __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
|
|
659
|
-
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) => number;
|
|
660
|
-
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
661
|
-
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
662
|
-
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
663
|
-
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
664
|
-
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
665
|
-
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
666
|
-
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
667
|
-
readonly __wbg_get_message_content: (a: number) => number;
|
|
668
|
-
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
669
|
-
readonly __wbg_get_message_kind: (a: number) => number;
|
|
670
|
-
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
671
|
-
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
672
|
-
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
673
|
-
readonly message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
674
|
-
readonly __wbg_messagewithreactions_free: (a: number, b: number) => void;
|
|
675
|
-
readonly __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
676
|
-
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
677
|
-
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
678
|
-
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
679
|
-
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
680
|
-
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
681
|
-
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
682
|
-
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
683
|
-
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
684
|
-
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
685
|
-
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
686
|
-
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
687
|
-
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
688
|
-
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
689
|
-
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
690
|
-
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
691
|
-
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
692
|
-
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
693
|
-
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
694
606
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
695
607
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
696
608
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -713,73 +625,10 @@ export interface InitOutput {
|
|
|
713
625
|
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
714
626
|
readonly client_conversations: (a: number) => number;
|
|
715
627
|
readonly client_syncPreferences: (a: number) => any;
|
|
716
|
-
readonly
|
|
717
|
-
readonly
|
|
718
|
-
readonly
|
|
719
|
-
readonly
|
|
720
|
-
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
721
|
-
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
722
|
-
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
723
|
-
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
724
|
-
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
725
|
-
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
726
|
-
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
727
|
-
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
728
|
-
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
729
|
-
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
730
|
-
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
731
|
-
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;
|
|
732
|
-
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
733
|
-
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
734
|
-
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
735
|
-
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
736
|
-
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
737
|
-
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
738
|
-
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
739
|
-
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
740
|
-
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
741
|
-
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
742
|
-
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
743
|
-
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
744
|
-
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
745
|
-
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
746
|
-
readonly encodeReaction: (a: number) => [number, number, number];
|
|
747
|
-
readonly decodeReaction: (a: any) => [number, number, number];
|
|
748
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
749
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
750
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
751
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
752
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
753
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
754
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
755
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
756
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
757
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
758
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
759
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
760
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
761
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
762
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
763
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
764
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
765
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
766
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
767
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
768
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
769
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
770
|
-
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
771
|
-
readonly opfs_init_sqlite_opfs: () => any;
|
|
772
|
-
readonly opfs_exists: () => number;
|
|
773
|
-
readonly opfs_error: () => [number, number];
|
|
774
|
-
readonly opfs_wipeFiles: () => any;
|
|
775
|
-
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
776
|
-
readonly opfs_getFileNames: () => [number, number];
|
|
777
|
-
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
778
|
-
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
779
|
-
readonly opfs_getFileCount: () => number;
|
|
780
|
-
readonly opfs_getCapacity: () => number;
|
|
781
|
-
readonly opfs_addCapacity: (a: number) => any;
|
|
782
|
-
readonly opfs_reduceCapacity: (a: number) => any;
|
|
628
|
+
readonly client_apiStatistics: (a: number) => number;
|
|
629
|
+
readonly client_apiIdentityStatistics: (a: number) => number;
|
|
630
|
+
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
631
|
+
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
783
632
|
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
784
633
|
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
785
634
|
readonly client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
@@ -794,33 +643,6 @@ export interface InitOutput {
|
|
|
794
643
|
readonly client_applySignatureRequests: (a: number) => any;
|
|
795
644
|
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
796
645
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
797
|
-
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
798
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
799
|
-
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
800
|
-
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
801
|
-
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
802
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
803
|
-
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
804
|
-
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
805
|
-
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
806
|
-
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
807
|
-
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
808
|
-
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
809
|
-
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
810
|
-
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
811
|
-
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
812
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
813
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
814
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
815
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
816
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
817
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
818
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
819
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
820
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
821
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
822
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
823
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
824
646
|
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
825
647
|
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
826
648
|
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
@@ -889,6 +711,235 @@ export interface InitOutput {
|
|
|
889
711
|
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
890
712
|
readonly conversation_getDebugInfo: (a: number) => any;
|
|
891
713
|
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
714
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
715
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
716
|
+
readonly opfs_exists: () => number;
|
|
717
|
+
readonly opfs_error: () => [number, number];
|
|
718
|
+
readonly opfs_wipeFiles: () => any;
|
|
719
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
720
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
721
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
722
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
723
|
+
readonly opfs_getFileCount: () => number;
|
|
724
|
+
readonly opfs_getCapacity: () => number;
|
|
725
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
726
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
727
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
728
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
729
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
730
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
731
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
732
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
733
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
734
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
735
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
736
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
737
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
738
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
739
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
740
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
741
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
742
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
743
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
744
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
745
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
746
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
747
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
748
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
749
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
750
|
+
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
751
|
+
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
752
|
+
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
753
|
+
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
754
|
+
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
755
|
+
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
756
|
+
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
757
|
+
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
758
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
759
|
+
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
760
|
+
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
761
|
+
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
762
|
+
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
763
|
+
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
764
|
+
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
765
|
+
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;
|
|
766
|
+
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
767
|
+
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
768
|
+
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
769
|
+
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
770
|
+
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
771
|
+
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
772
|
+
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
773
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
774
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
775
|
+
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
776
|
+
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
777
|
+
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
778
|
+
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
779
|
+
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
780
|
+
readonly encodeReaction: (a: number) => [number, number, number];
|
|
781
|
+
readonly decodeReaction: (a: any) => [number, number, number];
|
|
782
|
+
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
783
|
+
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
784
|
+
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
785
|
+
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
786
|
+
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
787
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
788
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
789
|
+
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
790
|
+
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
791
|
+
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
792
|
+
readonly __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
793
|
+
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
794
|
+
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
795
|
+
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
796
|
+
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
797
|
+
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
798
|
+
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
799
|
+
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
800
|
+
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
801
|
+
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
802
|
+
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
803
|
+
readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
804
|
+
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
805
|
+
readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
806
|
+
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
807
|
+
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
808
|
+
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
809
|
+
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
810
|
+
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
811
|
+
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
812
|
+
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
813
|
+
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
814
|
+
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
815
|
+
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
816
|
+
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
817
|
+
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
818
|
+
readonly __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
819
|
+
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
820
|
+
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
821
|
+
readonly createdmoptions_new: (a: number) => number;
|
|
822
|
+
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
823
|
+
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
824
|
+
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
825
|
+
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
826
|
+
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
827
|
+
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
828
|
+
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
829
|
+
readonly conversationlistitem_new: (a: number, b: number) => number;
|
|
830
|
+
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
831
|
+
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
832
|
+
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
833
|
+
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
834
|
+
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
835
|
+
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
836
|
+
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
837
|
+
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
838
|
+
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
839
|
+
readonly conversations_sync: (a: number) => any;
|
|
840
|
+
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
841
|
+
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
842
|
+
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
843
|
+
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
844
|
+
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
845
|
+
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
846
|
+
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
847
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
848
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
849
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
850
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
851
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
852
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
853
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
854
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
855
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
856
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
857
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
858
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
859
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
860
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
861
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
862
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
863
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
864
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
865
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
866
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
867
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
868
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
869
|
+
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
870
|
+
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
871
|
+
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
872
|
+
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
873
|
+
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
874
|
+
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
875
|
+
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
876
|
+
readonly __wbg_get_listmessagesoptions_kind: (a: number) => number;
|
|
877
|
+
readonly __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
|
|
878
|
+
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) => number;
|
|
879
|
+
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
880
|
+
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
881
|
+
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
882
|
+
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
883
|
+
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
884
|
+
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
885
|
+
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
886
|
+
readonly __wbg_get_message_content: (a: number) => number;
|
|
887
|
+
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
888
|
+
readonly __wbg_get_message_kind: (a: number) => number;
|
|
889
|
+
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
890
|
+
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
891
|
+
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
892
|
+
readonly message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
893
|
+
readonly __wbg_messagewithreactions_free: (a: number, b: number) => void;
|
|
894
|
+
readonly __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
895
|
+
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
896
|
+
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
897
|
+
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
898
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
899
|
+
readonly streamcloser_end: (a: number) => void;
|
|
900
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
901
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
902
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
903
|
+
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
904
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
905
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
906
|
+
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
907
|
+
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
908
|
+
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
909
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
910
|
+
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
911
|
+
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
912
|
+
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
913
|
+
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
914
|
+
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
915
|
+
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
916
|
+
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
917
|
+
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
918
|
+
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
919
|
+
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
920
|
+
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
921
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
922
|
+
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
923
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
924
|
+
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
925
|
+
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
926
|
+
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
927
|
+
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
928
|
+
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
929
|
+
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
930
|
+
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
931
|
+
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
932
|
+
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
933
|
+
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
934
|
+
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
935
|
+
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
936
|
+
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
937
|
+
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
938
|
+
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
939
|
+
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
940
|
+
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
941
|
+
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
942
|
+
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
892
943
|
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
893
944
|
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
894
945
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
@@ -900,6 +951,8 @@ export interface InitOutput {
|
|
|
900
951
|
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
901
952
|
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
902
953
|
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
954
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
955
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
903
956
|
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
904
957
|
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
905
958
|
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
@@ -913,22 +966,21 @@ export interface InitOutput {
|
|
|
913
966
|
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
914
967
|
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
915
968
|
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
916
|
-
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
917
|
-
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
918
|
-
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
919
|
-
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
920
969
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
921
970
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
922
971
|
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
923
|
-
readonly
|
|
924
|
-
readonly
|
|
925
|
-
readonly
|
|
926
|
-
readonly
|
|
927
|
-
readonly
|
|
928
|
-
readonly
|
|
929
|
-
readonly
|
|
930
|
-
readonly
|
|
931
|
-
readonly
|
|
972
|
+
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
973
|
+
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
974
|
+
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
975
|
+
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
976
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
977
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
978
|
+
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
979
|
+
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
980
|
+
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
981
|
+
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
982
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
983
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
932
984
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
933
985
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
934
986
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -940,9 +992,13 @@ export interface InitOutput {
|
|
|
940
992
|
readonly rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
941
993
|
readonly rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
942
994
|
readonly rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
995
|
+
readonly rust_sqlite_wasm_shim_wasi_random_get: (a: number, b: number) => number;
|
|
996
|
+
readonly rust_sqlite_wasm_shim_exit: (a: number) => void;
|
|
997
|
+
readonly rust_sqlite_wasm_shim_abort_js: () => void;
|
|
943
998
|
readonly rust_sqlite_wasm_shim_malloc: (a: number) => number;
|
|
944
999
|
readonly rust_sqlite_wasm_shim_free: (a: number) => void;
|
|
945
1000
|
readonly rust_sqlite_wasm_shim_realloc: (a: number, b: number) => number;
|
|
1001
|
+
readonly rust_sqlite_wasm_shim_calloc: (a: number, b: number) => number;
|
|
946
1002
|
readonly sqlite3_os_init: () => number;
|
|
947
1003
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
948
1004
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
@@ -966,12 +1022,11 @@ export interface InitOutput {
|
|
|
966
1022
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
967
1023
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
968
1024
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
969
|
-
readonly
|
|
970
|
-
readonly
|
|
971
|
-
readonly
|
|
972
|
-
readonly
|
|
973
|
-
readonly
|
|
974
|
-
readonly closure5473_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1025
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h575b04d35ced4eef: (a: number, b: number) => void;
|
|
1026
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h796728156b0a2ca1: (a: number, b: number) => void;
|
|
1027
|
+
readonly closure4444_externref_shim: (a: number, b: number, c: any) => void;
|
|
1028
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5c244b99d95a8e7a: (a: number, b: number) => void;
|
|
1029
|
+
readonly closure5415_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
975
1030
|
readonly __wbindgen_start: () => void;
|
|
976
1031
|
}
|
|
977
1032
|
|