@xmtp/wasm-bindings 1.3.3 → 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.
@@ -2,15 +2,15 @@
2
2
  /* eslint-disable */
3
3
  export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
4
4
  export function generateInboxId(accountIdentifier: Identifier): string;
5
- export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
6
- export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
7
- export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
8
- export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
9
- 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>;
10
5
  export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
11
6
  export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
12
7
  export function encodeReaction(reaction: Reaction): Uint8Array;
13
8
  export function decodeReaction(bytes: Uint8Array): Reaction;
9
+ export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
10
+ export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
11
+ export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
12
+ export function 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,35 @@ 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];
651
+ readonly __wbg_reaction_free: (a: number, b: number) => void;
652
+ readonly __wbg_get_reaction_action: (a: number) => number;
653
+ readonly __wbg_set_reaction_action: (a: number, b: number) => void;
654
+ readonly __wbg_get_reaction_content: (a: number) => [number, number];
655
+ readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
656
+ readonly __wbg_get_reaction_schema: (a: number) => number;
657
+ readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
658
+ readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
659
+ readonly encodeReaction: (a: number) => [number, number, number];
660
+ readonly decodeReaction: (a: any) => [number, number, number];
630
661
  readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
631
662
  readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
632
663
  readonly groupmetadata_conversationType: (a: number) => [number, number];
