@xmtp/wasm-bindings 1.2.4 → 1.2.5
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 +50 -50
- package/dist/bindings_wasm.js +59 -57
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +48 -48
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
4
|
-
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
5
3
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
6
4
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
7
5
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
8
6
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
7
|
+
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
8
|
+
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
9
9
|
export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
|
|
10
10
|
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
11
11
|
export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
@@ -627,8 +627,6 @@ export interface InitOutput {
|
|
|
627
627
|
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
628
628
|
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
629
629
|
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
630
|
-
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
631
|
-
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
632
630
|
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
633
631
|
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
634
632
|
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
@@ -650,6 +648,8 @@ export interface InitOutput {
|
|
|
650
648
|
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
651
649
|
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
652
650
|
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
651
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
652
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
653
653
|
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
654
654
|
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
655
655
|
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
@@ -671,6 +671,7 @@ export interface InitOutput {
|
|
|
671
671
|
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
672
672
|
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
673
673
|
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
674
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
674
675
|
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
675
676
|
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
676
677
|
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
@@ -748,13 +749,13 @@ export interface InitOutput {
|
|
|
748
749
|
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
749
750
|
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
750
751
|
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
751
|
-
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
752
752
|
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
753
753
|
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
754
754
|
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
755
755
|
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
756
756
|
readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
757
757
|
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
758
|
+
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
758
759
|
readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
759
760
|
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
760
761
|
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
@@ -772,7 +773,6 @@ export interface InitOutput {
|
|
|
772
773
|
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
773
774
|
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
774
775
|
readonly createdmoptions_new: (a: number) => number;
|
|
775
|
-
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
776
776
|
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
777
777
|
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
778
778
|
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
@@ -798,26 +798,8 @@ export interface InitOutput {
|
|
|
798
798
|
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
799
799
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
800
800
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
801
|
-
readonly
|
|
802
|
-
readonly
|
|
803
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
804
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
805
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
806
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
807
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
808
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
809
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
810
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
811
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
812
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
813
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
814
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
815
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
816
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
817
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
818
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
819
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
820
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
801
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
802
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
821
803
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
822
804
|
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
823
805
|
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
@@ -835,7 +817,6 @@ export interface InitOutput {
|
|
|
835
817
|
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
836
818
|
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
837
819
|
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
838
|
-
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
839
820
|
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
840
821
|
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
841
822
|
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
@@ -874,19 +855,6 @@ export interface InitOutput {
|
|
|
874
855
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
875
856
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
876
857
|
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
877
|
-
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
878
|
-
readonly opfs_init_sqlite_opfs: () => any;
|
|
879
|
-
readonly opfs_exists: () => number;
|
|
880
|
-
readonly opfs_error: () => [number, number];
|
|
881
|
-
readonly opfs_wipeFiles: () => any;
|
|
882
|
-
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
883
|
-
readonly opfs_getFileNames: () => [number, number];
|
|
884
|
-
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
885
|
-
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
886
|
-
readonly opfs_getFileCount: () => number;
|
|
887
|
-
readonly opfs_getCapacity: () => number;
|
|
888
|
-
readonly opfs_addCapacity: (a: number) => any;
|
|
889
|
-
readonly opfs_reduceCapacity: (a: number) => any;
|
|
890
858
|
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
891
859
|
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
892
860
|
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
@@ -913,15 +881,11 @@ export interface InitOutput {
|
|
|
913
881
|
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
914
882
|
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
915
883
|
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
916
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
917
|
-
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
918
884
|
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
919
885
|
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
920
886
|
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
921
887
|
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
922
888
|
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
923
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
924
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
925
889
|
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
926
890
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
927
891
|
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
@@ -934,14 +898,15 @@ export interface InitOutput {
|
|
|
934
898
|
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
935
899
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
936
900
|
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
937
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
938
|
-
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
939
901
|
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
940
902
|
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
941
903
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
942
904
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
943
905
|
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
906
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
907
|
+
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
944
908
|
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
909
|
+
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
945
910
|
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
946
911
|
readonly streamcloser_end: (a: number) => void;
|
|
947
912
|
readonly streamcloser_endAndWait: (a: number) => any;
|
|
@@ -994,6 +959,41 @@ export interface InitOutput {
|
|
|
994
959
|
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
995
960
|
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
996
961
|
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
962
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
963
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
964
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
965
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
966
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
967
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
968
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
969
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
970
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
971
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
972
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
973
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
974
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
975
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
976
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
977
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
978
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
979
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
980
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
981
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
982
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
983
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
984
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
985
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
986
|
+
readonly opfs_exists: () => number;
|
|
987
|
+
readonly opfs_error: () => [number, number];
|
|
988
|
+
readonly opfs_wipeFiles: () => any;
|
|
989
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
990
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
991
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
992
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
993
|
+
readonly opfs_getFileCount: () => number;
|
|
994
|
+
readonly opfs_getCapacity: () => number;
|
|
995
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
996
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
997
997
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
998
998
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
999
999
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -1035,11 +1035,11 @@ export interface InitOutput {
|
|
|
1035
1035
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1036
1036
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
1037
1037
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1038
|
-
readonly
|
|
1039
|
-
readonly
|
|
1038
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7e9b1d0be1909a89: (a: number, b: number) => void;
|
|
1039
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd7b727abd95da937: (a: number, b: number) => void;
|
|
1040
1040
|
readonly closure4617_externref_shim: (a: number, b: number, c: any) => void;
|
|
1041
|
-
readonly
|
|
1042
|
-
readonly
|
|
1041
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6500cfda1685f15: (a: number, b: number) => void;
|
|
1042
|
+
readonly closure5575_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1043
1043
|
readonly __wbindgen_start: () => void;
|
|
1044
1044
|
}
|
|
1045
1045
|
|
package/dist/bindings_wasm.js
CHANGED
|
@@ -215,45 +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
|
-
* @param {string} host
|
|
220
|
-
* @param {Identifier} accountIdentifier
|
|
221
|
-
* @returns {Promise<string | undefined>}
|
|
222
|
-
*/
|
|
223
|
-
export function getInboxIdForIdentifier(host, accountIdentifier) {
|
|
224
|
-
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
225
|
-
const len0 = WASM_VECTOR_LEN;
|
|
226
|
-
const ret = wasm.getInboxIdForIdentifier(ptr0, len0, accountIdentifier);
|
|
227
|
-
return ret;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
function takeFromExternrefTable0(idx) {
|
|
231
|
-
const value = wasm.__wbindgen_export_4.get(idx);
|
|
232
|
-
wasm.__externref_table_dealloc(idx);
|
|
233
|
-
return value;
|
|
234
|
-
}
|
|
235
|
-
/**
|
|
236
|
-
* @param {Identifier} accountIdentifier
|
|
237
|
-
* @returns {string}
|
|
238
|
-
*/
|
|
239
|
-
export function generateInboxId(accountIdentifier) {
|
|
240
|
-
let deferred2_0;
|
|
241
|
-
let deferred2_1;
|
|
242
|
-
try {
|
|
243
|
-
const ret = wasm.generateInboxId(accountIdentifier);
|
|
244
|
-
var ptr1 = ret[0];
|
|
245
|
-
var len1 = ret[1];
|
|
246
|
-
if (ret[3]) {
|
|
247
|
-
ptr1 = 0; len1 = 0;
|
|
248
|
-
throw takeFromExternrefTable0(ret[2]);
|
|
249
|
-
}
|
|
250
|
-
deferred2_0 = ptr1;
|
|
251
|
-
deferred2_1 = len1;
|
|
252
|
-
return getStringFromWasm0(ptr1, len1);
|
|
253
|
-
} finally {
|
|
254
|
-
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
218
|
|
|
258
219
|
function passArrayJsValueToWasm0(array, malloc) {
|
|
259
220
|
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
@@ -265,6 +226,12 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
265
226
|
return ptr;
|
|
266
227
|
}
|
|
267
228
|
|
|
229
|
+
function takeFromExternrefTable0(idx) {
|
|
230
|
+
const value = wasm.__wbindgen_export_4.get(idx);
|
|
231
|
+
wasm.__externref_table_dealloc(idx);
|
|
232
|
+
return value;
|
|
233
|
+
}
|
|
234
|
+
|
|
268
235
|
function _assertClass(instance, klass) {
|
|
269
236
|
if (!(instance instanceof klass)) {
|
|
270
237
|
throw new Error(`expected instance of ${klass.name}`);
|
|
@@ -328,6 +295,41 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
328
295
|
WASM_VECTOR_LEN = arg.length;
|
|
329
296
|
return ptr;
|
|
330
297
|
}
|
|
298
|
+
/**
|
|
299
|
+
* @param {string} host
|
|
300
|
+
* @param {Identifier} accountIdentifier
|
|
301
|
+
* @returns {Promise<string | undefined>}
|
|
302
|
+
*/
|
|
303
|
+
export function getInboxIdForIdentifier(host, accountIdentifier) {
|
|
304
|
+
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
305
|
+
const len0 = WASM_VECTOR_LEN;
|
|
306
|
+
const ret = wasm.getInboxIdForIdentifier(ptr0, len0, accountIdentifier);
|
|
307
|
+
return ret;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* @param {Identifier} accountIdentifier
|
|
312
|
+
* @returns {string}
|
|
313
|
+
*/
|
|
314
|
+
export function generateInboxId(accountIdentifier) {
|
|
315
|
+
let deferred2_0;
|
|
316
|
+
let deferred2_1;
|
|
317
|
+
try {
|
|
318
|
+
const ret = wasm.generateInboxId(accountIdentifier);
|
|
319
|
+
var ptr1 = ret[0];
|
|
320
|
+
var len1 = ret[1];
|
|
321
|
+
if (ret[3]) {
|
|
322
|
+
ptr1 = 0; len1 = 0;
|
|
323
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
324
|
+
}
|
|
325
|
+
deferred2_0 = ptr1;
|
|
326
|
+
deferred2_1 = len1;
|
|
327
|
+
return getStringFromWasm0(ptr1, len1);
|
|
328
|
+
} finally {
|
|
329
|
+
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
331
333
|
/**
|
|
332
334
|
* @param {string} host
|
|
333
335
|
* @param {string[]} inbox_ids
|
|
@@ -418,11 +420,11 @@ export function createClient(host, inbox_id, account_identifier, db_path, encryp
|
|
|
418
420
|
}
|
|
419
421
|
|
|
420
422
|
function __wbg_adapter_50(arg0, arg1) {
|
|
421
|
-
wasm.
|
|
423
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7e9b1d0be1909a89(arg0, arg1);
|
|
422
424
|
}
|
|
423
425
|
|
|
424
426
|
function __wbg_adapter_53(arg0, arg1) {
|
|
425
|
-
wasm.
|
|
427
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd7b727abd95da937(arg0, arg1);
|
|
426
428
|
}
|
|
427
429
|
|
|
428
430
|
function __wbg_adapter_56(arg0, arg1, arg2) {
|
|
@@ -430,11 +432,11 @@ function __wbg_adapter_56(arg0, arg1, arg2) {
|
|
|
430
432
|
}
|
|
431
433
|
|
|
432
434
|
function __wbg_adapter_59(arg0, arg1) {
|
|
433
|
-
wasm.
|
|
435
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6500cfda1685f15(arg0, arg1);
|
|
434
436
|
}
|
|
435
437
|
|
|
436
438
|
function __wbg_adapter_781(arg0, arg1, arg2, arg3) {
|
|
437
|
-
wasm.
|
|
439
|
+
wasm.closure5575_externref_shim(arg0, arg1, arg2, arg3);
|
|
438
440
|
}
|
|
439
441
|
|
|
440
442
|
/**
|
|
@@ -1172,7 +1174,7 @@ export class ContentTypeId {
|
|
|
1172
1174
|
set authorityId(arg0) {
|
|
1173
1175
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1174
1176
|
const len0 = WASM_VECTOR_LEN;
|
|
1175
|
-
wasm.
|
|
1177
|
+
wasm.__wbg_set_contenttypeid_authorityId(this.__wbg_ptr, ptr0, len0);
|
|
1176
1178
|
}
|
|
1177
1179
|
/**
|
|
1178
1180
|
* @returns {string}
|
|
@@ -3223,7 +3225,7 @@ export class KeyPackageStatus {
|
|
|
3223
3225
|
* @returns {Lifetime | undefined}
|
|
3224
3226
|
*/
|
|
3225
3227
|
get lifetime() {
|
|
3226
|
-
const ret = wasm.
|
|
3228
|
+
const ret = wasm.__wbg_get_createdmoptions_messageDisappearingSettings(this.__wbg_ptr);
|
|
3227
3229
|
return ret === 0 ? undefined : Lifetime.__wrap(ret);
|
|
3228
3230
|
}
|
|
3229
3231
|
/**
|
|
@@ -4377,7 +4379,7 @@ export class Reaction {
|
|
|
4377
4379
|
set referenceInboxId(arg0) {
|
|
4378
4380
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4379
4381
|
const len0 = WASM_VECTOR_LEN;
|
|
4380
|
-
wasm.
|
|
4382
|
+
wasm.__wbg_set_reaction_referenceInboxId(this.__wbg_ptr, ptr0, len0);
|
|
4381
4383
|
}
|
|
4382
4384
|
/**
|
|
4383
4385
|
* @returns {ReactionAction}
|
|
@@ -5384,19 +5386,19 @@ function __wbg_get_imports() {
|
|
|
5384
5386
|
const ret = arg0.now();
|
|
5385
5387
|
return ret;
|
|
5386
5388
|
};
|
|
5387
|
-
imports.wbg.
|
|
5389
|
+
imports.wbg.__wbg_onconsentupdate_3ee822385ce52c1b = function(arg0, arg1) {
|
|
5388
5390
|
arg0.on_consent_update(arg1);
|
|
5389
5391
|
};
|
|
5390
|
-
imports.wbg.
|
|
5392
|
+
imports.wbg.__wbg_onconversation_93e8c3e97ceff607 = function(arg0, arg1) {
|
|
5391
5393
|
arg0.on_conversation(Conversation.__wrap(arg1));
|
|
5392
5394
|
};
|
|
5393
|
-
imports.wbg.
|
|
5395
|
+
imports.wbg.__wbg_onerror_a4d17f0e71800436 = function(arg0, arg1) {
|
|
5394
5396
|
arg0.on_error(arg1);
|
|
5395
5397
|
};
|
|
5396
|
-
imports.wbg.
|
|
5398
|
+
imports.wbg.__wbg_onmessage_c6c369e7d39d60a1 = function(arg0, arg1) {
|
|
5397
5399
|
arg0.on_message(Message.__wrap(arg1));
|
|
5398
5400
|
};
|
|
5399
|
-
imports.wbg.
|
|
5401
|
+
imports.wbg.__wbg_onuserpreferenceupdate_480a6d9d21b41238 = function(arg0, arg1, arg2) {
|
|
5400
5402
|
var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
|
|
5401
5403
|
wasm.__wbindgen_free(arg1, arg2 * 4, 4);
|
|
5402
5404
|
arg0.on_user_preference_update(v0);
|
|
@@ -5687,19 +5689,19 @@ function __wbg_get_imports() {
|
|
|
5687
5689
|
const ret = false;
|
|
5688
5690
|
return ret;
|
|
5689
5691
|
};
|
|
5690
|
-
imports.wbg.
|
|
5691
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5692
|
+
imports.wbg.__wbindgen_closure_wrapper17738 = function(arg0, arg1, arg2) {
|
|
5693
|
+
const ret = makeMutClosure(arg0, arg1, 4258, __wbg_adapter_50);
|
|
5692
5694
|
return ret;
|
|
5693
5695
|
};
|
|
5694
|
-
imports.wbg.
|
|
5695
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5696
|
+
imports.wbg.__wbindgen_closure_wrapper17879 = function(arg0, arg1, arg2) {
|
|
5697
|
+
const ret = makeMutClosure(arg0, arg1, 4314, __wbg_adapter_53);
|
|
5696
5698
|
return ret;
|
|
5697
5699
|
};
|
|
5698
|
-
imports.wbg.
|
|
5700
|
+
imports.wbg.__wbindgen_closure_wrapper20999 = function(arg0, arg1, arg2) {
|
|
5699
5701
|
const ret = makeMutClosure(arg0, arg1, 4618, __wbg_adapter_56);
|
|
5700
5702
|
return ret;
|
|
5701
5703
|
};
|
|
5702
|
-
imports.wbg.
|
|
5704
|
+
imports.wbg.__wbindgen_closure_wrapper21100 = function(arg0, arg1, arg2) {
|
|
5703
5705
|
const ret = makeMutClosure(arg0, arg1, 4629, __wbg_adapter_59);
|
|
5704
5706
|
return ret;
|
|
5705
5707
|
};
|
|
Binary file
|
|
@@ -19,8 +19,6 @@ export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => vo
|
|
|
19
19
|
export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
20
20
|
export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
21
21
|
export const __wbg_identitystats_free: (a: number, b: number) => void;
|
|
22
|
-
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
23
|
-
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
24
22
|
export const __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
25
23
|
export const __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
26
24
|
export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
@@ -42,6 +40,8 @@ export const client_getConsentState: (a: number, b: number, c: number, d: number
|
|
|
42
40
|
export const conversation_consentState: (a: number) => [number, number, number];
|
|
43
41
|
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
44
42
|
export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
43
|
+
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
44
|
+
export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
45
45
|
export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
46
46
|
export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
47
47
|
export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
@@ -63,6 +63,7 @@ export const multiremoteattachment_new: (a: number, b: number) => number;
|
|
|
63
63
|
export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
64
64
|
export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
65
65
|
export const __wbg_reaction_free: (a: number, b: number) => void;
|
|
66
|
+
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
66
67
|
export const __wbg_get_reaction_action: (a: number) => number;
|
|
67
68
|
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
68
69
|
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
@@ -140,13 +141,13 @@ export const __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number,
|
|
|
140
141
|
export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
141
142
|
export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
142
143
|
export const listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
143
|
-
export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
144
144
|
export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
145
145
|
export const __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
146
146
|
export const __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
147
147
|
export const __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
148
148
|
export const __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
149
149
|
export const __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
150
|
+
export const __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
150
151
|
export const __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
151
152
|
export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
152
153
|
export const __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
@@ -164,7 +165,6 @@ export const __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
|
164
165
|
export const __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
165
166
|
export const __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
166
167
|
export const createdmoptions_new: (a: number) => number;
|
|
167
|
-
export const __wbg_hmackey_free: (a: number, b: number) => void;
|
|
168
168
|
export const __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
169
169
|
export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
170
170
|
export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
@@ -190,26 +190,8 @@ export const conversations_stream: (a: number, b: any, c: number) => [number, nu
|
|
|
190
190
|
export const conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
191
191
|
export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
192
192
|
export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
193
|
-
export const
|
|
194
|
-
export const
|
|
195
|
-
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
196
|
-
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
197
|
-
export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
198
|
-
export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
199
|
-
export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
200
|
-
export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
201
|
-
export const __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
202
|
-
export const __wbg_get_encodedcontent_type: (a: number) => number;
|
|
203
|
-
export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
204
|
-
export const __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
205
|
-
export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
206
|
-
export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
207
|
-
export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
208
|
-
export const __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
209
|
-
export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
210
|
-
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
211
|
-
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
212
|
-
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
193
|
+
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
194
|
+
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
213
195
|
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
214
196
|
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
215
197
|
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
@@ -227,7 +209,6 @@ export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, nu
|
|
|
227
209
|
export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
228
210
|
export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
229
211
|
export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
230
|
-
export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
231
212
|
export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
232
213
|
export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
233
214
|
export const __wbg_lifetime_free: (a: number, b: number) => void;
|
|
@@ -266,19 +247,6 @@ export const __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
|
266
247
|
export const __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
267
248
|
export const __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
268
249
|
export const __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
269
|
-
export const __wbg_opfs_free: (a: number, b: number) => void;
|
|
270
|
-
export const opfs_init_sqlite_opfs: () => any;
|
|
271
|
-
export const opfs_exists: () => number;
|
|
272
|
-
export const opfs_error: () => [number, number];
|
|
273
|
-
export const opfs_wipeFiles: () => any;
|
|
274
|
-
export const opfs_rm: (a: number, b: number) => [number, number, number];
|
|
275
|
-
export const opfs_getFileNames: () => [number, number];
|
|
276
|
-
export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
277
|
-
export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
278
|
-
export const opfs_getFileCount: () => number;
|
|
279
|
-
export const opfs_getCapacity: () => number;
|
|
280
|
-
export const opfs_addCapacity: (a: number) => any;
|
|
281
|
-
export const opfs_reduceCapacity: (a: number) => any;
|
|
282
250
|
export const __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
283
251
|
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
284
252
|
export const revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
@@ -305,15 +273,11 @@ export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint
|
|
|
305
273
|
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
306
274
|
export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
307
275
|
export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
308
|
-
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
309
|
-
export const __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
310
276
|
export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
311
277
|
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
312
278
|
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
313
279
|
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
314
280
|
export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
315
|
-
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
316
|
-
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
317
281
|
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
318
282
|
export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
319
283
|
export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
@@ -326,14 +290,15 @@ export const __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
|
326
290
|
export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
327
291
|
export const __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
328
292
|
export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
329
|
-
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
330
|
-
export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
331
293
|
export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
332
294
|
export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
333
295
|
export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
334
296
|
export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
335
297
|
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
298
|
+
export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
299
|
+
export const __wbg_hmackey_free: (a: number, b: number) => void;
|
|
336
300
|
export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
301
|
+
export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
337
302
|
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
338
303
|
export const streamcloser_end: (a: number) => void;
|
|
339
304
|
export const streamcloser_endAndWait: (a: number) => any;
|
|
@@ -386,6 +351,41 @@ export const permissionpolicyset_new: (a: number, b: number, c: number, d: numbe
|
|
|
386
351
|
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
387
352
|
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
388
353
|
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
354
|
+
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
355
|
+
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
356
|
+
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
357
|
+
export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
358
|
+
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
359
|
+
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
360
|
+
export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
361
|
+
export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
362
|
+
export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
363
|
+
export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
364
|
+
export const __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
365
|
+
export const __wbg_get_encodedcontent_type: (a: number) => number;
|
|
366
|
+
export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
367
|
+
export const __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
368
|
+
export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
369
|
+
export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
370
|
+
export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
371
|
+
export const __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
372
|
+
export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
373
|
+
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
374
|
+
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
375
|
+
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
376
|
+
export const __wbg_opfs_free: (a: number, b: number) => void;
|
|
377
|
+
export const opfs_init_sqlite_opfs: () => any;
|
|
378
|
+
export const opfs_exists: () => number;
|
|
379
|
+
export const opfs_error: () => [number, number];
|
|
380
|
+
export const opfs_wipeFiles: () => any;
|
|
381
|
+
export const opfs_rm: (a: number, b: number) => [number, number, number];
|
|
382
|
+
export const opfs_getFileNames: () => [number, number];
|
|
383
|
+
export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
384
|
+
export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
385
|
+
export const opfs_getFileCount: () => number;
|
|
386
|
+
export const opfs_getCapacity: () => number;
|
|
387
|
+
export const opfs_addCapacity: (a: number) => any;
|
|
388
|
+
export const opfs_reduceCapacity: (a: number) => any;
|
|
389
389
|
export const rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
390
390
|
export const rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
391
391
|
export const rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -427,9 +427,9 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
|
427
427
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
428
428
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
429
429
|
export const __externref_table_dealloc: (a: number) => void;
|
|
430
|
-
export const
|
|
431
|
-
export const
|
|
430
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7e9b1d0be1909a89: (a: number, b: number) => void;
|
|
431
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd7b727abd95da937: (a: number, b: number) => void;
|
|
432
432
|
export const closure4617_externref_shim: (a: number, b: number, c: any) => void;
|
|
433
|
-
export const
|
|
434
|
-
export const
|
|
433
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6500cfda1685f15: (a: number, b: number) => void;
|
|
434
|
+
export const closure5575_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
435
435
|
export const __wbindgen_start: () => void;
|
package/dist/version.json
CHANGED