@xmtp/wasm-bindings 1.2.0 → 1.2.2
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 +233 -226
- package/dist/bindings_wasm.js +271 -245
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +212 -210
- 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
|
@@ -1,11 +1,11 @@
|
|
|
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>;
|
|
4
|
+
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
3
5
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
4
6
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
5
7
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
6
8
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
7
|
-
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
8
|
-
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): Promise<Client>;
|
|
9
9
|
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
10
10
|
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
11
11
|
export enum ConsentEntityType {
|
|
@@ -135,20 +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
|
-
createInboxSignatureText(): string | undefined;
|
|
141
|
-
addWalletSignatureText(new_identifier: Identifier): Promise<string>;
|
|
142
|
-
revokeWalletSignatureText(identifier: Identifier): Promise<string>;
|
|
143
|
-
revokeAllOtherInstallationsSignatureText(): Promise<string>;
|
|
144
|
-
revokeInstallationsSignatureText(installation_ids: Uint8Array[]): Promise<string>;
|
|
145
|
-
changeRecoveryIdentifierSignatureText(new_recovery_identifier: Identifier): Promise<string>;
|
|
146
|
-
addEcdsaSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array): Promise<void>;
|
|
147
|
-
addPasskeySignature(signature_type: SignatureRequestType, signature: PasskeySignature): Promise<void>;
|
|
148
|
-
addScwSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array, chain_id: bigint, block_number?: bigint | null): Promise<void>;
|
|
149
|
-
applySignatureRequests(): Promise<void>;
|
|
150
|
-
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
151
|
-
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
152
138
|
/**
|
|
153
139
|
* Output booleans should be zipped with the index of input identifiers
|
|
154
140
|
*/
|
|
@@ -162,7 +148,22 @@ export class Client {
|
|
|
162
148
|
apiStatistics(): ApiStats;
|
|
163
149
|
apiIdentityStatistics(): IdentityStats;
|
|
164
150
|
apiAggregateStatistics(): string;
|
|
151
|
+
clearAllStatistics(): void;
|
|
165
152
|
uploadDebugArchive(server_url: string): Promise<string>;
|
|
153
|
+
createInboxSignatureText(): string | undefined;
|
|
154
|
+
addWalletSignatureText(new_identifier: Identifier): Promise<string>;
|
|
155
|
+
revokeWalletSignatureText(identifier: Identifier): Promise<string>;
|
|
156
|
+
revokeAllOtherInstallationsSignatureText(): Promise<string>;
|
|
157
|
+
revokeInstallationsSignatureText(installation_ids: Uint8Array[]): Promise<string>;
|
|
158
|
+
changeRecoveryIdentifierSignatureText(new_recovery_identifier: Identifier): Promise<string>;
|
|
159
|
+
addEcdsaSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array): Promise<void>;
|
|
160
|
+
addPasskeySignature(signature_type: SignatureRequestType, signature: PasskeySignature): Promise<void>;
|
|
161
|
+
addScwSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array, chain_id: bigint, block_number?: bigint | null): Promise<void>;
|
|
162
|
+
applySignatureRequests(): Promise<void>;
|
|
163
|
+
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
164
|
+
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
165
|
+
setConsentStates(records: Consent[]): Promise<void>;
|
|
166
|
+
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
166
167
|
/**
|
|
167
168
|
*
|
|
168
169
|
* * Get the client's inbox state.
|
|
@@ -285,6 +286,10 @@ export class Conversations {
|
|
|
285
286
|
syncAllConversations(consent_states?: any[] | null): Promise<number>;
|
|
286
287
|
list(opts?: ListConversationsOptions | null): Array<any>;
|
|
287
288
|
getHmacKeys(): any;
|
|
289
|
+
/**
|
|
290
|
+
* Returns a 'ReadableStream' of Conversations
|
|
291
|
+
*/
|
|
292
|
+
streamLocal(conversation_type?: ConversationType | null): Promise<ReadableStream>;
|
|
288
293
|
stream(callback: any, conversation_type?: ConversationType | null): StreamCloser;
|
|
289
294
|
streamAllMessages(callback: any, conversation_type?: ConversationType | null, consent_states?: any[] | null): StreamCloser;
|
|
290
295
|
streamConsent(callback: any): StreamCloser;
|
|
@@ -603,6 +608,73 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
603
608
|
|
|
604
609
|
export interface InitOutput {
|
|
605
610
|
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_registerIdentity: (a: number) => any;
|
|
628
|
+
readonly client_sendSyncRequest: (a: number) => any;
|
|
629
|
+
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
630
|
+
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
631
|
+
readonly client_conversations: (a: number) => number;
|
|
632
|
+
readonly client_syncPreferences: (a: number) => any;
|
|
633
|
+
readonly client_apiStatistics: (a: number) => number;
|
|
634
|
+
readonly client_apiIdentityStatistics: (a: number) => number;
|
|
635
|
+
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
636
|
+
readonly client_clearAllStatistics: (a: number) => void;
|
|
637
|
+
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
638
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
639
|
+
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
640
|
+
readonly client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
641
|
+
readonly client_addWalletSignatureText: (a: number, b: any) => any;
|
|
642
|
+
readonly client_revokeWalletSignatureText: (a: number, b: any) => any;
|
|
643
|
+
readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
644
|
+
readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
645
|
+
readonly client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
|
|
646
|
+
readonly client_addEcdsaSignature: (a: number, b: number, c: any) => any;
|
|
647
|
+
readonly client_addPasskeySignature: (a: number, b: number, c: number) => any;
|
|
648
|
+
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
649
|
+
readonly client_applySignatureRequests: (a: number) => any;
|
|
650
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
651
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
652
|
+
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
653
|
+
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
654
|
+
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
655
|
+
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
656
|
+
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
657
|
+
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
658
|
+
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
659
|
+
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
660
|
+
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
661
|
+
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
662
|
+
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
663
|
+
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
664
|
+
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
665
|
+
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
666
|
+
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
667
|
+
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
668
|
+
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
669
|
+
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
670
|
+
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
671
|
+
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
672
|
+
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
673
|
+
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
674
|
+
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
675
|
+
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
676
|
+
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
677
|
+
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
606
678
|
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
607
679
|
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
608
680
|
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
@@ -615,13 +687,98 @@ export interface InitOutput {
|
|
|
615
687
|
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
616
688
|
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
617
689
|
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
690
|
+
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
691
|
+
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
692
|
+
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
693
|
+
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
694
|
+
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
695
|
+
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
696
|
+
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
697
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
698
|
+
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
699
|
+
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
700
|
+
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
701
|
+
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
702
|
+
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
703
|
+
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
704
|
+
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;
|
|
705
|
+
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
706
|
+
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
707
|
+
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
708
|
+
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
709
|
+
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
710
|
+
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
711
|
+
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
712
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
713
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
714
|
+
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
715
|
+
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
716
|
+
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
717
|
+
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
718
|
+
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
719
|
+
readonly encodeReaction: (a: number) => [number, number, number];
|
|
720
|
+
readonly decodeReaction: (a: any) => [number, number, number];
|
|
721
|
+
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
722
|
+
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
723
|
+
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
724
|
+
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
725
|
+
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
726
|
+
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
727
|
+
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
728
|
+
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
729
|
+
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
730
|
+
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
731
|
+
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
732
|
+
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
733
|
+
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
734
|
+
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
735
|
+
readonly conversation_id: (a: number) => [number, number];
|
|
736
|
+
readonly conversation_send: (a: number, b: number) => any;
|
|
737
|
+
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
738
|
+
readonly conversation_publishMessages: (a: number) => any;
|
|
739
|
+
readonly conversation_sync: (a: number) => any;
|
|
740
|
+
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
741
|
+
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
742
|
+
readonly conversation_listMembers: (a: number) => any;
|
|
743
|
+
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
744
|
+
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
745
|
+
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
746
|
+
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
747
|
+
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
748
|
+
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
749
|
+
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
750
|
+
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
751
|
+
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
752
|
+
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
753
|
+
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
754
|
+
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
755
|
+
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
756
|
+
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
757
|
+
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
758
|
+
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
759
|
+
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
760
|
+
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
761
|
+
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
762
|
+
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
763
|
+
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
764
|
+
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
765
|
+
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
766
|
+
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
767
|
+
readonly conversation_groupMetadata: (a: number) => any;
|
|
768
|
+
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
769
|
+
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
770
|
+
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
771
|
+
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
772
|
+
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
773
|
+
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
774
|
+
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
775
|
+
readonly conversation_getDebugInfo: (a: number) => any;
|
|
776
|
+
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
618
777
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
619
778
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
620
779
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
621
780
|
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
622
781
|
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
623
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
624
|
-
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
625
782
|
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
626
783
|
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
627
784
|
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
@@ -630,8 +787,6 @@ export interface InitOutput {
|
|
|
630
787
|
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
631
788
|
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
632
789
|
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
633
|
-
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
634
|
-
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
635
790
|
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
636
791
|
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
637
792
|
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
@@ -676,6 +831,7 @@ export interface InitOutput {
|
|
|
676
831
|
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
677
832
|
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
678
833
|
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
834
|
+
readonly conversations_streamLocal: (a: number, b: number) => any;
|
|
679
835
|
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
680
836
|
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
681
837
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
@@ -700,6 +856,34 @@ export interface InitOutput {
|
|
|
700
856
|
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
701
857
|
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
702
858
|
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
859
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
860
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
861
|
+
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
862
|
+
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
863
|
+
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
864
|
+
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
865
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
866
|
+
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
867
|
+
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
868
|
+
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
869
|
+
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
870
|
+
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
871
|
+
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
872
|
+
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
873
|
+
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
874
|
+
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
875
|
+
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
876
|
+
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
877
|
+
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
878
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
879
|
+
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
880
|
+
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
881
|
+
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
882
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
883
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
884
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
885
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
886
|
+
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
703
887
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
704
888
|
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
705
889
|
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -742,224 +926,47 @@ export interface InitOutput {
|
|
|
742
926
|
readonly opfs_getCapacity: () => number;
|
|
743
927
|
readonly opfs_addCapacity: (a: number) => any;
|
|
744
928
|
readonly opfs_reduceCapacity: (a: number) => any;
|
|
929
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
930
|
+
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
931
|
+
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
932
|
+
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
933
|
+
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
934
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
935
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
936
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
937
|
+
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
938
|
+
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
939
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
940
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
941
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
745
942
|
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
746
943
|
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
944
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
945
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
747
946
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
748
947
|
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
948
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
949
|
+
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
749
950
|
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
951
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
756
952
|
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
953
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
954
|
+
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
757
955
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
956
|
+
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
957
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
958
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
959
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
758
960
|
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
759
961
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
760
962
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
761
963
|
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
762
|
-
readonly
|
|
964
|
+
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
763
965
|
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
764
966
|
readonly streamcloser_end: (a: number) => void;
|
|
765
967
|
readonly streamcloser_endAndWait: (a: number) => any;
|
|
766
968
|
readonly streamcloser_waitForReady: (a: number) => any;
|
|
767
969
|
readonly streamcloser_isClosed: (a: number) => number;
|
|
768
|
-
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
769
|
-
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
770
|
-
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
771
|
-
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
772
|
-
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
773
|
-
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
774
|
-
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
775
|
-
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
776
|
-
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
777
|
-
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
778
|
-
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
779
|
-
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
780
|
-
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
781
|
-
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
782
|
-
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
783
|
-
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
784
|
-
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
785
|
-
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
786
|
-
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
787
|
-
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
788
|
-
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
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];
|
|
830
|
-
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
831
|
-
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
832
|
-
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
833
|
-
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
834
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
835
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
836
|
-
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
837
|
-
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
838
|
-
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
839
|
-
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
840
|
-
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
841
|
-
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
842
|
-
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
843
|
-
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
844
|
-
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
845
|
-
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
846
|
-
readonly conversation_id: (a: number) => [number, number];
|
|
847
|
-
readonly conversation_send: (a: number, b: number) => any;
|
|
848
|
-
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
849
|
-
readonly conversation_publishMessages: (a: number) => any;
|
|
850
|
-
readonly conversation_sync: (a: number) => any;
|
|
851
|
-
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
852
|
-
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
853
|
-
readonly conversation_listMembers: (a: number) => any;
|
|
854
|
-
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
855
|
-
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
856
|
-
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
857
|
-
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
858
|
-
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
859
|
-
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
860
|
-
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
861
|
-
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
862
|
-
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
863
|
-
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
864
|
-
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
865
|
-
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
866
|
-
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
867
|
-
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
868
|
-
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
869
|
-
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
870
|
-
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
871
|
-
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
872
|
-
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
873
|
-
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
874
|
-
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
875
|
-
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
876
|
-
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
877
|
-
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
878
|
-
readonly conversation_groupMetadata: (a: number) => any;
|
|
879
|
-
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
880
|
-
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
881
|
-
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
882
|
-
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
883
|
-
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
884
|
-
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
885
|
-
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
886
|
-
readonly conversation_getDebugInfo: (a: number) => any;
|
|
887
|
-
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
888
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
889
|
-
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
890
|
-
readonly client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
891
|
-
readonly client_addWalletSignatureText: (a: number, b: any) => any;
|
|
892
|
-
readonly client_revokeWalletSignatureText: (a: number, b: any) => any;
|
|
893
|
-
readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
894
|
-
readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
895
|
-
readonly client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
|
|
896
|
-
readonly client_addEcdsaSignature: (a: number, b: number, c: any) => any;
|
|
897
|
-
readonly client_addPasskeySignature: (a: number, b: number, c: number) => any;
|
|
898
|
-
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
899
|
-
readonly client_applySignatureRequests: (a: number) => any;
|
|
900
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
901
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
902
|
-
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
903
|
-
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
904
|
-
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
905
|
-
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
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;
|
|
930
|
-
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
931
|
-
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
932
|
-
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
933
|
-
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
934
|
-
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
935
|
-
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
936
|
-
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
937
|
-
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
938
|
-
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
939
|
-
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
940
|
-
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
|
-
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
944
|
-
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
945
|
-
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
946
|
-
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
947
|
-
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
948
|
-
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
949
|
-
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
950
|
-
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
951
|
-
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
952
|
-
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
953
|
-
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
954
|
-
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
955
|
-
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
|
-
readonly client_inboxState: (a: number, b: number) => any;
|
|
961
|
-
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
962
|
-
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
963
970
|
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
964
971
|
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
965
972
|
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -1022,11 +1029,11 @@ export interface InitOutput {
|
|
|
1022
1029
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1023
1030
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
1024
1031
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1025
|
-
readonly
|
|
1026
|
-
readonly
|
|
1027
|
-
readonly
|
|
1028
|
-
readonly
|
|
1029
|
-
readonly
|
|
1032
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc094ec3bdf8c16b7: (a: number, b: number) => void;
|
|
1033
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0eb99f8c2f057fcc: (a: number, b: number) => void;
|
|
1034
|
+
readonly closure4569_externref_shim: (a: number, b: number, c: any) => void;
|
|
1035
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h232599d7dcf89d52: (a: number, b: number) => void;
|
|
1036
|
+
readonly closure5545_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1030
1037
|
readonly __wbindgen_start: () => void;
|
|
1031
1038
|
}
|
|
1032
1039
|
|