@xmtp/wasm-bindings 1.5.0-rc1 → 1.5.0-rc3
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 +110 -110
- package/dist/bindings_wasm.js +139 -139
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +95 -95
- package/dist/version.json +3 -3
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null, allow_offline?: boolean | null, disable_events?: boolean | null, app_version?: string | null): Promise<Client>;
|
|
4
4
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
5
5
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
6
|
-
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
7
|
-
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
8
|
-
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
9
|
-
export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
10
|
-
export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
|
|
11
6
|
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
12
7
|
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
13
8
|
export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
|
|
9
|
+
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
10
|
+
export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
11
|
+
export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
|
|
12
|
+
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
13
|
+
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
14
14
|
/**
|
|
15
15
|
* Entry point invoked by JavaScript in a worker.
|
|
16
16
|
*/
|
|
@@ -152,16 +152,6 @@ export class Client {
|
|
|
152
152
|
uploadDebugArchive(server_url: string): Promise<string>;
|
|
153
153
|
setConsentStates(records: Consent[]): Promise<void>;
|
|
154
154
|
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
155
|
-
createInboxSignatureRequest(): SignatureRequestHandle | undefined;
|
|
156
|
-
addWalletSignatureRequest(new_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
157
|
-
revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
158
|
-
revokeAllOtherInstallationsSignatureRequest(): Promise<SignatureRequestHandle>;
|
|
159
|
-
revokeInstallationsSignatureRequest(installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
160
|
-
changeRecoveryIdentifierSignatureRequest(new_recovery_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
161
|
-
applySignatureRequest(signature_request: SignatureRequestHandle): Promise<void>;
|
|
162
|
-
registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
|
|
163
|
-
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
164
|
-
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
165
155
|
/**
|
|
166
156
|
*
|
|
167
157
|
* * Get the client's inbox state.
|
|
@@ -180,6 +170,16 @@ export class Client {
|
|
|
180
170
|
*
|
|
181
171
|
*/
|
|
182
172
|
getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
|
|
173
|
+
createInboxSignatureRequest(): SignatureRequestHandle | undefined;
|
|
174
|
+
addWalletSignatureRequest(new_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
175
|
+
revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
176
|
+
revokeAllOtherInstallationsSignatureRequest(): Promise<SignatureRequestHandle>;
|
|
177
|
+
revokeInstallationsSignatureRequest(installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
178
|
+
changeRecoveryIdentifierSignatureRequest(new_recovery_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
179
|
+
applySignatureRequest(signature_request: SignatureRequestHandle): Promise<void>;
|
|
180
|
+
registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
|
|
181
|
+
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
182
|
+
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
183
183
|
readonly accountIdentifier: Identifier;
|
|
184
184
|
readonly inboxId: string;
|
|
185
185
|
readonly isRegistered: boolean;
|
|
@@ -684,18 +684,6 @@ export interface InitOutput {
|
|
|
684
684
|
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
685
685
|
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
686
686
|
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
687
|
-
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
688
|
-
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
689
|
-
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
690
|
-
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
691
|
-
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
692
|
-
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
693
|
-
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
694
|
-
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
695
|
-
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
696
|
-
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
697
|
-
readonly encodeReaction: (a: number) => [number, number, number];
|
|
698
|
-
readonly decodeReaction: (a: any) => [number, number, number];
|
|
699
687
|
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
700
688
|
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
701
689
|
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
@@ -758,8 +746,6 @@ export interface InitOutput {
|
|
|
758
746
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
759
747
|
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
760
748
|
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
761
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
762
|
-
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
763
749
|
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
764
750
|
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
765
751
|
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
@@ -767,9 +753,10 @@ export interface InitOutput {
|
|
|
767
753
|
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
768
754
|
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
769
755
|
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
770
|
-
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
771
756
|
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
772
757
|
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
758
|
+
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
759
|
+
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
773
760
|
readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
774
761
|
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
775
762
|
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
@@ -780,6 +767,8 @@ export interface InitOutput {
|
|
|
780
767
|
readonly __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
|
|
781
768
|
readonly __wbg_get_conversationdebuginfo_remoteCommitLog: (a: number) => [number, number];
|
|
782
769
|
readonly __wbg_set_conversationdebuginfo_remoteCommitLog: (a: number, b: number, c: number) => void;
|
|
770
|
+
readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
|
|
771
|
+
readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
|
|
783
772
|
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
784
773
|
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
785
774
|
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
@@ -846,24 +835,32 @@ export interface InitOutput {
|
|
|
846
835
|
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
847
836
|
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
848
837
|
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
849
|
-
readonly
|
|
850
|
-
readonly
|
|
851
|
-
readonly
|
|
852
|
-
readonly
|
|
853
|
-
readonly
|
|
854
|
-
readonly
|
|
855
|
-
readonly
|
|
856
|
-
readonly
|
|
857
|
-
readonly
|
|
858
|
-
readonly
|
|
859
|
-
readonly
|
|
860
|
-
readonly
|
|
861
|
-
readonly
|
|
862
|
-
readonly
|
|
863
|
-
readonly
|
|
864
|
-
readonly
|
|
865
|
-
readonly
|
|
866
|
-
readonly
|
|
838
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
839
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
840
|
+
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
841
|
+
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
842
|
+
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
843
|
+
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
844
|
+
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
845
|
+
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
846
|
+
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
847
|
+
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
848
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
849
|
+
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
850
|
+
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
851
|
+
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
852
|
+
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
853
|
+
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
854
|
+
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
855
|
+
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
856
|
+
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
857
|
+
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
858
|
+
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
859
|
+
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
860
|
+
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
861
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
862
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
863
|
+
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
867
864
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
868
865
|
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
869
866
|
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -893,6 +890,19 @@ export interface InitOutput {
|
|
|
893
890
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
894
891
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
895
892
|
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
893
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
894
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
895
|
+
readonly opfs_exists: () => number;
|
|
896
|
+
readonly opfs_error: () => [number, number];
|
|
897
|
+
readonly opfs_wipeFiles: () => any;
|
|
898
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
899
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
900
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
901
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
902
|
+
readonly opfs_getFileCount: () => number;
|
|
903
|
+
readonly opfs_getCapacity: () => number;
|
|
904
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
905
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
896
906
|
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
897
907
|
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
898
908
|
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
@@ -918,23 +928,20 @@ export interface InitOutput {
|
|
|
918
928
|
readonly streamcloser_waitForReady: (a: number) => any;
|
|
919
929
|
readonly streamcloser_isClosed: (a: number) => number;
|
|
920
930
|
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
921
|
-
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
922
931
|
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
923
932
|
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
924
933
|
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
925
|
-
readonly
|
|
934
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
935
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
926
936
|
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
927
937
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
928
938
|
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
929
939
|
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
930
|
-
readonly
|
|
931
|
-
readonly
|
|
932
|
-
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
933
|
-
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
934
|
-
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
935
|
-
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
940
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
941
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
936
942
|
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
937
943
|
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
944
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
938
945
|
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
939
946
|
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
940
947
|
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
@@ -942,63 +949,56 @@ export interface InitOutput {
|
|
|
942
949
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
943
950
|
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
944
951
|
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
945
|
-
readonly
|
|
946
|
-
readonly
|
|
947
|
-
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
948
|
-
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
949
|
-
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
950
|
-
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
952
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
953
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
951
954
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
955
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
952
956
|
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
953
957
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
954
958
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
955
|
-
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
956
|
-
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
957
|
-
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
958
|
-
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
959
|
-
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
960
|
-
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
961
|
-
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
962
|
-
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
963
|
-
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
964
|
-
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
965
|
-
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
966
|
-
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
967
|
-
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
968
|
-
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
969
|
-
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
970
|
-
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
971
|
-
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
972
|
-
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
973
|
-
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
974
|
-
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
975
|
-
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
976
|
-
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
977
959
|
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
978
|
-
readonly
|
|
979
|
-
readonly
|
|
980
|
-
readonly
|
|
981
|
-
readonly
|
|
982
|
-
readonly
|
|
983
|
-
readonly
|
|
984
|
-
readonly
|
|
985
|
-
readonly
|
|
986
|
-
readonly
|
|
987
|
-
readonly
|
|
988
|
-
readonly
|
|
989
|
-
readonly
|
|
990
|
-
readonly
|
|
991
|
-
readonly
|
|
992
|
-
readonly
|
|
993
|
-
readonly
|
|
994
|
-
readonly
|
|
995
|
-
readonly
|
|
996
|
-
readonly
|
|
997
|
-
readonly
|
|
998
|
-
readonly
|
|
999
|
-
readonly
|
|
1000
|
-
readonly
|
|
1001
|
-
readonly
|
|
960
|
+
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
961
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
962
|
+
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
963
|
+
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
964
|
+
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
965
|
+
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
966
|
+
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
967
|
+
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
968
|
+
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
969
|
+
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
970
|
+
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
971
|
+
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
972
|
+
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
973
|
+
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
974
|
+
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
975
|
+
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
976
|
+
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
977
|
+
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
978
|
+
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
979
|
+
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
980
|
+
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
981
|
+
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
982
|
+
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
983
|
+
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
984
|
+
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
985
|
+
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
986
|
+
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
987
|
+
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
988
|
+
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
989
|
+
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
990
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
991
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
992
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
993
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
994
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
995
|
+
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
996
|
+
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
997
|
+
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
998
|
+
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
999
|
+
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1000
|
+
readonly encodeReaction: (a: number) => [number, number, number];
|
|
1001
|
+
readonly decodeReaction: (a: any) => [number, number, number];
|
|
1002
1002
|
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
1003
1003
|
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
1004
1004
|
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -1064,8 +1064,8 @@ export interface InitOutput {
|
|
|
1064
1064
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1065
1065
|
readonly wasm_bindgen__convert__closures_____invoke__h231d11d7d151a506: (a: number, b: number) => void;
|
|
1066
1066
|
readonly wasm_bindgen__convert__closures_____invoke__hfa5440517c90e88d: (a: number, b: number) => void;
|
|
1067
|
-
readonly
|
|
1068
|
-
readonly
|
|
1067
|
+
readonly closure5311_externref_shim: (a: number, b: number, c: any) => void;
|
|
1068
|
+
readonly closure6253_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1069
1069
|
readonly __wbindgen_start: () => void;
|
|
1070
1070
|
}
|
|
1071
1071
|
|
package/dist/bindings_wasm.js
CHANGED
|
@@ -308,38 +308,61 @@ export function decodeMultiRemoteAttachment(bytes) {
|
|
|
308
308
|
return MultiRemoteAttachment.__wrap(ret[0]);
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
312
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
313
|
+
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
314
|
+
WASM_VECTOR_LEN = arg.length;
|
|
315
|
+
return ptr;
|
|
316
|
+
}
|
|
311
317
|
/**
|
|
312
|
-
* @param {
|
|
313
|
-
* @
|
|
318
|
+
* @param {string} host
|
|
319
|
+
* @param {Identifier} accountIdentifier
|
|
320
|
+
* @returns {Promise<string | undefined>}
|
|
314
321
|
*/
|
|
315
|
-
export function
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
const ret = wasm.
|
|
319
|
-
|
|
320
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
321
|
-
}
|
|
322
|
-
return takeFromExternrefTable0(ret[0]);
|
|
322
|
+
export function getInboxIdForIdentifier(host, accountIdentifier) {
|
|
323
|
+
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
324
|
+
const len0 = WASM_VECTOR_LEN;
|
|
325
|
+
const ret = wasm.getInboxIdForIdentifier(ptr0, len0, accountIdentifier);
|
|
326
|
+
return ret;
|
|
323
327
|
}
|
|
324
328
|
|
|
325
329
|
/**
|
|
326
|
-
* @param {
|
|
327
|
-
* @returns {
|
|
330
|
+
* @param {Identifier} accountIdentifier
|
|
331
|
+
* @returns {string}
|
|
328
332
|
*/
|
|
329
|
-
export function
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
+
export function generateInboxId(accountIdentifier) {
|
|
334
|
+
let deferred2_0;
|
|
335
|
+
let deferred2_1;
|
|
336
|
+
try {
|
|
337
|
+
const ret = wasm.generateInboxId(accountIdentifier);
|
|
338
|
+
var ptr1 = ret[0];
|
|
339
|
+
var len1 = ret[1];
|
|
340
|
+
if (ret[3]) {
|
|
341
|
+
ptr1 = 0; len1 = 0;
|
|
342
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
343
|
+
}
|
|
344
|
+
deferred2_0 = ptr1;
|
|
345
|
+
deferred2_1 = len1;
|
|
346
|
+
return getStringFromWasm0(ptr1, len1);
|
|
347
|
+
} finally {
|
|
348
|
+
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
333
349
|
}
|
|
334
|
-
return Reaction.__wrap(ret[0]);
|
|
335
350
|
}
|
|
336
351
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
352
|
+
/**
|
|
353
|
+
* @param {string} host
|
|
354
|
+
* @param {string[]} inbox_ids
|
|
355
|
+
* @returns {Promise<InboxState[]>}
|
|
356
|
+
*/
|
|
357
|
+
export function inboxStateFromInboxIds(host, inbox_ids) {
|
|
358
|
+
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
359
|
+
const len0 = WASM_VECTOR_LEN;
|
|
360
|
+
const ptr1 = passArrayJsValueToWasm0(inbox_ids, wasm.__wbindgen_malloc);
|
|
361
|
+
const len1 = WASM_VECTOR_LEN;
|
|
362
|
+
const ret = wasm.inboxStateFromInboxIds(ptr0, len0, ptr1, len1);
|
|
363
|
+
return ret;
|
|
342
364
|
}
|
|
365
|
+
|
|
343
366
|
/**
|
|
344
367
|
* @param {string} signature_text
|
|
345
368
|
* @param {Uint8Array} signature_bytes
|
|
@@ -386,52 +409,29 @@ export function applySignatureRequest(host, signature_request) {
|
|
|
386
409
|
}
|
|
387
410
|
|
|
388
411
|
/**
|
|
389
|
-
* @param {
|
|
390
|
-
* @
|
|
391
|
-
* @returns {Promise<string | undefined>}
|
|
392
|
-
*/
|
|
393
|
-
export function getInboxIdForIdentifier(host, accountIdentifier) {
|
|
394
|
-
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
395
|
-
const len0 = WASM_VECTOR_LEN;
|
|
396
|
-
const ret = wasm.getInboxIdForIdentifier(ptr0, len0, accountIdentifier);
|
|
397
|
-
return ret;
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* @param {Identifier} accountIdentifier
|
|
402
|
-
* @returns {string}
|
|
412
|
+
* @param {Reaction} reaction
|
|
413
|
+
* @returns {Uint8Array}
|
|
403
414
|
*/
|
|
404
|
-
export function
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
var len1 = ret[1];
|
|
411
|
-
if (ret[3]) {
|
|
412
|
-
ptr1 = 0; len1 = 0;
|
|
413
|
-
throw takeFromExternrefTable0(ret[2]);
|
|
414
|
-
}
|
|
415
|
-
deferred2_0 = ptr1;
|
|
416
|
-
deferred2_1 = len1;
|
|
417
|
-
return getStringFromWasm0(ptr1, len1);
|
|
418
|
-
} finally {
|
|
419
|
-
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
415
|
+
export function encodeReaction(reaction) {
|
|
416
|
+
_assertClass(reaction, Reaction);
|
|
417
|
+
var ptr0 = reaction.__destroy_into_raw();
|
|
418
|
+
const ret = wasm.encodeReaction(ptr0);
|
|
419
|
+
if (ret[2]) {
|
|
420
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
420
421
|
}
|
|
422
|
+
return takeFromExternrefTable0(ret[0]);
|
|
421
423
|
}
|
|
422
424
|
|
|
423
425
|
/**
|
|
424
|
-
* @param {
|
|
425
|
-
* @
|
|
426
|
-
* @returns {Promise<InboxState[]>}
|
|
426
|
+
* @param {Uint8Array} bytes
|
|
427
|
+
* @returns {Reaction}
|
|
427
428
|
*/
|
|
428
|
-
export function
|
|
429
|
-
const
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
return ret;
|
|
429
|
+
export function decodeReaction(bytes) {
|
|
430
|
+
const ret = wasm.decodeReaction(bytes);
|
|
431
|
+
if (ret[2]) {
|
|
432
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
433
|
+
}
|
|
434
|
+
return Reaction.__wrap(ret[0]);
|
|
435
435
|
}
|
|
436
436
|
|
|
437
437
|
/**
|
|
@@ -454,11 +454,11 @@ function __wbg_adapter_51(arg0, arg1) {
|
|
|
454
454
|
}
|
|
455
455
|
|
|
456
456
|
function __wbg_adapter_54(arg0, arg1, arg2) {
|
|
457
|
-
wasm.
|
|
457
|
+
wasm.closure5311_externref_shim(arg0, arg1, arg2);
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
function __wbg_adapter_791(arg0, arg1, arg2, arg3) {
|
|
461
|
-
wasm.
|
|
461
|
+
wasm.closure6253_externref_shim(arg0, arg1, arg2, arg3);
|
|
462
462
|
}
|
|
463
463
|
|
|
464
464
|
/**
|
|
@@ -959,6 +959,45 @@ export class Client {
|
|
|
959
959
|
const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
|
|
960
960
|
return ret;
|
|
961
961
|
}
|
|
962
|
+
/**
|
|
963
|
+
*
|
|
964
|
+
* * Get the client's inbox state.
|
|
965
|
+
* *
|
|
966
|
+
* * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
|
|
967
|
+
* * Otherwise, the state will be read from the local database.
|
|
968
|
+
*
|
|
969
|
+
* @param {boolean} refresh_from_network
|
|
970
|
+
* @returns {Promise<InboxState>}
|
|
971
|
+
*/
|
|
972
|
+
inboxState(refresh_from_network) {
|
|
973
|
+
const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
|
|
974
|
+
return ret;
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
* @param {string} inbox_id
|
|
978
|
+
* @returns {Promise<InboxState>}
|
|
979
|
+
*/
|
|
980
|
+
getLatestInboxState(inbox_id) {
|
|
981
|
+
const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
982
|
+
const len0 = WASM_VECTOR_LEN;
|
|
983
|
+
const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
|
|
984
|
+
return ret;
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
*
|
|
988
|
+
* * Get key package statuses for a list of installation IDs.
|
|
989
|
+
* *
|
|
990
|
+
* * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
|
|
991
|
+
*
|
|
992
|
+
* @param {string[]} installation_ids
|
|
993
|
+
* @returns {Promise<any>}
|
|
994
|
+
*/
|
|
995
|
+
getKeyPackageStatusesForInstallationIds(installation_ids) {
|
|
996
|
+
const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
|
|
997
|
+
const len0 = WASM_VECTOR_LEN;
|
|
998
|
+
const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
|
|
999
|
+
return ret;
|
|
1000
|
+
}
|
|
962
1001
|
/**
|
|
963
1002
|
* @returns {SignatureRequestHandle | undefined}
|
|
964
1003
|
*/
|
|
@@ -1054,45 +1093,6 @@ export class Client {
|
|
|
1054
1093
|
throw takeFromExternrefTable0(ret[0]);
|
|
1055
1094
|
}
|
|
1056
1095
|
}
|
|
1057
|
-
/**
|
|
1058
|
-
*
|
|
1059
|
-
* * Get the client's inbox state.
|
|
1060
|
-
* *
|
|
1061
|
-
* * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
|
|
1062
|
-
* * Otherwise, the state will be read from the local database.
|
|
1063
|
-
*
|
|
1064
|
-
* @param {boolean} refresh_from_network
|
|
1065
|
-
* @returns {Promise<InboxState>}
|
|
1066
|
-
*/
|
|
1067
|
-
inboxState(refresh_from_network) {
|
|
1068
|
-
const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
|
|
1069
|
-
return ret;
|
|
1070
|
-
}
|
|
1071
|
-
/**
|
|
1072
|
-
* @param {string} inbox_id
|
|
1073
|
-
* @returns {Promise<InboxState>}
|
|
1074
|
-
*/
|
|
1075
|
-
getLatestInboxState(inbox_id) {
|
|
1076
|
-
const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1077
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1078
|
-
const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
|
|
1079
|
-
return ret;
|
|
1080
|
-
}
|
|
1081
|
-
/**
|
|
1082
|
-
*
|
|
1083
|
-
* * Get key package statuses for a list of installation IDs.
|
|
1084
|
-
* *
|
|
1085
|
-
* * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
|
|
1086
|
-
*
|
|
1087
|
-
* @param {string[]} installation_ids
|
|
1088
|
-
* @returns {Promise<any>}
|
|
1089
|
-
*/
|
|
1090
|
-
getKeyPackageStatusesForInstallationIds(installation_ids) {
|
|
1091
|
-
const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
|
|
1092
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1093
|
-
const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
|
|
1094
|
-
return ret;
|
|
1095
|
-
}
|
|
1096
1096
|
}
|
|
1097
1097
|
|
|
1098
1098
|
const ConsentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -1859,14 +1859,14 @@ export class ConversationDebugInfo {
|
|
|
1859
1859
|
* @returns {bigint}
|
|
1860
1860
|
*/
|
|
1861
1861
|
get epoch() {
|
|
1862
|
-
const ret = wasm.
|
|
1862
|
+
const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
|
|
1863
1863
|
return BigInt.asUintN(64, ret);
|
|
1864
1864
|
}
|
|
1865
1865
|
/**
|
|
1866
1866
|
* @param {bigint} arg0
|
|
1867
1867
|
*/
|
|
1868
1868
|
set epoch(arg0) {
|
|
1869
|
-
wasm.
|
|
1869
|
+
wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
|
|
1870
1870
|
}
|
|
1871
1871
|
/**
|
|
1872
1872
|
* @returns {boolean}
|
|
@@ -1967,14 +1967,14 @@ export class ConversationDebugInfo {
|
|
|
1967
1967
|
* @returns {bigint}
|
|
1968
1968
|
*/
|
|
1969
1969
|
get cursor() {
|
|
1970
|
-
const ret = wasm.
|
|
1970
|
+
const ret = wasm.__wbg_get_conversationdebuginfo_cursor(this.__wbg_ptr);
|
|
1971
1971
|
return ret;
|
|
1972
1972
|
}
|
|
1973
1973
|
/**
|
|
1974
1974
|
* @param {bigint} arg0
|
|
1975
1975
|
*/
|
|
1976
1976
|
set cursor(arg0) {
|
|
1977
|
-
wasm.
|
|
1977
|
+
wasm.__wbg_set_conversationdebuginfo_cursor(this.__wbg_ptr, arg0);
|
|
1978
1978
|
}
|
|
1979
1979
|
}
|
|
1980
1980
|
|
|
@@ -2910,14 +2910,14 @@ export class HmacKey {
|
|
|
2910
2910
|
* @returns {bigint}
|
|
2911
2911
|
*/
|
|
2912
2912
|
get epoch() {
|
|
2913
|
-
const ret = wasm.
|
|
2913
|
+
const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
|
|
2914
2914
|
return ret;
|
|
2915
2915
|
}
|
|
2916
2916
|
/**
|
|
2917
2917
|
* @param {bigint} arg0
|
|
2918
2918
|
*/
|
|
2919
2919
|
set epoch(arg0) {
|
|
2920
|
-
wasm.
|
|
2920
|
+
wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
|
|
2921
2921
|
}
|
|
2922
2922
|
}
|
|
2923
2923
|
|
|
@@ -3046,7 +3046,7 @@ export class InboxState {
|
|
|
3046
3046
|
set inboxId(arg0) {
|
|
3047
3047
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3048
3048
|
const len0 = WASM_VECTOR_LEN;
|
|
3049
|
-
wasm.
|
|
3049
|
+
wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
|
|
3050
3050
|
}
|
|
3051
3051
|
/**
|
|
3052
3052
|
* @returns {Identifier}
|
|
@@ -3181,7 +3181,7 @@ export class Installation {
|
|
|
3181
3181
|
set id(arg0) {
|
|
3182
3182
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3183
3183
|
const len0 = WASM_VECTOR_LEN;
|
|
3184
|
-
wasm.
|
|
3184
|
+
wasm.__wbg_set_conversationdebuginfo_forkDetails(this.__wbg_ptr, ptr0, len0);
|
|
3185
3185
|
}
|
|
3186
3186
|
/**
|
|
3187
3187
|
* @returns {bigint | undefined}
|
|
@@ -3366,7 +3366,7 @@ export class KeyPackageStatus {
|
|
|
3366
3366
|
* @returns {Lifetime | undefined}
|
|
3367
3367
|
*/
|
|
3368
3368
|
get lifetime() {
|
|
3369
|
-
const ret = wasm.
|
|
3369
|
+
const ret = wasm.__wbg_get_createdmoptions_messageDisappearingSettings(this.__wbg_ptr);
|
|
3370
3370
|
return ret === 0 ? undefined : Lifetime.__wrap(ret);
|
|
3371
3371
|
}
|
|
3372
3372
|
/**
|
|
@@ -3378,7 +3378,7 @@ export class KeyPackageStatus {
|
|
|
3378
3378
|
_assertClass(arg0, Lifetime);
|
|
3379
3379
|
ptr0 = arg0.__destroy_into_raw();
|
|
3380
3380
|
}
|
|
3381
|
-
wasm.
|
|
3381
|
+
wasm.__wbg_set_createdmoptions_messageDisappearingSettings(this.__wbg_ptr, ptr0);
|
|
3382
3382
|
}
|
|
3383
3383
|
/**
|
|
3384
3384
|
* @returns {string | undefined}
|
|
@@ -3431,27 +3431,27 @@ export class Lifetime {
|
|
|
3431
3431
|
* @returns {bigint}
|
|
3432
3432
|
*/
|
|
3433
3433
|
get not_before() {
|
|
3434
|
-
const ret = wasm.
|
|
3434
|
+
const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
|
|
3435
3435
|
return BigInt.asUintN(64, ret);
|
|
3436
3436
|
}
|
|
3437
3437
|
/**
|
|
3438
3438
|
* @param {bigint} arg0
|
|
3439
3439
|
*/
|
|
3440
3440
|
set not_before(arg0) {
|
|
3441
|
-
wasm.
|
|
3441
|
+
wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
|
|
3442
3442
|
}
|
|
3443
3443
|
/**
|
|
3444
3444
|
* @returns {bigint}
|
|
3445
3445
|
*/
|
|
3446
3446
|
get not_after() {
|
|
3447
|
-
const ret = wasm.
|
|
3447
|
+
const ret = wasm.__wbg_get_conversationdebuginfo_cursor(this.__wbg_ptr);
|
|
3448
3448
|
return BigInt.asUintN(64, ret);
|
|
3449
3449
|
}
|
|
3450
3450
|
/**
|
|
3451
3451
|
* @param {bigint} arg0
|
|
3452
3452
|
*/
|
|
3453
3453
|
set not_after(arg0) {
|
|
3454
|
-
wasm.
|
|
3454
|
+
wasm.__wbg_set_conversationdebuginfo_cursor(this.__wbg_ptr, arg0);
|
|
3455
3455
|
}
|
|
3456
3456
|
}
|
|
3457
3457
|
|
|
@@ -3516,7 +3516,7 @@ export class ListConversationsOptions {
|
|
|
3516
3516
|
* @param {bigint | null} [arg0]
|
|
3517
3517
|
*/
|
|
3518
3518
|
set createdAfterNs(arg0) {
|
|
3519
|
-
wasm.
|
|
3519
|
+
wasm.__wbg_set_installation_clientTimestampNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
3520
3520
|
}
|
|
3521
3521
|
/**
|
|
3522
3522
|
* @returns {bigint | undefined}
|
|
@@ -3623,7 +3623,7 @@ export class ListMessagesOptions {
|
|
|
3623
3623
|
* @param {bigint | null} [arg0]
|
|
3624
3624
|
*/
|
|
3625
3625
|
set sentBeforeNs(arg0) {
|
|
3626
|
-
wasm.
|
|
3626
|
+
wasm.__wbg_set_installation_clientTimestampNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
3627
3627
|
}
|
|
3628
3628
|
/**
|
|
3629
3629
|
* @returns {bigint | undefined}
|
|
@@ -3845,14 +3845,14 @@ export class Message {
|
|
|
3845
3845
|
* @returns {bigint}
|
|
3846
3846
|
*/
|
|
3847
3847
|
get sentAtNs() {
|
|
3848
|
-
const ret = wasm.
|
|
3848
|
+
const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
|
|
3849
3849
|
return ret;
|
|
3850
3850
|
}
|
|
3851
3851
|
/**
|
|
3852
3852
|
* @param {bigint} arg0
|
|
3853
3853
|
*/
|
|
3854
3854
|
set sentAtNs(arg0) {
|
|
3855
|
-
wasm.
|
|
3855
|
+
wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
|
|
3856
3856
|
}
|
|
3857
3857
|
/**
|
|
3858
3858
|
* @returns {string}
|
|
@@ -3995,27 +3995,27 @@ export class MessageDisappearingSettings {
|
|
|
3995
3995
|
* @returns {bigint}
|
|
3996
3996
|
*/
|
|
3997
3997
|
get fromNs() {
|
|
3998
|
-
const ret = wasm.
|
|
3998
|
+
const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
|
|
3999
3999
|
return ret;
|
|
4000
4000
|
}
|
|
4001
4001
|
/**
|
|
4002
4002
|
* @param {bigint} arg0
|
|
4003
4003
|
*/
|
|
4004
4004
|
set fromNs(arg0) {
|
|
4005
|
-
wasm.
|
|
4005
|
+
wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
|
|
4006
4006
|
}
|
|
4007
4007
|
/**
|
|
4008
4008
|
* @returns {bigint}
|
|
4009
4009
|
*/
|
|
4010
4010
|
get inNs() {
|
|
4011
|
-
const ret = wasm.
|
|
4011
|
+
const ret = wasm.__wbg_get_conversationdebuginfo_cursor(this.__wbg_ptr);
|
|
4012
4012
|
return ret;
|
|
4013
4013
|
}
|
|
4014
4014
|
/**
|
|
4015
4015
|
* @param {bigint} arg0
|
|
4016
4016
|
*/
|
|
4017
4017
|
set inNs(arg0) {
|
|
4018
|
-
wasm.
|
|
4018
|
+
wasm.__wbg_set_conversationdebuginfo_cursor(this.__wbg_ptr, arg0);
|
|
4019
4019
|
}
|
|
4020
4020
|
/**
|
|
4021
4021
|
* @param {bigint} from_ns
|
|
@@ -4497,7 +4497,7 @@ export class Reaction {
|
|
|
4497
4497
|
set reference(arg0) {
|
|
4498
4498
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4499
4499
|
const len0 = WASM_VECTOR_LEN;
|
|
4500
|
-
wasm.
|
|
4500
|
+
wasm.__wbg_set_reaction_reference(this.__wbg_ptr, ptr0, len0);
|
|
4501
4501
|
}
|
|
4502
4502
|
/**
|
|
4503
4503
|
* @returns {string}
|
|
@@ -4520,7 +4520,7 @@ export class Reaction {
|
|
|
4520
4520
|
set referenceInboxId(arg0) {
|
|
4521
4521
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4522
4522
|
const len0 = WASM_VECTOR_LEN;
|
|
4523
|
-
wasm.
|
|
4523
|
+
wasm.__wbg_set_reaction_referenceInboxId(this.__wbg_ptr, ptr0, len0);
|
|
4524
4524
|
}
|
|
4525
4525
|
/**
|
|
4526
4526
|
* @returns {ReactionAction}
|
|
@@ -5534,22 +5534,22 @@ function __wbg_get_imports() {
|
|
|
5534
5534
|
const ret = Date.now();
|
|
5535
5535
|
return ret;
|
|
5536
5536
|
};
|
|
5537
|
-
imports.wbg.
|
|
5537
|
+
imports.wbg.__wbg_onclose_6d900f905339b16d = function(arg0) {
|
|
5538
5538
|
arg0.on_close();
|
|
5539
5539
|
};
|
|
5540
|
-
imports.wbg.
|
|
5540
|
+
imports.wbg.__wbg_onconsentupdate_dc4dd4c1039df55a = function(arg0, arg1) {
|
|
5541
5541
|
arg0.on_consent_update(arg1);
|
|
5542
5542
|
};
|
|
5543
|
-
imports.wbg.
|
|
5543
|
+
imports.wbg.__wbg_onconversation_86946e15baf2d062 = function(arg0, arg1) {
|
|
5544
5544
|
arg0.on_conversation(Conversation.__wrap(arg1));
|
|
5545
5545
|
};
|
|
5546
|
-
imports.wbg.
|
|
5546
|
+
imports.wbg.__wbg_onerror_24ace778e2870d24 = function(arg0, arg1) {
|
|
5547
5547
|
arg0.on_error(arg1);
|
|
5548
5548
|
};
|
|
5549
|
-
imports.wbg.
|
|
5549
|
+
imports.wbg.__wbg_onmessage_c3cea315ef93f22c = function(arg0, arg1) {
|
|
5550
5550
|
arg0.on_message(Message.__wrap(arg1));
|
|
5551
5551
|
};
|
|
5552
|
-
imports.wbg.
|
|
5552
|
+
imports.wbg.__wbg_onuserpreferenceupdate_cdde1a848db85a79 = function(arg0, arg1, arg2) {
|
|
5553
5553
|
var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
|
|
5554
5554
|
wasm.__wbindgen_free(arg1, arg2 * 4, 4);
|
|
5555
5555
|
arg0.on_user_preference_update(v0);
|
|
@@ -5838,16 +5838,16 @@ function __wbg_get_imports() {
|
|
|
5838
5838
|
const ret = false;
|
|
5839
5839
|
return ret;
|
|
5840
5840
|
};
|
|
5841
|
-
imports.wbg.
|
|
5842
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5841
|
+
imports.wbg.__wbindgen_closure_wrapper20682 = function(arg0, arg1, arg2) {
|
|
5842
|
+
const ret = makeMutClosure(arg0, arg1, 5030, __wbg_adapter_48);
|
|
5843
5843
|
return ret;
|
|
5844
5844
|
};
|
|
5845
|
-
imports.wbg.
|
|
5846
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5845
|
+
imports.wbg.__wbindgen_closure_wrapper22852 = function(arg0, arg1, arg2) {
|
|
5846
|
+
const ret = makeMutClosure(arg0, arg1, 5297, __wbg_adapter_51);
|
|
5847
5847
|
return ret;
|
|
5848
5848
|
};
|
|
5849
|
-
imports.wbg.
|
|
5850
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5849
|
+
imports.wbg.__wbindgen_closure_wrapper23481 = function(arg0, arg1, arg2) {
|
|
5850
|
+
const ret = makeMutClosure(arg0, arg1, 5310, __wbg_adapter_54);
|
|
5851
5851
|
return ret;
|
|
5852
5852
|
};
|
|
5853
5853
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -62,18 +62,6 @@ export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number,
|
|
|
62
62
|
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
|
-
export const __wbg_reaction_free: (a: number, b: number) => void;
|
|
66
|
-
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
67
|
-
export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
68
|
-
export const __wbg_get_reaction_action: (a: number) => number;
|
|
69
|
-
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
70
|
-
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
71
|
-
export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
72
|
-
export const __wbg_get_reaction_schema: (a: number) => number;
|
|
73
|
-
export const __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
74
|
-
export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
75
|
-
export const encodeReaction: (a: number) => [number, number, number];
|
|
76
|
-
export const decodeReaction: (a: any) => [number, number, number];
|
|
77
65
|
export const __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
78
66
|
export const groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
79
67
|
export const groupmetadata_conversationType: (a: number) => [number, number];
|
|
@@ -136,8 +124,6 @@ export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [n
|
|
|
136
124
|
export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
137
125
|
export const __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
138
126
|
export const __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
139
|
-
export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
140
|
-
export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
141
127
|
export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
142
128
|
export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
143
129
|
export const __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
@@ -145,9 +131,10 @@ export const __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number,
|
|
|
145
131
|
export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
146
132
|
export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
147
133
|
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;
|
|
148
|
-
export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
149
134
|
export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
150
135
|
export const __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
136
|
+
export const __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
137
|
+
export const __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
151
138
|
export const __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
152
139
|
export const __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
153
140
|
export const __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
@@ -158,6 +145,8 @@ export const __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [num
|
|
|
158
145
|
export const __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
|
|
159
146
|
export const __wbg_get_conversationdebuginfo_remoteCommitLog: (a: number) => [number, number];
|
|
160
147
|
export const __wbg_set_conversationdebuginfo_remoteCommitLog: (a: number, b: number, c: number) => void;
|
|
148
|
+
export const __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
|
|
149
|
+
export const __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
|
|
161
150
|
export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
162
151
|
export const __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
163
152
|
export const __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
@@ -224,24 +213,32 @@ export const __wbg_set_encodedcontent_compression: (a: number, b: number) => voi
|
|
|
224
213
|
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
225
214
|
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
226
215
|
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
227
|
-
export const
|
|
228
|
-
export const
|
|
229
|
-
export const
|
|
230
|
-
export const
|
|
231
|
-
export const
|
|
232
|
-
export const
|
|
233
|
-
export const
|
|
234
|
-
export const
|
|
235
|
-
export const
|
|
236
|
-
export const
|
|
237
|
-
export const
|
|
238
|
-
export const
|
|
239
|
-
export const
|
|
240
|
-
export const
|
|
241
|
-
export const
|
|
242
|
-
export const
|
|
243
|
-
export const
|
|
244
|
-
export const
|
|
216
|
+
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
217
|
+
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
218
|
+
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
219
|
+
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
220
|
+
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
221
|
+
export const __wbg_get_installation_id: (a: number) => [number, number];
|
|
222
|
+
export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
223
|
+
export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
224
|
+
export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
225
|
+
export const __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
226
|
+
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
227
|
+
export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
228
|
+
export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
229
|
+
export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
230
|
+
export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
231
|
+
export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
232
|
+
export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
233
|
+
export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
234
|
+
export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
235
|
+
export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
236
|
+
export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
237
|
+
export const __wbg_lifetime_free: (a: number, b: number) => void;
|
|
238
|
+
export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
239
|
+
export const client_inboxState: (a: number, b: number) => any;
|
|
240
|
+
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
241
|
+
export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
245
242
|
export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
246
243
|
export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
247
244
|
export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -271,6 +268,19 @@ export const __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
|
271
268
|
export const __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
272
269
|
export const __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
273
270
|
export const __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
271
|
+
export const __wbg_opfs_free: (a: number, b: number) => void;
|
|
272
|
+
export const opfs_init_sqlite_opfs: () => any;
|
|
273
|
+
export const opfs_exists: () => number;
|
|
274
|
+
export const opfs_error: () => [number, number];
|
|
275
|
+
export const opfs_wipeFiles: () => any;
|
|
276
|
+
export const opfs_rm: (a: number, b: number) => [number, number, number];
|
|
277
|
+
export const opfs_getFileNames: () => [number, number];
|
|
278
|
+
export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
279
|
+
export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
280
|
+
export const opfs_getFileCount: () => number;
|
|
281
|
+
export const opfs_getCapacity: () => number;
|
|
282
|
+
export const opfs_addCapacity: (a: number) => any;
|
|
283
|
+
export const opfs_reduceCapacity: (a: number) => any;
|
|
274
284
|
export const __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
275
285
|
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
276
286
|
export const revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
@@ -296,23 +306,20 @@ export const streamcloser_endAndWait: (a: number) => any;
|
|
|
296
306
|
export const streamcloser_waitForReady: (a: number) => any;
|
|
297
307
|
export const streamcloser_isClosed: (a: number) => number;
|
|
298
308
|
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
299
|
-
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
300
309
|
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
301
310
|
export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
302
311
|
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
303
|
-
export const
|
|
312
|
+
export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
313
|
+
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
304
314
|
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
305
315
|
export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
306
316
|
export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
307
317
|
export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
308
|
-
export const
|
|
309
|
-
export const
|
|
310
|
-
export const __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
311
|
-
export const __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
312
|
-
export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
313
|
-
export const __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
318
|
+
export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
319
|
+
export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
314
320
|
export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
315
321
|
export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
322
|
+
export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
316
323
|
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
317
324
|
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
318
325
|
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
@@ -320,63 +327,56 @@ export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
|
320
327
|
export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
321
328
|
export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
322
329
|
export const __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
323
|
-
export const
|
|
324
|
-
export const
|
|
325
|
-
export const __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
326
|
-
export const __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
327
|
-
export const __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
328
|
-
export const __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
330
|
+
export const __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
331
|
+
export const __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
329
332
|
export const __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
333
|
+
export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
330
334
|
export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
331
335
|
export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
332
336
|
export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
333
|
-
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
334
|
-
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
335
|
-
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
336
|
-
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
337
|
-
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
338
|
-
export const __wbg_get_installation_id: (a: number) => [number, number];
|
|
339
|
-
export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
340
|
-
export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
341
|
-
export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
342
|
-
export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
343
|
-
export const __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
344
|
-
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
345
|
-
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
346
|
-
export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
347
|
-
export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
348
|
-
export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
349
|
-
export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
350
|
-
export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
351
|
-
export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
352
|
-
export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
353
|
-
export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
354
|
-
export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
355
337
|
export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
356
|
-
export const
|
|
357
|
-
export const
|
|
358
|
-
export const
|
|
359
|
-
export const
|
|
360
|
-
export const
|
|
361
|
-
export const
|
|
362
|
-
export const
|
|
363
|
-
export const
|
|
364
|
-
export const
|
|
365
|
-
export const
|
|
366
|
-
export const
|
|
367
|
-
export const
|
|
368
|
-
export const
|
|
369
|
-
export const
|
|
370
|
-
export const
|
|
371
|
-
export const
|
|
372
|
-
export const
|
|
373
|
-
export const
|
|
374
|
-
export const
|
|
375
|
-
export const
|
|
376
|
-
export const
|
|
377
|
-
export const
|
|
378
|
-
export const
|
|
379
|
-
export const
|
|
338
|
+
export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
339
|
+
export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
340
|
+
export const __wbg_apistats_free: (a: number, b: number) => void;
|
|
341
|
+
export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
342
|
+
export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
343
|
+
export const __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
344
|
+
export const __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
345
|
+
export const __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
346
|
+
export const __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
347
|
+
export const __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
348
|
+
export const __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
349
|
+
export const __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
350
|
+
export const __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
351
|
+
export const __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
352
|
+
export const __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
353
|
+
export const __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
354
|
+
export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
355
|
+
export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
356
|
+
export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
357
|
+
export const __wbg_identitystats_free: (a: number, b: number) => void;
|
|
358
|
+
export const __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
359
|
+
export const __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
360
|
+
export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
361
|
+
export const __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
362
|
+
export const __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
363
|
+
export const __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
364
|
+
export const __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
365
|
+
export const __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
366
|
+
export const __wbg_reaction_free: (a: number, b: number) => void;
|
|
367
|
+
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
368
|
+
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
369
|
+
export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
370
|
+
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
371
|
+
export const __wbg_get_reaction_action: (a: number) => number;
|
|
372
|
+
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
373
|
+
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
374
|
+
export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
375
|
+
export const __wbg_get_reaction_schema: (a: number) => number;
|
|
376
|
+
export const __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
377
|
+
export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
378
|
+
export const encodeReaction: (a: number) => [number, number, number];
|
|
379
|
+
export const decodeReaction: (a: any) => [number, number, number];
|
|
380
380
|
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
381
381
|
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
382
382
|
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -442,6 +442,6 @@ export const __wbindgen_export_7: WebAssembly.Table;
|
|
|
442
442
|
export const __externref_table_dealloc: (a: number) => void;
|
|
443
443
|
export const wasm_bindgen__convert__closures_____invoke__h231d11d7d151a506: (a: number, b: number) => void;
|
|
444
444
|
export const wasm_bindgen__convert__closures_____invoke__hfa5440517c90e88d: (a: number, b: number) => void;
|
|
445
|
-
export const
|
|
446
|
-
export const
|
|
445
|
+
export const closure5311_externref_shim: (a: number, b: number, c: any) => void;
|
|
446
|
+
export const closure6253_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
447
447
|
export const __wbindgen_start: () => void;
|
package/dist/version.json
CHANGED