@xmtp/wasm-bindings 1.2.3 → 1.2.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.
- package/dist/bindings_wasm.d.ts +109 -107
- package/dist/bindings_wasm.js +257 -244
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +87 -86
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export function
|
|
3
|
+
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
4
|
+
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
4
5
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
5
6
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
6
7
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
7
8
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
9
|
+
export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
|
|
8
10
|
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
9
11
|
export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
10
12
|
export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
|
|
11
|
-
export function
|
|
12
|
-
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
13
|
+
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): Promise<Client>;
|
|
13
14
|
export enum ConsentEntityType {
|
|
14
15
|
GroupId = 0,
|
|
15
16
|
InboxId = 1,
|
|
@@ -130,20 +131,8 @@ export class ApiStats {
|
|
|
130
131
|
export class Client {
|
|
131
132
|
private constructor();
|
|
132
133
|
free(): void;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
*/
|
|
136
|
-
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
137
|
-
sendSyncRequest(): Promise<void>;
|
|
138
|
-
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
139
|
-
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
140
|
-
conversations(): Conversations;
|
|
141
|
-
syncPreferences(): Promise<number>;
|
|
142
|
-
apiStatistics(): ApiStats;
|
|
143
|
-
apiIdentityStatistics(): IdentityStats;
|
|
144
|
-
apiAggregateStatistics(): string;
|
|
145
|
-
clearAllStatistics(): void;
|
|
146
|
-
uploadDebugArchive(server_url: string): Promise<string>;
|
|
134
|
+
setConsentStates(records: Consent[]): Promise<void>;
|
|
135
|
+
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
147
136
|
/**
|
|
148
137
|
*
|
|
149
138
|
* * Get the client's inbox state.
|
|
@@ -172,8 +161,20 @@ export class Client {
|
|
|
172
161
|
registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
|
|
173
162
|
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
174
163
|
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
175
|
-
|
|
176
|
-
|
|
164
|
+
/**
|
|
165
|
+
* Output booleans should be zipped with the index of input identifiers
|
|
166
|
+
*/
|
|
167
|
+
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
168
|
+
sendSyncRequest(): Promise<void>;
|
|
169
|
+
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
170
|
+
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
171
|
+
conversations(): Conversations;
|
|
172
|
+
syncPreferences(): Promise<number>;
|
|
173
|
+
apiStatistics(): ApiStats;
|
|
174
|
+
apiIdentityStatistics(): IdentityStats;
|
|
175
|
+
apiAggregateStatistics(): string;
|
|
176
|
+
clearAllStatistics(): void;
|
|
177
|
+
uploadDebugArchive(server_url: string): Promise<string>;
|
|
177
178
|
readonly accountIdentifier: Identifier;
|
|
178
179
|
readonly inboxId: string;
|
|
179
180
|
readonly isRegistered: boolean;
|
|
@@ -198,6 +199,8 @@ export class ContentTypeId {
|
|
|
198
199
|
export class Conversation {
|
|
199
200
|
private constructor();
|
|
200
201
|
free(): void;
|
|
202
|
+
consentState(): ConsentState;
|
|
203
|
+
updateConsentState(state: ConsentState): void;
|
|
201
204
|
id(): string;
|
|
202
205
|
send(encoded_content: EncodedContent): Promise<string>;
|
|
203
206
|
/**
|
|
@@ -246,8 +249,6 @@ export class Conversation {
|
|
|
246
249
|
getHmacKeys(): any;
|
|
247
250
|
getDebugInfo(): Promise<any>;
|
|
248
251
|
findDuplicateDms(): Promise<Conversation[]>;
|
|
249
|
-
consentState(): ConsentState;
|
|
250
|
-
updateConsentState(state: ConsentState): void;
|
|
251
252
|
}
|
|
252
253
|
export class ConversationDebugInfo {
|
|
253
254
|
private constructor();
|
|
@@ -608,54 +609,6 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
608
609
|
|
|
609
610
|
export interface InitOutput {
|
|
610
611
|
readonly memory: WebAssembly.Memory;
|
|
611
|
-
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
612
|
-
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
613
|
-
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
614
|
-
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
615
|
-
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
616
|
-
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
617
|
-
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
618
|
-
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
619
|
-
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
620
|
-
readonly createClient: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => any;
|
|
621
|
-
readonly client_accountIdentifier: (a: number) => any;
|
|
622
|
-
readonly client_inboxId: (a: number) => [number, number];
|
|
623
|
-
readonly client_isRegistered: (a: number) => number;
|
|
624
|
-
readonly client_installationId: (a: number) => [number, number];
|
|
625
|
-
readonly client_installationIdBytes: (a: number) => any;
|
|
626
|
-
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
627
|
-
readonly client_sendSyncRequest: (a: number) => any;
|
|
628
|
-
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
629
|
-
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
630
|
-
readonly client_conversations: (a: number) => number;
|
|
631
|
-
readonly client_syncPreferences: (a: number) => any;
|
|
632
|
-
readonly client_apiStatistics: (a: number) => number;
|
|
633
|
-
readonly client_apiIdentityStatistics: (a: number) => number;
|
|
634
|
-
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
635
|
-
readonly client_clearAllStatistics: (a: number) => void;
|
|
636
|
-
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
637
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
638
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
639
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
640
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
641
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
642
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
643
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
644
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
645
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
646
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
647
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
648
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
649
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
650
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
651
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
652
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
653
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
654
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
655
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
656
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
657
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
658
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
659
612
|
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
660
613
|
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
661
614
|
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
@@ -674,6 +627,8 @@ export interface InitOutput {
|
|
|
674
627
|
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
675
628
|
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
676
629
|
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
630
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
631
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
677
632
|
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
678
633
|
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
679
634
|
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
@@ -682,9 +637,19 @@ export interface InitOutput {
|
|
|
682
637
|
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
683
638
|
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
684
639
|
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
640
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
641
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
642
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
643
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
644
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
645
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
646
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
647
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
648
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
649
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
650
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
651
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
685
652
|
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
686
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
687
|
-
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
688
653
|
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
689
654
|
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
690
655
|
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
@@ -706,7 +671,6 @@ export interface InitOutput {
|
|
|
706
671
|
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
707
672
|
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
708
673
|
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
709
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
710
674
|
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
711
675
|
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
712
676
|
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
@@ -720,8 +684,6 @@ export interface InitOutput {
|
|
|
720
684
|
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
721
685
|
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
722
686
|
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
723
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
724
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
725
687
|
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
726
688
|
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
727
689
|
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
@@ -786,13 +748,13 @@ export interface InitOutput {
|
|
|
786
748
|
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
787
749
|
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
788
750
|
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
751
|
+
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
789
752
|
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
790
753
|
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
791
754
|
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
792
755
|
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
793
756
|
readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
794
757
|
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
795
|
-
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
796
758
|
readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
797
759
|
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
798
760
|
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
@@ -810,6 +772,7 @@ export interface InitOutput {
|
|
|
810
772
|
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
811
773
|
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
812
774
|
readonly createdmoptions_new: (a: number) => number;
|
|
775
|
+
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
813
776
|
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
814
777
|
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
815
778
|
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
@@ -835,6 +798,26 @@ export interface InitOutput {
|
|
|
835
798
|
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
836
799
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
837
800
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
801
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
802
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
803
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
804
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
805
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
806
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
807
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
808
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
809
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
810
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
811
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
812
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
813
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
814
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
815
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
816
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
817
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
818
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
819
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
820
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
838
821
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
839
822
|
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
840
823
|
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
@@ -852,11 +835,13 @@ export interface InitOutput {
|
|
|
852
835
|
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
853
836
|
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
854
837
|
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
838
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
855
839
|
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
856
840
|
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
857
841
|
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
858
842
|
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
859
843
|
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
844
|
+
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
860
845
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
861
846
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
862
847
|
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
@@ -889,6 +874,19 @@ export interface InitOutput {
|
|
|
889
874
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
890
875
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
891
876
|
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
877
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
878
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
879
|
+
readonly opfs_exists: () => number;
|
|
880
|
+
readonly opfs_error: () => [number, number];
|
|
881
|
+
readonly opfs_wipeFiles: () => any;
|
|
882
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
883
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
884
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
885
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
886
|
+
readonly opfs_getFileCount: () => number;
|
|
887
|
+
readonly opfs_getCapacity: () => number;
|
|
888
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
889
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
892
890
|
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
893
891
|
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
894
892
|
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
@@ -913,11 +911,17 @@ export interface InitOutput {
|
|
|
913
911
|
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
914
912
|
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
915
913
|
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
914
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
916
915
|
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
916
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
917
|
+
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
917
918
|
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
918
919
|
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
919
920
|
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
921
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
920
922
|
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
923
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
924
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
921
925
|
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
922
926
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
923
927
|
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
@@ -930,47 +934,45 @@ export interface InitOutput {
|
|
|
930
934
|
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
931
935
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
932
936
|
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
937
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
938
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
933
939
|
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
934
940
|
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
935
941
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
936
942
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
937
943
|
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
938
|
-
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
939
|
-
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
940
|
-
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
941
944
|
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
942
945
|
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
943
946
|
readonly streamcloser_end: (a: number) => void;
|
|
944
947
|
readonly streamcloser_endAndWait: (a: number) => any;
|
|
945
948
|
readonly streamcloser_waitForReady: (a: number) => any;
|
|
946
949
|
readonly streamcloser_isClosed: (a: number) => number;
|
|
947
|
-
readonly
|
|
948
|
-
readonly
|
|
949
|
-
readonly
|
|
950
|
-
readonly
|
|
951
|
-
readonly
|
|
952
|
-
readonly
|
|
953
|
-
readonly
|
|
954
|
-
readonly
|
|
955
|
-
readonly
|
|
956
|
-
readonly
|
|
957
|
-
readonly
|
|
958
|
-
readonly
|
|
959
|
-
readonly
|
|
960
|
-
readonly
|
|
961
|
-
readonly
|
|
962
|
-
readonly
|
|
963
|
-
readonly
|
|
964
|
-
readonly
|
|
965
|
-
readonly
|
|
966
|
-
readonly
|
|
967
|
-
readonly
|
|
968
|
-
readonly
|
|
969
|
-
readonly
|
|
970
|
-
readonly
|
|
971
|
-
readonly
|
|
972
|
-
readonly
|
|
973
|
-
readonly opfs_reduceCapacity: (a: number) => any;
|
|
950
|
+
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
951
|
+
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
952
|
+
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
953
|
+
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
954
|
+
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
955
|
+
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
956
|
+
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
957
|
+
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
958
|
+
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
959
|
+
readonly createClient: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => any;
|
|
960
|
+
readonly client_accountIdentifier: (a: number) => any;
|
|
961
|
+
readonly client_inboxId: (a: number) => [number, number];
|
|
962
|
+
readonly client_isRegistered: (a: number) => number;
|
|
963
|
+
readonly client_installationId: (a: number) => [number, number];
|
|
964
|
+
readonly client_installationIdBytes: (a: number) => any;
|
|
965
|
+
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
966
|
+
readonly client_sendSyncRequest: (a: number) => any;
|
|
967
|
+
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
968
|
+
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
969
|
+
readonly client_conversations: (a: number) => number;
|
|
970
|
+
readonly client_syncPreferences: (a: number) => any;
|
|
971
|
+
readonly client_apiStatistics: (a: number) => number;
|
|
972
|
+
readonly client_apiIdentityStatistics: (a: number) => number;
|
|
973
|
+
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
974
|
+
readonly client_clearAllStatistics: (a: number) => void;
|
|
975
|
+
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
974
976
|
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
975
977
|
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
976
978
|
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -1035,9 +1037,9 @@ export interface InitOutput {
|
|
|
1035
1037
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1036
1038
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc094ec3bdf8c16b7: (a: number, b: number) => void;
|
|
1037
1039
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0eb99f8c2f057fcc: (a: number, b: number) => void;
|
|
1038
|
-
readonly
|
|
1040
|
+
readonly closure4617_externref_shim: (a: number, b: number, c: any) => void;
|
|
1039
1041
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h232599d7dcf89d52: (a: number, b: number) => void;
|
|
1040
|
-
readonly
|
|
1042
|
+
readonly closure5593_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1041
1043
|
readonly __wbindgen_start: () => void;
|
|
1042
1044
|
}
|
|
1043
1045
|
|