@@ -688,6 +719,8 @@ export interface InitOutput {
688
719
  readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
689
720
  readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
690
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;
691
724
  readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
692
725
  readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
693
726
  readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
@@ -695,6 +728,7 @@ export interface InitOutput {
695
728
  readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
696
729
  readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
697
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;
698
732
  readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
699
733
  readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
700
734
  readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
@@ -770,30 +804,6 @@ export interface InitOutput {
770
804
  readonly __wbg_get_encodedcontent_content: (a: number) => any;
771
805
  readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
772
806
  readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
773
- readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
774
- readonly generateInboxId: (a: any) => [number, number, number, number];
775
- readonly __wbg_installation_free: (a: number, b: number) => void;
776
- readonly __wbg_get_installation_bytes: (a: number) => any;
777
- readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
778
- readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
779
- readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
780
- readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
781
- readonly __wbg_inboxstate_free: (a: number, b: number) => void;
782
- readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
783
- readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
784
- readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
785
- readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
786
- readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
787
- readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
788
- readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
789
- readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
790
- readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
791
- readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
792
- readonly __wbg_lifetime_free: (a: number, b: number) => void;
793
- readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
794
- readonly client_inboxState: (a: number, b: number) => any;
795
- readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
796
- readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
797
807
  readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
798
808
  readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
799
809
  readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
@@ -860,39 +870,35 @@ export interface InitOutput {
860
870
  readonly streamcloser_endAndWait: (a: number) => any;
861
871
  readonly streamcloser_waitForReady: (a: number) => any;
862
872
  readonly streamcloser_isClosed: (a: number) => number;
863
- readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
864
873
  readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
865
874
  readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
866
875
  readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
876
+ readonly __wbg_get_reaction_reference: (a: number) => [number, number];
867
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];
868
880
  readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
869
- readonly __wbg_get_installation_id: (a: number) => [number, number];
870
- readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
881
+ readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
882
+ readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
871
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;
872
885
  readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
873
- readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
874
- readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
886
+ readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
875
887
  readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
876
888
  readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
877
889
  readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
878
- readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
879
- readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
880
890
  readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
881
891
  readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
882
892
  readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
883
893
  readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
884
- readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
885
- readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
886
894
  readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
887
895
  readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
888
- 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;
889
898
  readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
890
899
  readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
891
900
  readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
892
901
  readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
893
- readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
894
- readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
895
- readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
896
902
  readonly __wbg_client_free: (a: number, b: number) => void;
897
903
  readonly __wbg_logoptions_free: (a: number, b: number) => void;
898
904
  readonly __wbg_get_logoptions_structured: (a: number) => number;
@@ -919,44 +925,6 @@ export interface InitOutput {
919
925
  readonly client_apiAggregateStatistics: (a: number) => [number, number];
920
926
  readonly client_clearAllStatistics: (a: number) => void;
921
927
  readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
922
- readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
923
- readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
924
- readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
925
- readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
926
- readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
927
- readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
928
- readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
929
- readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
930
- readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
931
- readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
932
- readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
933
- readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
934
- readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
935
- readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
936
- readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
937
- readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
938
- readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
939
- 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;
940
- readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
941
- readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
942
- readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
943
- readonly multiremoteattachment_new: (a: number, b: number) => number;
944
- readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
945
- readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
946
- readonly __wbg_reaction_free: (a: number, b: number) => void;
947
- readonly __wbg_get_reaction_reference: (a: number) => [number, number];
948
- readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
949
- readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
950
- readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
951
- readonly __wbg_get_reaction_action: (a: number) => number;
952
- readonly __wbg_set_reaction_action: (a: number, b: number) => void;
953
- readonly __wbg_get_reaction_content: (a: number) => [number, number];
954
- readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
955
- readonly __wbg_get_reaction_schema: (a: number) => number;
956
- readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
957
- readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
958
- readonly encodeReaction: (a: number) => [number, number, number];
959
- readonly decodeReaction: (a: any) => [number, number, number];
960
928
  readonly __wbg_apistats_free: (a: number, b: number) => void;
961
929
  readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
962
930
  readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
@@ -975,6 +943,34 @@ export interface InitOutput {
975
943
  readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
976
944
  readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
977
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;
978
974
  readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
979
975
  readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
980
976
  readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
@@ -1000,10 +996,14 @@ export interface InitOutput {
1000
996
  readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
1001
997
  readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
1002
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;
1003
1001
  readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
1004
1002
  readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
1005
1003
  readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
1006
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
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 closure5046_externref_shim: (a: number, b: number, c: any) => void;
1052
- readonly closure5989_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,35 +215,6 @@ function debugString(val) {
215
215
  // TODO we could test for more things here, like `Set`s and `Map`s.
216
216
  return className;
217
217
  }
218
-
219
- function passArrayJsValueToWasm0(array, malloc) {
220
- const ptr = malloc(array.length * 4, 4) >>> 0;
221
- for (let i = 0; i < array.length; i++) {
222
- const add = addToExternrefTable0(array[i]);
223
- getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
224
- }
225
- WASM_VECTOR_LEN = array.length;
226
- return ptr;
227
- }
228
-
229
- function takeFromExternrefTable0(idx) {
230
- const value = wasm.__wbindgen_export_4.get(idx);
231
- wasm.__externref_table_dealloc(idx);
232
- return value;
233
- }
234
-
235
- function _assertClass(instance, klass) {
236
- if (!(instance instanceof klass)) {
237
- throw new Error(`expected instance of ${klass.name}`);
238
- }
239
- }
240
-
241
- function passArray8ToWasm0(arg, malloc) {
242
- const ptr = malloc(arg.length * 1, 1) >>> 0;
243
- getUint8ArrayMemory0().set(arg, ptr / 1);
244
- WASM_VECTOR_LEN = arg.length;
245
- return ptr;
246
- }
247
218
  /**
248
219
  * @param {string} host
249
220
  * @param {Identifier} accountIdentifier
@@ -256,6 +227,11 @@ export function getInboxIdForIdentifier(host, accountIdentifier) {
256
227
  return ret;
257
228
  }
258
229
 
230
+ function takeFromExternrefTable0(idx) {
231
+ const value = wasm.__wbindgen_export_4.get(idx);
232
+ wasm.__externref_table_dealloc(idx);
233
+ return value;
234
+ }
259
235
  /**
260
236
  * @param {Identifier} accountIdentifier
261
237
  * @returns {string}
@@ -279,20 +255,79 @@ export function generateInboxId(accountIdentifier) {
279
255
  }
280
256
  }
281
257
 
258
+ function passArrayJsValueToWasm0(array, malloc) {
259
+ const ptr = malloc(array.length * 4, 4) >>> 0;
260
+ for (let i = 0; i < array.length; i++) {
261
+ const add = addToExternrefTable0(array[i]);
262
+ getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
263
+ }
264
+ WASM_VECTOR_LEN = array.length;
265
+ return ptr;
266
+ }
267
+
268
+ function _assertClass(instance, klass) {
269
+ if (!(instance instanceof klass)) {
270
+ throw new Error(`expected instance of ${klass.name}`);
271
+ }
272
+ }
282
273
  /**
283
- * @param {string} host
284
- * @param {string[]} inbox_ids
285
- * @returns {Promise<InboxState[]>}
274
+ * @param {MultiRemoteAttachment} multiRemoteAttachment
275
+ * @returns {Uint8Array}
286
276
  */
287
- export function inboxStateFromInboxIds(host, inbox_ids) {
288
- const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
289
- const len0 = WASM_VECTOR_LEN;
290
- const ptr1 = passArrayJsValueToWasm0(inbox_ids, wasm.__wbindgen_malloc);
291
- const len1 = WASM_VECTOR_LEN;
292
- const ret = wasm.inboxStateFromInboxIds(ptr0, len0, ptr1, len1);
293
- return ret;
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
+
299
+ /**
300
+ * @param {Reaction} reaction
301
+ * @returns {Uint8Array}
302
+ */
303
+ export function encodeReaction(reaction) {
304
+ _assertClass(reaction, Reaction);
305
+ var ptr0 = reaction.__destroy_into_raw();
306
+ const ret = wasm.encodeReaction(ptr0);
307
+ if (ret[2]) {
308
+ throw takeFromExternrefTable0(ret[1]);
309
+ }
310
+ return takeFromExternrefTable0(ret[0]);
311
+ }
312
+
313
+ /**
314
+ * @param {Uint8Array} bytes
315
+ * @returns {Reaction}
316
+ */
317
+ export function decodeReaction(bytes) {
318
+ const ret = wasm.decodeReaction(bytes);
319
+ if (ret[2]) {
320
+ throw takeFromExternrefTable0(ret[1]);
321
+ }
322
+ return Reaction.__wrap(ret[0]);
294
323
  }
295
324
 
325
+ function passArray8ToWasm0(arg, malloc) {
326
+ const ptr = malloc(arg.length * 1, 1) >>> 0;
327
+ getUint8ArrayMemory0().set(arg, ptr / 1);
328
+ WASM_VECTOR_LEN = arg.length;
329
+ return ptr;
330
+ }
296
331
  /**
297
332
  * @param {string} signature_text
298
333
  * @param {Uint8Array} signature_bytes
@@ -370,55 +405,17 @@ export function createClient(host, inbox_id, account_identifier, db_path, encryp
370
405
  }
371
406
 
372
407
  /**
373
- * @param {MultiRemoteAttachment} multiRemoteAttachment
374
- * @returns {Uint8Array}
375
- */
376
- export function encodeMultiRemoteAttachment(multiRemoteAttachment) {
377
- _assertClass(multiRemoteAttachment, MultiRemoteAttachment);
378
- var ptr0 = multiRemoteAttachment.__destroy_into_raw();
379
- const ret = wasm.encodeMultiRemoteAttachment(ptr0);
380
- if (ret[2]) {
381
- throw takeFromExternrefTable0(ret[1]);
382
- }
383
- return takeFromExternrefTable0(ret[0]);
384
- }
385
-
386
- /**
387
- * @param {Uint8Array} bytes
388
- * @returns {MultiRemoteAttachment}
389
- */
390
- export function decodeMultiRemoteAttachment(bytes) {
391
- const ret = wasm.decodeMultiRemoteAttachment(bytes);
392
- if (ret[2]) {
393
- throw takeFromExternrefTable0(ret[1]);
394
- }
395
- return MultiRemoteAttachment.__wrap(ret[0]);
396
- }
397
-
398
- /**
399
- * @param {Reaction} reaction
400
- * @returns {Uint8Array}
401
- */
402
- export function encodeReaction(reaction) {
403
- _assertClass(reaction, Reaction);
404
- var ptr0 = reaction.__destroy_into_raw();
405
- const ret = wasm.encodeReaction(ptr0);
406
- if (ret[2]) {
407
- throw takeFromExternrefTable0(ret[1]);
408
- }
409
- return takeFromExternrefTable0(ret[0]);
410
- }
411
-
412
- /**
413
- * @param {Uint8Array} bytes
414
- * @returns {Reaction}
408
+ * @param {string} host
409
+ * @param {string[]} inbox_ids
410
+ * @returns {Promise<InboxState[]>}
415
411
  */
416
- export function decodeReaction(bytes) {
417
- const ret = wasm.decodeReaction(bytes);
418
- if (ret[2]) {
419
- throw takeFromExternrefTable0(ret[1]);
420
- }
421
- return Reaction.__wrap(ret[0]);
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;
422
419
  }
423
420
 
424
421
  /**
@@ -441,11 +438,11 @@ function __wbg_adapter_53(arg0, arg1) {
441
438
  }
442
439
 
443
440
  function __wbg_adapter_56(arg0, arg1, arg2) {
444
- wasm.closure5046_externref_shim(arg0, arg1, arg2);
441
+ wasm.closure5049_externref_shim(arg0, arg1, arg2);
445
442
  }
446
443
 
447
444
  function __wbg_adapter_787(arg0, arg1, arg2, arg3) {
448
- wasm.closure5989_externref_shim(arg0, arg1, arg2, arg3);
445
+ wasm.closure5992_externref_shim(arg0, arg1, arg2, arg3);
449
446
  }
450
447
 
451
448
  /**
@@ -769,45 +766,6 @@ export class Client {
769
766
  const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
770
767
  return ret;
771
768
  }
772
- /**
773
- *
774
- * * Get the client's inbox state.
775
- * *
776
- * * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
777
- * * Otherwise, the state will be read from the local database.
778
- *
779
- * @param {boolean} refresh_from_network
780
- * @returns {Promise<InboxState>}
781
- */
782
- inboxState(refresh_from_network) {
783
- const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
784
- return ret;
785
- }
786
- /**
787
- * @param {string} inbox_id
788
- * @returns {Promise<InboxState>}
789
- */
790
- getLatestInboxState(inbox_id) {
791
- const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
792
- const len0 = WASM_VECTOR_LEN;
793
- const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
794
- return ret;
795
- }
796
- /**
797
- *
798
- * * Get key package statuses for a list of installation IDs.
799
- * *
800
- * * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
801
- *
802
- * @param {string[]} installation_ids
803
- * @returns {Promise<any>}
804
- */
805
- getKeyPackageStatusesForInstallationIds(installation_ids) {
806
- const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
807
- const len0 = WASM_VECTOR_LEN;
808
- const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
809
- return ret;
810
- }
811
769
  /**
812
770
  * @returns {SignatureRequestHandle | undefined}
813
771
  */
@@ -1047,6 +1005,45 @@ export class Client {
1047
1005
  const ret = wasm.client_uploadDebugArchive(this.__wbg_ptr, ptr0, len0);
1048
1006
  return ret;
1049
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
+ }
1050
1047
  }
1051
1048
 
1052
1049
  const ConsentFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -2950,7 +2947,7 @@ export class InboxState {
2950
2947
  set inboxId(arg0) {
2951
2948
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2952
2949
  const len0 = WASM_VECTOR_LEN;
2953
- wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
2950
+ wasm.__wbg_set_inboxstate_inboxId(this.__wbg_ptr, ptr0, len0);
2954
2951
  }
2955
2952
  /**
2956
2953
  * @returns {Identifier}
@@ -3085,7 +3082,7 @@ export class Installation {
3085
3082
  set id(arg0) {
3086
3083
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3087
3084
  const len0 = WASM_VECTOR_LEN;
3088
- wasm.__wbg_set_conversationdebuginfo_forkDetails(this.__wbg_ptr, ptr0, len0);
3085
+ wasm.__wbg_set_installation_id(this.__wbg_ptr, ptr0, len0);
3089
3086
  }
3090
3087
  /**
3091
3088
  * @returns {bigint | undefined}
@@ -3270,7 +3267,7 @@ export class KeyPackageStatus {
3270
3267
  * @returns {Lifetime | undefined}
3271
3268
  */
3272
3269
  get lifetime() {
3273
- const ret = wasm.__wbg_get_createdmoptions_messageDisappearingSettings(this.__wbg_ptr);
3270
+ const ret = wasm.__wbg_get_keypackagestatus_lifetime(this.__wbg_ptr);
3274
3271
  return ret === 0 ? undefined : Lifetime.__wrap(ret);
3275
3272
  }
3276
3273
  /**
@@ -3282,7 +3279,7 @@ export class KeyPackageStatus {
3282
3279
  _assertClass(arg0, Lifetime);
3283
3280
  ptr0 = arg0.__destroy_into_raw();
3284
3281
  }
3285
- wasm.__wbg_set_createdmoptions_messageDisappearingSettings(this.__wbg_ptr, ptr0);
3282
+ wasm.__wbg_set_keypackagestatus_lifetime(this.__wbg_ptr, ptr0);
3286
3283
  }
3287
3284
  /**
3288
3285
  * @returns {string | undefined}
@@ -3335,27 +3332,27 @@ export class Lifetime {
3335
3332
  * @returns {bigint}
3336
3333
  */
3337
3334
  get not_before() {
3338
- const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
3335
+ const ret = wasm.__wbg_get_apistats_upload_key_package(this.__wbg_ptr);
3339
3336
  return BigInt.asUintN(64, ret);
3340
3337
  }
3341
3338
  /**
3342
3339
  * @param {bigint} arg0
3343
3340
  */
3344
3341
  set not_before(arg0) {
3345
- wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
3342
+ wasm.__wbg_set_apistats_upload_key_package(this.__wbg_ptr, arg0);
3346
3343
  }
3347
3344
  /**
3348
3345
  * @returns {bigint}
3349
3346
  */
3350
3347
  get not_after() {
3351
- const ret = wasm.__wbg_get_conversationdebuginfo_cursor(this.__wbg_ptr);
3348
+ const ret = wasm.__wbg_get_apistats_fetch_key_package(this.__wbg_ptr);
3352
3349
  return BigInt.asUintN(64, ret);
3353
3350
  }
3354
3351
  /**
3355
3352
  * @param {bigint} arg0
3356
3353
  */
3357
3354
  set not_after(arg0) {
3358
- wasm.__wbg_set_conversationdebuginfo_cursor(this.__wbg_ptr, arg0);
3355
+ wasm.__wbg_set_apistats_fetch_key_package(this.__wbg_ptr, arg0);
3359
3356
  }
3360
3357
  }
3361
3358
 
@@ -3420,7 +3417,7 @@ export class ListConversationsOptions {
3420
3417
  * @param {bigint | null} [arg0]
3421
3418
  */
3422
3419
  set createdAfterNs(arg0) {
3423
- 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);
3424
3421
  }
3425
3422
  /**
3426
3423
  * @returns {bigint | undefined}
@@ -3527,7 +3524,7 @@ export class ListMessagesOptions {
3527
3524
  * @param {bigint | null} [arg0]
3528
3525
  */
3529
3526
  set sentBeforeNs(arg0) {
3530
- 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);
3531
3528
  }
3532
3529
  /**
3533
3530
  * @returns {bigint | undefined}
@@ -4401,7 +4398,7 @@ export class Reaction {
4401
4398
  set reference(arg0) {
4402
4399
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4403
4400
  const len0 = WASM_VECTOR_LEN;
4404
- wasm.__wbg_set_reaction_reference(this.__wbg_ptr, ptr0, len0);
4401
+ wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
4405
4402
  }
4406
4403
  /**
4407
4404
  * @returns {string}
@@ -4424,7 +4421,7 @@ export class Reaction {
4424
4421
  set referenceInboxId(arg0) {
4425
4422
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4426
4423
  const len0 = WASM_VECTOR_LEN;
4427
- wasm.__wbg_set_reaction_referenceInboxId(this.__wbg_ptr, ptr0, len0);
4424
+ wasm.__wbg_set_contenttypeid_typeId(this.__wbg_ptr, ptr0, len0);
4428
4425
  }
4429
4426
  /**
4430
4427
  * @returns {ReactionAction}
@@ -4621,7 +4618,7 @@ export class RemoteAttachmentInfo {
4621
4618
  set url(arg0) {
4622
4619
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4623
4620
  const len0 = WASM_VECTOR_LEN;
4624
- wasm.__wbg_set_remoteattachmentinfo_url(this.__wbg_ptr, ptr0, len0);
4621
+ wasm.__wbg_set_conversationdebuginfo_localCommitLog(this.__wbg_ptr, ptr0, len0);
4625
4622
  }
4626
4623
  /**
4627
4624
  * @returns {Uint8Array}
@@ -5430,22 +5427,22 @@ function __wbg_get_imports() {
5430
5427
  const ret = arg0.now();
5431
5428
  return ret;
5432
5429
  };
5433
- imports.wbg.__wbg_onclose_33c2685b3d6919fe = function(arg0) {
5430
+ imports.wbg.__wbg_onclose_8bf7ba8a4a849c92 = function(arg0) {
5434
5431
  arg0.on_close();
5435
5432
  };
5436
- imports.wbg.__wbg_onconsentupdate_b0ad10636a4bbf87 = function(arg0, arg1) {
5433
+ imports.wbg.__wbg_onconsentupdate_930b2bf861ef07ed = function(arg0, arg1) {
5437
5434
  arg0.on_consent_update(arg1);
5438
5435
  };
5439
- imports.wbg.__wbg_onconversation_d77e5cfa31969f41 = function(arg0, arg1) {
5436
+ imports.wbg.__wbg_onconversation_930ef848b11b5567 = function(arg0, arg1) {
5440
5437
  arg0.on_conversation(Conversation.__wrap(arg1));
5441
5438
  };
5442
- imports.wbg.__wbg_onerror_3a496c1bd703126d = function(arg0, arg1) {
5439
+ imports.wbg.__wbg_onerror_93b1a65a545ad640 = function(arg0, arg1) {
5443
5440
  arg0.on_error(arg1);
5444
5441
  };
5445
- imports.wbg.__wbg_onmessage_83a0c907bdd614d4 = function(arg0, arg1) {
5442
+ imports.wbg.__wbg_onmessage_6280dbb99367eae7 = function(arg0, arg1) {
5446
5443
  arg0.on_message(Message.__wrap(arg1));
5447
5444
  };
5448
- imports.wbg.__wbg_onuserpreferenceupdate_07cad92e339131e3 = function(arg0, arg1, arg2) {
5445
+ imports.wbg.__wbg_onuserpreferenceupdate_2961886528c86197 = function(arg0, arg1, arg2) {
5449
5446
  var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
5450
5447
  wasm.__wbindgen_free(arg1, arg2 * 4, 4);
5451
5448
  arg0.on_user_preference_update(v0);
@@ -5738,16 +5735,16 @@ function __wbg_get_imports() {
5738
5735
  const ret = false;
5739
5736
  return ret;
5740
5737
  };
5741
- imports.wbg.__wbindgen_closure_wrapper18907 = function(arg0, arg1, arg2) {
5742
- const ret = makeMutClosure(arg0, arg1, 4688, __wbg_adapter_50);
5738
+ imports.wbg.__wbindgen_closure_wrapper18914 = function(arg0, arg1, arg2) {
5739
+ const ret = makeMutClosure(arg0, arg1, 4691, __wbg_adapter_50);
5743
5740
  return ret;
5744
5741
  };
5745
- imports.wbg.__wbindgen_closure_wrapper21499 = function(arg0, arg1, arg2) {
5746
- const ret = makeMutClosure(arg0, arg1, 5023, __wbg_adapter_53);
5742
+ imports.wbg.__wbindgen_closure_wrapper21502 = function(arg0, arg1, arg2) {
5743
+ const ret = makeMutClosure(arg0, arg1, 5026, __wbg_adapter_53);
5747
5744
  return ret;
5748
5745
  };
5749
- imports.wbg.__wbindgen_closure_wrapper22226 = function(arg0, arg1, arg2) {
5750
- const ret = makeMutClosure(arg0, arg1, 5047, __wbg_adapter_56);
5746
+ imports.wbg.__wbindgen_closure_wrapper22229 = function(arg0, arg1, arg2) {
5747
+ const ret = makeMutClosure(arg0, arg1, 5050, __wbg_adapter_56);
5751
5748
  return ret;
5752
5749
  };
5753
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,35 @@ 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];
37
+ export const __wbg_reaction_free: (a: number, b: number) => void;
38
+ export const __wbg_get_reaction_action: (a: number) => number;
39
+ export const __wbg_set_reaction_action: (a: number, b: number) => void;
40
+ export const __wbg_get_reaction_content: (a: number) => [number, number];
41
+ export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
42
+ export const __wbg_get_reaction_schema: (a: number) => number;
43
+ export const __wbg_set_reaction_schema: (a: number, b: number) => void;
44
+ export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
45
+ export const encodeReaction: (a: number) => [number, number, number];
46
+ export const decodeReaction: (a: any) => [number, number, number];
16
47
  export const __wbg_groupmetadata_free: (a: number, b: number) => void;
17
48
  export const groupmetadata_creatorInboxId: (a: number) => [number, number];
18
49
  export const groupmetadata_conversationType: (a: number) => [number, number];
@@ -74,6 +105,8 @@ export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [n
74
105
  export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
75
106
  export const __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
76
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;
77
110
  export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
78
111
  export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
79
112
  export const __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
@@ -81,6 +114,7 @@ export const __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number,
81
114
  export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
82
115
  export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
83
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;
84
118
  export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
85
119
  export const __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
86
120
  export const __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
@@ -156,30 +190,6 @@ export const __wbg_set_encodedcontent_compression: (a: number, b: number) => voi
156
190
  export const __wbg_get_encodedcontent_content: (a: number) => any;
157
191
  export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
158
192
  export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
159
- export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
160
- export const generateInboxId: (a: any) => [number, number, number, number];
161
- export const __wbg_installation_free: (a: number, b: number) => void;
162
- export const __wbg_get_installation_bytes: (a: number) => any;
163
- export const __wbg_set_installation_bytes: (a: number, b: any) => void;
164
- export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
165
- export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
166
- export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
167
- export const __wbg_inboxstate_free: (a: number, b: number) => void;
168
- export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
169
- export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
170
- export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
171
- export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
172
- export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
173
- export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
174
- export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
175
- export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
176
- export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
177
- export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
178
- export const __wbg_lifetime_free: (a: number, b: number) => void;
179
- export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
180
- export const client_inboxState: (a: number, b: number) => any;
181
- export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
182
- export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
183
193
  export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
184
194
  export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
185
195
  export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
@@ -246,39 +256,35 @@ export const streamcloser_end: (a: number) => void;
246
256
  export const streamcloser_endAndWait: (a: number) => any;
247
257
  export const streamcloser_waitForReady: (a: number) => any;
248
258
  export const streamcloser_isClosed: (a: number) => number;
249
- export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
250
259
  export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
251
260
  export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
252
261
  export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
262
+ export const __wbg_get_reaction_reference: (a: number) => [number, number];
253
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];
254
266
  export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
255
- export const __wbg_get_installation_id: (a: number) => [number, number];
256
- export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
267
+ export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
268
+ export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
257
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;
258
271
  export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
259
- export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
260
- export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
272
+ export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
261
273
  export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
262
274
  export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
263
275
  export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
264
- export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
265
- export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
266
276
  export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
267
277
  export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
268
278
  export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
269
279
  export const __wbg_get_hmackey_epoch: (a: number) => bigint;
270
- export const __wbg_get_lifetime_not_before: (a: number) => bigint;
271
- export const __wbg_get_lifetime_not_after: (a: number) => bigint;
272
280
  export const __wbg_get_message_sentAtNs: (a: number) => bigint;
273
281
  export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
274
- 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;
275
284
  export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
276
285
  export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
277
286
  export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
278
287
  export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
279
- export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
280
- export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
281
- export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
282
288
  export const __wbg_client_free: (a: number, b: number) => void;
283
289
  export const __wbg_logoptions_free: (a: number, b: number) => void;
284
290
  export const __wbg_get_logoptions_structured: (a: number) => number;
@@ -305,44 +311,6 @@ export const client_apiIdentityStatistics: (a: number) => number;
305
311
  export const client_apiAggregateStatistics: (a: number) => [number, number];
306
312
  export const client_clearAllStatistics: (a: number) => void;
307
313
  export const client_uploadDebugArchive: (a: number, b: number, c: number) => any;
308
- export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
309
- export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
310
- export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
311
- export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
312
- export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
313
- export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
314
- export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
315
- export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
316
- export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
317
- export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
318
- export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
319
- export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
320
- export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
321
- export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
322
- export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
323
- export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
324
- export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
325
- 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;
326
- export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
327
- export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
328
- export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
329
- export const multiremoteattachment_new: (a: number, b: number) => number;
330
- export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
331
- export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
332
- export const __wbg_reaction_free: (a: number, b: number) => void;
333
- export const __wbg_get_reaction_reference: (a: number) => [number, number];
334
- export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
335
- export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
336
- export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
337
- export const __wbg_get_reaction_action: (a: number) => number;
338
- export const __wbg_set_reaction_action: (a: number, b: number) => void;
339
- export const __wbg_get_reaction_content: (a: number) => [number, number];
340
- export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
341
- export const __wbg_get_reaction_schema: (a: number) => number;
342
- export const __wbg_set_reaction_schema: (a: number, b: number) => void;
343
- export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
344
- export const encodeReaction: (a: number) => [number, number, number];
345
- export const decodeReaction: (a: any) => [number, number, number];
346
314
  export const __wbg_apistats_free: (a: number, b: number) => void;
347
315
  export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
348
316
  export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
@@ -361,6 +329,34 @@ export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => vo
361
329
  export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
362
330
  export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
363
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;
364
360
  export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
365
361
  export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
366
362
  export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
@@ -386,10 +382,14 @@ export const __wbg_set_identitystats_publish_identity_update: (a: number, b: big
386
382
  export const __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
387
383
  export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
388
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;
389
387
  export const __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
390
388
  export const __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
391
389
  export const __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
392
390
  export const __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
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 closure5046_externref_shim: (a: number, b: number, c: any) => void;
438
- export const closure5989_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": "9532653",
4
- "date": "2025-07-25 23:19:55 +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.3",
3
+ "version": "1.3.4",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "WASM bindings for the libXMTP rust library",