@xmtp/wasm-bindings 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bindings_wasm.d.ts +162 -157
- package/dist/bindings_wasm.js +124 -101
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +154 -153
- package/dist/snippets/wasm-array-cp-201e2a98f0e691f7/copy.min.js +1 -0
- package/dist/version.json +2 -2
- package/package.json +6 -2
- package/dist/snippets/sqlite-wasm-rs-7363ec544fce135b/src/vfs/utils.js +0 -11
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -135,8 +135,6 @@ export class ApiStats {
|
|
|
135
135
|
export class Client {
|
|
136
136
|
private constructor();
|
|
137
137
|
free(): void;
|
|
138
|
-
setConsentStates(records: Consent[]): Promise<void>;
|
|
139
|
-
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
140
138
|
createInboxSignatureText(): string | undefined;
|
|
141
139
|
addWalletSignatureText(new_identifier: Identifier): Promise<string>;
|
|
142
140
|
revokeWalletSignatureText(identifier: Identifier): Promise<string>;
|
|
@@ -181,6 +179,8 @@ export class Client {
|
|
|
181
179
|
*
|
|
182
180
|
*/
|
|
183
181
|
getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
|
|
182
|
+
setConsentStates(records: Consent[]): Promise<void>;
|
|
183
|
+
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
184
184
|
readonly accountIdentifier: Identifier;
|
|
185
185
|
readonly inboxId: string;
|
|
186
186
|
readonly isRegistered: boolean;
|
|
@@ -205,8 +205,6 @@ export class ContentTypeId {
|
|
|
205
205
|
export class Conversation {
|
|
206
206
|
private constructor();
|
|
207
207
|
free(): void;
|
|
208
|
-
consentState(): ConsentState;
|
|
209
|
-
updateConsentState(state: ConsentState): void;
|
|
210
208
|
id(): string;
|
|
211
209
|
send(encoded_content: EncodedContent): Promise<string>;
|
|
212
210
|
/**
|
|
@@ -255,6 +253,8 @@ export class Conversation {
|
|
|
255
253
|
getHmacKeys(): any;
|
|
256
254
|
getDebugInfo(): Promise<any>;
|
|
257
255
|
findDuplicateDms(): Promise<Conversation[]>;
|
|
256
|
+
consentState(): ConsentState;
|
|
257
|
+
updateConsentState(state: ConsentState): void;
|
|
258
258
|
}
|
|
259
259
|
export class ConversationDebugInfo {
|
|
260
260
|
private constructor();
|
|
@@ -285,6 +285,10 @@ export class Conversations {
|
|
|
285
285
|
syncAllConversations(consent_states?: any[] | null): Promise<number>;
|
|
286
286
|
list(opts?: ListConversationsOptions | null): Array<any>;
|
|
287
287
|
getHmacKeys(): any;
|
|
288
|
+
/**
|
|
289
|
+
* Returns a 'ReadableStream' of Conversations
|
|
290
|
+
*/
|
|
291
|
+
streamLocal(conversation_type?: ConversationType | null): Promise<ReadableStream>;
|
|
288
292
|
stream(callback: any, conversation_type?: ConversationType | null): StreamCloser;
|
|
289
293
|
streamAllMessages(callback: any, conversation_type?: ConversationType | null, consent_states?: any[] | null): StreamCloser;
|
|
290
294
|
streamConsent(callback: any): StreamCloser;
|
|
@@ -603,18 +607,38 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
603
607
|
|
|
604
608
|
export interface InitOutput {
|
|
605
609
|
readonly memory: WebAssembly.Memory;
|
|
606
|
-
readonly
|
|
607
|
-
readonly
|
|
608
|
-
readonly
|
|
609
|
-
readonly
|
|
610
|
-
readonly
|
|
611
|
-
readonly
|
|
612
|
-
readonly
|
|
613
|
-
readonly
|
|
614
|
-
readonly
|
|
615
|
-
readonly
|
|
616
|
-
readonly
|
|
617
|
-
readonly
|
|
610
|
+
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
611
|
+
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
612
|
+
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
613
|
+
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
614
|
+
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
615
|
+
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
616
|
+
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
617
|
+
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
618
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
619
|
+
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
620
|
+
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
621
|
+
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
622
|
+
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
623
|
+
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
624
|
+
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
625
|
+
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;
|
|
626
|
+
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
627
|
+
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
628
|
+
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
629
|
+
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
630
|
+
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
631
|
+
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
632
|
+
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
633
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
634
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
635
|
+
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
636
|
+
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
637
|
+
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
638
|
+
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
639
|
+
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
640
|
+
readonly encodeReaction: (a: number) => [number, number, number];
|
|
641
|
+
readonly decodeReaction: (a: any) => [number, number, number];
|
|
618
642
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
619
643
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
620
644
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -655,7 +679,6 @@ export interface InitOutput {
|
|
|
655
679
|
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
656
680
|
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
657
681
|
readonly createdmoptions_new: (a: number) => number;
|
|
658
|
-
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
659
682
|
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
660
683
|
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
661
684
|
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
@@ -676,11 +699,14 @@ export interface InitOutput {
|
|
|
676
699
|
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
677
700
|
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
678
701
|
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
702
|
+
readonly conversations_streamLocal: (a: number, b: number) => any;
|
|
679
703
|
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
680
704
|
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
681
705
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
682
706
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
683
707
|
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
708
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
709
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
684
710
|
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
685
711
|
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
686
712
|
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
@@ -729,104 +755,69 @@ export interface InitOutput {
|
|
|
729
755
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
730
756
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
731
757
|
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
732
|
-
readonly
|
|
733
|
-
readonly
|
|
734
|
-
readonly
|
|
735
|
-
readonly
|
|
736
|
-
readonly
|
|
737
|
-
readonly
|
|
738
|
-
readonly
|
|
739
|
-
readonly
|
|
740
|
-
readonly
|
|
741
|
-
readonly
|
|
742
|
-
readonly
|
|
743
|
-
readonly
|
|
744
|
-
readonly
|
|
758
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
759
|
+
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
760
|
+
readonly client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
761
|
+
readonly client_addWalletSignatureText: (a: number, b: any) => any;
|
|
762
|
+
readonly client_revokeWalletSignatureText: (a: number, b: any) => any;
|
|
763
|
+
readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
764
|
+
readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
765
|
+
readonly client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
|
|
766
|
+
readonly client_addEcdsaSignature: (a: number, b: number, c: any) => any;
|
|
767
|
+
readonly client_addPasskeySignature: (a: number, b: number, c: number) => any;
|
|
768
|
+
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
769
|
+
readonly client_applySignatureRequests: (a: number) => any;
|
|
770
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
771
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
772
|
+
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
773
|
+
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
774
|
+
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
775
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
776
|
+
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
777
|
+
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
745
778
|
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
746
|
-
readonly
|
|
779
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
780
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
747
781
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
748
782
|
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
749
783
|
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
750
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
751
|
-
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
752
|
-
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
753
|
-
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
754
|
-
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
755
784
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
756
785
|
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
757
786
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
787
|
+
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
788
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
789
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
758
790
|
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
759
791
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
760
792
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
761
793
|
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
762
|
-
readonly
|
|
763
|
-
readonly
|
|
764
|
-
readonly
|
|
765
|
-
readonly
|
|
766
|
-
readonly
|
|
767
|
-
readonly
|
|
768
|
-
readonly
|
|
769
|
-
readonly
|
|
770
|
-
readonly
|
|
771
|
-
readonly
|
|
772
|
-
readonly
|
|
773
|
-
readonly
|
|
774
|
-
readonly
|
|
775
|
-
readonly
|
|
776
|
-
readonly
|
|
777
|
-
readonly
|
|
778
|
-
readonly
|
|
779
|
-
readonly
|
|
780
|
-
readonly
|
|
781
|
-
readonly
|
|
782
|
-
readonly
|
|
783
|
-
readonly
|
|
784
|
-
readonly
|
|
785
|
-
readonly
|
|
786
|
-
readonly
|
|
787
|
-
readonly
|
|
788
|
-
readonly
|
|
789
|
-
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
790
|
-
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
791
|
-
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
792
|
-
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
793
|
-
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
794
|
-
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
795
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
796
|
-
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
797
|
-
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
798
|
-
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
799
|
-
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
800
|
-
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
801
|
-
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
802
|
-
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
803
|
-
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
804
|
-
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
805
|
-
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
806
|
-
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
807
|
-
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
808
|
-
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
809
|
-
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
810
|
-
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
811
|
-
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;
|
|
812
|
-
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
813
|
-
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
814
|
-
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
815
|
-
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
816
|
-
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
817
|
-
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
818
|
-
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
819
|
-
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
820
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
821
|
-
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
822
|
-
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
823
|
-
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
824
|
-
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
825
|
-
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
826
|
-
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
827
|
-
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
828
|
-
readonly encodeReaction: (a: number) => [number, number, number];
|
|
829
|
-
readonly decodeReaction: (a: any) => [number, number, number];
|
|
794
|
+
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
795
|
+
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
796
|
+
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
797
|
+
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
798
|
+
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
799
|
+
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
800
|
+
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
801
|
+
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
802
|
+
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
803
|
+
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
804
|
+
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) => any;
|
|
805
|
+
readonly client_accountIdentifier: (a: number) => any;
|
|
806
|
+
readonly client_inboxId: (a: number) => [number, number];
|
|
807
|
+
readonly client_isRegistered: (a: number) => number;
|
|
808
|
+
readonly client_installationId: (a: number) => [number, number];
|
|
809
|
+
readonly client_installationIdBytes: (a: number) => any;
|
|
810
|
+
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
811
|
+
readonly client_registerIdentity: (a: number) => any;
|
|
812
|
+
readonly client_sendSyncRequest: (a: number) => any;
|
|
813
|
+
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
814
|
+
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
815
|
+
readonly client_conversations: (a: number) => number;
|
|
816
|
+
readonly client_syncPreferences: (a: number) => any;
|
|
817
|
+
readonly client_apiStatistics: (a: number) => number;
|
|
818
|
+
readonly client_apiIdentityStatistics: (a: number) => number;
|
|
819
|
+
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
820
|
+
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
830
821
|
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
831
822
|
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
832
823
|
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
@@ -885,48 +876,24 @@ export interface InitOutput {
|
|
|
885
876
|
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
886
877
|
readonly conversation_getDebugInfo: (a: number) => any;
|
|
887
878
|
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
888
|
-
readonly
|
|
889
|
-
readonly
|
|
890
|
-
readonly
|
|
891
|
-
readonly
|
|
892
|
-
readonly
|
|
893
|
-
readonly
|
|
894
|
-
readonly
|
|
895
|
-
readonly
|
|
896
|
-
readonly
|
|
897
|
-
readonly
|
|
898
|
-
readonly
|
|
899
|
-
readonly
|
|
900
|
-
readonly
|
|
901
|
-
readonly
|
|
902
|
-
readonly
|
|
903
|
-
readonly
|
|
904
|
-
readonly
|
|
905
|
-
readonly
|
|
906
|
-
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
907
|
-
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
908
|
-
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
909
|
-
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
910
|
-
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
911
|
-
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
912
|
-
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
913
|
-
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) => any;
|
|
914
|
-
readonly client_accountIdentifier: (a: number) => any;
|
|
915
|
-
readonly client_inboxId: (a: number) => [number, number];
|
|
916
|
-
readonly client_isRegistered: (a: number) => number;
|
|
917
|
-
readonly client_installationId: (a: number) => [number, number];
|
|
918
|
-
readonly client_installationIdBytes: (a: number) => any;
|
|
919
|
-
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
920
|
-
readonly client_registerIdentity: (a: number) => any;
|
|
921
|
-
readonly client_sendSyncRequest: (a: number) => any;
|
|
922
|
-
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
923
|
-
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
924
|
-
readonly client_conversations: (a: number) => number;
|
|
925
|
-
readonly client_syncPreferences: (a: number) => any;
|
|
926
|
-
readonly client_apiStatistics: (a: number) => number;
|
|
927
|
-
readonly client_apiIdentityStatistics: (a: number) => number;
|
|
928
|
-
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
929
|
-
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
879
|
+
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
880
|
+
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
881
|
+
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
882
|
+
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
883
|
+
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
884
|
+
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
885
|
+
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
886
|
+
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
887
|
+
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
888
|
+
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
889
|
+
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
890
|
+
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
891
|
+
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
892
|
+
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
893
|
+
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
894
|
+
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
895
|
+
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
896
|
+
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
930
897
|
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
931
898
|
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
932
899
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
@@ -938,8 +905,6 @@ export interface InitOutput {
|
|
|
938
905
|
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
939
906
|
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
940
907
|
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
941
|
-
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
942
|
-
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
943
908
|
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
944
909
|
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
945
910
|
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
@@ -953,13 +918,53 @@ export interface InitOutput {
|
|
|
953
918
|
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
954
919
|
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
955
920
|
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
956
|
-
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
957
|
-
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
958
|
-
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
959
|
-
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
960
921
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
961
922
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
962
923
|
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
924
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
925
|
+
readonly streamcloser_end: (a: number) => void;
|
|
926
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
927
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
928
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
929
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
930
|
+
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
931
|
+
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
932
|
+
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
933
|
+
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
934
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
935
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
936
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
937
|
+
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
938
|
+
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
939
|
+
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
940
|
+
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
941
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
942
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
943
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
944
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
945
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
946
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
947
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
948
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
949
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
950
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
951
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
952
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
953
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
954
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
955
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
956
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
957
|
+
readonly opfs_exists: () => number;
|
|
958
|
+
readonly opfs_error: () => [number, number];
|
|
959
|
+
readonly opfs_wipeFiles: () => any;
|
|
960
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
961
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
962
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
963
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
964
|
+
readonly opfs_getFileCount: () => number;
|
|
965
|
+
readonly opfs_getCapacity: () => number;
|
|
966
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
967
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
963
968
|
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
964
969
|
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
965
970
|
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -1022,11 +1027,11 @@ export interface InitOutput {
|
|
|
1022
1027
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1023
1028
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
1024
1029
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1025
|
-
readonly
|
|
1026
|
-
readonly
|
|
1027
|
-
readonly
|
|
1028
|
-
readonly
|
|
1029
|
-
readonly
|
|
1030
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc094ec3bdf8c16b7: (a: number, b: number) => void;
|
|
1031
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0eb99f8c2f057fcc: (a: number, b: number) => void;
|
|
1032
|
+
readonly closure4487_externref_shim: (a: number, b: number, c: any) => void;
|
|
1033
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h232599d7dcf89d52: (a: number, b: number) => void;
|
|
1034
|
+
readonly closure5463_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1030
1035
|
readonly __wbindgen_start: () => void;
|
|
1031
1036
|
}
|
|
1032
1037
|
|