@xmtp/wasm-bindings 1.3.6 → 1.4.0-rc1
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 +234 -226
- package/dist/bindings_wasm.js +117 -83
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +225 -221
- package/dist/version.json +3 -3
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
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, disable_events?: boolean | null, app_version?: string | null): Promise<Client>;
|
|
4
|
+
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
5
|
+
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
4
6
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
5
7
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
6
8
|
export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
|
|
7
9
|
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
8
10
|
export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
9
11
|
export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
|
|
10
|
-
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
11
|
-
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
12
12
|
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
13
13
|
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
14
14
|
/**
|
|
@@ -111,8 +111,6 @@ type LogLevel = "off" | "error" | "warn" | "info" | "debug" | "trace";
|
|
|
111
111
|
* *This API requires the following crate features to be activated: `ReadableStreamType`*
|
|
112
112
|
*/
|
|
113
113
|
type ReadableStreamType = "bytes";
|
|
114
|
-
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
115
|
-
|
|
116
114
|
export interface Identifier {
|
|
117
115
|
identifier: string;
|
|
118
116
|
identifierKind: IdentifierKind;
|
|
@@ -120,6 +118,8 @@ export interface Identifier {
|
|
|
120
118
|
|
|
121
119
|
export type IdentifierKind = "Ethereum" | "Passkey";
|
|
122
120
|
|
|
121
|
+
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
122
|
+
|
|
123
123
|
export class ApiStats {
|
|
124
124
|
private constructor();
|
|
125
125
|
free(): void;
|
|
@@ -262,15 +262,19 @@ export class ConversationDebugInfo {
|
|
|
262
262
|
epoch: bigint;
|
|
263
263
|
maybeForked: boolean;
|
|
264
264
|
forkDetails: string;
|
|
265
|
+
get isCommitLogForked(): boolean | undefined;
|
|
266
|
+
set isCommitLogForked(value: boolean | null | undefined);
|
|
265
267
|
localCommitLog: string;
|
|
266
268
|
cursor: bigint;
|
|
267
269
|
}
|
|
268
270
|
export class ConversationListItem {
|
|
269
271
|
free(): void;
|
|
270
|
-
constructor(conversation: Conversation, last_message?: Message | null);
|
|
272
|
+
constructor(conversation: Conversation, last_message?: Message | null, is_commit_log_forked?: boolean | null);
|
|
271
273
|
conversation: Conversation;
|
|
272
274
|
get lastMessage(): Message | undefined;
|
|
273
275
|
set lastMessage(value: Message | null | undefined);
|
|
276
|
+
get isCommitLogForked(): boolean | undefined;
|
|
277
|
+
set isCommitLogForked(value: boolean | null | undefined);
|
|
274
278
|
}
|
|
275
279
|
export class Conversations {
|
|
276
280
|
private constructor();
|
|
@@ -617,117 +621,13 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
617
621
|
|
|
618
622
|
export interface InitOutput {
|
|
619
623
|
readonly memory: WebAssembly.Memory;
|
|
620
|
-
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
621
|
-
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
622
|
-
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
623
|
-
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
624
|
-
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
625
|
-
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
626
|
-
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
627
|
-
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
628
|
-
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
629
|
-
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, n: number, o: number, p: number) => any;
|
|
630
|
-
readonly client_accountIdentifier: (a: number) => any;
|
|
631
|
-
readonly client_inboxId: (a: number) => [number, number];
|
|
632
|
-
readonly client_isRegistered: (a: number) => number;
|
|
633
|
-
readonly client_installationId: (a: number) => [number, number];
|
|
634
|
-
readonly client_installationIdBytes: (a: number) => any;
|
|
635
|
-
readonly client_appVersion: (a: number) => [number, number];
|
|
636
|
-
readonly client_libxmtpVersion: (a: number) => [number, number];
|
|
637
|
-
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
638
|
-
readonly client_sendSyncRequest: (a: number) => any;
|
|
639
|
-
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
640
|
-
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
641
|
-
readonly client_conversations: (a: number) => number;
|
|
642
|
-
readonly client_syncPreferences: (a: number) => any;
|
|
643
|
-
readonly client_apiStatistics: (a: number) => number;
|
|
644
|
-
readonly client_apiIdentityStatistics: (a: number) => number;
|
|
645
|
-
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
646
|
-
readonly client_clearAllStatistics: (a: number) => void;
|
|
647
|
-
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
648
|
-
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
649
|
-
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
650
|
-
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
651
|
-
readonly __wbg_get_consent_state: (a: number) => number;
|
|
652
|
-
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
653
|
-
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
654
|
-
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
655
|
-
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
656
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
657
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
658
|
-
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
659
|
-
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
660
|
-
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
661
|
-
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
662
|
-
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
663
|
-
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
664
|
-
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
665
|
-
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
666
|
-
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
667
|
-
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
668
|
-
readonly encodeReaction: (a: number) => [number, number, number];
|
|
669
|
-
readonly decodeReaction: (a: any) => [number, number, number];
|
|
670
|
-
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
671
|
-
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
672
|
-
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
673
|
-
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
674
|
-
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
675
|
-
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
676
|
-
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
677
|
-
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
678
|
-
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
679
|
-
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
680
|
-
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
681
|
-
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
682
|
-
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
683
|
-
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
684
|
-
readonly conversation_id: (a: number) => [number, number];
|
|
685
|
-
readonly conversation_send: (a: number, b: number) => any;
|
|
686
|
-
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
687
|
-
readonly conversation_publishMessages: (a: number) => any;
|
|
688
|
-
readonly conversation_sync: (a: number) => any;
|
|
689
|
-
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
690
|
-
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
691
|
-
readonly conversation_listMembers: (a: number) => any;
|
|
692
|
-
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
693
|
-
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
694
|
-
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
695
|
-
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
696
|
-
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
697
|
-
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
698
|
-
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
699
|
-
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
700
|
-
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
701
|
-
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
702
|
-
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
703
|
-
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
704
|
-
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
705
|
-
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
706
|
-
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
707
|
-
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
708
|
-
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
709
|
-
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
710
|
-
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
711
|
-
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
712
|
-
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
713
|
-
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
714
|
-
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
715
|
-
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
716
|
-
readonly conversation_groupMetadata: (a: number) => any;
|
|
717
|
-
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
718
|
-
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
719
|
-
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
720
|
-
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
721
|
-
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
722
|
-
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
723
|
-
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
724
|
-
readonly conversation_getDebugInfo: (a: number) => any;
|
|
725
|
-
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
726
624
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
727
625
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
728
626
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
729
627
|
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
730
628
|
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
629
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
630
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
731
631
|
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
732
632
|
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
733
633
|
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
@@ -735,6 +635,7 @@ export interface InitOutput {
|
|
|
735
635
|
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
736
636
|
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
737
637
|
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
638
|
+
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
738
639
|
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
739
640
|
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
740
641
|
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
@@ -743,6 +644,8 @@ export interface InitOutput {
|
|
|
743
644
|
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
744
645
|
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
745
646
|
readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
647
|
+
readonly __wbg_get_conversationdebuginfo_isCommitLogForked: (a: number) => number;
|
|
648
|
+
readonly __wbg_set_conversationdebuginfo_isCommitLogForked: (a: number, b: number) => void;
|
|
746
649
|
readonly __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
|
|
747
650
|
readonly __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
|
|
748
651
|
readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
|
|
@@ -771,7 +674,9 @@ export interface InitOutput {
|
|
|
771
674
|
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
772
675
|
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
773
676
|
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
774
|
-
readonly
|
|
677
|
+
readonly __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
|
|
678
|
+
readonly __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
|
|
679
|
+
readonly conversationlistitem_new: (a: number, b: number, c: number) => number;
|
|
775
680
|
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
776
681
|
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
777
682
|
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
@@ -791,6 +696,8 @@ export interface InitOutput {
|
|
|
791
696
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
792
697
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
793
698
|
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
699
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
700
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
794
701
|
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
795
702
|
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
796
703
|
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
@@ -810,28 +717,6 @@ export interface InitOutput {
|
|
|
810
717
|
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
811
718
|
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
812
719
|
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
813
|
-
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
814
|
-
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
815
|
-
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
816
|
-
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
817
|
-
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
818
|
-
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
819
|
-
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
820
|
-
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
821
|
-
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
822
|
-
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
823
|
-
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
824
|
-
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
825
|
-
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
826
|
-
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
827
|
-
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
828
|
-
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
829
|
-
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
830
|
-
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
831
|
-
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
832
|
-
readonly client_inboxState: (a: number, b: number) => any;
|
|
833
|
-
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
834
|
-
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
835
720
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
836
721
|
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
837
722
|
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -861,80 +746,83 @@ export interface InitOutput {
|
|
|
861
746
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
862
747
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
863
748
|
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
864
|
-
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
865
|
-
readonly opfs_init_sqlite_opfs: () => any;
|
|
866
|
-
readonly opfs_exists: () => number;
|
|
867
|
-
readonly opfs_error: () => [number, number];
|
|
868
|
-
readonly opfs_wipeFiles: () => any;
|
|
869
|
-
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
870
|
-
readonly opfs_getFileNames: () => [number, number];
|
|
871
|
-
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
872
|
-
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
873
|
-
readonly opfs_getFileCount: () => number;
|
|
874
|
-
readonly opfs_getCapacity: () => number;
|
|
875
|
-
readonly opfs_addCapacity: (a: number) => any;
|
|
876
|
-
readonly opfs_reduceCapacity: (a: number) => any;
|
|
877
|
-
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
878
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
879
|
-
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
880
|
-
readonly applySignatureRequest: (a: number, b: number, c: number) => any;
|
|
881
|
-
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
882
|
-
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
883
|
-
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
884
|
-
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
|
|
885
|
-
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
886
|
-
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
887
|
-
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
888
|
-
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
889
|
-
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
890
|
-
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
891
|
-
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
892
|
-
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
893
|
-
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
894
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
895
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
896
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
897
|
-
readonly streamcloser_end: (a: number) => void;
|
|
898
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
899
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
900
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
901
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
902
|
-
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
903
|
-
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
904
|
-
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
905
|
-
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
906
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
907
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
908
|
-
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
909
|
-
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
910
|
-
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
911
|
-
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
912
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
913
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
914
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
915
|
-
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
916
|
-
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
917
749
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
918
750
|
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
919
751
|
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
920
|
-
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
921
|
-
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
922
752
|
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
753
|
+
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
754
|
+
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
755
|
+
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
756
|
+
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
757
|
+
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
758
|
+
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
759
|
+
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
923
760
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
924
761
|
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
925
762
|
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
926
|
-
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
927
|
-
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
928
763
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
929
764
|
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
930
|
-
readonly
|
|
931
|
-
readonly
|
|
932
|
-
readonly
|
|
933
|
-
readonly
|
|
934
|
-
readonly
|
|
935
|
-
readonly
|
|
936
|
-
readonly
|
|
937
|
-
readonly
|
|
765
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
766
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
767
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
768
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
769
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
770
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
771
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
772
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
773
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
774
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
775
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
776
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
777
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
778
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
779
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
780
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
781
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
782
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
783
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
784
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
785
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
786
|
+
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
787
|
+
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
788
|
+
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
789
|
+
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
790
|
+
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
791
|
+
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
792
|
+
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
793
|
+
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
794
|
+
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
795
|
+
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, n: number, o: number, p: number) => any;
|
|
796
|
+
readonly client_accountIdentifier: (a: number) => any;
|
|
797
|
+
readonly client_inboxId: (a: number) => [number, number];
|
|
798
|
+
readonly client_isRegistered: (a: number) => number;
|
|
799
|
+
readonly client_installationId: (a: number) => [number, number];
|
|
800
|
+
readonly client_installationIdBytes: (a: number) => any;
|
|
801
|
+
readonly client_appVersion: (a: number) => [number, number];
|
|
802
|
+
readonly client_libxmtpVersion: (a: number) => [number, number];
|
|
803
|
+
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
804
|
+
readonly client_sendSyncRequest: (a: number) => any;
|
|
805
|
+
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
806
|
+
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
807
|
+
readonly client_conversations: (a: number) => number;
|
|
808
|
+
readonly client_syncPreferences: (a: number) => any;
|
|
809
|
+
readonly client_apiStatistics: (a: number) => number;
|
|
810
|
+
readonly client_apiIdentityStatistics: (a: number) => number;
|
|
811
|
+
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
812
|
+
readonly client_clearAllStatistics: (a: number) => void;
|
|
813
|
+
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
814
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
815
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
816
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
817
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
818
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
819
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
820
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
821
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
822
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
823
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
824
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
825
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
938
826
|
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
939
827
|
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
940
828
|
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
@@ -959,8 +847,76 @@ export interface InitOutput {
|
|
|
959
847
|
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
960
848
|
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
961
849
|
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
962
|
-
readonly
|
|
963
|
-
readonly
|
|
850
|
+
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
851
|
+
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
852
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
853
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
854
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
855
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
856
|
+
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
857
|
+
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
858
|
+
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
859
|
+
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
860
|
+
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
861
|
+
readonly encodeReaction: (a: number) => [number, number, number];
|
|
862
|
+
readonly decodeReaction: (a: any) => [number, number, number];
|
|
863
|
+
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
864
|
+
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
865
|
+
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
866
|
+
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
867
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
868
|
+
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
869
|
+
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
870
|
+
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
871
|
+
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
872
|
+
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
873
|
+
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
874
|
+
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
875
|
+
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
876
|
+
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
877
|
+
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
878
|
+
readonly conversation_id: (a: number) => [number, number];
|
|
879
|
+
readonly conversation_send: (a: number, b: number) => any;
|
|
880
|
+
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
881
|
+
readonly conversation_publishMessages: (a: number) => any;
|
|
882
|
+
readonly conversation_sync: (a: number) => any;
|
|
883
|
+
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
884
|
+
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
885
|
+
readonly conversation_listMembers: (a: number) => any;
|
|
886
|
+
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
887
|
+
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
888
|
+
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
889
|
+
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
890
|
+
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
891
|
+
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
892
|
+
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
893
|
+
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
894
|
+
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
895
|
+
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
896
|
+
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
897
|
+
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
898
|
+
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
899
|
+
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
900
|
+
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
901
|
+
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
902
|
+
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
903
|
+
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
904
|
+
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
905
|
+
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
906
|
+
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
907
|
+
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
908
|
+
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
909
|
+
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
910
|
+
readonly conversation_groupMetadata: (a: number) => any;
|
|
911
|
+
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
912
|
+
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
913
|
+
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
914
|
+
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
915
|
+
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
916
|
+
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
917
|
+
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
918
|
+
readonly conversation_getDebugInfo: (a: number) => any;
|
|
919
|
+
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
964
920
|
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
965
921
|
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
966
922
|
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
@@ -979,35 +935,87 @@ export interface InitOutput {
|
|
|
979
935
|
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
980
936
|
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
981
937
|
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
938
|
+
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
939
|
+
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
940
|
+
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
941
|
+
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
942
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
943
|
+
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
944
|
+
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
945
|
+
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
946
|
+
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
947
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
948
|
+
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
949
|
+
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
950
|
+
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
951
|
+
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
952
|
+
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
953
|
+
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
954
|
+
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
955
|
+
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
956
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
957
|
+
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
958
|
+
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
959
|
+
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
960
|
+
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
961
|
+
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
962
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
963
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
964
|
+
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
965
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
966
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
967
|
+
readonly opfs_exists: () => number;
|
|
968
|
+
readonly opfs_error: () => [number, number];
|
|
969
|
+
readonly opfs_wipeFiles: () => any;
|
|
970
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
971
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
972
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
973
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
974
|
+
readonly opfs_getFileCount: () => number;
|
|
975
|
+
readonly opfs_getCapacity: () => number;
|
|
976
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
977
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
978
|
+
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
979
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
980
|
+
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
981
|
+
readonly applySignatureRequest: (a: number, b: number, c: number) => any;
|
|
982
|
+
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
983
|
+
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
984
|
+
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
985
|
+
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
|
|
986
|
+
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
987
|
+
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
988
|
+
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
989
|
+
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
990
|
+
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
991
|
+
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
992
|
+
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
993
|
+
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
994
|
+
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
995
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
996
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
997
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
998
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
999
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
982
1000
|
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
983
1001
|
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
984
1002
|
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
985
1003
|
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
1004
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
1005
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
986
1006
|
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
987
1007
|
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
988
1008
|
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
989
1009
|
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
990
|
-
readonly
|
|
991
|
-
readonly
|
|
992
|
-
readonly
|
|
993
|
-
readonly
|
|
994
|
-
readonly
|
|
995
|
-
readonly
|
|
996
|
-
readonly
|
|
997
|
-
readonly
|
|
998
|
-
readonly
|
|
999
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
1000
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
1001
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
1002
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
1003
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
1004
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
1005
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
1006
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
1007
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1008
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
1009
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
1010
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
1010
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
1011
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
1012
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
1013
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
1014
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
1015
|
+
readonly streamcloser_end: (a: number) => void;
|
|
1016
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
1017
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
1018
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
1011
1019
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
1012
1020
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
1013
1021
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -1050,10 +1058,10 @@ export interface InitOutput {
|
|
|
1050
1058
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1051
1059
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
1052
1060
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1053
|
-
readonly
|
|
1054
|
-
readonly
|
|
1055
|
-
readonly
|
|
1056
|
-
readonly
|
|
1061
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6b9ddcbfcc08eea: (a: number, b: number) => void;
|
|
1062
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd0e40dce3ea5bca1: (a: number, b: number) => void;
|
|
1063
|
+
readonly closure5195_externref_shim: (a: number, b: number, c: any) => void;
|
|
1064
|
+
readonly closure6122_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1057
1065
|
readonly __wbindgen_start: () => void;
|
|
1058
1066
|
}
|
|
1059
1067
|
|