@xmtp/wasm-bindings 1.4.0-rc1 → 1.4.0
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 +82 -79
- package/dist/bindings_wasm.js +80 -57
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +79 -77
- package/dist/version.json +3 -3
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
4
|
+
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
3
5
|
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null, allow_offline?: boolean | null, disable_events?: boolean | null, app_version?: string | null): Promise<Client>;
|
|
4
6
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
5
7
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
@@ -9,8 +11,6 @@ export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promi
|
|
|
9
11
|
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
10
12
|
export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
11
13
|
export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
|
|
12
|
-
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
13
|
-
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
14
14
|
/**
|
|
15
15
|
* Entry point invoked by JavaScript in a worker.
|
|
16
16
|
*/
|
|
@@ -265,6 +265,7 @@ export class ConversationDebugInfo {
|
|
|
265
265
|
get isCommitLogForked(): boolean | undefined;
|
|
266
266
|
set isCommitLogForked(value: boolean | null | undefined);
|
|
267
267
|
localCommitLog: string;
|
|
268
|
+
remoteCommitLog: string;
|
|
268
269
|
cursor: bigint;
|
|
269
270
|
}
|
|
270
271
|
export class ConversationListItem {
|
|
@@ -648,6 +649,8 @@ export interface InitOutput {
|
|
|
648
649
|
readonly __wbg_set_conversationdebuginfo_isCommitLogForked: (a: number, b: number) => void;
|
|
649
650
|
readonly __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
|
|
650
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;
|
|
651
654
|
readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
|
|
652
655
|
readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
|
|
653
656
|
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
@@ -695,28 +698,6 @@ export interface InitOutput {
|
|
|
695
698
|
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
696
699
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
697
700
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
698
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
699
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
700
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
701
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
702
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
703
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
704
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
705
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
706
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
707
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
708
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
709
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
710
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
711
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
712
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
713
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
714
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
715
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
716
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
717
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
718
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
719
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
720
701
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
721
702
|
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
722
703
|
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -783,6 +764,39 @@ export interface InitOutput {
|
|
|
783
764
|
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
784
765
|
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
785
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;
|
|
786
800
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
787
801
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
788
802
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -824,8 +838,6 @@ export interface InitOutput {
|
|
|
824
838
|
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
825
839
|
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
826
840
|
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
827
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
828
|
-
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
829
841
|
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
830
842
|
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
831
843
|
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
@@ -850,7 +862,6 @@ export interface InitOutput {
|
|
|
850
862
|
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
851
863
|
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
852
864
|
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
853
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
854
865
|
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
855
866
|
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
856
867
|
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
@@ -917,24 +928,27 @@ export interface InitOutput {
|
|
|
917
928
|
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
918
929
|
readonly conversation_getDebugInfo: (a: number) => any;
|
|
919
930
|
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
920
|
-
readonly
|
|
921
|
-
readonly
|
|
922
|
-
readonly
|
|
923
|
-
readonly
|
|
924
|
-
readonly
|
|
925
|
-
readonly
|
|
926
|
-
readonly
|
|
927
|
-
readonly
|
|
928
|
-
readonly
|
|
929
|
-
readonly
|
|
930
|
-
readonly
|
|
931
|
-
readonly
|
|
932
|
-
readonly
|
|
933
|
-
readonly
|
|
934
|
-
readonly
|
|
935
|
-
readonly
|
|
936
|
-
readonly
|
|
937
|
-
readonly
|
|
931
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
932
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
933
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
934
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
935
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
936
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
937
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
938
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
939
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
940
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
941
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
942
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
943
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
944
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
945
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
946
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
947
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
948
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
949
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
950
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
951
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
938
952
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
939
953
|
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
940
954
|
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
@@ -958,23 +972,14 @@ export interface InitOutput {
|
|
|
958
972
|
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
959
973
|
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
960
974
|
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
975
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
976
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
977
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
978
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
961
979
|
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
962
980
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
963
981
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
964
982
|
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
965
|
-
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
966
|
-
readonly opfs_init_sqlite_opfs: () => any;
|
|
967
|
-
readonly opfs_exists: () => number;
|
|
968
|
-
readonly opfs_error: () => [number, number];
|
|
969
|
-
readonly opfs_wipeFiles: () => any;
|
|
970
|
-
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
971
|
-
readonly opfs_getFileNames: () => [number, number];
|
|
972
|
-
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
973
|
-
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
974
|
-
readonly opfs_getFileCount: () => number;
|
|
975
|
-
readonly opfs_getCapacity: () => number;
|
|
976
|
-
readonly opfs_addCapacity: (a: number) => any;
|
|
977
|
-
readonly opfs_reduceCapacity: (a: number) => any;
|
|
978
983
|
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
979
984
|
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
980
985
|
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
@@ -996,26 +1001,24 @@ export interface InitOutput {
|
|
|
996
1001
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
997
1002
|
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
998
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;
|
|
999
1006
|
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
1000
|
-
readonly
|
|
1001
|
-
readonly
|
|
1002
|
-
readonly
|
|
1003
|
-
readonly
|
|
1004
|
-
readonly
|
|
1005
|
-
readonly
|
|
1006
|
-
readonly
|
|
1007
|
-
readonly
|
|
1008
|
-
readonly
|
|
1009
|
-
readonly
|
|
1010
|
-
readonly
|
|
1011
|
-
readonly
|
|
1012
|
-
readonly
|
|
1013
|
-
readonly
|
|
1014
|
-
readonly
|
|
1015
|
-
readonly streamcloser_end: (a: number) => void;
|
|
1016
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
1017
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
1018
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
1007
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
1008
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
1009
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
1010
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
1011
|
+
readonly opfs_exists: () => number;
|
|
1012
|
+
readonly opfs_error: () => [number, number];
|
|
1013
|
+
readonly opfs_wipeFiles: () => any;
|
|
1014
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
1015
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
1016
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
1017
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
1018
|
+
readonly opfs_getFileCount: () => number;
|
|
1019
|
+
readonly opfs_getCapacity: () => number;
|
|
1020
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
1021
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
1019
1022
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
1020
1023
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
1021
1024
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -1060,8 +1063,8 @@ export interface InitOutput {
|
|
|
1060
1063
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1061
1064
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6b9ddcbfcc08eea: (a: number, b: number) => void;
|
|
1062
1065
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd0e40dce3ea5bca1: (a: number, b: number) => void;
|
|
1063
|
-
readonly
|
|
1064
|
-
readonly
|
|
1066
|
+
readonly closure5204_externref_shim: (a: number, b: number, c: any) => void;
|
|
1067
|
+
readonly closure6131_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1065
1068
|
readonly __wbindgen_start: () => void;
|
|
1066
1069
|
}
|
|
1067
1070
|
|
package/dist/bindings_wasm.js
CHANGED
|
@@ -244,6 +244,41 @@ function takeFromExternrefTable0(idx) {
|
|
|
244
244
|
wasm.__externref_table_dealloc(idx);
|
|
245
245
|
return value;
|
|
246
246
|
}
|
|
247
|
+
/**
|
|
248
|
+
* @param {string} host
|
|
249
|
+
* @param {Identifier} accountIdentifier
|
|
250
|
+
* @returns {Promise<string | undefined>}
|
|
251
|
+
*/
|
|
252
|
+
export function getInboxIdForIdentifier(host, accountIdentifier) {
|
|
253
|
+
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
254
|
+
const len0 = WASM_VECTOR_LEN;
|
|
255
|
+
const ret = wasm.getInboxIdForIdentifier(ptr0, len0, accountIdentifier);
|
|
256
|
+
return ret;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* @param {Identifier} accountIdentifier
|
|
261
|
+
* @returns {string}
|
|
262
|
+
*/
|
|
263
|
+
export function generateInboxId(accountIdentifier) {
|
|
264
|
+
let deferred2_0;
|
|
265
|
+
let deferred2_1;
|
|
266
|
+
try {
|
|
267
|
+
const ret = wasm.generateInboxId(accountIdentifier);
|
|
268
|
+
var ptr1 = ret[0];
|
|
269
|
+
var len1 = ret[1];
|
|
270
|
+
if (ret[3]) {
|
|
271
|
+
ptr1 = 0; len1 = 0;
|
|
272
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
273
|
+
}
|
|
274
|
+
deferred2_0 = ptr1;
|
|
275
|
+
deferred2_1 = len1;
|
|
276
|
+
return getStringFromWasm0(ptr1, len1);
|
|
277
|
+
} finally {
|
|
278
|
+
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
247
282
|
/**
|
|
248
283
|
* @param {string} host
|
|
249
284
|
* @param {string} inbox_id
|
|
@@ -389,41 +424,6 @@ export function applySignatureRequest(host, signature_request) {
|
|
|
389
424
|
return ret;
|
|
390
425
|
}
|
|
391
426
|
|
|
392
|
-
/**
|
|
393
|
-
* @param {string} host
|
|
394
|
-
* @param {Identifier} accountIdentifier
|
|
395
|
-
* @returns {Promise<string | undefined>}
|
|
396
|
-
*/
|
|
397
|
-
export function getInboxIdForIdentifier(host, accountIdentifier) {
|
|
398
|
-
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
399
|
-
const len0 = WASM_VECTOR_LEN;
|
|
400
|
-
const ret = wasm.getInboxIdForIdentifier(ptr0, len0, accountIdentifier);
|
|
401
|
-
return ret;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* @param {Identifier} accountIdentifier
|
|
406
|
-
* @returns {string}
|
|
407
|
-
*/
|
|
408
|
-
export function generateInboxId(accountIdentifier) {
|
|
409
|
-
let deferred2_0;
|
|
410
|
-
let deferred2_1;
|
|
411
|
-
try {
|
|
412
|
-
const ret = wasm.generateInboxId(accountIdentifier);
|
|
413
|
-
var ptr1 = ret[0];
|
|
414
|
-
var len1 = ret[1];
|
|
415
|
-
if (ret[3]) {
|
|
416
|
-
ptr1 = 0; len1 = 0;
|
|
417
|
-
throw takeFromExternrefTable0(ret[2]);
|
|
418
|
-
}
|
|
419
|
-
deferred2_0 = ptr1;
|
|
420
|
-
deferred2_1 = len1;
|
|
421
|
-
return getStringFromWasm0(ptr1, len1);
|
|
422
|
-
} finally {
|
|
423
|
-
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
|
|
427
427
|
/**
|
|
428
428
|
* Entry point invoked by JavaScript in a worker.
|
|
429
429
|
* @param {number} ptr
|
|
@@ -444,11 +444,11 @@ function __wbg_adapter_53(arg0, arg1) {
|
|
|
444
444
|
}
|
|
445
445
|
|
|
446
446
|
function __wbg_adapter_56(arg0, arg1, arg2) {
|
|
447
|
-
wasm.
|
|
447
|
+
wasm.closure5204_externref_shim(arg0, arg1, arg2);
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
-
function
|
|
451
|
-
wasm.
|
|
450
|
+
function __wbg_adapter_793(arg0, arg1, arg2, arg3) {
|
|
451
|
+
wasm.closure6131_externref_shim(arg0, arg1, arg2, arg3);
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
/**
|
|
@@ -1218,7 +1218,7 @@ export class ContentTypeId {
|
|
|
1218
1218
|
set authorityId(arg0) {
|
|
1219
1219
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1220
1220
|
const len0 = WASM_VECTOR_LEN;
|
|
1221
|
-
wasm.
|
|
1221
|
+
wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
|
|
1222
1222
|
}
|
|
1223
1223
|
/**
|
|
1224
1224
|
* @returns {string}
|
|
@@ -1929,6 +1929,29 @@ export class ConversationDebugInfo {
|
|
|
1929
1929
|
const len0 = WASM_VECTOR_LEN;
|
|
1930
1930
|
wasm.__wbg_set_conversationdebuginfo_localCommitLog(this.__wbg_ptr, ptr0, len0);
|
|
1931
1931
|
}
|
|
1932
|
+
/**
|
|
1933
|
+
* @returns {string}
|
|
1934
|
+
*/
|
|
1935
|
+
get remoteCommitLog() {
|
|
1936
|
+
let deferred1_0;
|
|
1937
|
+
let deferred1_1;
|
|
1938
|
+
try {
|
|
1939
|
+
const ret = wasm.__wbg_get_conversationdebuginfo_remoteCommitLog(this.__wbg_ptr);
|
|
1940
|
+
deferred1_0 = ret[0];
|
|
1941
|
+
deferred1_1 = ret[1];
|
|
1942
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
1943
|
+
} finally {
|
|
1944
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
1945
|
+
}
|
|
1946
|
+
}
|
|
1947
|
+
/**
|
|
1948
|
+
* @param {string} arg0
|
|
1949
|
+
*/
|
|
1950
|
+
set remoteCommitLog(arg0) {
|
|
1951
|
+
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1952
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1953
|
+
wasm.__wbg_set_conversationdebuginfo_remoteCommitLog(this.__wbg_ptr, ptr0, len0);
|
|
1954
|
+
}
|
|
1932
1955
|
/**
|
|
1933
1956
|
* @returns {bigint}
|
|
1934
1957
|
*/
|
|
@@ -3397,27 +3420,27 @@ export class Lifetime {
|
|
|
3397
3420
|
* @returns {bigint}
|
|
3398
3421
|
*/
|
|
3399
3422
|
get not_before() {
|
|
3400
|
-
const ret = wasm.
|
|
3423
|
+
const ret = wasm.__wbg_get_lifetime_not_before(this.__wbg_ptr);
|
|
3401
3424
|
return BigInt.asUintN(64, ret);
|
|
3402
3425
|
}
|
|
3403
3426
|
/**
|
|
3404
3427
|
* @param {bigint} arg0
|
|
3405
3428
|
*/
|
|
3406
3429
|
set not_before(arg0) {
|
|
3407
|
-
wasm.
|
|
3430
|
+
wasm.__wbg_set_lifetime_not_before(this.__wbg_ptr, arg0);
|
|
3408
3431
|
}
|
|
3409
3432
|
/**
|
|
3410
3433
|
* @returns {bigint}
|
|
3411
3434
|
*/
|
|
3412
3435
|
get not_after() {
|
|
3413
|
-
const ret = wasm.
|
|
3436
|
+
const ret = wasm.__wbg_get_lifetime_not_after(this.__wbg_ptr);
|
|
3414
3437
|
return BigInt.asUintN(64, ret);
|
|
3415
3438
|
}
|
|
3416
3439
|
/**
|
|
3417
3440
|
* @param {bigint} arg0
|
|
3418
3441
|
*/
|
|
3419
3442
|
set not_after(arg0) {
|
|
3420
|
-
wasm.
|
|
3443
|
+
wasm.__wbg_set_lifetime_not_after(this.__wbg_ptr, arg0);
|
|
3421
3444
|
}
|
|
3422
3445
|
}
|
|
3423
3446
|
|
|
@@ -4486,7 +4509,7 @@ export class Reaction {
|
|
|
4486
4509
|
set referenceInboxId(arg0) {
|
|
4487
4510
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4488
4511
|
const len0 = WASM_VECTOR_LEN;
|
|
4489
|
-
wasm.
|
|
4512
|
+
wasm.__wbg_set_contenttypeid_typeId(this.__wbg_ptr, ptr0, len0);
|
|
4490
4513
|
}
|
|
4491
4514
|
/**
|
|
4492
4515
|
* @returns {ReactionAction}
|
|
@@ -5380,7 +5403,7 @@ function __wbg_get_imports() {
|
|
|
5380
5403
|
const a = state0.a;
|
|
5381
5404
|
state0.a = 0;
|
|
5382
5405
|
try {
|
|
5383
|
-
return
|
|
5406
|
+
return __wbg_adapter_793(a, state0.b, arg0, arg1);
|
|
5384
5407
|
} finally {
|
|
5385
5408
|
state0.a = a;
|
|
5386
5409
|
}
|
|
@@ -5488,22 +5511,22 @@ function __wbg_get_imports() {
|
|
|
5488
5511
|
const ret = arg0.now();
|
|
5489
5512
|
return ret;
|
|
5490
5513
|
};
|
|
5491
|
-
imports.wbg.
|
|
5514
|
+
imports.wbg.__wbg_onclose_41c0e518c248c385 = function(arg0) {
|
|
5492
5515
|
arg0.on_close();
|
|
5493
5516
|
};
|
|
5494
|
-
imports.wbg.
|
|
5517
|
+
imports.wbg.__wbg_onconsentupdate_db1d3557f75e3dcb = function(arg0, arg1) {
|
|
5495
5518
|
arg0.on_consent_update(arg1);
|
|
5496
5519
|
};
|
|
5497
|
-
imports.wbg.
|
|
5520
|
+
imports.wbg.__wbg_onconversation_db4f9c3d8e604f5d = function(arg0, arg1) {
|
|
5498
5521
|
arg0.on_conversation(Conversation.__wrap(arg1));
|
|
5499
5522
|
};
|
|
5500
|
-
imports.wbg.
|
|
5523
|
+
imports.wbg.__wbg_onerror_2796011afc1733e7 = function(arg0, arg1) {
|
|
5501
5524
|
arg0.on_error(arg1);
|
|
5502
5525
|
};
|
|
5503
|
-
imports.wbg.
|
|
5526
|
+
imports.wbg.__wbg_onmessage_887b149a5a48d19c = function(arg0, arg1) {
|
|
5504
5527
|
arg0.on_message(Message.__wrap(arg1));
|
|
5505
5528
|
};
|
|
5506
|
-
imports.wbg.
|
|
5529
|
+
imports.wbg.__wbg_onuserpreferenceupdate_fd1d58e970305771 = function(arg0, arg1, arg2) {
|
|
5507
5530
|
var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
|
|
5508
5531
|
wasm.__wbindgen_free(arg1, arg2 * 4, 4);
|
|
5509
5532
|
arg0.on_user_preference_update(v0);
|
|
@@ -5792,16 +5815,16 @@ function __wbg_get_imports() {
|
|
|
5792
5815
|
const ret = false;
|
|
5793
5816
|
return ret;
|
|
5794
5817
|
};
|
|
5795
|
-
imports.wbg.
|
|
5796
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5818
|
+
imports.wbg.__wbindgen_closure_wrapper20273 = function(arg0, arg1, arg2) {
|
|
5819
|
+
const ret = makeMutClosure(arg0, arg1, 4907, __wbg_adapter_50);
|
|
5797
5820
|
return ret;
|
|
5798
5821
|
};
|
|
5799
|
-
imports.wbg.
|
|
5800
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5822
|
+
imports.wbg.__wbindgen_closure_wrapper22394 = function(arg0, arg1, arg2) {
|
|
5823
|
+
const ret = makeMutClosure(arg0, arg1, 5181, __wbg_adapter_53);
|
|
5801
5824
|
return ret;
|
|
5802
5825
|
};
|
|
5803
|
-
imports.wbg.
|
|
5804
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5826
|
+
imports.wbg.__wbindgen_closure_wrapper23049 = function(arg0, arg1, arg2) {
|
|
5827
|
+
const ret = makeMutClosure(arg0, arg1, 5205, __wbg_adapter_56);
|
|
5805
5828
|
return ret;
|
|
5806
5829
|
};
|
|
5807
5830
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -28,6 +28,8 @@ export const __wbg_get_conversationdebuginfo_isCommitLogForked: (a: number) => n
|
|
|
28
28
|
export const __wbg_set_conversationdebuginfo_isCommitLogForked: (a: number, b: number) => void;
|
|
29
29
|
export const __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
|
|
30
30
|
export const __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
|
|
31
|
+
export const __wbg_get_conversationdebuginfo_remoteCommitLog: (a: number) => [number, number];
|
|
32
|
+
export const __wbg_set_conversationdebuginfo_remoteCommitLog: (a: number, b: number, c: number) => void;
|
|
31
33
|
export const __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
|
|
32
34
|
export const __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
|
|
33
35
|
export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
@@ -75,28 +77,6 @@ export const conversations_stream: (a: number, b: any, c: number) => [number, nu
|
|
|
75
77
|
export const conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
76
78
|
export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
77
79
|
export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
78
|
-
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
79
|
-
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
80
|
-
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
81
|
-
export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
82
|
-
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
83
|
-
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
84
|
-
export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
85
|
-
export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
86
|
-
export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
87
|
-
export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
88
|
-
export const __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
89
|
-
export const __wbg_get_encodedcontent_type: (a: number) => number;
|
|
90
|
-
export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
91
|
-
export const __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
92
|
-
export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
93
|
-
export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
94
|
-
export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
95
|
-
export const __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
96
|
-
export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
97
|
-
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
98
|
-
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
99
|
-
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
100
80
|
export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
101
81
|
export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
102
82
|
export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -163,6 +143,39 @@ export const permissionpolicyset_new: (a: number, b: number, c: number, d: numbe
|
|
|
163
143
|
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
164
144
|
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
165
145
|
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
146
|
+
export const __wbg_apistats_free: (a: number, b: number) => void;
|
|
147
|
+
export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
148
|
+
export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
149
|
+
export const __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
150
|
+
export const __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
151
|
+
export const __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
152
|
+
export const __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
153
|
+
export const __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
154
|
+
export const __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
155
|
+
export const __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
156
|
+
export const __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
157
|
+
export const __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
158
|
+
export const __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
159
|
+
export const __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
160
|
+
export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
161
|
+
export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
162
|
+
export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
163
|
+
export const __wbg_identitystats_free: (a: number, b: number) => void;
|
|
164
|
+
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
165
|
+
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
166
|
+
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
167
|
+
export const streamcloser_end: (a: number) => void;
|
|
168
|
+
export const streamcloser_endAndWait: (a: number) => any;
|
|
169
|
+
export const streamcloser_waitForReady: (a: number) => any;
|
|
170
|
+
export const streamcloser_isClosed: (a: number) => number;
|
|
171
|
+
export const __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
172
|
+
export const __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
173
|
+
export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
174
|
+
export const __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
175
|
+
export const __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
176
|
+
export const __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
177
|
+
export const __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
178
|
+
export const __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
166
179
|
export const __wbg_client_free: (a: number, b: number) => void;
|
|
167
180
|
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
168
181
|
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -204,8 +217,6 @@ export const client_getConsentState: (a: number, b: number, c: number, d: number
|
|
|
204
217
|
export const conversation_consentState: (a: number) => [number, number, number];
|
|
205
218
|
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
206
219
|
export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
207
|
-
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
208
|
-
export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
209
220
|
export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
210
221
|
export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
211
222
|
export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
@@ -230,7 +241,6 @@ export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
|
230
241
|
export const __wbg_reaction_free: (a: number, b: number) => void;
|
|
231
242
|
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
232
243
|
export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
233
|
-
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
234
244
|
export const __wbg_get_reaction_action: (a: number) => number;
|
|
235
245
|
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
236
246
|
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
@@ -297,24 +307,27 @@ export const conversation_isMessageDisappearingEnabled: (a: number) => [number,
|
|
|
297
307
|
export const conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
298
308
|
export const conversation_getDebugInfo: (a: number) => any;
|
|
299
309
|
export const conversation_findDuplicateDms: (a: number) => any;
|
|
300
|
-
export const
|
|
301
|
-
export const
|
|
302
|
-
export const
|
|
303
|
-
export const
|
|
304
|
-
export const
|
|
305
|
-
export const
|
|
306
|
-
export const
|
|
307
|
-
export const
|
|
308
|
-
export const
|
|
309
|
-
export const
|
|
310
|
-
export const
|
|
311
|
-
export const
|
|
312
|
-
export const
|
|
313
|
-
export const
|
|
314
|
-
export const
|
|
315
|
-
export const
|
|
316
|
-
export const
|
|
317
|
-
export const
|
|
310
|
+
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
311
|
+
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
312
|
+
export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
313
|
+
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
314
|
+
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
315
|
+
export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
316
|
+
export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
317
|
+
export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
318
|
+
export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
319
|
+
export const __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
320
|
+
export const __wbg_get_encodedcontent_type: (a: number) => number;
|
|
321
|
+
export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
322
|
+
export const __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
323
|
+
export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
324
|
+
export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
325
|
+
export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
326
|
+
export const __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
327
|
+
export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
328
|
+
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
329
|
+
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
330
|
+
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
318
331
|
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
319
332
|
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
320
333
|
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
@@ -338,23 +351,14 @@ export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void
|
|
|
338
351
|
export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
339
352
|
export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
340
353
|
export const __wbg_lifetime_free: (a: number, b: number) => void;
|
|
354
|
+
export const __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
355
|
+
export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
356
|
+
export const __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
357
|
+
export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
341
358
|
export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
342
359
|
export const client_inboxState: (a: number, b: number) => any;
|
|
343
360
|
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
344
361
|
export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
345
|
-
export const __wbg_opfs_free: (a: number, b: number) => void;
|
|
346
|
-
export const opfs_init_sqlite_opfs: () => any;
|
|
347
|
-
export const opfs_exists: () => number;
|
|
348
|
-
export const opfs_error: () => [number, number];
|
|
349
|
-
export const opfs_wipeFiles: () => any;
|
|
350
|
-
export const opfs_rm: (a: number, b: number) => [number, number, number];
|
|
351
|
-
export const opfs_getFileNames: () => [number, number];
|
|
352
|
-
export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
353
|
-
export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
354
|
-
export const opfs_getFileCount: () => number;
|
|
355
|
-
export const opfs_getCapacity: () => number;
|
|
356
|
-
export const opfs_addCapacity: (a: number) => any;
|
|
357
|
-
export const opfs_reduceCapacity: (a: number) => any;
|
|
358
362
|
export const __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
359
363
|
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
360
364
|
export const revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
@@ -376,26 +380,24 @@ export const client_signWithInstallationKey: (a: number, b: number, c: number) =
|
|
|
376
380
|
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
377
381
|
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
378
382
|
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
383
|
+
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
384
|
+
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
379
385
|
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
380
|
-
export const
|
|
381
|
-
export const
|
|
382
|
-
export const
|
|
383
|
-
export const
|
|
384
|
-
export const
|
|
385
|
-
export const
|
|
386
|
-
export const
|
|
387
|
-
export const
|
|
388
|
-
export const
|
|
389
|
-
export const
|
|
390
|
-
export const
|
|
391
|
-
export const
|
|
392
|
-
export const
|
|
393
|
-
export const
|
|
394
|
-
export const
|
|
395
|
-
export const streamcloser_end: (a: number) => void;
|
|
396
|
-
export const streamcloser_endAndWait: (a: number) => any;
|
|
397
|
-
export const streamcloser_waitForReady: (a: number) => any;
|
|
398
|
-
export const streamcloser_isClosed: (a: number) => number;
|
|
386
|
+
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
387
|
+
export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
388
|
+
export const __wbg_opfs_free: (a: number, b: number) => void;
|
|
389
|
+
export const opfs_init_sqlite_opfs: () => any;
|
|
390
|
+
export const opfs_exists: () => number;
|
|
391
|
+
export const opfs_error: () => [number, number];
|
|
392
|
+
export const opfs_wipeFiles: () => any;
|
|
393
|
+
export const opfs_rm: (a: number, b: number) => [number, number, number];
|
|
394
|
+
export const opfs_getFileNames: () => [number, number];
|
|
395
|
+
export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
396
|
+
export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
397
|
+
export const opfs_getFileCount: () => number;
|
|
398
|
+
export const opfs_getCapacity: () => number;
|
|
399
|
+
export const opfs_addCapacity: (a: number) => any;
|
|
400
|
+
export const opfs_reduceCapacity: (a: number) => any;
|
|
399
401
|
export const rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
400
402
|
export const rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
401
403
|
export const rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -440,6 +442,6 @@ export const __wbindgen_export_7: WebAssembly.Table;
|
|
|
440
442
|
export const __externref_table_dealloc: (a: number) => void;
|
|
441
443
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6b9ddcbfcc08eea: (a: number, b: number) => void;
|
|
442
444
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd0e40dce3ea5bca1: (a: number, b: number) => void;
|
|
443
|
-
export const
|
|
444
|
-
export const
|
|
445
|
+
export const closure5204_externref_shim: (a: number, b: number, c: any) => void;
|
|
446
|
+
export const closure6131_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
445
447
|
export const __wbindgen_start: () => void;
|
package/dist/version.json
CHANGED