@xmtp/wasm-bindings 1.2.5 → 1.2.7
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 +138 -138
- package/dist/bindings_wasm.js +215 -216
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +123 -123
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null, allow_offline?: boolean | null): Promise<Client>;
|
|
3
4
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
4
5
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
5
6
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
@@ -10,7 +11,6 @@ export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promi
|
|
|
10
11
|
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
11
12
|
export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
12
13
|
export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
|
|
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>;
|
|
14
14
|
export enum ConsentEntityType {
|
|
15
15
|
GroupId = 0,
|
|
16
16
|
InboxId = 1,
|
|
@@ -131,6 +131,20 @@ export class ApiStats {
|
|
|
131
131
|
export class Client {
|
|
132
132
|
private constructor();
|
|
133
133
|
free(): void;
|
|
134
|
+
/**
|
|
135
|
+
* Output booleans should be zipped with the index of input identifiers
|
|
136
|
+
*/
|
|
137
|
+
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
138
|
+
sendSyncRequest(): Promise<void>;
|
|
139
|
+
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
140
|
+
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
141
|
+
conversations(): Conversations;
|
|
142
|
+
syncPreferences(): Promise<number>;
|
|
143
|
+
apiStatistics(): ApiStats;
|
|
144
|
+
apiIdentityStatistics(): IdentityStats;
|
|
145
|
+
apiAggregateStatistics(): string;
|
|
146
|
+
clearAllStatistics(): void;
|
|
147
|
+
uploadDebugArchive(server_url: string): Promise<string>;
|
|
134
148
|
setConsentStates(records: Consent[]): Promise<void>;
|
|
135
149
|
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
136
150
|
/**
|
|
@@ -161,20 +175,6 @@ export class Client {
|
|
|
161
175
|
registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
|
|
162
176
|
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
163
177
|
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
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>;
|
|
178
178
|
readonly accountIdentifier: Identifier;
|
|
179
179
|
readonly inboxId: string;
|
|
180
180
|
readonly isRegistered: boolean;
|
|
@@ -609,32 +609,53 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
609
609
|
|
|
610
610
|
export interface InitOutput {
|
|
611
611
|
readonly memory: WebAssembly.Memory;
|
|
612
|
-
readonly
|
|
613
|
-
readonly
|
|
614
|
-
readonly
|
|
615
|
-
readonly
|
|
616
|
-
readonly
|
|
617
|
-
readonly
|
|
618
|
-
readonly
|
|
619
|
-
readonly
|
|
620
|
-
readonly
|
|
621
|
-
readonly
|
|
622
|
-
readonly
|
|
623
|
-
readonly
|
|
624
|
-
readonly
|
|
625
|
-
readonly
|
|
626
|
-
readonly
|
|
627
|
-
readonly
|
|
628
|
-
readonly
|
|
629
|
-
readonly
|
|
630
|
-
readonly
|
|
631
|
-
readonly
|
|
632
|
-
readonly
|
|
633
|
-
readonly
|
|
634
|
-
readonly
|
|
635
|
-
readonly
|
|
636
|
-
readonly
|
|
637
|
-
readonly
|
|
612
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
613
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
614
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
615
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
616
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
617
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
618
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
619
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
620
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
621
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
622
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
623
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
624
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
625
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
626
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
627
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
628
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
629
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
630
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
631
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
632
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
633
|
+
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
634
|
+
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
635
|
+
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
636
|
+
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
637
|
+
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
638
|
+
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
639
|
+
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
640
|
+
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
641
|
+
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
642
|
+
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;
|
|
643
|
+
readonly client_accountIdentifier: (a: number) => any;
|
|
644
|
+
readonly client_inboxId: (a: number) => [number, number];
|
|
645
|
+
readonly client_isRegistered: (a: number) => number;
|
|
646
|
+
readonly client_installationId: (a: number) => [number, number];
|
|
647
|
+
readonly client_installationIdBytes: (a: number) => any;
|
|
648
|
+
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
649
|
+
readonly client_sendSyncRequest: (a: number) => any;
|
|
650
|
+
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
651
|
+
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
652
|
+
readonly client_conversations: (a: number) => number;
|
|
653
|
+
readonly client_syncPreferences: (a: number) => any;
|
|
654
|
+
readonly client_apiStatistics: (a: number) => number;
|
|
655
|
+
readonly client_apiIdentityStatistics: (a: number) => number;
|
|
656
|
+
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
657
|
+
readonly client_clearAllStatistics: (a: number) => void;
|
|
658
|
+
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
638
659
|
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
639
660
|
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
640
661
|
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
@@ -648,8 +669,6 @@ export interface InitOutput {
|
|
|
648
669
|
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
649
670
|
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
650
671
|
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
651
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
652
|
-
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
653
672
|
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
654
673
|
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
655
674
|
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
@@ -671,7 +690,6 @@ export interface InitOutput {
|
|
|
671
690
|
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
672
691
|
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
673
692
|
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
674
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
675
693
|
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
676
694
|
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
677
695
|
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
@@ -749,13 +767,11 @@ export interface InitOutput {
|
|
|
749
767
|
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
750
768
|
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
751
769
|
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
770
|
+
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
752
771
|
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
753
772
|
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
754
|
-
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
755
|
-
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
756
773
|
readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
757
774
|
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
758
|
-
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
759
775
|
readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
760
776
|
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
761
777
|
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
@@ -773,6 +789,7 @@ export interface InitOutput {
|
|
|
773
789
|
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
774
790
|
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
775
791
|
readonly createdmoptions_new: (a: number) => number;
|
|
792
|
+
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
776
793
|
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
777
794
|
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
778
795
|
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
@@ -798,6 +815,44 @@ export interface InitOutput {
|
|
|
798
815
|
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
799
816
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
800
817
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
818
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
819
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
820
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
821
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
822
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
823
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
824
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
825
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
826
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
827
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
828
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
829
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
830
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
831
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
832
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
833
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
834
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
835
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
836
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
837
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
838
|
+
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
839
|
+
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
840
|
+
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
841
|
+
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
842
|
+
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
843
|
+
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
844
|
+
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
845
|
+
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
846
|
+
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
847
|
+
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
848
|
+
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
849
|
+
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
850
|
+
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
851
|
+
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
852
|
+
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
853
|
+
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
854
|
+
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
855
|
+
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
801
856
|
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
802
857
|
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
803
858
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
@@ -817,11 +872,10 @@ export interface InitOutput {
|
|
|
817
872
|
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
818
873
|
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
819
874
|
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
875
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
820
876
|
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
821
877
|
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
822
878
|
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
823
|
-
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
824
|
-
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
825
879
|
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
826
880
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
827
881
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
@@ -855,6 +909,19 @@ export interface InitOutput {
|
|
|
855
909
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
856
910
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
857
911
|
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
912
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
913
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
914
|
+
readonly opfs_exists: () => number;
|
|
915
|
+
readonly opfs_error: () => [number, number];
|
|
916
|
+
readonly opfs_wipeFiles: () => any;
|
|
917
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
918
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
919
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
920
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
921
|
+
readonly opfs_getFileCount: () => number;
|
|
922
|
+
readonly opfs_getCapacity: () => number;
|
|
923
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
924
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
858
925
|
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
859
926
|
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
860
927
|
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
@@ -881,119 +948,52 @@ export interface InitOutput {
|
|
|
881
948
|
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
882
949
|
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
883
950
|
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
951
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
952
|
+
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
884
953
|
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
885
954
|
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
886
955
|
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
887
956
|
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
888
957
|
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
958
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
959
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
889
960
|
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
890
961
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
891
962
|
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
892
|
-
readonly
|
|
963
|
+
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
893
964
|
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
965
|
+
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
966
|
+
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
967
|
+
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
968
|
+
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
969
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
970
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
894
971
|
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
895
972
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
896
973
|
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
897
|
-
readonly
|
|
974
|
+
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
898
975
|
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
976
|
+
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
977
|
+
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
978
|
+
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
979
|
+
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
980
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
981
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
899
982
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
900
983
|
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
984
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
985
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
901
986
|
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
902
987
|
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
903
988
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
904
989
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
905
990
|
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
906
|
-
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
907
|
-
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
908
991
|
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
909
|
-
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
910
992
|
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
911
993
|
readonly streamcloser_end: (a: number) => void;
|
|
912
994
|
readonly streamcloser_endAndWait: (a: number) => any;
|
|
913
995
|
readonly streamcloser_waitForReady: (a: number) => any;
|
|
914
996
|
readonly streamcloser_isClosed: (a: number) => number;
|
|
915
|
-
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
916
|
-
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
917
|
-
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
918
|
-
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
919
|
-
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
920
|
-
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
921
|
-
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
922
|
-
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
923
|
-
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
924
|
-
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;
|
|
925
|
-
readonly client_accountIdentifier: (a: number) => any;
|
|
926
|
-
readonly client_inboxId: (a: number) => [number, number];
|
|
927
|
-
readonly client_isRegistered: (a: number) => number;
|
|
928
|
-
readonly client_installationId: (a: number) => [number, number];
|
|
929
|
-
readonly client_installationIdBytes: (a: number) => any;
|
|
930
|
-
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
931
|
-
readonly client_sendSyncRequest: (a: number) => any;
|
|
932
|
-
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
933
|
-
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
934
|
-
readonly client_conversations: (a: number) => number;
|
|
935
|
-
readonly client_syncPreferences: (a: number) => any;
|
|
936
|
-
readonly client_apiStatistics: (a: number) => number;
|
|
937
|
-
readonly client_apiIdentityStatistics: (a: number) => number;
|
|
938
|
-
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
939
|
-
readonly client_clearAllStatistics: (a: number) => void;
|
|
940
|
-
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
941
|
-
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
942
|
-
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
943
|
-
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
944
|
-
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
945
|
-
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
946
|
-
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
947
|
-
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
948
|
-
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
949
|
-
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
950
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
951
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
952
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
953
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
954
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
955
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
956
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
957
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
958
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
959
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
960
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
961
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
962
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
963
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
964
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
965
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
966
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
967
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
968
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
969
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
970
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
971
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
972
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
973
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
974
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
975
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
976
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
977
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
978
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
979
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
980
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
981
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
982
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
983
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
984
|
-
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
985
|
-
readonly opfs_init_sqlite_opfs: () => any;
|
|
986
|
-
readonly opfs_exists: () => number;
|
|
987
|
-
readonly opfs_error: () => [number, number];
|
|
988
|
-
readonly opfs_wipeFiles: () => any;
|
|
989
|
-
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
990
|
-
readonly opfs_getFileNames: () => [number, number];
|
|
991
|
-
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
992
|
-
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
993
|
-
readonly opfs_getFileCount: () => number;
|
|
994
|
-
readonly opfs_getCapacity: () => number;
|
|
995
|
-
readonly opfs_addCapacity: (a: number) => any;
|
|
996
|
-
readonly opfs_reduceCapacity: (a: number) => any;
|
|
997
997
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
998
998
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
999
999
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -1037,9 +1037,9 @@ export interface InitOutput {
|
|
|
1037
1037
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1038
1038
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7e9b1d0be1909a89: (a: number, b: number) => void;
|
|
1039
1039
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd7b727abd95da937: (a: number, b: number) => void;
|
|
1040
|
-
readonly
|
|
1040
|
+
readonly closure4602_externref_shim: (a: number, b: number, c: any) => void;
|
|
1041
1041
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6500cfda1685f15: (a: number, b: number) => void;
|
|
1042
|
-
readonly
|
|
1042
|
+
readonly closure5560_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1043
1043
|
readonly __wbindgen_start: () => void;
|
|
1044
1044
|
}
|
|
1045
1045
|
|