@xmtp/wasm-bindings 1.3.6 → 1.4.0-dev.8148c3f
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 +218 -207
- package/dist/bindings_wasm.js +173 -116
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +206 -200
- 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 getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
4
|
+
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
3
5
|
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null, allow_offline?: boolean | null, disable_events?: boolean | null, app_version?: string | null): Promise<Client>;
|
|
6
|
+
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
7
|
+
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
4
8
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
5
9
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
6
10
|
export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
|
|
7
11
|
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
8
12
|
export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
9
13
|
export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
|
|
10
|
-
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
11
|
-
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
12
|
-
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
13
|
-
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
14
14
|
/**
|
|
15
15
|
* Entry point invoked by JavaScript in a worker.
|
|
16
16
|
*/
|
|
@@ -111,8 +111,6 @@ type LogLevel = "off" | "error" | "warn" | "info" | "debug" | "trace";
|
|
|
111
111
|
* *This API requires the following crate features to be activated: `ReadableStreamType`*
|
|
112
112
|
*/
|
|
113
113
|
type ReadableStreamType = "bytes";
|
|
114
|
-
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
115
|
-
|
|
116
114
|
export interface Identifier {
|
|
117
115
|
identifier: string;
|
|
118
116
|
identifierKind: IdentifierKind;
|
|
@@ -120,6 +118,8 @@ export interface Identifier {
|
|
|
120
118
|
|
|
121
119
|
export type IdentifierKind = "Ethereum" | "Passkey";
|
|
122
120
|
|
|
121
|
+
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
122
|
+
|
|
123
123
|
export class ApiStats {
|
|
124
124
|
private constructor();
|
|
125
125
|
free(): void;
|
|
@@ -262,15 +262,20 @@ export class ConversationDebugInfo {
|
|
|
262
262
|
epoch: bigint;
|
|
263
263
|
maybeForked: boolean;
|
|
264
264
|
forkDetails: string;
|
|
265
|
+
get isCommitLogForked(): boolean | undefined;
|
|
266
|
+
set isCommitLogForked(value: boolean | null | undefined);
|
|
265
267
|
localCommitLog: string;
|
|
268
|
+
remoteCommitLog: string;
|
|
266
269
|
cursor: bigint;
|
|
267
270
|
}
|
|
268
271
|
export class ConversationListItem {
|
|
269
272
|
free(): void;
|
|
270
|
-
constructor(conversation: Conversation, last_message?: Message | null);
|
|
273
|
+
constructor(conversation: Conversation, last_message?: Message | null, is_commit_log_forked?: boolean | null);
|
|
271
274
|
conversation: Conversation;
|
|
272
275
|
get lastMessage(): Message | undefined;
|
|
273
276
|
set lastMessage(value: Message | null | undefined);
|
|
277
|
+
get isCommitLogForked(): boolean | undefined;
|
|
278
|
+
set isCommitLogForked(value: boolean | null | undefined);
|
|
274
279
|
}
|
|
275
280
|
export class Conversations {
|
|
276
281
|
private constructor();
|
|
@@ -617,6 +622,160 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
617
622
|
|
|
618
623
|
export interface InitOutput {
|
|
619
624
|
readonly memory: WebAssembly.Memory;
|
|
625
|
+
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
626
|
+
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
627
|
+
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
628
|
+
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
629
|
+
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
630
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
631
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
632
|
+
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
633
|
+
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
634
|
+
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
635
|
+
readonly __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
636
|
+
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
637
|
+
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
638
|
+
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
639
|
+
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
640
|
+
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
641
|
+
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
642
|
+
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
643
|
+
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
644
|
+
readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
645
|
+
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
646
|
+
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
647
|
+
readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
648
|
+
readonly __wbg_get_conversationdebuginfo_isCommitLogForked: (a: number) => number;
|
|
649
|
+
readonly __wbg_set_conversationdebuginfo_isCommitLogForked: (a: number, b: number) => void;
|
|
650
|
+
readonly __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
|
|
651
|
+
readonly __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
|
|
652
|
+
readonly __wbg_get_conversationdebuginfo_remoteCommitLog: (a: number) => [number, number];
|
|
653
|
+
readonly __wbg_set_conversationdebuginfo_remoteCommitLog: (a: number, b: number, c: number) => void;
|
|
654
|
+
readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
|
|
655
|
+
readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
|
|
656
|
+
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
657
|
+
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
658
|
+
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
659
|
+
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
660
|
+
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
661
|
+
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
662
|
+
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
663
|
+
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
664
|
+
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
665
|
+
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
666
|
+
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
667
|
+
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
668
|
+
readonly __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
669
|
+
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
670
|
+
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
671
|
+
readonly createdmoptions_new: (a: number) => number;
|
|
672
|
+
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
673
|
+
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
674
|
+
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
675
|
+
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
676
|
+
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
677
|
+
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
678
|
+
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
679
|
+
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
680
|
+
readonly __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
|
|
681
|
+
readonly __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
|
|
682
|
+
readonly conversationlistitem_new: (a: number, b: number, c: number) => number;
|
|
683
|
+
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
684
|
+
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
685
|
+
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
686
|
+
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
687
|
+
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
688
|
+
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
689
|
+
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
690
|
+
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
691
|
+
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
692
|
+
readonly conversations_sync: (a: number) => any;
|
|
693
|
+
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
694
|
+
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
695
|
+
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
696
|
+
readonly conversations_streamLocal: (a: number, b: number) => any;
|
|
697
|
+
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
698
|
+
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
699
|
+
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
700
|
+
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
701
|
+
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
702
|
+
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
703
|
+
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
704
|
+
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
705
|
+
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
706
|
+
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
707
|
+
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
708
|
+
readonly __wbg_get_listmessagesoptions_kind: (a: number) => number;
|
|
709
|
+
readonly __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
|
|
710
|
+
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;
|
|
711
|
+
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
712
|
+
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
713
|
+
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
714
|
+
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
715
|
+
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
716
|
+
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
717
|
+
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
718
|
+
readonly __wbg_get_message_content: (a: number) => number;
|
|
719
|
+
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
720
|
+
readonly __wbg_get_message_kind: (a: number) => number;
|
|
721
|
+
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
722
|
+
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
723
|
+
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
724
|
+
readonly message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
725
|
+
readonly __wbg_messagewithreactions_free: (a: number, b: number) => void;
|
|
726
|
+
readonly __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
727
|
+
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
728
|
+
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
729
|
+
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
730
|
+
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
731
|
+
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
732
|
+
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
733
|
+
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
734
|
+
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
735
|
+
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
736
|
+
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
737
|
+
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
738
|
+
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
739
|
+
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
740
|
+
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
741
|
+
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
742
|
+
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
743
|
+
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
744
|
+
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
745
|
+
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
746
|
+
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
747
|
+
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
748
|
+
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
749
|
+
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
750
|
+
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
751
|
+
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
752
|
+
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
753
|
+
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
754
|
+
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
755
|
+
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
756
|
+
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
757
|
+
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
758
|
+
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
759
|
+
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
760
|
+
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
761
|
+
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
762
|
+
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
763
|
+
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
764
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
765
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
766
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
767
|
+
readonly streamcloser_end: (a: number) => void;
|
|
768
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
769
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
770
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
771
|
+
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
772
|
+
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
773
|
+
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
774
|
+
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
775
|
+
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
776
|
+
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
777
|
+
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
778
|
+
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
620
779
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
621
780
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
622
781
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -657,7 +816,31 @@ export interface InitOutput {
|
|
|
657
816
|
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
658
817
|
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
659
818
|
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
819
|
+
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
820
|
+
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
821
|
+
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
822
|
+
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
823
|
+
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
824
|
+
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
825
|
+
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
826
|
+
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
827
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
828
|
+
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
829
|
+
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
830
|
+
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
831
|
+
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
832
|
+
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
833
|
+
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
834
|
+
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;
|
|
835
|
+
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
836
|
+
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
837
|
+
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
838
|
+
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
839
|
+
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
840
|
+
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
660
841
|
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
842
|
+
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
843
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
661
844
|
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
662
845
|
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
663
846
|
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
@@ -671,6 +854,7 @@ export interface InitOutput {
|
|
|
671
854
|
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
672
855
|
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
673
856
|
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
857
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
674
858
|
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
675
859
|
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
676
860
|
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
@@ -723,74 +907,8 @@ export interface InitOutput {
|
|
|
723
907
|
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
724
908
|
readonly conversation_getDebugInfo: (a: number) => any;
|
|
725
909
|
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
726
|
-
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
727
|
-
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
728
|
-
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
729
|
-
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
730
|
-
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
731
|
-
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
732
|
-
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
733
|
-
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
734
|
-
readonly __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
735
|
-
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
736
|
-
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
737
|
-
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
738
|
-
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
739
|
-
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
740
|
-
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
741
|
-
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
742
|
-
readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
743
|
-
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
744
|
-
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
745
|
-
readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
746
|
-
readonly __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
|
|
747
|
-
readonly __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
|
|
748
|
-
readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
|
|
749
|
-
readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
|
|
750
|
-
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
751
|
-
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
752
|
-
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
753
|
-
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
754
|
-
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
755
|
-
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
756
|
-
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
757
|
-
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
758
|
-
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
759
|
-
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
760
|
-
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
761
|
-
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
762
|
-
readonly __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
763
|
-
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
764
|
-
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
765
|
-
readonly createdmoptions_new: (a: number) => number;
|
|
766
|
-
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
767
|
-
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
768
|
-
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
769
|
-
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
770
|
-
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
771
|
-
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
772
|
-
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
773
|
-
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
774
|
-
readonly conversationlistitem_new: (a: number, b: number) => number;
|
|
775
|
-
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
776
|
-
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
777
|
-
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
778
|
-
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
779
|
-
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
780
|
-
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
781
|
-
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
782
|
-
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
783
|
-
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
784
|
-
readonly conversations_sync: (a: number) => any;
|
|
785
|
-
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
786
|
-
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
787
|
-
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
788
|
-
readonly conversations_streamLocal: (a: number, b: number) => any;
|
|
789
|
-
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
790
|
-
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
791
|
-
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
792
|
-
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
793
910
|
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
911
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
794
912
|
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
795
913
|
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
796
914
|
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
@@ -813,10 +931,13 @@ export interface InitOutput {
|
|
|
813
931
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
814
932
|
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
815
933
|
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
934
|
+
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
935
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
816
936
|
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
817
937
|
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
818
938
|
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
819
939
|
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
940
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
820
941
|
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
821
942
|
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
822
943
|
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
@@ -825,55 +946,19 @@ export interface InitOutput {
|
|
|
825
946
|
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
826
947
|
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
827
948
|
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
949
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
950
|
+
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
828
951
|
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
829
952
|
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
830
953
|
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
954
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
955
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
956
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
957
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
831
958
|
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
832
959
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
833
960
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
834
961
|
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
835
|
-
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
836
|
-
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
837
|
-
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
838
|
-
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
839
|
-
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
840
|
-
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
841
|
-
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
842
|
-
readonly __wbg_get_listmessagesoptions_kind: (a: number) => number;
|
|
843
|
-
readonly __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
|
|
844
|
-
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;
|
|
845
|
-
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
846
|
-
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
847
|
-
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
848
|
-
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
849
|
-
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
850
|
-
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
851
|
-
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
852
|
-
readonly __wbg_get_message_content: (a: number) => number;
|
|
853
|
-
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
854
|
-
readonly __wbg_get_message_kind: (a: number) => number;
|
|
855
|
-
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
856
|
-
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
857
|
-
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
858
|
-
readonly message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
859
|
-
readonly __wbg_messagewithreactions_free: (a: number, b: number) => void;
|
|
860
|
-
readonly __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
861
|
-
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
862
|
-
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
863
|
-
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
864
|
-
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
865
|
-
readonly opfs_init_sqlite_opfs: () => any;
|
|
866
|
-
readonly opfs_exists: () => number;
|
|
867
|
-
readonly opfs_error: () => [number, number];
|
|
868
|
-
readonly opfs_wipeFiles: () => any;
|
|
869
|
-
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
870
|
-
readonly opfs_getFileNames: () => [number, number];
|
|
871
|
-
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
872
|
-
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
873
|
-
readonly opfs_getFileCount: () => number;
|
|
874
|
-
readonly opfs_getCapacity: () => number;
|
|
875
|
-
readonly opfs_addCapacity: (a: number) => any;
|
|
876
|
-
readonly opfs_reduceCapacity: (a: number) => any;
|
|
877
962
|
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
878
963
|
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
879
964
|
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
@@ -893,100 +978,13 @@ export interface InitOutput {
|
|
|
893
978
|
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
894
979
|
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
895
980
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
896
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
897
|
-
readonly streamcloser_end: (a: number) => void;
|
|
898
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
899
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
900
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
901
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
902
|
-
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
903
|
-
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
904
|
-
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
905
|
-
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
906
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
907
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
908
|
-
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
909
|
-
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
910
|
-
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
911
981
|
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
912
982
|
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
913
983
|
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
914
984
|
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
915
|
-
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
916
985
|
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
917
|
-
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
918
|
-
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
919
|
-
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
920
|
-
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
921
|
-
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
922
|
-
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
923
|
-
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
924
|
-
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
925
|
-
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
926
|
-
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
927
|
-
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
928
|
-
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
929
|
-
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
930
|
-
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
931
|
-
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
932
|
-
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
933
|
-
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
934
|
-
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
935
|
-
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
936
|
-
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
937
|
-
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
938
|
-
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
939
986
|
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
940
987
|
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
941
|
-
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
942
|
-
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
943
|
-
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
944
|
-
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
945
|
-
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
946
|
-
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
947
|
-
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
948
|
-
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
949
|
-
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
950
|
-
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
951
|
-
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
952
|
-
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
953
|
-
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
954
|
-
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
955
|
-
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;
|
|
956
|
-
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
957
|
-
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
958
|
-
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
959
|
-
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
960
|
-
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
961
|
-
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
962
|
-
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
963
|
-
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
964
|
-
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
965
|
-
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
966
|
-
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
967
|
-
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
968
|
-
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
969
|
-
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
970
|
-
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
971
|
-
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
972
|
-
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
973
|
-
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
974
|
-
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
975
|
-
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
976
|
-
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
977
|
-
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
978
|
-
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
979
|
-
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
980
|
-
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
981
|
-
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
982
|
-
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
983
|
-
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
984
|
-
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
985
|
-
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
986
|
-
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
987
|
-
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
988
|
-
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
989
|
-
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
990
988
|
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
991
989
|
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
992
990
|
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -1008,6 +1006,19 @@ export interface InitOutput {
|
|
|
1008
1006
|
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
1009
1007
|
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
1010
1008
|
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
1009
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
1010
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
1011
|
+
readonly opfs_exists: () => number;
|
|
1012
|
+
readonly opfs_error: () => [number, number];
|
|
1013
|
+
readonly opfs_wipeFiles: () => any;
|
|
1014
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
1015
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
1016
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
1017
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
1018
|
+
readonly opfs_getFileCount: () => number;
|
|
1019
|
+
readonly opfs_getCapacity: () => number;
|
|
1020
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
1021
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
1011
1022
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
1012
1023
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
1013
1024
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -1050,10 +1061,10 @@ export interface InitOutput {
|
|
|
1050
1061
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1051
1062
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
1052
1063
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1053
|
-
readonly
|
|
1054
|
-
readonly
|
|
1055
|
-
readonly
|
|
1056
|
-
readonly
|
|
1064
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6b9ddcbfcc08eea: (a: number, b: number) => void;
|
|
1065
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd0e40dce3ea5bca1: (a: number, b: number) => void;
|
|
1066
|
+
readonly closure5210_externref_shim: (a: number, b: number, c: any) => void;
|
|
1067
|
+
readonly closure6137_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1057
1068
|
readonly __wbindgen_start: () => void;
|
|
1058
1069
|
}
|
|
1059
1070
|
|