@xmtp/wasm-bindings 1.3.2 → 1.3.4

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 encodeReaction(reaction: Reaction): Uint8Array;
4
- export function decodeReaction(bytes: Uint8Array): Reaction;
5
3
  export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
6
4
  export function generateInboxId(accountIdentifier: Identifier): string;
7
- export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
5
+ export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
6
+ export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
7
+ export function encodeReaction(reaction: Reaction): Uint8Array;
8
+ export function decodeReaction(bytes: Uint8Array): Reaction;
8
9
  export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
9
10
  export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
10
11
  export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
11
- export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
12
- export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
13
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[]>;
14
14
  /**
15
15
  * Entry point invoked by JavaScript in a worker.
16
16
  */
@@ -137,24 +137,6 @@ export class Client {
137
137
  free(): void;
138
138
  setConsentStates(records: Consent[]): Promise<void>;
139
139
  getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
140
- /**
141
- *
142
- * * Get the client's inbox state.
143
- * *
144
- * * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
145
- * * Otherwise, the state will be read from the local database.
146
- *
147
- */
148
- inboxState(refresh_from_network: boolean): Promise<InboxState>;
149
- getLatestInboxState(inbox_id: string): Promise<InboxState>;
150
- /**
151
- *
152
- * * Get key package statuses for a list of installation IDs.
153
- * *
154
- * * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
155
- *
156
- */
157
- getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
158
140
  createInboxSignatureRequest(): SignatureRequestHandle | undefined;
159
141
  addWalletSignatureRequest(new_identifier: Identifier): Promise<SignatureRequestHandle>;
160
142
  revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
@@ -179,6 +161,24 @@ export class Client {
179
161
  apiAggregateStatistics(): string;
180
162
  clearAllStatistics(): void;
181
163
  uploadDebugArchive(server_url: string): Promise<string>;
164
+ /**
165
+ *
166
+ * * Get the client's inbox state.
167
+ * *
168
+ * * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
169
+ * * Otherwise, the state will be read from the local database.
170
+ *
171
+ */
172
+ inboxState(refresh_from_network: boolean): Promise<InboxState>;
173
+ getLatestInboxState(inbox_id: string): Promise<InboxState>;
174
+ /**
175
+ *
176
+ * * Get key package statuses for a list of installation IDs.
177
+ * *
178
+ * * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
179
+ *
180
+ */
181
+ getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
182
182
  readonly accountIdentifier: Identifier;
183
183
  readonly inboxId: string;
184
184
  readonly isRegistered: boolean;
@@ -615,6 +615,8 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
615
615
 
616
616
  export interface InitOutput {
617
617
  readonly memory: WebAssembly.Memory;
618
+ readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
619
+ readonly generateInboxId: (a: any) => [number, number, number, number];
618
620
  readonly __wbg_consent_free: (a: number, b: number) => void;
619
621
  readonly __wbg_get_consent_entityType: (a: number) => number;
620
622
  readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
@@ -627,6 +629,25 @@ export interface InitOutput {
627
629
  readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
628
630
  readonly conversation_consentState: (a: number) => [number, number, number];
629
631
  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];
630
651
  readonly __wbg_reaction_free: (a: number, b: number) => void;
631
652
  readonly __wbg_get_reaction_action: (a: number) => number;
632
653
  readonly __wbg_set_reaction_action: (a: number, b: number) => void;
@@ -698,6 +719,8 @@ export interface InitOutput {
698
719
  readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
699
720
  readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
700
721
  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;
701
724
  readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
702
725
  readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
703
726
  readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
@@ -705,6 +728,7 @@ export interface InitOutput {
705
728
  readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
706
729
  readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
707
730
  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;
708
732
  readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
709
733
  readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
710
734
  readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
@@ -780,30 +804,6 @@ export interface InitOutput {
780
804
  readonly __wbg_get_encodedcontent_content: (a: number) => any;
781
805
  readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
782
806
  readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
783
- readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
784
- readonly generateInboxId: (a: any) => [number, number, number, number];
785
- readonly __wbg_installation_free: (a: number, b: number) => void;
786
- readonly __wbg_get_installation_bytes: (a: number) => any;
787
- readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
788
- readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
789
- readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
790
- readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
791
- readonly __wbg_inboxstate_free: (a: number, b: number) => void;
792
- readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
793
- readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
794
- readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
795
- readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
796
- readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
797
- readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
798
- readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
799
- readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
800
- readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
801
- readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
802
- readonly __wbg_lifetime_free: (a: number, b: number) => void;
803
- readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
804
- readonly client_inboxState: (a: number, b: number) => any;
805
- readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
806
- readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
807
807
  readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
808
808
  readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
809
809
  readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
@@ -870,43 +870,61 @@ export interface InitOutput {
870
870
  readonly streamcloser_endAndWait: (a: number) => any;
871
871
  readonly streamcloser_waitForReady: (a: number) => any;
872
872
  readonly streamcloser_isClosed: (a: number) => number;
873
- readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
874
873
  readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
875
874
  readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
876
875
  readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
877
876
  readonly __wbg_get_reaction_reference: (a: number) => [number, number];
878
877
  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];
879
880
  readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
880
881
  readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
881
- readonly __wbg_get_installation_id: (a: number) => [number, number];
882
- readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
883
882
  readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
884
883
  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
885
  readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
886
886
  readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
887
- readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
888
- readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
889
887
  readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
890
888
  readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
891
889
  readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
892
- readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
893
- readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
894
890
  readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
895
891
  readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
896
892
  readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
897
893
  readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
898
- readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
899
- readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
900
894
  readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
901
895
  readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
902
- readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
896
+ readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
897
+ readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
903
898
  readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
904
899
  readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
905
900
  readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
906
901
  readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
907
- readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
908
- readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
909
- readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
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;
910
928
  readonly __wbg_apistats_free: (a: number, b: number) => void;
911
929
  readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
912
930
  readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
@@ -925,6 +943,34 @@ export interface InitOutput {
925
943
  readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
926
944
  readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
927
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
+ readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
966
+ 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;
928
974
  readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
929
975
  readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
930
976
  readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
@@ -950,60 +996,14 @@ export interface InitOutput {
950
996
  readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
951
997
  readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
952
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;
953
1001
  readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
954
1002
  readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
955
1003
  readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
956
1004
  readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
957
- readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
958
- readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
959
- readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
960
- readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
961
- readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
962
- readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
963
- readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
964
- readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
965
- readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
966
- readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
967
- readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
968
- readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
969
- readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
970
- readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
971
- readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
972
- readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
973
- readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
974
- 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;
975
- readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
976
- readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
977
- readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
978
- readonly multiremoteattachment_new: (a: number, b: number) => number;
979
- readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
980
- readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
981
- readonly __wbg_client_free: (a: number, b: number) => void;
982
- readonly __wbg_logoptions_free: (a: number, b: number) => void;
983
- readonly __wbg_get_logoptions_structured: (a: number) => number;
984
- readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
985
- readonly __wbg_get_logoptions_performance: (a: number) => number;
986
- readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
987
- readonly __wbg_get_logoptions_level: (a: number) => number;
988
- readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
989
- readonly logoptions_new: (a: number, b: number, c: number) => number;
990
- 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;
991
- readonly client_accountIdentifier: (a: number) => any;
992
- readonly client_inboxId: (a: number) => [number, number];
993
- readonly client_isRegistered: (a: number) => number;
994
- readonly client_installationId: (a: number) => [number, number];
995
- readonly client_installationIdBytes: (a: number) => any;
996
- readonly client_canMessage: (a: number, b: number, c: number) => any;
997
- readonly client_sendSyncRequest: (a: number) => any;
998
- readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
999
- readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
1000
- readonly client_conversations: (a: number) => number;
1001
- readonly client_syncPreferences: (a: number) => any;
1002
- readonly client_apiStatistics: (a: number) => number;
1003
- readonly client_apiIdentityStatistics: (a: number) => number;
1004
- readonly client_apiAggregateStatistics: (a: number) => [number, number];
1005
- readonly client_clearAllStatistics: (a: number) => void;
1006
- readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
1005
+ readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
1006
+ readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
1007
1007
  readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
1008
1008
  readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
1009
1009
  readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
@@ -1048,8 +1048,8 @@ export interface InitOutput {
1048
1048
  readonly __externref_table_dealloc: (a: number) => void;
1049
1049
  readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h42782d8d6f6b94ef: (a: number, b: number) => void;
1050
1050
  readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h912129f7a2cf8b7b: (a: number, b: number) => void;
1051
- readonly closure5017_externref_shim: (a: number, b: number, c: any) => void;
1052
- readonly closure5960_externref_shim: (a: number, b: number, c: any, d: any) => 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
1053
  readonly __wbindgen_start: () => void;
1054
1054
  }
1055
1055
 
@@ -215,6 +215,45 @@ function debugString(val) {
215
215
  // TODO we could test for more things here, like `Set`s and `Map`s.
216
216
  return className;
217
217
  }
218
+ /**
219
+ * @param {string} host
220
+ * @param {Identifier} accountIdentifier
221
+ * @returns {Promise<string | undefined>}
222
+ */
223
+ export function getInboxIdForIdentifier(host, accountIdentifier) {
224
+ const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
225
+ const len0 = WASM_VECTOR_LEN;
226
+ const ret = wasm.getInboxIdForIdentifier(ptr0, len0, accountIdentifier);
227
+ return ret;
228
+ }
229
+
230
+ function takeFromExternrefTable0(idx) {
231
+ const value = wasm.__wbindgen_export_4.get(idx);
232
+ wasm.__externref_table_dealloc(idx);
233
+ return value;
234
+ }
235
+ /**
236
+ * @param {Identifier} accountIdentifier
237
+ * @returns {string}
238
+ */
239
+ export function generateInboxId(accountIdentifier) {
240
+ let deferred2_0;
241
+ let deferred2_1;
242
+ try {
243
+ const ret = wasm.generateInboxId(accountIdentifier);
244
+ var ptr1 = ret[0];
245
+ var len1 = ret[1];
246
+ if (ret[3]) {
247
+ ptr1 = 0; len1 = 0;
248
+ throw takeFromExternrefTable0(ret[2]);
249
+ }
250
+ deferred2_0 = ptr1;
251
+ deferred2_1 = len1;
252
+ return getStringFromWasm0(ptr1, len1);
253
+ } finally {
254
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
255
+ }
256
+ }
218
257
 
219
258
  function passArrayJsValueToWasm0(array, malloc) {
220
259
  const ptr = malloc(array.length * 4, 4) >>> 0;
@@ -226,17 +265,37 @@ function passArrayJsValueToWasm0(array, malloc) {
226
265
  return ptr;
227
266
  }
228
267
 
229
- function takeFromExternrefTable0(idx) {
230
- const value = wasm.__wbindgen_export_4.get(idx);
231
- wasm.__externref_table_dealloc(idx);
232
- return value;
233
- }
234
-
235
268
  function _assertClass(instance, klass) {
236
269
  if (!(instance instanceof klass)) {
237
270
  throw new Error(`expected instance of ${klass.name}`);
238
271
  }
239
272
  }
273
+ /**
274
+ * @param {MultiRemoteAttachment} multiRemoteAttachment
275
+ * @returns {Uint8Array}
276
+ */
277
+ export function encodeMultiRemoteAttachment(multiRemoteAttachment) {
278
+ _assertClass(multiRemoteAttachment, MultiRemoteAttachment);
279
+ var ptr0 = multiRemoteAttachment.__destroy_into_raw();
280
+ const ret = wasm.encodeMultiRemoteAttachment(ptr0);
281
+ if (ret[2]) {
282
+ throw takeFromExternrefTable0(ret[1]);
283
+ }
284
+ return takeFromExternrefTable0(ret[0]);
285
+ }
286
+
287
+ /**
288
+ * @param {Uint8Array} bytes
289
+ * @returns {MultiRemoteAttachment}
290
+ */
291
+ export function decodeMultiRemoteAttachment(bytes) {
292
+ const ret = wasm.decodeMultiRemoteAttachment(bytes);
293
+ if (ret[2]) {
294
+ throw takeFromExternrefTable0(ret[1]);
295
+ }
296
+ return MultiRemoteAttachment.__wrap(ret[0]);
297
+ }
298
+
240
299
  /**
241
300
  * @param {Reaction} reaction
242
301
  * @returns {Uint8Array}
@@ -269,55 +328,6 @@ function passArray8ToWasm0(arg, malloc) {
269
328
  WASM_VECTOR_LEN = arg.length;
270
329
  return ptr;
271
330
  }
272
- /**
273
- * @param {string} host
274
- * @param {Identifier} accountIdentifier
275
- * @returns {Promise<string | undefined>}
276
- */
277
- export function getInboxIdForIdentifier(host, accountIdentifier) {
278
- const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
279
- const len0 = WASM_VECTOR_LEN;
280
- const ret = wasm.getInboxIdForIdentifier(ptr0, len0, accountIdentifier);
281
- return ret;
282
- }
283
-
284
- /**
285
- * @param {Identifier} accountIdentifier
286
- * @returns {string}
287
- */
288
- export function generateInboxId(accountIdentifier) {
289
- let deferred2_0;
290
- let deferred2_1;
291
- try {
292
- const ret = wasm.generateInboxId(accountIdentifier);
293
- var ptr1 = ret[0];
294
- var len1 = ret[1];
295
- if (ret[3]) {
296
- ptr1 = 0; len1 = 0;
297
- throw takeFromExternrefTable0(ret[2]);
298
- }
299
- deferred2_0 = ptr1;
300
- deferred2_1 = len1;
301
- return getStringFromWasm0(ptr1, len1);
302
- } finally {
303
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
304
- }
305
- }
306
-
307
- /**
308
- * @param {string} host
309
- * @param {string[]} inbox_ids
310
- * @returns {Promise<InboxState[]>}
311
- */
312
- export function inboxStateFromInboxIds(host, inbox_ids) {
313
- const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
314
- const len0 = WASM_VECTOR_LEN;
315
- const ptr1 = passArrayJsValueToWasm0(inbox_ids, wasm.__wbindgen_malloc);
316
- const len1 = WASM_VECTOR_LEN;
317
- const ret = wasm.inboxStateFromInboxIds(ptr0, len0, ptr1, len1);
318
- return ret;
319
- }
320
-
321
331
  /**
322
332
  * @param {string} signature_text
323
333
  * @param {Uint8Array} signature_bytes
@@ -363,32 +373,6 @@ export function applySignatureRequest(host, signature_request) {
363
373
  return ret;
364
374
  }
365
375
 
366
- /**
367
- * @param {MultiRemoteAttachment} multiRemoteAttachment
368
- * @returns {Uint8Array}
369
- */
370
- export function encodeMultiRemoteAttachment(multiRemoteAttachment) {
371
- _assertClass(multiRemoteAttachment, MultiRemoteAttachment);
372
- var ptr0 = multiRemoteAttachment.__destroy_into_raw();
373
- const ret = wasm.encodeMultiRemoteAttachment(ptr0);
374
- if (ret[2]) {
375
- throw takeFromExternrefTable0(ret[1]);
376
- }
377
- return takeFromExternrefTable0(ret[0]);
378
- }
379
-
380
- /**
381
- * @param {Uint8Array} bytes
382
- * @returns {MultiRemoteAttachment}
383
- */
384
- export function decodeMultiRemoteAttachment(bytes) {
385
- const ret = wasm.decodeMultiRemoteAttachment(bytes);
386
- if (ret[2]) {
387
- throw takeFromExternrefTable0(ret[1]);
388
- }
389
- return MultiRemoteAttachment.__wrap(ret[0]);
390
- }
391
-
392
376
  /**
393
377
  * @param {string} host
394
378
  * @param {string} inbox_id
@@ -420,6 +404,20 @@ export function createClient(host, inbox_id, account_identifier, db_path, encryp
420
404
  return ret;
421
405
  }
422
406
 
407
+ /**
408
+ * @param {string} host
409
+ * @param {string[]} inbox_ids
410
+ * @returns {Promise<InboxState[]>}
411
+ */
412
+ export function inboxStateFromInboxIds(host, inbox_ids) {
413
+ const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
414
+ const len0 = WASM_VECTOR_LEN;
415
+ const ptr1 = passArrayJsValueToWasm0(inbox_ids, wasm.__wbindgen_malloc);
416
+ const len1 = WASM_VECTOR_LEN;
417
+ const ret = wasm.inboxStateFromInboxIds(ptr0, len0, ptr1, len1);
418
+ return ret;
419
+ }
420
+
423
421
  /**
424
422
  * Entry point invoked by JavaScript in a worker.
425
423
  * @param {number} ptr
@@ -440,11 +438,11 @@ function __wbg_adapter_53(arg0, arg1) {
440
438
  }
441
439
 
442
440
  function __wbg_adapter_56(arg0, arg1, arg2) {
443
- wasm.closure5017_externref_shim(arg0, arg1, arg2);
441
+ wasm.closure5049_externref_shim(arg0, arg1, arg2);
444
442
  }
445
443
 
446
444
  function __wbg_adapter_787(arg0, arg1, arg2, arg3) {
447
- wasm.closure5960_externref_shim(arg0, arg1, arg2, arg3);
445
+ wasm.closure5992_externref_shim(arg0, arg1, arg2, arg3);
448
446
  }
449
447
 
450
448
  /**
@@ -768,45 +766,6 @@ export class Client {
768
766
  const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
769
767
  return ret;
770
768
  }
771
- /**
772
- *
773
- * * Get the client's inbox state.
774
- * *
775
- * * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
776
- * * Otherwise, the state will be read from the local database.
777
- *
778
- * @param {boolean} refresh_from_network
779
- * @returns {Promise<InboxState>}
780
- */
781
- inboxState(refresh_from_network) {
782
- const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
783
- return ret;
784
- }
785
- /**
786
- * @param {string} inbox_id
787
- * @returns {Promise<InboxState>}
788
- */
789
- getLatestInboxState(inbox_id) {
790
- const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
791
- const len0 = WASM_VECTOR_LEN;
792
- const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
793
- return ret;
794
- }
795
- /**
796
- *
797
- * * Get key package statuses for a list of installation IDs.
798
- * *
799
- * * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
800
- *
801
- * @param {string[]} installation_ids
802
- * @returns {Promise<any>}
803
- */
804
- getKeyPackageStatusesForInstallationIds(installation_ids) {
805
- const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
806
- const len0 = WASM_VECTOR_LEN;
807
- const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
808
- return ret;
809
- }
810
769
  /**
811
770
  * @returns {SignatureRequestHandle | undefined}
812
771
  */
@@ -1046,6 +1005,45 @@ export class Client {
1046
1005
  const ret = wasm.client_uploadDebugArchive(this.__wbg_ptr, ptr0, len0);
1047
1006
  return ret;
1048
1007
  }
1008
+ /**
1009
+ *
1010
+ * * Get the client's inbox state.
1011
+ * *
1012
+ * * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
1013
+ * * Otherwise, the state will be read from the local database.
1014
+ *
1015
+ * @param {boolean} refresh_from_network
1016
+ * @returns {Promise<InboxState>}
1017
+ */
1018
+ inboxState(refresh_from_network) {
1019
+ const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
1020
+ return ret;
1021
+ }
1022
+ /**
1023
+ * @param {string} inbox_id
1024
+ * @returns {Promise<InboxState>}
1025
+ */
1026
+ getLatestInboxState(inbox_id) {
1027
+ const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1028
+ const len0 = WASM_VECTOR_LEN;
1029
+ const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
1030
+ return ret;
1031
+ }
1032
+ /**
1033
+ *
1034
+ * * Get key package statuses for a list of installation IDs.
1035
+ * *
1036
+ * * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
1037
+ *
1038
+ * @param {string[]} installation_ids
1039
+ * @returns {Promise<any>}
1040
+ */
1041
+ getKeyPackageStatusesForInstallationIds(installation_ids) {
1042
+ const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
1043
+ const len0 = WASM_VECTOR_LEN;
1044
+ const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
1045
+ return ret;
1046
+ }
1049
1047
  }
1050
1048
 
1051
1049
  const ConsentFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -2949,7 +2947,7 @@ export class InboxState {
2949
2947
  set inboxId(arg0) {
2950
2948
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2951
2949
  const len0 = WASM_VECTOR_LEN;
2952
- wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
2950
+ wasm.__wbg_set_inboxstate_inboxId(this.__wbg_ptr, ptr0, len0);
2953
2951
  }
2954
2952
  /**
2955
2953
  * @returns {Identifier}
@@ -3084,7 +3082,7 @@ export class Installation {
3084
3082
  set id(arg0) {
3085
3083
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3086
3084
  const len0 = WASM_VECTOR_LEN;
3087
- wasm.__wbg_set_conversationdebuginfo_forkDetails(this.__wbg_ptr, ptr0, len0);
3085
+ wasm.__wbg_set_installation_id(this.__wbg_ptr, ptr0, len0);
3088
3086
  }
3089
3087
  /**
3090
3088
  * @returns {bigint | undefined}
@@ -3269,7 +3267,7 @@ export class KeyPackageStatus {
3269
3267
  * @returns {Lifetime | undefined}
3270
3268
  */
3271
3269
  get lifetime() {
3272
- const ret = wasm.__wbg_get_createdmoptions_messageDisappearingSettings(this.__wbg_ptr);
3270
+ const ret = wasm.__wbg_get_keypackagestatus_lifetime(this.__wbg_ptr);
3273
3271
  return ret === 0 ? undefined : Lifetime.__wrap(ret);
3274
3272
  }
3275
3273
  /**
@@ -3281,7 +3279,7 @@ export class KeyPackageStatus {
3281
3279
  _assertClass(arg0, Lifetime);
3282
3280
  ptr0 = arg0.__destroy_into_raw();
3283
3281
  }
3284
- wasm.__wbg_set_createdmoptions_messageDisappearingSettings(this.__wbg_ptr, ptr0);
3282
+ wasm.__wbg_set_keypackagestatus_lifetime(this.__wbg_ptr, ptr0);
3285
3283
  }
3286
3284
  /**
3287
3285
  * @returns {string | undefined}
@@ -3334,27 +3332,27 @@ export class Lifetime {
3334
3332
  * @returns {bigint}
3335
3333
  */
3336
3334
  get not_before() {
3337
- const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
3335
+ const ret = wasm.__wbg_get_apistats_upload_key_package(this.__wbg_ptr);
3338
3336
  return BigInt.asUintN(64, ret);
3339
3337
  }
3340
3338
  /**
3341
3339
  * @param {bigint} arg0
3342
3340
  */
3343
3341
  set not_before(arg0) {
3344
- wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
3342
+ wasm.__wbg_set_apistats_upload_key_package(this.__wbg_ptr, arg0);
3345
3343
  }
3346
3344
  /**
3347
3345
  * @returns {bigint}
3348
3346
  */
3349
3347
  get not_after() {
3350
- const ret = wasm.__wbg_get_conversationdebuginfo_cursor(this.__wbg_ptr);
3348
+ const ret = wasm.__wbg_get_apistats_fetch_key_package(this.__wbg_ptr);
3351
3349
  return BigInt.asUintN(64, ret);
3352
3350
  }
3353
3351
  /**
3354
3352
  * @param {bigint} arg0
3355
3353
  */
3356
3354
  set not_after(arg0) {
3357
- wasm.__wbg_set_conversationdebuginfo_cursor(this.__wbg_ptr, arg0);
3355
+ wasm.__wbg_set_apistats_fetch_key_package(this.__wbg_ptr, arg0);
3358
3356
  }
3359
3357
  }
3360
3358
 
@@ -3419,7 +3417,7 @@ export class ListConversationsOptions {
3419
3417
  * @param {bigint | null} [arg0]
3420
3418
  */
3421
3419
  set createdAfterNs(arg0) {
3422
- wasm.__wbg_set_installation_clientTimestampNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
3420
+ wasm.__wbg_set_listconversationsoptions_createdAfterNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
3423
3421
  }
3424
3422
  /**
3425
3423
  * @returns {bigint | undefined}
@@ -3526,7 +3524,7 @@ export class ListMessagesOptions {
3526
3524
  * @param {bigint | null} [arg0]
3527
3525
  */
3528
3526
  set sentBeforeNs(arg0) {
3529
- wasm.__wbg_set_installation_clientTimestampNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
3527
+ wasm.__wbg_set_listconversationsoptions_createdAfterNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
3530
3528
  }
3531
3529
  /**
3532
3530
  * @returns {bigint | undefined}
@@ -4620,7 +4618,7 @@ export class RemoteAttachmentInfo {
4620
4618
  set url(arg0) {
4621
4619
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4622
4620
  const len0 = WASM_VECTOR_LEN;
4623
- wasm.__wbg_set_remoteattachmentinfo_url(this.__wbg_ptr, ptr0, len0);
4621
+ wasm.__wbg_set_conversationdebuginfo_localCommitLog(this.__wbg_ptr, ptr0, len0);
4624
4622
  }
4625
4623
  /**
4626
4624
  * @returns {Uint8Array}
@@ -5429,22 +5427,22 @@ function __wbg_get_imports() {
5429
5427
  const ret = arg0.now();
5430
5428
  return ret;
5431
5429
  };
5432
- imports.wbg.__wbg_onclose_062bd3a6cae3cf8f = function(arg0) {
5430
+ imports.wbg.__wbg_onclose_8bf7ba8a4a849c92 = function(arg0) {
5433
5431
  arg0.on_close();
5434
5432
  };
5435
- imports.wbg.__wbg_onconsentupdate_701b96066499a018 = function(arg0, arg1) {
5433
+ imports.wbg.__wbg_onconsentupdate_930b2bf861ef07ed = function(arg0, arg1) {
5436
5434
  arg0.on_consent_update(arg1);
5437
5435
  };
5438
- imports.wbg.__wbg_onconversation_fcbaacc0885798c6 = function(arg0, arg1) {
5436
+ imports.wbg.__wbg_onconversation_930ef848b11b5567 = function(arg0, arg1) {
5439
5437
  arg0.on_conversation(Conversation.__wrap(arg1));
5440
5438
  };
5441
- imports.wbg.__wbg_onerror_822cbf1c3e630713 = function(arg0, arg1) {
5439
+ imports.wbg.__wbg_onerror_93b1a65a545ad640 = function(arg0, arg1) {
5442
5440
  arg0.on_error(arg1);
5443
5441
  };
5444
- imports.wbg.__wbg_onmessage_d8c556344cbe2d24 = function(arg0, arg1) {
5442
+ imports.wbg.__wbg_onmessage_6280dbb99367eae7 = function(arg0, arg1) {
5445
5443
  arg0.on_message(Message.__wrap(arg1));
5446
5444
  };
5447
- imports.wbg.__wbg_onuserpreferenceupdate_8e302f867edad38d = function(arg0, arg1, arg2) {
5445
+ imports.wbg.__wbg_onuserpreferenceupdate_2961886528c86197 = function(arg0, arg1, arg2) {
5448
5446
  var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
5449
5447
  wasm.__wbindgen_free(arg1, arg2 * 4, 4);
5450
5448
  arg0.on_user_preference_update(v0);
@@ -5737,16 +5735,16 @@ function __wbg_get_imports() {
5737
5735
  const ret = false;
5738
5736
  return ret;
5739
5737
  };
5740
- imports.wbg.__wbindgen_closure_wrapper18880 = function(arg0, arg1, arg2) {
5741
- const ret = makeMutClosure(arg0, arg1, 4661, __wbg_adapter_50);
5738
+ imports.wbg.__wbindgen_closure_wrapper18914 = function(arg0, arg1, arg2) {
5739
+ const ret = makeMutClosure(arg0, arg1, 4691, __wbg_adapter_50);
5742
5740
  return ret;
5743
5741
  };
5744
- imports.wbg.__wbindgen_closure_wrapper21474 = function(arg0, arg1, arg2) {
5745
- const ret = makeMutClosure(arg0, arg1, 4994, __wbg_adapter_53);
5742
+ imports.wbg.__wbindgen_closure_wrapper21502 = function(arg0, arg1, arg2) {
5743
+ const ret = makeMutClosure(arg0, arg1, 5026, __wbg_adapter_53);
5746
5744
  return ret;
5747
5745
  };
5748
- imports.wbg.__wbindgen_closure_wrapper22201 = function(arg0, arg1, arg2) {
5749
- const ret = makeMutClosure(arg0, arg1, 5018, __wbg_adapter_56);
5746
+ imports.wbg.__wbindgen_closure_wrapper22229 = function(arg0, arg1, arg2) {
5747
+ const ret = makeMutClosure(arg0, arg1, 5050, __wbg_adapter_56);
5750
5748
  return ret;
5751
5749
  };
5752
5750
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Binary file
@@ -1,6 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
+ export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
5
+ export const generateInboxId: (a: any) => [number, number, number, number];
4
6
  export const __wbg_consent_free: (a: number, b: number) => void;
5
7
  export const __wbg_get_consent_entityType: (a: number) => number;
6
8
  export const __wbg_set_consent_entityType: (a: number, b: number) => void;
@@ -13,6 +15,25 @@ export const client_setConsentStates: (a: number, b: number, c: number) => any;
13
15
  export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
14
16
  export const conversation_consentState: (a: number) => [number, number, number];
15
17
  export const conversation_updateConsentState: (a: number, b: number) => [number, number];
18
+ export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
19
+ export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
20
+ export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
21
+ export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
22
+ export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
23
+ export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
24
+ export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
25
+ export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
26
+ export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
27
+ export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
28
+ export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
29
+ export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
30
+ export const 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;
31
+ export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
32
+ export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
33
+ export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
34
+ export const multiremoteattachment_new: (a: number, b: number) => number;
35
+ export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
36
+ export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
16
37
  export const __wbg_reaction_free: (a: number, b: number) => void;
17
38
  export const __wbg_get_reaction_action: (a: number) => number;
18
39
  export const __wbg_set_reaction_action: (a: number, b: number) => void;
@@ -84,6 +105,8 @@ export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [n
84
105
  export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
85
106
  export const __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
86
107
  export const __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
108
+ export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
109
+ export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
87
110
  export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
88
111
  export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
89
112
  export const __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
@@ -91,6 +114,7 @@ export const __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number,
91
114
  export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
92
115
  export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
93
116
  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;
117
+ export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
94
118
  export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
95
119
  export const __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
96
120
  export const __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
@@ -166,30 +190,6 @@ export const __wbg_set_encodedcontent_compression: (a: number, b: number) => voi
166
190
  export const __wbg_get_encodedcontent_content: (a: number) => any;
167
191
  export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
168
192
  export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
169
- export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
170
- export const generateInboxId: (a: any) => [number, number, number, number];
171
- export const __wbg_installation_free: (a: number, b: number) => void;
172
- export const __wbg_get_installation_bytes: (a: number) => any;
173
- export const __wbg_set_installation_bytes: (a: number, b: any) => void;
174
- export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
175
- export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
176
- export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
177
- export const __wbg_inboxstate_free: (a: number, b: number) => void;
178
- export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
179
- export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
180
- export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
181
- export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
182
- export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
183
- export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
184
- export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
185
- export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
186
- export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
187
- export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
188
- export const __wbg_lifetime_free: (a: number, b: number) => void;
189
- export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
190
- export const client_inboxState: (a: number, b: number) => any;
191
- export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
192
- export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
193
193
  export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
194
194
  export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
195
195
  export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
@@ -256,43 +256,61 @@ export const streamcloser_end: (a: number) => void;
256
256
  export const streamcloser_endAndWait: (a: number) => any;
257
257
  export const streamcloser_waitForReady: (a: number) => any;
258
258
  export const streamcloser_isClosed: (a: number) => number;
259
- export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
260
259
  export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
261
260
  export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
262
261
  export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
263
262
  export const __wbg_get_reaction_reference: (a: number) => [number, number];
264
263
  export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
264
+ export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
265
+ export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
265
266
  export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
266
267
  export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
267
- export const __wbg_get_installation_id: (a: number) => [number, number];
268
- export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
269
268
  export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
270
269
  export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
270
+ export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
271
271
  export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
272
272
  export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
273
- export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
274
- export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
275
273
  export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
276
274
  export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
277
275
  export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
278
- export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
279
- export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
280
276
  export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
281
277
  export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
282
278
  export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
283
279
  export const __wbg_get_hmackey_epoch: (a: number) => bigint;
284
- export const __wbg_get_lifetime_not_before: (a: number) => bigint;
285
- export const __wbg_get_lifetime_not_after: (a: number) => bigint;
286
280
  export const __wbg_get_message_sentAtNs: (a: number) => bigint;
287
281
  export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
288
- export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
282
+ export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
283
+ export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
289
284
  export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
290
285
  export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
291
286
  export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
292
287
  export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
293
- export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
294
- export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
295
- export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
288
+ export const __wbg_client_free: (a: number, b: number) => void;
289
+ export const __wbg_logoptions_free: (a: number, b: number) => void;
290
+ export const __wbg_get_logoptions_structured: (a: number) => number;
291
+ export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
292
+ export const __wbg_get_logoptions_performance: (a: number) => number;
293
+ export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
294
+ export const __wbg_get_logoptions_level: (a: number) => number;
295
+ export const __wbg_set_logoptions_level: (a: number, b: number) => void;
296
+ export const logoptions_new: (a: number, b: number, c: number) => number;
297
+ export const 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;
298
+ export const client_accountIdentifier: (a: number) => any;
299
+ export const client_inboxId: (a: number) => [number, number];
300
+ export const client_isRegistered: (a: number) => number;
301
+ export const client_installationId: (a: number) => [number, number];
302
+ export const client_installationIdBytes: (a: number) => any;
303
+ export const client_canMessage: (a: number, b: number, c: number) => any;
304
+ export const client_sendSyncRequest: (a: number) => any;
305
+ export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
306
+ export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
307
+ export const client_conversations: (a: number) => number;
308
+ export const client_syncPreferences: (a: number) => any;
309
+ export const client_apiStatistics: (a: number) => number;
310
+ export const client_apiIdentityStatistics: (a: number) => number;
311
+ export const client_apiAggregateStatistics: (a: number) => [number, number];
312
+ export const client_clearAllStatistics: (a: number) => void;
313
+ export const client_uploadDebugArchive: (a: number, b: number, c: number) => any;
296
314
  export const __wbg_apistats_free: (a: number, b: number) => void;
297
315
  export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
298
316
  export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
@@ -311,6 +329,34 @@ export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => vo
311
329
  export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
312
330
  export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
313
331
  export const __wbg_identitystats_free: (a: number, b: number) => void;
332
+ export const __wbg_installation_free: (a: number, b: number) => void;
333
+ export const __wbg_get_installation_bytes: (a: number) => any;
334
+ export const __wbg_set_installation_bytes: (a: number, b: any) => void;
335
+ export const __wbg_get_installation_id: (a: number) => [number, number];
336
+ export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
337
+ export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
338
+ export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
339
+ export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
340
+ export const __wbg_inboxstate_free: (a: number, b: number) => void;
341
+ export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
342
+ export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
343
+ export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
344
+ export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
345
+ export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
346
+ export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
347
+ export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
348
+ export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
349
+ export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
350
+ export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
351
+ export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
352
+ export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
353
+ export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
354
+ export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
355
+ export const __wbg_lifetime_free: (a: number, b: number) => void;
356
+ export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
357
+ export const client_inboxState: (a: number, b: number) => any;
358
+ export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
359
+ export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
314
360
  export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
315
361
  export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
316
362
  export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
@@ -336,60 +382,14 @@ export const __wbg_set_identitystats_publish_identity_update: (a: number, b: big
336
382
  export const __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
337
383
  export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
338
384
  export const __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
385
+ export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
386
+ export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
339
387
  export const __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
340
388
  export const __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
341
389
  export const __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
342
390
  export const __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
343
- export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
344
- export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
345
- export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
346
- export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
347
- export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
348
- export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
349
- export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
350
- export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
351
- export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
352
- export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
353
- export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
354
- export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
355
- export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
356
- export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
357
- export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
358
- export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
359
- export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
360
- export const 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;
361
- export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
362
- export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
363
- export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
364
- export const multiremoteattachment_new: (a: number, b: number) => number;
365
- export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
366
- export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
367
- export const __wbg_client_free: (a: number, b: number) => void;
368
- export const __wbg_logoptions_free: (a: number, b: number) => void;
369
- export const __wbg_get_logoptions_structured: (a: number) => number;
370
- export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
371
- export const __wbg_get_logoptions_performance: (a: number) => number;
372
- export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
373
- export const __wbg_get_logoptions_level: (a: number) => number;
374
- export const __wbg_set_logoptions_level: (a: number, b: number) => void;
375
- export const logoptions_new: (a: number, b: number, c: number) => number;
376
- export const 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;
377
- export const client_accountIdentifier: (a: number) => any;
378
- export const client_inboxId: (a: number) => [number, number];
379
- export const client_isRegistered: (a: number) => number;
380
- export const client_installationId: (a: number) => [number, number];
381
- export const client_installationIdBytes: (a: number) => any;
382
- export const client_canMessage: (a: number, b: number, c: number) => any;
383
- export const client_sendSyncRequest: (a: number) => any;
384
- export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
385
- export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
386
- export const client_conversations: (a: number) => number;
387
- export const client_syncPreferences: (a: number) => any;
388
- export const client_apiStatistics: (a: number) => number;
389
- export const client_apiIdentityStatistics: (a: number) => number;
390
- export const client_apiAggregateStatistics: (a: number) => [number, number];
391
- export const client_clearAllStatistics: (a: number) => void;
392
- export const client_uploadDebugArchive: (a: number, b: number, c: number) => any;
391
+ export const __wbg_get_lifetime_not_before: (a: number) => bigint;
392
+ export const __wbg_get_lifetime_not_after: (a: number) => bigint;
393
393
  export const rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
394
394
  export const rust_zstd_wasm_shim_malloc: (a: number) => number;
395
395
  export const rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
@@ -434,6 +434,6 @@ export const __wbindgen_export_7: WebAssembly.Table;
434
434
  export const __externref_table_dealloc: (a: number) => void;
435
435
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h42782d8d6f6b94ef: (a: number, b: number) => void;
436
436
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h912129f7a2cf8b7b: (a: number, b: number) => void;
437
- export const closure5017_externref_shim: (a: number, b: number, c: any) => void;
438
- export const closure5960_externref_shim: (a: number, b: number, c: any, d: any) => void;
437
+ export const closure5049_externref_shim: (a: number, b: number, c: any) => void;
438
+ export const closure5992_externref_shim: (a: number, b: number, c: any, d: any) => void;
439
439
  export const __wbindgen_start: () => void;
package/dist/version.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "branch": "release/v1.3",
3
- "version": "5690ef1",
4
- "date": "2025-07-24 13:50:36 +0000"
3
+ "version": "98a046f",
4
+ "date": "2025-07-29 23:06:00 +0000"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/wasm-bindings",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "WASM bindings for the libXMTP rust library",