@xmtp/wasm-bindings 1.5.0-dev.c78b650 → 1.5.0-rc2
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 +227 -226
- package/dist/bindings_wasm.js +356 -335
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +220 -220
- package/dist/version.json +3 -3
- package/package.json +2 -2
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;
|
|
5
3
|
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null, allow_offline?: boolean | null, disable_events?: boolean | null, app_version?: string | null): Promise<Client>;
|
|
6
4
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
7
5
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
8
|
-
export function
|
|
9
|
-
export function
|
|
6
|
+
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
7
|
+
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
10
8
|
export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
|
|
11
9
|
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
12
10
|
export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
13
11
|
export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
|
|
12
|
+
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
13
|
+
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
14
14
|
/**
|
|
15
15
|
* Entry point invoked by JavaScript in a worker.
|
|
16
16
|
*/
|
|
@@ -40,6 +40,7 @@ export enum ConversationType {
|
|
|
40
40
|
Dm = 0,
|
|
41
41
|
Group = 1,
|
|
42
42
|
Sync = 2,
|
|
43
|
+
Oneshot = 3,
|
|
43
44
|
}
|
|
44
45
|
export enum DeliveryStatus {
|
|
45
46
|
Unpublished = 0,
|
|
@@ -111,8 +112,6 @@ type LogLevel = "off" | "error" | "warn" | "info" | "debug" | "trace";
|
|
|
111
112
|
* *This API requires the following crate features to be activated: `ReadableStreamType`*
|
|
112
113
|
*/
|
|
113
114
|
type ReadableStreamType = "bytes";
|
|
114
|
-
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
115
|
-
|
|
116
115
|
export interface Identifier {
|
|
117
116
|
identifier: string;
|
|
118
117
|
identifierKind: IdentifierKind;
|
|
@@ -120,6 +119,8 @@ export interface Identifier {
|
|
|
120
119
|
|
|
121
120
|
export type IdentifierKind = "Ethereum" | "Passkey";
|
|
122
121
|
|
|
122
|
+
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
123
|
+
|
|
123
124
|
export class ApiStats {
|
|
124
125
|
private constructor();
|
|
125
126
|
free(): void;
|
|
@@ -622,177 +623,6 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
622
623
|
|
|
623
624
|
export interface InitOutput {
|
|
624
625
|
readonly memory: WebAssembly.Memory;
|
|
625
|
-
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
626
|
-
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
627
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
628
|
-
readonly streamcloser_end: (a: number) => void;
|
|
629
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
630
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
631
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
632
|
-
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
633
|
-
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
634
|
-
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
635
|
-
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
636
|
-
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
637
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
638
|
-
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
639
|
-
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
640
|
-
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
641
|
-
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
642
|
-
readonly __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
643
|
-
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
644
|
-
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
645
|
-
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
646
|
-
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
647
|
-
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
648
|
-
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
649
|
-
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
650
|
-
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
651
|
-
readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
652
|
-
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
653
|
-
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
654
|
-
readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
655
|
-
readonly __wbg_get_conversationdebuginfo_isCommitLogForked: (a: number) => number;
|
|
656
|
-
readonly __wbg_set_conversationdebuginfo_isCommitLogForked: (a: number, b: number) => void;
|
|
657
|
-
readonly __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
|
|
658
|
-
readonly __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
|
|
659
|
-
readonly __wbg_get_conversationdebuginfo_remoteCommitLog: (a: number) => [number, number];
|
|
660
|
-
readonly __wbg_set_conversationdebuginfo_remoteCommitLog: (a: number, b: number, c: number) => void;
|
|
661
|
-
readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
|
|
662
|
-
readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
|
|
663
|
-
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
664
|
-
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
665
|
-
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
666
|
-
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
667
|
-
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
668
|
-
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
669
|
-
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
670
|
-
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
671
|
-
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
672
|
-
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
673
|
-
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
674
|
-
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
675
|
-
readonly __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
676
|
-
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
677
|
-
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
678
|
-
readonly createdmoptions_new: (a: number) => number;
|
|
679
|
-
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
680
|
-
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
681
|
-
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
682
|
-
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
683
|
-
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
684
|
-
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
685
|
-
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
686
|
-
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
687
|
-
readonly __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
|
|
688
|
-
readonly __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
|
|
689
|
-
readonly conversationlistitem_new: (a: number, b: number, c: number) => number;
|
|
690
|
-
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
691
|
-
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
692
|
-
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
693
|
-
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
694
|
-
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
695
|
-
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
696
|
-
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
697
|
-
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
698
|
-
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
699
|
-
readonly conversations_sync: (a: number) => any;
|
|
700
|
-
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
701
|
-
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
702
|
-
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
703
|
-
readonly conversations_streamLocal: (a: number, b: number) => any;
|
|
704
|
-
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
705
|
-
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
706
|
-
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
707
|
-
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
708
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
709
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
710
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
711
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
712
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
713
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
714
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
715
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
716
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
717
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
718
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
719
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
720
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
721
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
722
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
723
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
724
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
725
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
726
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
727
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
728
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
729
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
730
|
-
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
731
|
-
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
732
|
-
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
733
|
-
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
734
|
-
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
735
|
-
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
736
|
-
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
737
|
-
readonly __wbg_get_listmessagesoptions_kind: (a: number) => number;
|
|
738
|
-
readonly __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
|
|
739
|
-
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;
|
|
740
|
-
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
741
|
-
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
742
|
-
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
743
|
-
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
744
|
-
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
745
|
-
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
746
|
-
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
747
|
-
readonly __wbg_get_message_content: (a: number) => number;
|
|
748
|
-
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
749
|
-
readonly __wbg_get_message_kind: (a: number) => number;
|
|
750
|
-
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
751
|
-
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
752
|
-
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
753
|
-
readonly message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
754
|
-
readonly __wbg_messagewithreactions_free: (a: number, b: number) => void;
|
|
755
|
-
readonly __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
756
|
-
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
757
|
-
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
758
|
-
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
759
|
-
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
760
|
-
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
761
|
-
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
762
|
-
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
763
|
-
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
764
|
-
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
765
|
-
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
766
|
-
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
767
|
-
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
768
|
-
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
769
|
-
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
770
|
-
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
771
|
-
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
772
|
-
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
773
|
-
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
774
|
-
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
775
|
-
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
776
|
-
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
777
|
-
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
778
|
-
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
779
|
-
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
780
|
-
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
781
|
-
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
782
|
-
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
783
|
-
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
784
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
785
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
786
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
787
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
788
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
789
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
790
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
791
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
792
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
793
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
794
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
795
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
796
626
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
797
627
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
798
628
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -834,8 +664,6 @@ export interface InitOutput {
|
|
|
834
664
|
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
835
665
|
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
836
666
|
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
837
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
838
|
-
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
839
667
|
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
840
668
|
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
841
669
|
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
@@ -843,7 +671,6 @@ export interface InitOutput {
|
|
|
843
671
|
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
844
672
|
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
845
673
|
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
846
|
-
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
847
674
|
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
848
675
|
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
849
676
|
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
@@ -857,19 +684,6 @@ export interface InitOutput {
|
|
|
857
684
|
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
858
685
|
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
859
686
|
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
860
|
-
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
861
|
-
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
862
|
-
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
863
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
864
|
-
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
865
|
-
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
866
|
-
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
867
|
-
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
868
|
-
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
869
|
-
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
870
|
-
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
871
|
-
readonly encodeReaction: (a: number) => [number, number, number];
|
|
872
|
-
readonly decodeReaction: (a: any) => [number, number, number];
|
|
873
687
|
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
874
688
|
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
875
689
|
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
@@ -927,29 +741,106 @@ export interface InitOutput {
|
|
|
927
741
|
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
928
742
|
readonly conversation_getDebugInfo: (a: number) => any;
|
|
929
743
|
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
930
|
-
readonly
|
|
931
|
-
readonly
|
|
932
|
-
readonly
|
|
933
|
-
readonly
|
|
934
|
-
readonly
|
|
935
|
-
readonly
|
|
936
|
-
readonly
|
|
937
|
-
readonly
|
|
938
|
-
readonly
|
|
939
|
-
readonly
|
|
940
|
-
readonly
|
|
941
|
-
readonly
|
|
942
|
-
readonly
|
|
943
|
-
readonly
|
|
944
|
-
readonly
|
|
945
|
-
readonly
|
|
946
|
-
readonly
|
|
947
|
-
readonly
|
|
744
|
+
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
745
|
+
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
746
|
+
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
747
|
+
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
748
|
+
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
749
|
+
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
750
|
+
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
751
|
+
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
752
|
+
readonly __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
753
|
+
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
754
|
+
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
755
|
+
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
756
|
+
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
757
|
+
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
758
|
+
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
759
|
+
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
760
|
+
readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
761
|
+
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
762
|
+
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
763
|
+
readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
764
|
+
readonly __wbg_get_conversationdebuginfo_isCommitLogForked: (a: number) => number;
|
|
765
|
+
readonly __wbg_set_conversationdebuginfo_isCommitLogForked: (a: number, b: number) => void;
|
|
766
|
+
readonly __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
|
|
767
|
+
readonly __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
|
|
768
|
+
readonly __wbg_get_conversationdebuginfo_remoteCommitLog: (a: number) => [number, number];
|
|
769
|
+
readonly __wbg_set_conversationdebuginfo_remoteCommitLog: (a: number, b: number, c: number) => void;
|
|
770
|
+
readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
|
|
771
|
+
readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
|
|
772
|
+
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
773
|
+
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
774
|
+
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
775
|
+
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
776
|
+
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
777
|
+
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
778
|
+
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
779
|
+
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
780
|
+
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
781
|
+
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
782
|
+
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
783
|
+
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
784
|
+
readonly __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
785
|
+
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
786
|
+
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
787
|
+
readonly createdmoptions_new: (a: number) => number;
|
|
788
|
+
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
789
|
+
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
790
|
+
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
791
|
+
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
792
|
+
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
793
|
+
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
794
|
+
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
795
|
+
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
796
|
+
readonly __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
|
|
797
|
+
readonly __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
|
|
798
|
+
readonly conversationlistitem_new: (a: number, b: number, c: number) => number;
|
|
799
|
+
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
800
|
+
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
801
|
+
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
802
|
+
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
803
|
+
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
804
|
+
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
805
|
+
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
806
|
+
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
807
|
+
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
808
|
+
readonly conversations_sync: (a: number) => any;
|
|
809
|
+
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
810
|
+
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
811
|
+
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
812
|
+
readonly conversations_streamLocal: (a: number, b: number) => any;
|
|
813
|
+
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
814
|
+
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
815
|
+
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
816
|
+
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
817
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
818
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
819
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
820
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
821
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
822
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
823
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
824
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
825
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
826
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
827
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
828
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
829
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
830
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
831
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
832
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
833
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
834
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
835
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
836
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
837
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
838
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
839
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
948
840
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
949
841
|
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
950
842
|
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
951
843
|
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
952
|
-
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
953
844
|
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
954
845
|
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
955
846
|
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
@@ -963,8 +854,6 @@ export interface InitOutput {
|
|
|
963
854
|
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
964
855
|
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
965
856
|
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
966
|
-
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
967
|
-
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
968
857
|
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
969
858
|
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
970
859
|
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
@@ -972,6 +861,35 @@ export interface InitOutput {
|
|
|
972
861
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
973
862
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
974
863
|
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
864
|
+
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
865
|
+
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
866
|
+
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
867
|
+
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
868
|
+
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
869
|
+
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
870
|
+
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
871
|
+
readonly __wbg_get_listmessagesoptions_kind: (a: number) => number;
|
|
872
|
+
readonly __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
|
|
873
|
+
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;
|
|
874
|
+
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
875
|
+
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
876
|
+
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
877
|
+
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
878
|
+
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
879
|
+
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
880
|
+
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
881
|
+
readonly __wbg_get_message_content: (a: number) => number;
|
|
882
|
+
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
883
|
+
readonly __wbg_get_message_kind: (a: number) => number;
|
|
884
|
+
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
885
|
+
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
886
|
+
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
887
|
+
readonly message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
888
|
+
readonly __wbg_messagewithreactions_free: (a: number, b: number) => void;
|
|
889
|
+
readonly __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
890
|
+
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
891
|
+
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
892
|
+
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
975
893
|
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
976
894
|
readonly opfs_init_sqlite_opfs: () => any;
|
|
977
895
|
readonly opfs_exists: () => number;
|
|
@@ -1004,21 +922,104 @@ export interface InitOutput {
|
|
|
1004
922
|
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
1005
923
|
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
1006
924
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
1007
|
-
readonly
|
|
925
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
926
|
+
readonly streamcloser_end: (a: number) => void;
|
|
927
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
928
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
929
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
930
|
+
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
1008
931
|
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
932
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
933
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
934
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
1009
935
|
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
936
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
937
|
+
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
938
|
+
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
939
|
+
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
940
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
941
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
942
|
+
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
943
|
+
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
944
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
945
|
+
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
946
|
+
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
947
|
+
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
948
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
949
|
+
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
950
|
+
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
951
|
+
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
952
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
953
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
954
|
+
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
955
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
956
|
+
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
957
|
+
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
958
|
+
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
959
|
+
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
960
|
+
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
961
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
962
|
+
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
963
|
+
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
964
|
+
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
965
|
+
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
966
|
+
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
967
|
+
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
968
|
+
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
969
|
+
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
970
|
+
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
971
|
+
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
972
|
+
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
973
|
+
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
974
|
+
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
975
|
+
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
976
|
+
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
977
|
+
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
978
|
+
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
979
|
+
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
1010
980
|
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
1011
981
|
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
1012
982
|
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
1013
983
|
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
1014
|
-
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
1015
|
-
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
1016
984
|
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
1017
985
|
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
1018
986
|
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
1019
987
|
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
1020
|
-
readonly
|
|
1021
|
-
readonly
|
|
988
|
+
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
989
|
+
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
990
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
991
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
992
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
993
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
994
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
995
|
+
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
996
|
+
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
997
|
+
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
998
|
+
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
999
|
+
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1000
|
+
readonly encodeReaction: (a: number) => [number, number, number];
|
|
1001
|
+
readonly decodeReaction: (a: any) => [number, number, number];
|
|
1002
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
1003
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
1004
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
1005
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
1006
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
1007
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
1008
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
1009
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
1010
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
1011
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
1012
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
1013
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
1014
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
1015
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
1016
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
1017
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
1018
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
1019
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1020
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
1021
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
1022
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
1022
1023
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
1023
1024
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
1024
1025
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -1038,15 +1039,15 @@ export interface InitOutput {
|
|
|
1038
1039
|
readonly rust_sqlite_wasm_shim_realloc: (a: number, b: number) => number;
|
|
1039
1040
|
readonly rust_sqlite_wasm_shim_calloc: (a: number, b: number) => number;
|
|
1040
1041
|
readonly sqlite3_os_init: () => number;
|
|
1042
|
+
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1043
|
+
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1044
|
+
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1041
1045
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
1042
1046
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
1043
1047
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
1044
1048
|
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
1045
1049
|
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
1046
1050
|
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
1047
|
-
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1048
|
-
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1049
|
-
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1050
1051
|
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
1051
1052
|
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
1052
1053
|
readonly intounderlyingsink_close: (a: number) => any;
|
|
@@ -1061,10 +1062,10 @@ export interface InitOutput {
|
|
|
1061
1062
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1062
1063
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
1063
1064
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1064
|
-
readonly
|
|
1065
|
-
readonly
|
|
1066
|
-
readonly
|
|
1067
|
-
readonly
|
|
1065
|
+
readonly wasm_bindgen__convert__closures_____invoke__h231d11d7d151a506: (a: number, b: number) => void;
|
|
1066
|
+
readonly wasm_bindgen__convert__closures_____invoke__hfa5440517c90e88d: (a: number, b: number) => void;
|
|
1067
|
+
readonly closure5306_externref_shim: (a: number, b: number, c: any) => void;
|
|
1068
|
+
readonly closure6250_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1068
1069
|
readonly __wbindgen_start: () => void;
|
|
1069
1070
|
}
|
|
1070
1071
|
|