@xmtp/wasm-bindings 1.4.0 → 1.5.0-rc1
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 +223 -222
- package/dist/bindings_wasm.js +393 -374
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +209 -209
- 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
6
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
9
7
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
10
|
-
export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
|
|
11
8
|
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
12
9
|
export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
13
10
|
export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
|
|
11
|
+
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
12
|
+
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
13
|
+
export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
|
|
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,
|
|
@@ -151,6 +152,16 @@ export class Client {
|
|
|
151
152
|
uploadDebugArchive(server_url: string): Promise<string>;
|
|
152
153
|
setConsentStates(records: Consent[]): Promise<void>;
|
|
153
154
|
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
155
|
+
createInboxSignatureRequest(): SignatureRequestHandle | undefined;
|
|
156
|
+
addWalletSignatureRequest(new_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
157
|
+
revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
158
|
+
revokeAllOtherInstallationsSignatureRequest(): Promise<SignatureRequestHandle>;
|
|
159
|
+
revokeInstallationsSignatureRequest(installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
160
|
+
changeRecoveryIdentifierSignatureRequest(new_recovery_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
161
|
+
applySignatureRequest(signature_request: SignatureRequestHandle): Promise<void>;
|
|
162
|
+
registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
|
|
163
|
+
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
164
|
+
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
154
165
|
/**
|
|
155
166
|
*
|
|
156
167
|
* * Get the client's inbox state.
|
|
@@ -169,16 +180,6 @@ export class Client {
|
|
|
169
180
|
*
|
|
170
181
|
*/
|
|
171
182
|
getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
|
|
172
|
-
createInboxSignatureRequest(): SignatureRequestHandle | undefined;
|
|
173
|
-
addWalletSignatureRequest(new_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
174
|
-
revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
175
|
-
revokeAllOtherInstallationsSignatureRequest(): Promise<SignatureRequestHandle>;
|
|
176
|
-
revokeInstallationsSignatureRequest(installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
177
|
-
changeRecoveryIdentifierSignatureRequest(new_recovery_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
178
|
-
applySignatureRequest(signature_request: SignatureRequestHandle): Promise<void>;
|
|
179
|
-
registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
|
|
180
|
-
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
181
|
-
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
182
183
|
readonly accountIdentifier: Identifier;
|
|
183
184
|
readonly inboxId: string;
|
|
184
185
|
readonly isRegistered: boolean;
|
|
@@ -622,181 +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 __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_permissionpolicyset_free: (a: number, b: number) => void;
|
|
747
|
-
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
748
|
-
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
749
|
-
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
750
|
-
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
751
|
-
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
752
|
-
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
753
|
-
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
754
|
-
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
755
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
756
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
757
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
758
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
759
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
760
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
761
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
762
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
763
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
764
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
765
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
766
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
767
|
-
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
768
|
-
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
769
|
-
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
770
|
-
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
771
|
-
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
772
|
-
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
773
|
-
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
774
|
-
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
775
|
-
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
776
|
-
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
777
|
-
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
778
|
-
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
779
|
-
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
780
|
-
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
781
|
-
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
782
|
-
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
783
|
-
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
784
|
-
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
785
|
-
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
786
|
-
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
787
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
788
|
-
readonly streamcloser_end: (a: number) => void;
|
|
789
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
790
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
791
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
792
|
-
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
793
|
-
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
794
|
-
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
795
|
-
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
796
|
-
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
797
|
-
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
798
|
-
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
799
|
-
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
800
626
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
801
627
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
802
628
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -845,7 +671,6 @@ export interface InitOutput {
|
|
|
845
671
|
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
846
672
|
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
847
673
|
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
848
|
-
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
849
674
|
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
850
675
|
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
851
676
|
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
@@ -928,6 +753,78 @@ export interface InitOutput {
|
|
|
928
753
|
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
929
754
|
readonly conversation_getDebugInfo: (a: number) => any;
|
|
930
755
|
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
756
|
+
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
757
|
+
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
758
|
+
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
759
|
+
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
760
|
+
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
761
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
762
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
763
|
+
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
764
|
+
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
765
|
+
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
766
|
+
readonly __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
767
|
+
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
768
|
+
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
769
|
+
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
770
|
+
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
771
|
+
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
772
|
+
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
773
|
+
readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
774
|
+
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
775
|
+
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
776
|
+
readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
777
|
+
readonly __wbg_get_conversationdebuginfo_isCommitLogForked: (a: number) => number;
|
|
778
|
+
readonly __wbg_set_conversationdebuginfo_isCommitLogForked: (a: number, b: number) => void;
|
|
779
|
+
readonly __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
|
|
780
|
+
readonly __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
|
|
781
|
+
readonly __wbg_get_conversationdebuginfo_remoteCommitLog: (a: number) => [number, number];
|
|
782
|
+
readonly __wbg_set_conversationdebuginfo_remoteCommitLog: (a: number, b: number, c: number) => void;
|
|
783
|
+
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
784
|
+
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
785
|
+
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
786
|
+
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
787
|
+
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
788
|
+
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
789
|
+
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
790
|
+
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
791
|
+
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
792
|
+
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
793
|
+
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
794
|
+
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
795
|
+
readonly __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
796
|
+
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
797
|
+
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
798
|
+
readonly createdmoptions_new: (a: number) => number;
|
|
799
|
+
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
800
|
+
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
801
|
+
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
802
|
+
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
803
|
+
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
804
|
+
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
805
|
+
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
806
|
+
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
807
|
+
readonly __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
|
|
808
|
+
readonly __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
|
|
809
|
+
readonly conversationlistitem_new: (a: number, b: number, c: number) => number;
|
|
810
|
+
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
811
|
+
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
812
|
+
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
813
|
+
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
814
|
+
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
815
|
+
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
816
|
+
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
817
|
+
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
818
|
+
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
819
|
+
readonly conversations_sync: (a: number) => any;
|
|
820
|
+
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
821
|
+
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
822
|
+
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
823
|
+
readonly conversations_streamLocal: (a: number, b: number) => any;
|
|
824
|
+
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
825
|
+
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
826
|
+
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
827
|
+
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
931
828
|
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
932
829
|
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
933
830
|
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
@@ -949,6 +846,114 @@ export interface InitOutput {
|
|
|
949
846
|
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
950
847
|
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
951
848
|
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
849
|
+
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
850
|
+
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
851
|
+
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
852
|
+
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
853
|
+
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
854
|
+
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
855
|
+
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
856
|
+
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
857
|
+
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
858
|
+
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
859
|
+
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
860
|
+
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
861
|
+
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
862
|
+
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
863
|
+
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
864
|
+
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
865
|
+
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
866
|
+
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
867
|
+
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
868
|
+
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
869
|
+
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
870
|
+
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
871
|
+
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
872
|
+
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
873
|
+
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
874
|
+
readonly __wbg_get_listmessagesoptions_kind: (a: number) => number;
|
|
875
|
+
readonly __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
|
|
876
|
+
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;
|
|
877
|
+
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
878
|
+
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
879
|
+
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
880
|
+
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
881
|
+
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
882
|
+
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
883
|
+
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
884
|
+
readonly __wbg_get_message_content: (a: number) => number;
|
|
885
|
+
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
886
|
+
readonly __wbg_get_message_kind: (a: number) => number;
|
|
887
|
+
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
888
|
+
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
889
|
+
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
890
|
+
readonly message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
891
|
+
readonly __wbg_messagewithreactions_free: (a: number, b: number) => void;
|
|
892
|
+
readonly __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
893
|
+
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
894
|
+
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
895
|
+
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
896
|
+
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
897
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
898
|
+
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
899
|
+
readonly applySignatureRequest: (a: number, b: number, c: number) => any;
|
|
900
|
+
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
901
|
+
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
902
|
+
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
903
|
+
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
|
|
904
|
+
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
905
|
+
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
906
|
+
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
907
|
+
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
908
|
+
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
909
|
+
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
910
|
+
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
911
|
+
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
912
|
+
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
913
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
914
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
915
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
916
|
+
readonly streamcloser_end: (a: number) => void;
|
|
917
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
918
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
919
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
920
|
+
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
921
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
922
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
923
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
924
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
925
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
926
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
927
|
+
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
928
|
+
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
929
|
+
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
930
|
+
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
931
|
+
readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
|
|
932
|
+
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
933
|
+
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
934
|
+
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
935
|
+
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
936
|
+
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
937
|
+
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
938
|
+
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
939
|
+
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
940
|
+
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
941
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
942
|
+
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
943
|
+
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
944
|
+
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
945
|
+
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
946
|
+
readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
|
|
947
|
+
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
948
|
+
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
949
|
+
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
950
|
+
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
951
|
+
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
952
|
+
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
953
|
+
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
954
|
+
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
955
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
956
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
952
957
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
953
958
|
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
954
959
|
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
@@ -959,6 +964,7 @@ export interface InitOutput {
|
|
|
959
964
|
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
960
965
|
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
961
966
|
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
967
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
962
968
|
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
963
969
|
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
964
970
|
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
@@ -980,32 +986,6 @@ export interface InitOutput {
|
|
|
980
986
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
981
987
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
982
988
|
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
983
|
-
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
984
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
985
|
-
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
986
|
-
readonly applySignatureRequest: (a: number, b: number, c: number) => any;
|
|
987
|
-
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
988
|
-
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
989
|
-
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
990
|
-
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
|
|
991
|
-
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
992
|
-
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
993
|
-
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
994
|
-
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
995
|
-
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
996
|
-
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
997
|
-
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
998
|
-
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
999
|
-
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
1000
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
1001
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
1002
|
-
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
1003
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
1004
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
1005
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
1006
|
-
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
1007
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
1008
|
-
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
1009
989
|
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
1010
990
|
readonly opfs_init_sqlite_opfs: () => any;
|
|
1011
991
|
readonly opfs_exists: () => number;
|
|
@@ -1019,6 +999,27 @@ export interface InitOutput {
|
|
|
1019
999
|
readonly opfs_getCapacity: () => number;
|
|
1020
1000
|
readonly opfs_addCapacity: (a: number) => any;
|
|
1021
1001
|
readonly opfs_reduceCapacity: (a: number) => any;
|
|
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 closure5339_externref_shim: (a: number, b: number, c: any) => void;
|
|
1068
|
+
readonly closure6281_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1068
1069
|
readonly __wbindgen_start: () => void;
|
|
1069
1070
|
}
|
|
1070
1071
|
|