@xmtp/wasm-bindings 1.3.4 → 1.3.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.
@@ -1,16 +1,16 @@
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
- export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
6
- export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
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>;
7
4
  export function encodeReaction(reaction: Reaction): Uint8Array;
8
5
  export function decodeReaction(bytes: Uint8Array): Reaction;
6
+ export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
9
7
  export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
10
8
  export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
11
9
  export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
12
- 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): Promise<Client>;
13
- export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
10
+ export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
11
+ export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
12
+ export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
13
+ export function generateInboxId(accountIdentifier: Identifier): string;
14
14
  /**
15
15
  * Entry point invoked by JavaScript in a worker.
16
16
  */
@@ -135,18 +135,6 @@ export class ApiStats {
135
135
  export class Client {
136
136
  private constructor();
137
137
  free(): void;
138
- setConsentStates(records: Consent[]): Promise<void>;
139
- getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
140
- createInboxSignatureRequest(): SignatureRequestHandle | undefined;
141
- addWalletSignatureRequest(new_identifier: Identifier): Promise<SignatureRequestHandle>;
142
- revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
143
- revokeAllOtherInstallationsSignatureRequest(): Promise<SignatureRequestHandle>;
144
- revokeInstallationsSignatureRequest(installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
145
- changeRecoveryIdentifierSignatureRequest(new_recovery_identifier: Identifier): Promise<SignatureRequestHandle>;
146
- applySignatureRequest(signature_request: SignatureRequestHandle): Promise<void>;
147
- registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
148
- signWithInstallationKey(signature_text: string): Uint8Array;
149
- verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
150
138
  /**
151
139
  * Output booleans should be zipped with the index of input identifiers
152
140
  */
@@ -161,6 +149,8 @@ export class Client {
161
149
  apiAggregateStatistics(): string;
162
150
  clearAllStatistics(): void;
163
151
  uploadDebugArchive(server_url: string): Promise<string>;
152
+ setConsentStates(records: Consent[]): Promise<void>;
153
+ getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
164
154
  /**
165
155
  *
166
156
  * * Get the client's inbox state.
@@ -179,11 +169,23 @@ export class Client {
179
169
  *
180
170
  */
181
171
  getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
172
+ createInboxSignatureRequest(): SignatureRequestHandle | undefined;
173
+ addWalletSignatureRequest(new_identifier: Identifier): Promise<SignatureRequestHandle>;
174
+ revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
175
+ revokeAllOtherInstallationsSignatureRequest(): Promise<SignatureRequestHandle>;
176
+ revokeInstallationsSignatureRequest(installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
177
+ changeRecoveryIdentifierSignatureRequest(new_recovery_identifier: Identifier): Promise<SignatureRequestHandle>;
178
+ applySignatureRequest(signature_request: SignatureRequestHandle): Promise<void>;
179
+ registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
180
+ signWithInstallationKey(signature_text: string): Uint8Array;
181
+ verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
182
182
  readonly accountIdentifier: Identifier;
183
183
  readonly inboxId: string;
184
184
  readonly isRegistered: boolean;
185
185
  readonly installationId: string;
186
186
  readonly installationIdBytes: Uint8Array;
187
+ readonly appVersion: string;
188
+ readonly libxmtpVersion: string;
187
189
  }
188
190
  export class Consent {
189
191
  free(): void;
@@ -615,8 +617,34 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
615
617
 
616
618
  export interface InitOutput {
617
619
  readonly memory: WebAssembly.Memory;
618
- readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
619
- readonly generateInboxId: (a: any) => [number, number, number, number];
620
+ readonly __wbg_client_free: (a: number, b: number) => void;
621
+ readonly __wbg_logoptions_free: (a: number, b: number) => void;
622
+ readonly __wbg_get_logoptions_structured: (a: number) => number;
623
+ readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
624
+ readonly __wbg_get_logoptions_performance: (a: number) => number;
625
+ readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
626
+ readonly __wbg_get_logoptions_level: (a: number) => number;
627
+ readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
628
+ readonly logoptions_new: (a: number, b: number, c: number) => number;
629
+ readonly createClient: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number) => any;
630
+ readonly client_accountIdentifier: (a: number) => any;
631
+ readonly client_inboxId: (a: number) => [number, number];
632
+ readonly client_isRegistered: (a: number) => number;
633
+ readonly client_installationId: (a: number) => [number, number];
634
+ readonly client_installationIdBytes: (a: number) => any;
635
+ readonly client_appVersion: (a: number) => [number, number];
636
+ readonly client_libxmtpVersion: (a: number) => [number, number];
637
+ readonly client_canMessage: (a: number, b: number, c: number) => any;
638
+ readonly client_sendSyncRequest: (a: number) => any;
639
+ readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
640
+ readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
641
+ readonly client_conversations: (a: number) => number;
642
+ readonly client_syncPreferences: (a: number) => any;
643
+ readonly client_apiStatistics: (a: number) => number;
644
+ readonly client_apiIdentityStatistics: (a: number) => number;
645
+ readonly client_apiAggregateStatistics: (a: number) => [number, number];
646
+ readonly client_clearAllStatistics: (a: number) => void;
647
+ readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
620
648
  readonly __wbg_consent_free: (a: number, b: number) => void;
621
649
  readonly __wbg_get_consent_entityType: (a: number) => number;
622
650
  readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
@@ -629,25 +657,6 @@ export interface InitOutput {
629
657
  readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
630
658
  readonly conversation_consentState: (a: number) => [number, number, number];
631
659
  readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
632
- readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
633
- readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
634
- readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
635
- readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
636
- readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
637
- readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
638
- readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
639
- readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
640
- readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
641
- readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
642
- readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
643
- readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
644
- readonly remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
645
- readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
646
- readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
647
- readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
648
- readonly multiremoteattachment_new: (a: number, b: number) => number;
649
- readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
650
- readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
651
660
  readonly __wbg_reaction_free: (a: number, b: number) => void;
652
661
  readonly __wbg_get_reaction_action: (a: number) => number;
653
662
  readonly __wbg_set_reaction_action: (a: number, b: number) => void;
@@ -719,8 +728,6 @@ export interface InitOutput {
719
728
  readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
720
729
  readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
721
730
  readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
722
- readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
723
- readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
724
731
  readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
725
732
  readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
726
733
  readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
@@ -728,19 +735,14 @@ export interface InitOutput {
728
735
  readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
729
736
  readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
730
737
  readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
731
- readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
732
738
  readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
733
739
  readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
734
- readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
735
- readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
736
740
  readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
737
741
  readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
738
742
  readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
739
743
  readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
740
744
  readonly __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
741
745
  readonly __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
742
- readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
743
- readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
744
746
  readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
745
747
  readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
746
748
  readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
@@ -804,6 +806,46 @@ export interface InitOutput {
804
806
  readonly __wbg_get_encodedcontent_content: (a: number) => any;
805
807
  readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
806
808
  readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
809
+ readonly __wbg_apistats_free: (a: number, b: number) => void;
810
+ readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
811
+ readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
812
+ readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
813
+ readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
814
+ readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
815
+ readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
816
+ readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
817
+ readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
818
+ readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
819
+ readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
820
+ readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
821
+ readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
822
+ readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
823
+ readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
824
+ readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
825
+ readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
826
+ readonly __wbg_identitystats_free: (a: number, b: number) => void;
827
+ readonly __wbg_installation_free: (a: number, b: number) => void;
828
+ readonly __wbg_get_installation_bytes: (a: number) => any;
829
+ readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
830
+ readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
831
+ readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
832
+ readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
833
+ readonly __wbg_inboxstate_free: (a: number, b: number) => void;
834
+ readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
835
+ readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
836
+ readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
837
+ readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
838
+ readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
839
+ readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
840
+ readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
841
+ readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
842
+ readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
843
+ readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
844
+ readonly __wbg_lifetime_free: (a: number, b: number) => void;
845
+ readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
846
+ readonly client_inboxState: (a: number, b: number) => any;
847
+ readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
848
+ readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
807
849
  readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
808
850
  readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
809
851
  readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
@@ -870,107 +912,81 @@ export interface InitOutput {
870
912
  readonly streamcloser_endAndWait: (a: number) => any;
871
913
  readonly streamcloser_waitForReady: (a: number) => any;
872
914
  readonly streamcloser_isClosed: (a: number) => number;
915
+ readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
873
916
  readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
874
917
  readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
875
918
  readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
876
919
  readonly __wbg_get_reaction_reference: (a: number) => [number, number];
877
920
  readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
878
- readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
879
- readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
880
921
  readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
881
922
  readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
923
+ readonly __wbg_get_installation_id: (a: number) => [number, number];
924
+ readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
882
925
  readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
883
926
  readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
884
- readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
885
927
  readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
886
928
  readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
929
+ readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
930
+ readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
887
931
  readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
888
932
  readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
889
933
  readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
934
+ readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
935
+ readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
936
+ readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
937
+ readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
938
+ readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
939
+ 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;
890
942
  readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
891
943
  readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
892
944
  readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
893
945
  readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
946
+ readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
947
+ readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
948
+ readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
949
+ readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
950
+ readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
951
+ 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;
894
954
  readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
895
955
  readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
896
- readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
897
- readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
956
+ readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
898
957
  readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
899
958
  readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
900
959
  readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
901
960
  readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
902
- readonly __wbg_client_free: (a: number, b: number) => void;
903
- readonly __wbg_logoptions_free: (a: number, b: number) => void;
904
- readonly __wbg_get_logoptions_structured: (a: number) => number;
905
- readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
906
- readonly __wbg_get_logoptions_performance: (a: number) => number;
907
- readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
908
- readonly __wbg_get_logoptions_level: (a: number) => number;
909
- readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
910
- readonly logoptions_new: (a: number, b: number, c: number) => number;
911
- readonly createClient: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number) => any;
912
- readonly client_accountIdentifier: (a: number) => any;
913
- readonly client_inboxId: (a: number) => [number, number];
914
- readonly client_isRegistered: (a: number) => number;
915
- readonly client_installationId: (a: number) => [number, number];
916
- readonly client_installationIdBytes: (a: number) => any;
917
- readonly client_canMessage: (a: number, b: number, c: number) => any;
918
- readonly client_sendSyncRequest: (a: number) => any;
919
- readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
920
- readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
921
- readonly client_conversations: (a: number) => number;
922
- readonly client_syncPreferences: (a: number) => any;
923
- readonly client_apiStatistics: (a: number) => number;
924
- readonly client_apiIdentityStatistics: (a: number) => number;
925
- readonly client_apiAggregateStatistics: (a: number) => [number, number];
926
- readonly client_clearAllStatistics: (a: number) => void;
927
- readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
928
- readonly __wbg_apistats_free: (a: number, b: number) => void;
929
- readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
930
- readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
931
- readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
932
- readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
933
- readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
934
- readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
935
- readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
936
- readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
937
- readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
938
- readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
939
- readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
940
- readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
941
- readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
942
- readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
943
- readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
944
- readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
945
- readonly __wbg_identitystats_free: (a: number, b: number) => void;
946
- readonly __wbg_installation_free: (a: number, b: number) => void;
947
- readonly __wbg_get_installation_bytes: (a: number) => any;
948
- readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
949
- readonly __wbg_get_installation_id: (a: number) => [number, number];
950
- readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
951
- readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
952
- readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
953
- readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
954
- readonly __wbg_inboxstate_free: (a: number, b: number) => void;
955
- readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
956
- readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
957
- readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
958
- readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
959
- readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
960
- readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
961
- readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
962
- readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
963
- readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
964
- readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
965
961
  readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
962
+ readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
966
963
  readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
967
- readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
968
- readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
969
- readonly __wbg_lifetime_free: (a: number, b: number) => void;
970
- readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
971
- readonly client_inboxState: (a: number, b: number) => any;
972
- readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
973
- readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
964
+ readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
965
+ readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
966
+ readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
967
+ readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
968
+ readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
969
+ readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
970
+ readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
971
+ readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
972
+ readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
973
+ readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
974
+ readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
975
+ readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
976
+ readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
977
+ readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
978
+ readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
979
+ readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
980
+ readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
981
+ readonly remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
982
+ readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
983
+ readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
984
+ readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
985
+ readonly multiremoteattachment_new: (a: number, b: number) => number;
986
+ readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
987
+ readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
988
+ readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
989
+ readonly generateInboxId: (a: any) => [number, number, number, number];
974
990
  readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
975
991
  readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
976
992
  readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
@@ -992,18 +1008,6 @@ export interface InitOutput {
992
1008
  readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
993
1009
  readonly grouppermissions_policyType: (a: number) => [number, number, number];
994
1010
  readonly grouppermissions_policySet: (a: number) => [number, number, number];
995
- readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
996
- readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
997
- readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
998
- readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
999
- readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
1000
- readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
1001
- readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
1002
- readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
1003
- readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
1004
- readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
1005
- readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
1006
- readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
1007
1011
  readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
1008
1012
  readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
1009
1013
  readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
@@ -1046,10 +1050,10 @@ export interface InitOutput {
1046
1050
  readonly __externref_drop_slice: (a: number, b: number) => void;
1047
1051
  readonly __wbindgen_export_7: WebAssembly.Table;
1048
1052
  readonly __externref_table_dealloc: (a: number) => void;
1049
- readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h42782d8d6f6b94ef: (a: number, b: number) => void;
1050
- readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h912129f7a2cf8b7b: (a: number, b: number) => void;
1051
- readonly closure5049_externref_shim: (a: number, b: number, c: any) => void;
1052
- readonly closure5992_externref_shim: (a: number, b: number, c: any, d: any) => void;
1053
+ readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h469745bf9f974f96: (a: number, b: number) => void;
1054
+ readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc5db0b12f1fa1c9f: (a: number, b: number) => void;
1055
+ readonly closure4980_externref_shim: (a: number, b: number, c: any) => void;
1056
+ readonly closure5924_externref_shim: (a: number, b: number, c: any, d: any) => void;
1053
1057
  readonly __wbindgen_start: () => void;
1054
1058
  }
1055
1059