@xmtp/wasm-bindings 1.4.0-rc1 → 1.4.0-rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bindings_wasm.d.ts +79 -79
- package/dist/bindings_wasm.js +55 -55
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +77 -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
|
*/
|
|
@@ -695,28 +695,6 @@ export interface InitOutput {
|
|
|
695
695
|
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
696
696
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
697
697
|
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
698
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
721
699
|
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
722
700
|
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -762,6 +740,52 @@ export interface InitOutput {
|
|
|
762
740
|
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
763
741
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
764
742
|
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
743
|
+
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
744
|
+
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
745
|
+
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
746
|
+
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
747
|
+
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
748
|
+
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
749
|
+
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
750
|
+
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
751
|
+
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
752
|
+
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
753
|
+
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
754
|
+
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
755
|
+
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
756
|
+
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
757
|
+
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
758
|
+
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
759
|
+
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
760
|
+
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
761
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
762
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
763
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
764
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
765
|
+
readonly opfs_exists: () => number;
|
|
766
|
+
readonly opfs_error: () => [number, number];
|
|
767
|
+
readonly opfs_wipeFiles: () => any;
|
|
768
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
769
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
770
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
771
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
772
|
+
readonly opfs_getFileCount: () => number;
|
|
773
|
+
readonly opfs_getCapacity: () => number;
|
|
774
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
775
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
776
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
777
|
+
readonly streamcloser_end: (a: number) => void;
|
|
778
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
779
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
780
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
781
|
+
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
782
|
+
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
783
|
+
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
784
|
+
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
785
|
+
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
786
|
+
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
787
|
+
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
788
|
+
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
765
789
|
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
766
790
|
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
767
791
|
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -824,8 +848,6 @@ export interface InitOutput {
|
|
|
824
848
|
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
825
849
|
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
826
850
|
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
851
|
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
830
852
|
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
831
853
|
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
@@ -850,7 +872,6 @@ export interface InitOutput {
|
|
|
850
872
|
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
851
873
|
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
852
874
|
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
853
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
854
875
|
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
855
876
|
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
856
877
|
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
@@ -917,24 +938,27 @@ export interface InitOutput {
|
|
|
917
938
|
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
918
939
|
readonly conversation_getDebugInfo: (a: number) => any;
|
|
919
940
|
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
|
|
941
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
942
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
943
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
944
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
945
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
946
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
947
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
948
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
949
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
950
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
951
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
952
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
953
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
954
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
955
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
956
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
957
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
958
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
959
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
960
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
961
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
938
962
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
939
963
|
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
940
964
|
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
@@ -958,23 +982,14 @@ export interface InitOutput {
|
|
|
958
982
|
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
959
983
|
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
960
984
|
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
985
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
986
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
987
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
988
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
961
989
|
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
962
990
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
963
991
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
964
992
|
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
993
|
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
979
994
|
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
980
995
|
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
@@ -996,26 +1011,11 @@ export interface InitOutput {
|
|
|
996
1011
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
997
1012
|
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
998
1013
|
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
1014
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
1015
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
999
1016
|
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
1000
|
-
readonly
|
|
1001
|
-
readonly
|
|
1002
|
-
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
1003
|
-
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
1004
|
-
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
1005
|
-
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
1006
|
-
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
1007
|
-
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
1008
|
-
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
1009
|
-
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
1010
|
-
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
1011
|
-
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
1012
|
-
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
1013
|
-
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
1014
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
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;
|
|
1017
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
1018
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
1019
1019
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
1020
1020
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
1021
1021
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -1060,8 +1060,8 @@ export interface InitOutput {
|
|
|
1060
1060
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1061
1061
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6b9ddcbfcc08eea: (a: number, b: number) => void;
|
|
1062
1062
|
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
|
|
1063
|
+
readonly closure5188_externref_shim: (a: number, b: number, c: any) => void;
|
|
1064
|
+
readonly closure6115_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1065
1065
|
readonly __wbindgen_start: () => void;
|
|
1066
1066
|
}
|
|
1067
1067
|
|
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.closure5188_externref_shim(arg0, arg1, arg2);
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
function __wbg_adapter_791(arg0, arg1, arg2, arg3) {
|
|
451
|
-
wasm.
|
|
451
|
+
wasm.closure6115_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}
|
|
@@ -3397,27 +3397,27 @@ export class Lifetime {
|
|
|
3397
3397
|
* @returns {bigint}
|
|
3398
3398
|
*/
|
|
3399
3399
|
get not_before() {
|
|
3400
|
-
const ret = wasm.
|
|
3400
|
+
const ret = wasm.__wbg_get_lifetime_not_before(this.__wbg_ptr);
|
|
3401
3401
|
return BigInt.asUintN(64, ret);
|
|
3402
3402
|
}
|
|
3403
3403
|
/**
|
|
3404
3404
|
* @param {bigint} arg0
|
|
3405
3405
|
*/
|
|
3406
3406
|
set not_before(arg0) {
|
|
3407
|
-
wasm.
|
|
3407
|
+
wasm.__wbg_set_lifetime_not_before(this.__wbg_ptr, arg0);
|
|
3408
3408
|
}
|
|
3409
3409
|
/**
|
|
3410
3410
|
* @returns {bigint}
|
|
3411
3411
|
*/
|
|
3412
3412
|
get not_after() {
|
|
3413
|
-
const ret = wasm.
|
|
3413
|
+
const ret = wasm.__wbg_get_lifetime_not_after(this.__wbg_ptr);
|
|
3414
3414
|
return BigInt.asUintN(64, ret);
|
|
3415
3415
|
}
|
|
3416
3416
|
/**
|
|
3417
3417
|
* @param {bigint} arg0
|
|
3418
3418
|
*/
|
|
3419
3419
|
set not_after(arg0) {
|
|
3420
|
-
wasm.
|
|
3420
|
+
wasm.__wbg_set_lifetime_not_after(this.__wbg_ptr, arg0);
|
|
3421
3421
|
}
|
|
3422
3422
|
}
|
|
3423
3423
|
|
|
@@ -4486,7 +4486,7 @@ export class Reaction {
|
|
|
4486
4486
|
set referenceInboxId(arg0) {
|
|
4487
4487
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4488
4488
|
const len0 = WASM_VECTOR_LEN;
|
|
4489
|
-
wasm.
|
|
4489
|
+
wasm.__wbg_set_contenttypeid_typeId(this.__wbg_ptr, ptr0, len0);
|
|
4490
4490
|
}
|
|
4491
4491
|
/**
|
|
4492
4492
|
* @returns {ReactionAction}
|
|
@@ -5488,22 +5488,22 @@ function __wbg_get_imports() {
|
|
|
5488
5488
|
const ret = arg0.now();
|
|
5489
5489
|
return ret;
|
|
5490
5490
|
};
|
|
5491
|
-
imports.wbg.
|
|
5491
|
+
imports.wbg.__wbg_onclose_7d18d767375a80e8 = function(arg0) {
|
|
5492
5492
|
arg0.on_close();
|
|
5493
5493
|
};
|
|
5494
|
-
imports.wbg.
|
|
5494
|
+
imports.wbg.__wbg_onconsentupdate_f0714066eb67dbfc = function(arg0, arg1) {
|
|
5495
5495
|
arg0.on_consent_update(arg1);
|
|
5496
5496
|
};
|
|
5497
|
-
imports.wbg.
|
|
5497
|
+
imports.wbg.__wbg_onconversation_8944d536d3d6df1a = function(arg0, arg1) {
|
|
5498
5498
|
arg0.on_conversation(Conversation.__wrap(arg1));
|
|
5499
5499
|
};
|
|
5500
|
-
imports.wbg.
|
|
5500
|
+
imports.wbg.__wbg_onerror_375f7d83c5a2f377 = function(arg0, arg1) {
|
|
5501
5501
|
arg0.on_error(arg1);
|
|
5502
5502
|
};
|
|
5503
|
-
imports.wbg.
|
|
5503
|
+
imports.wbg.__wbg_onmessage_1827d39fdf94fe31 = function(arg0, arg1) {
|
|
5504
5504
|
arg0.on_message(Message.__wrap(arg1));
|
|
5505
5505
|
};
|
|
5506
|
-
imports.wbg.
|
|
5506
|
+
imports.wbg.__wbg_onuserpreferenceupdate_7ecb525805cd1aac = function(arg0, arg1, arg2) {
|
|
5507
5507
|
var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
|
|
5508
5508
|
wasm.__wbindgen_free(arg1, arg2 * 4, 4);
|
|
5509
5509
|
arg0.on_user_preference_update(v0);
|
|
@@ -5792,16 +5792,16 @@ function __wbg_get_imports() {
|
|
|
5792
5792
|
const ret = false;
|
|
5793
5793
|
return ret;
|
|
5794
5794
|
};
|
|
5795
|
-
imports.wbg.
|
|
5796
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5795
|
+
imports.wbg.__wbindgen_closure_wrapper20235 = function(arg0, arg1, arg2) {
|
|
5796
|
+
const ret = makeMutClosure(arg0, arg1, 4891, __wbg_adapter_50);
|
|
5797
5797
|
return ret;
|
|
5798
5798
|
};
|
|
5799
|
-
imports.wbg.
|
|
5800
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5799
|
+
imports.wbg.__wbindgen_closure_wrapper22355 = function(arg0, arg1, arg2) {
|
|
5800
|
+
const ret = makeMutClosure(arg0, arg1, 5165, __wbg_adapter_53);
|
|
5801
5801
|
return ret;
|
|
5802
5802
|
};
|
|
5803
|
-
imports.wbg.
|
|
5804
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5803
|
+
imports.wbg.__wbindgen_closure_wrapper23010 = function(arg0, arg1, arg2) {
|
|
5804
|
+
const ret = makeMutClosure(arg0, arg1, 5189, __wbg_adapter_56);
|
|
5805
5805
|
return ret;
|
|
5806
5806
|
};
|
|
5807
5807
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -75,28 +75,6 @@ export const conversations_stream: (a: number, b: any, c: number) => [number, nu
|
|
|
75
75
|
export const conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
76
76
|
export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
77
77
|
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
78
|
export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
101
79
|
export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
102
80
|
export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -142,6 +120,52 @@ export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
|
142
120
|
export const __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
143
121
|
export const __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
144
122
|
export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
123
|
+
export const __wbg_apistats_free: (a: number, b: number) => void;
|
|
124
|
+
export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
125
|
+
export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
126
|
+
export const __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
127
|
+
export const __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
128
|
+
export const __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
129
|
+
export const __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
130
|
+
export const __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
131
|
+
export const __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
132
|
+
export const __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
133
|
+
export const __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
134
|
+
export const __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
135
|
+
export const __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
136
|
+
export const __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
137
|
+
export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
138
|
+
export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
139
|
+
export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
140
|
+
export const __wbg_identitystats_free: (a: number, b: number) => void;
|
|
141
|
+
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
142
|
+
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
143
|
+
export const __wbg_opfs_free: (a: number, b: number) => void;
|
|
144
|
+
export const opfs_init_sqlite_opfs: () => any;
|
|
145
|
+
export const opfs_exists: () => number;
|
|
146
|
+
export const opfs_error: () => [number, number];
|
|
147
|
+
export const opfs_wipeFiles: () => any;
|
|
148
|
+
export const opfs_rm: (a: number, b: number) => [number, number, number];
|
|
149
|
+
export const opfs_getFileNames: () => [number, number];
|
|
150
|
+
export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
151
|
+
export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
152
|
+
export const opfs_getFileCount: () => number;
|
|
153
|
+
export const opfs_getCapacity: () => number;
|
|
154
|
+
export const opfs_addCapacity: (a: number) => any;
|
|
155
|
+
export const opfs_reduceCapacity: (a: number) => any;
|
|
156
|
+
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
157
|
+
export const streamcloser_end: (a: number) => void;
|
|
158
|
+
export const streamcloser_endAndWait: (a: number) => any;
|
|
159
|
+
export const streamcloser_waitForReady: (a: number) => any;
|
|
160
|
+
export const streamcloser_isClosed: (a: number) => number;
|
|
161
|
+
export const __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
162
|
+
export const __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
163
|
+
export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
164
|
+
export const __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
165
|
+
export const __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
166
|
+
export const __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
167
|
+
export const __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
168
|
+
export const __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
145
169
|
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
146
170
|
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
147
171
|
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -204,8 +228,6 @@ export const client_getConsentState: (a: number, b: number, c: number, d: number
|
|
|
204
228
|
export const conversation_consentState: (a: number) => [number, number, number];
|
|
205
229
|
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
206
230
|
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
231
|
export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
210
232
|
export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
211
233
|
export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
@@ -230,7 +252,6 @@ export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
|
230
252
|
export const __wbg_reaction_free: (a: number, b: number) => void;
|
|
231
253
|
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
232
254
|
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
255
|
export const __wbg_get_reaction_action: (a: number) => number;
|
|
235
256
|
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
236
257
|
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
@@ -297,24 +318,27 @@ export const conversation_isMessageDisappearingEnabled: (a: number) => [number,
|
|
|
297
318
|
export const conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
298
319
|
export const conversation_getDebugInfo: (a: number) => any;
|
|
299
320
|
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
|
|
321
|
+
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
322
|
+
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
323
|
+
export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
324
|
+
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
325
|
+
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
326
|
+
export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
327
|
+
export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
328
|
+
export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
329
|
+
export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
330
|
+
export const __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
331
|
+
export const __wbg_get_encodedcontent_type: (a: number) => number;
|
|
332
|
+
export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
333
|
+
export const __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
334
|
+
export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
335
|
+
export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
336
|
+
export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
337
|
+
export const __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
338
|
+
export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
339
|
+
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
340
|
+
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
341
|
+
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
318
342
|
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
319
343
|
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
320
344
|
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
@@ -338,23 +362,14 @@ export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void
|
|
|
338
362
|
export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
339
363
|
export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
340
364
|
export const __wbg_lifetime_free: (a: number, b: number) => void;
|
|
365
|
+
export const __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
366
|
+
export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
367
|
+
export const __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
368
|
+
export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
341
369
|
export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
342
370
|
export const client_inboxState: (a: number, b: number) => any;
|
|
343
371
|
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
344
372
|
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
373
|
export const __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
359
374
|
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
360
375
|
export const revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
@@ -376,26 +391,11 @@ export const client_signWithInstallationKey: (a: number, b: number, c: number) =
|
|
|
376
391
|
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
377
392
|
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
378
393
|
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
394
|
+
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
395
|
+
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
379
396
|
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
380
|
-
export const
|
|
381
|
-
export const
|
|
382
|
-
export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
383
|
-
export const __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
384
|
-
export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
385
|
-
export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
386
|
-
export const __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
387
|
-
export const __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
388
|
-
export const __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
389
|
-
export const __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
390
|
-
export const __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
391
|
-
export const __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
392
|
-
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
393
|
-
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
394
|
-
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
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;
|
|
397
|
+
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
398
|
+
export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
399
399
|
export const rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
400
400
|
export const rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
401
401
|
export const rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -440,6 +440,6 @@ export const __wbindgen_export_7: WebAssembly.Table;
|
|
|
440
440
|
export const __externref_table_dealloc: (a: number) => void;
|
|
441
441
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6b9ddcbfcc08eea: (a: number, b: number) => void;
|
|
442
442
|
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
|
|
443
|
+
export const closure5188_externref_shim: (a: number, b: number, c: any) => void;
|
|
444
|
+
export const closure6115_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
445
445
|
export const __wbindgen_start: () => void;
|
package/dist/version.json
CHANGED