@xmtp/wasm-bindings 1.4.0 → 1.5.0-dev.c78b650
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 +81 -81
- package/dist/bindings_wasm.js +49 -51
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +79 -79
- package/dist/version.json +3 -3
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -111,6 +111,8 @@ type LogLevel = "off" | "error" | "warn" | "info" | "debug" | "trace";
|
|
|
111
111
|
* *This API requires the following crate features to be activated: `ReadableStreamType`*
|
|
112
112
|
*/
|
|
113
113
|
type ReadableStreamType = "bytes";
|
|
114
|
+
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
115
|
+
|
|
114
116
|
export interface Identifier {
|
|
115
117
|
identifier: string;
|
|
116
118
|
identifierKind: IdentifierKind;
|
|
@@ -118,8 +120,6 @@ export interface Identifier {
|
|
|
118
120
|
|
|
119
121
|
export type IdentifierKind = "Ethereum" | "Passkey";
|
|
120
122
|
|
|
121
|
-
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
122
|
-
|
|
123
123
|
export class ApiStats {
|
|
124
124
|
private constructor();
|
|
125
125
|
free(): void;
|
|
@@ -622,6 +622,13 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
622
622
|
|
|
623
623
|
export interface InitOutput {
|
|
624
624
|
readonly memory: WebAssembly.Memory;
|
|
625
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
626
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
627
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
628
|
+
readonly streamcloser_end: (a: number) => void;
|
|
629
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
630
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
631
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
625
632
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
626
633
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
627
634
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -698,6 +705,28 @@ export interface InitOutput {
|
|
|
698
705
|
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
699
706
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
700
707
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
708
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
709
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
710
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
711
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
712
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
713
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
714
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
715
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
716
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
717
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
718
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
719
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
720
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
721
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
722
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
723
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
724
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
725
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
726
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
727
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
728
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
729
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
701
730
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
702
731
|
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
703
732
|
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -764,39 +793,6 @@ export interface InitOutput {
|
|
|
764
793
|
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
765
794
|
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
766
795
|
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
796
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
801
797
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
802
798
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -838,6 +834,8 @@ export interface InitOutput {
|
|
|
838
834
|
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
839
835
|
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
840
836
|
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
837
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
838
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
841
839
|
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
842
840
|
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
843
841
|
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
@@ -862,6 +860,7 @@ export interface InitOutput {
|
|
|
862
860
|
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
863
861
|
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
864
862
|
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
863
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
865
864
|
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
866
865
|
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
867
866
|
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
@@ -928,27 +927,24 @@ export interface InitOutput {
|
|
|
928
927
|
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
929
928
|
readonly conversation_getDebugInfo: (a: number) => any;
|
|
930
929
|
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
931
|
-
readonly
|
|
932
|
-
readonly
|
|
933
|
-
readonly
|
|
934
|
-
readonly
|
|
935
|
-
readonly
|
|
936
|
-
readonly
|
|
937
|
-
readonly
|
|
938
|
-
readonly
|
|
939
|
-
readonly
|
|
940
|
-
readonly
|
|
941
|
-
readonly
|
|
942
|
-
readonly
|
|
943
|
-
readonly
|
|
944
|
-
readonly
|
|
945
|
-
readonly
|
|
946
|
-
readonly
|
|
947
|
-
readonly
|
|
948
|
-
readonly
|
|
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;
|
|
930
|
+
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
931
|
+
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
932
|
+
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
933
|
+
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
934
|
+
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
935
|
+
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
936
|
+
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
937
|
+
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
938
|
+
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
939
|
+
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
940
|
+
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
941
|
+
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
942
|
+
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
943
|
+
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
944
|
+
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
945
|
+
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
946
|
+
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
947
|
+
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
952
948
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
953
949
|
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
954
950
|
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
@@ -972,14 +968,23 @@ export interface InitOutput {
|
|
|
972
968
|
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
973
969
|
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
974
970
|
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;
|
|
979
971
|
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
980
972
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
981
973
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
982
974
|
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
975
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
976
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
977
|
+
readonly opfs_exists: () => number;
|
|
978
|
+
readonly opfs_error: () => [number, number];
|
|
979
|
+
readonly opfs_wipeFiles: () => any;
|
|
980
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
981
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
982
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
983
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
984
|
+
readonly opfs_getFileCount: () => number;
|
|
985
|
+
readonly opfs_getCapacity: () => number;
|
|
986
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
987
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
983
988
|
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
984
989
|
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
985
990
|
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
@@ -1001,24 +1006,19 @@ export interface InitOutput {
|
|
|
1001
1006
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
1002
1007
|
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
1003
1008
|
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
1009
|
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
1007
|
-
readonly
|
|
1008
|
-
readonly
|
|
1009
|
-
readonly
|
|
1010
|
-
readonly
|
|
1011
|
-
readonly
|
|
1012
|
-
readonly
|
|
1013
|
-
readonly
|
|
1014
|
-
readonly
|
|
1015
|
-
readonly
|
|
1016
|
-
readonly
|
|
1017
|
-
readonly
|
|
1018
|
-
readonly
|
|
1019
|
-
readonly opfs_getCapacity: () => number;
|
|
1020
|
-
readonly opfs_addCapacity: (a: number) => any;
|
|
1021
|
-
readonly opfs_reduceCapacity: (a: number) => any;
|
|
1010
|
+
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
1011
|
+
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
1012
|
+
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
1013
|
+
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
1014
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
1015
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
1016
|
+
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
1017
|
+
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
1018
|
+
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
1019
|
+
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
1020
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
1021
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
1022
1022
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
1023
1023
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
1024
1024
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -1061,10 +1061,10 @@ export interface InitOutput {
|
|
|
1061
1061
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1062
1062
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
1063
1063
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1064
|
-
readonly
|
|
1065
|
-
readonly
|
|
1066
|
-
readonly
|
|
1067
|
-
readonly
|
|
1064
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1abf41465a2d63c6: (a: number, b: number) => void;
|
|
1065
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8ef89b805ac22e85: (a: number, b: number) => void;
|
|
1066
|
+
readonly closure5253_externref_shim: (a: number, b: number, c: any) => void;
|
|
1067
|
+
readonly closure6187_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1068
1068
|
readonly __wbindgen_start: () => void;
|
|
1069
1069
|
}
|
|
1070
1070
|
|
package/dist/bindings_wasm.js
CHANGED
|
@@ -215,35 +215,6 @@ function debugString(val) {
|
|
|
215
215
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
216
216
|
return className;
|
|
217
217
|
}
|
|
218
|
-
|
|
219
|
-
function passArrayJsValueToWasm0(array, malloc) {
|
|
220
|
-
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
221
|
-
for (let i = 0; i < array.length; i++) {
|
|
222
|
-
const add = addToExternrefTable0(array[i]);
|
|
223
|
-
getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
|
|
224
|
-
}
|
|
225
|
-
WASM_VECTOR_LEN = array.length;
|
|
226
|
-
return ptr;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
function _assertClass(instance, klass) {
|
|
230
|
-
if (!(instance instanceof klass)) {
|
|
231
|
-
throw new Error(`expected instance of ${klass.name}`);
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
function passArray8ToWasm0(arg, malloc) {
|
|
236
|
-
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
237
|
-
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
238
|
-
WASM_VECTOR_LEN = arg.length;
|
|
239
|
-
return ptr;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
function takeFromExternrefTable0(idx) {
|
|
243
|
-
const value = wasm.__wbindgen_export_4.get(idx);
|
|
244
|
-
wasm.__externref_table_dealloc(idx);
|
|
245
|
-
return value;
|
|
246
|
-
}
|
|
247
218
|
/**
|
|
248
219
|
* @param {string} host
|
|
249
220
|
* @param {Identifier} accountIdentifier
|
|
@@ -256,6 +227,11 @@ export function getInboxIdForIdentifier(host, accountIdentifier) {
|
|
|
256
227
|
return ret;
|
|
257
228
|
}
|
|
258
229
|
|
|
230
|
+
function takeFromExternrefTable0(idx) {
|
|
231
|
+
const value = wasm.__wbindgen_export_4.get(idx);
|
|
232
|
+
wasm.__externref_table_dealloc(idx);
|
|
233
|
+
return value;
|
|
234
|
+
}
|
|
259
235
|
/**
|
|
260
236
|
* @param {Identifier} accountIdentifier
|
|
261
237
|
* @returns {string}
|
|
@@ -279,6 +255,28 @@ export function generateInboxId(accountIdentifier) {
|
|
|
279
255
|
}
|
|
280
256
|
}
|
|
281
257
|
|
|
258
|
+
function passArrayJsValueToWasm0(array, malloc) {
|
|
259
|
+
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
260
|
+
for (let i = 0; i < array.length; i++) {
|
|
261
|
+
const add = addToExternrefTable0(array[i]);
|
|
262
|
+
getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
|
|
263
|
+
}
|
|
264
|
+
WASM_VECTOR_LEN = array.length;
|
|
265
|
+
return ptr;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
function _assertClass(instance, klass) {
|
|
269
|
+
if (!(instance instanceof klass)) {
|
|
270
|
+
throw new Error(`expected instance of ${klass.name}`);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
275
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
276
|
+
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
277
|
+
WASM_VECTOR_LEN = arg.length;
|
|
278
|
+
return ptr;
|
|
279
|
+
}
|
|
282
280
|
/**
|
|
283
281
|
* @param {string} host
|
|
284
282
|
* @param {string} inbox_id
|
|
@@ -436,19 +434,19 @@ export function task_worker_entry_point(ptr) {
|
|
|
436
434
|
}
|
|
437
435
|
|
|
438
436
|
function __wbg_adapter_50(arg0, arg1) {
|
|
439
|
-
wasm.
|
|
437
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1abf41465a2d63c6(arg0, arg1);
|
|
440
438
|
}
|
|
441
439
|
|
|
442
440
|
function __wbg_adapter_53(arg0, arg1) {
|
|
443
|
-
wasm.
|
|
441
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8ef89b805ac22e85(arg0, arg1);
|
|
444
442
|
}
|
|
445
443
|
|
|
446
444
|
function __wbg_adapter_56(arg0, arg1, arg2) {
|
|
447
|
-
wasm.
|
|
445
|
+
wasm.closure5253_externref_shim(arg0, arg1, arg2);
|
|
448
446
|
}
|
|
449
447
|
|
|
450
448
|
function __wbg_adapter_793(arg0, arg1, arg2, arg3) {
|
|
451
|
-
wasm.
|
|
449
|
+
wasm.closure6187_externref_shim(arg0, arg1, arg2, arg3);
|
|
452
450
|
}
|
|
453
451
|
|
|
454
452
|
/**
|
|
@@ -1218,7 +1216,7 @@ export class ContentTypeId {
|
|
|
1218
1216
|
set authorityId(arg0) {
|
|
1219
1217
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1220
1218
|
const len0 = WASM_VECTOR_LEN;
|
|
1221
|
-
wasm.
|
|
1219
|
+
wasm.__wbg_set_contenttypeid_authorityId(this.__wbg_ptr, ptr0, len0);
|
|
1222
1220
|
}
|
|
1223
1221
|
/**
|
|
1224
1222
|
* @returns {string}
|
|
@@ -3420,27 +3418,27 @@ export class Lifetime {
|
|
|
3420
3418
|
* @returns {bigint}
|
|
3421
3419
|
*/
|
|
3422
3420
|
get not_before() {
|
|
3423
|
-
const ret = wasm.
|
|
3421
|
+
const ret = wasm.__wbg_get_apistats_upload_key_package(this.__wbg_ptr);
|
|
3424
3422
|
return BigInt.asUintN(64, ret);
|
|
3425
3423
|
}
|
|
3426
3424
|
/**
|
|
3427
3425
|
* @param {bigint} arg0
|
|
3428
3426
|
*/
|
|
3429
3427
|
set not_before(arg0) {
|
|
3430
|
-
wasm.
|
|
3428
|
+
wasm.__wbg_set_apistats_upload_key_package(this.__wbg_ptr, arg0);
|
|
3431
3429
|
}
|
|
3432
3430
|
/**
|
|
3433
3431
|
* @returns {bigint}
|
|
3434
3432
|
*/
|
|
3435
3433
|
get not_after() {
|
|
3436
|
-
const ret = wasm.
|
|
3434
|
+
const ret = wasm.__wbg_get_apistats_fetch_key_package(this.__wbg_ptr);
|
|
3437
3435
|
return BigInt.asUintN(64, ret);
|
|
3438
3436
|
}
|
|
3439
3437
|
/**
|
|
3440
3438
|
* @param {bigint} arg0
|
|
3441
3439
|
*/
|
|
3442
3440
|
set not_after(arg0) {
|
|
3443
|
-
wasm.
|
|
3441
|
+
wasm.__wbg_set_apistats_fetch_key_package(this.__wbg_ptr, arg0);
|
|
3444
3442
|
}
|
|
3445
3443
|
}
|
|
3446
3444
|
|
|
@@ -4509,7 +4507,7 @@ export class Reaction {
|
|
|
4509
4507
|
set referenceInboxId(arg0) {
|
|
4510
4508
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4511
4509
|
const len0 = WASM_VECTOR_LEN;
|
|
4512
|
-
wasm.
|
|
4510
|
+
wasm.__wbg_set_reaction_referenceInboxId(this.__wbg_ptr, ptr0, len0);
|
|
4513
4511
|
}
|
|
4514
4512
|
/**
|
|
4515
4513
|
* @returns {ReactionAction}
|
|
@@ -5511,22 +5509,22 @@ function __wbg_get_imports() {
|
|
|
5511
5509
|
const ret = arg0.now();
|
|
5512
5510
|
return ret;
|
|
5513
5511
|
};
|
|
5514
|
-
imports.wbg.
|
|
5512
|
+
imports.wbg.__wbg_onclose_76766e780ea96fba = function(arg0) {
|
|
5515
5513
|
arg0.on_close();
|
|
5516
5514
|
};
|
|
5517
|
-
imports.wbg.
|
|
5515
|
+
imports.wbg.__wbg_onconsentupdate_416e66cf95f2e49b = function(arg0, arg1) {
|
|
5518
5516
|
arg0.on_consent_update(arg1);
|
|
5519
5517
|
};
|
|
5520
|
-
imports.wbg.
|
|
5518
|
+
imports.wbg.__wbg_onconversation_8324b5fb5282c6d8 = function(arg0, arg1) {
|
|
5521
5519
|
arg0.on_conversation(Conversation.__wrap(arg1));
|
|
5522
5520
|
};
|
|
5523
|
-
imports.wbg.
|
|
5521
|
+
imports.wbg.__wbg_onerror_be5b67d0e20e80a1 = function(arg0, arg1) {
|
|
5524
5522
|
arg0.on_error(arg1);
|
|
5525
5523
|
};
|
|
5526
|
-
imports.wbg.
|
|
5524
|
+
imports.wbg.__wbg_onmessage_3d645440ed8fe9d3 = function(arg0, arg1) {
|
|
5527
5525
|
arg0.on_message(Message.__wrap(arg1));
|
|
5528
5526
|
};
|
|
5529
|
-
imports.wbg.
|
|
5527
|
+
imports.wbg.__wbg_onuserpreferenceupdate_a76ead094c66aefe = function(arg0, arg1, arg2) {
|
|
5530
5528
|
var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
|
|
5531
5529
|
wasm.__wbindgen_free(arg1, arg2 * 4, 4);
|
|
5532
5530
|
arg0.on_user_preference_update(v0);
|
|
@@ -5815,16 +5813,16 @@ function __wbg_get_imports() {
|
|
|
5815
5813
|
const ret = false;
|
|
5816
5814
|
return ret;
|
|
5817
5815
|
};
|
|
5818
|
-
imports.wbg.
|
|
5819
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5816
|
+
imports.wbg.__wbindgen_closure_wrapper20652 = function(arg0, arg1, arg2) {
|
|
5817
|
+
const ret = makeMutClosure(arg0, arg1, 4952, __wbg_adapter_50);
|
|
5820
5818
|
return ret;
|
|
5821
5819
|
};
|
|
5822
|
-
imports.wbg.
|
|
5823
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5820
|
+
imports.wbg.__wbindgen_closure_wrapper22799 = function(arg0, arg1, arg2) {
|
|
5821
|
+
const ret = makeMutClosure(arg0, arg1, 5230, __wbg_adapter_53);
|
|
5824
5822
|
return ret;
|
|
5825
5823
|
};
|
|
5826
|
-
imports.wbg.
|
|
5827
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5824
|
+
imports.wbg.__wbindgen_closure_wrapper23454 = function(arg0, arg1, arg2) {
|
|
5825
|
+
const ret = makeMutClosure(arg0, arg1, 5254, __wbg_adapter_56);
|
|
5828
5826
|
return ret;
|
|
5829
5827
|
};
|
|
5830
5828
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
5
|
+
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
6
|
+
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
7
|
+
export const streamcloser_end: (a: number) => void;
|
|
8
|
+
export const streamcloser_endAndWait: (a: number) => any;
|
|
9
|
+
export const streamcloser_waitForReady: (a: number) => any;
|
|
10
|
+
export const streamcloser_isClosed: (a: number) => number;
|
|
4
11
|
export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
5
12
|
export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
6
13
|
export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -77,6 +84,28 @@ export const conversations_stream: (a: number, b: any, c: number) => [number, nu
|
|
|
77
84
|
export const conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
78
85
|
export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
79
86
|
export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
87
|
+
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
88
|
+
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
89
|
+
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
90
|
+
export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
91
|
+
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
92
|
+
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
93
|
+
export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
94
|
+
export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
95
|
+
export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
96
|
+
export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
97
|
+
export const __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
98
|
+
export const __wbg_get_encodedcontent_type: (a: number) => number;
|
|
99
|
+
export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
100
|
+
export const __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
101
|
+
export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
102
|
+
export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
103
|
+
export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
104
|
+
export const __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
105
|
+
export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
106
|
+
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
107
|
+
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
108
|
+
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
80
109
|
export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
81
110
|
export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
82
111
|
export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -143,39 +172,6 @@ export const permissionpolicyset_new: (a: number, b: number, c: number, d: numbe
|
|
|
143
172
|
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
144
173
|
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
145
174
|
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;
|
|
179
175
|
export const __wbg_client_free: (a: number, b: number) => void;
|
|
180
176
|
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
181
177
|
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -217,6 +213,8 @@ export const client_getConsentState: (a: number, b: number, c: number, d: number
|
|
|
217
213
|
export const conversation_consentState: (a: number) => [number, number, number];
|
|
218
214
|
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
219
215
|
export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
216
|
+
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
217
|
+
export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
220
218
|
export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
221
219
|
export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
222
220
|
export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
@@ -241,6 +239,7 @@ export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
|
241
239
|
export const __wbg_reaction_free: (a: number, b: number) => void;
|
|
242
240
|
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
243
241
|
export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
242
|
+
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
244
243
|
export const __wbg_get_reaction_action: (a: number) => number;
|
|
245
244
|
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
246
245
|
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
@@ -307,27 +306,24 @@ export const conversation_isMessageDisappearingEnabled: (a: number) => [number,
|
|
|
307
306
|
export const conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
308
307
|
export const conversation_getDebugInfo: (a: number) => any;
|
|
309
308
|
export const conversation_findDuplicateDms: (a: number) => any;
|
|
310
|
-
export const
|
|
311
|
-
export const
|
|
312
|
-
export const
|
|
313
|
-
export const
|
|
314
|
-
export const
|
|
315
|
-
export const
|
|
316
|
-
export const
|
|
317
|
-
export const
|
|
318
|
-
export const
|
|
319
|
-
export const
|
|
320
|
-
export const
|
|
321
|
-
export const
|
|
322
|
-
export const
|
|
323
|
-
export const
|
|
324
|
-
export const
|
|
325
|
-
export const
|
|
326
|
-
export const
|
|
327
|
-
export const
|
|
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;
|
|
309
|
+
export const __wbg_apistats_free: (a: number, b: number) => void;
|
|
310
|
+
export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
311
|
+
export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
312
|
+
export const __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
313
|
+
export const __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
314
|
+
export const __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
315
|
+
export const __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
316
|
+
export const __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
317
|
+
export const __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
318
|
+
export const __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
319
|
+
export const __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
320
|
+
export const __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
321
|
+
export const __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
322
|
+
export const __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
323
|
+
export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
324
|
+
export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
325
|
+
export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
326
|
+
export const __wbg_identitystats_free: (a: number, b: number) => void;
|
|
331
327
|
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
332
328
|
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
333
329
|
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
@@ -351,14 +347,23 @@ export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void
|
|
|
351
347
|
export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
352
348
|
export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
353
349
|
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;
|
|
358
350
|
export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
359
351
|
export const client_inboxState: (a: number, b: number) => any;
|
|
360
352
|
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
361
353
|
export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
354
|
+
export const __wbg_opfs_free: (a: number, b: number) => void;
|
|
355
|
+
export const opfs_init_sqlite_opfs: () => any;
|
|
356
|
+
export const opfs_exists: () => number;
|
|
357
|
+
export const opfs_error: () => [number, number];
|
|
358
|
+
export const opfs_wipeFiles: () => any;
|
|
359
|
+
export const opfs_rm: (a: number, b: number) => [number, number, number];
|
|
360
|
+
export const opfs_getFileNames: () => [number, number];
|
|
361
|
+
export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
362
|
+
export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
363
|
+
export const opfs_getFileCount: () => number;
|
|
364
|
+
export const opfs_getCapacity: () => number;
|
|
365
|
+
export const opfs_addCapacity: (a: number) => any;
|
|
366
|
+
export const opfs_reduceCapacity: (a: number) => any;
|
|
362
367
|
export const __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
363
368
|
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
364
369
|
export const revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
@@ -380,24 +385,19 @@ export const client_signWithInstallationKey: (a: number, b: number, c: number) =
|
|
|
380
385
|
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
381
386
|
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
382
387
|
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;
|
|
385
388
|
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
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
|
|
396
|
-
export const
|
|
397
|
-
export const
|
|
398
|
-
export const opfs_getCapacity: () => number;
|
|
399
|
-
export const opfs_addCapacity: (a: number) => any;
|
|
400
|
-
export const opfs_reduceCapacity: (a: number) => any;
|
|
389
|
+
export const __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
390
|
+
export const __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
391
|
+
export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
392
|
+
export const __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
393
|
+
export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
394
|
+
export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
395
|
+
export const __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
396
|
+
export const __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
397
|
+
export const __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
398
|
+
export const __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
399
|
+
export const __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
400
|
+
export const __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
401
401
|
export const rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
402
402
|
export const rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
403
403
|
export const rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -440,8 +440,8 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
|
440
440
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
441
441
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
442
442
|
export const __externref_table_dealloc: (a: number) => void;
|
|
443
|
-
export const
|
|
444
|
-
export const
|
|
445
|
-
export const
|
|
446
|
-
export const
|
|
443
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1abf41465a2d63c6: (a: number, b: number) => void;
|
|
444
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8ef89b805ac22e85: (a: number, b: number) => void;
|
|
445
|
+
export const closure5253_externref_shim: (a: number, b: number, c: any) => void;
|
|
446
|
+
export const closure6187_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
447
447
|
export const __wbindgen_start: () => void;
|
package/dist/version.json
CHANGED