@xmtp/wasm-bindings 1.2.0-dev.125e5bf → 1.2.0-dev.4ba3b55
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 +263 -258
- package/dist/bindings_wasm.js +281 -222
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +243 -240
- package/dist/version.json +2 -2
- package/package.json +2 -2
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export function
|
|
4
|
-
export function
|
|
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): Promise<Client>;
|
|
4
|
+
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
5
|
+
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
5
6
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
6
7
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
7
8
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
8
9
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
9
|
-
export function
|
|
10
|
-
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
10
|
+
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
11
11
|
export enum ConsentEntityType {
|
|
12
12
|
GroupId = 0,
|
|
13
13
|
InboxId = 1,
|
|
@@ -102,6 +102,7 @@ export enum SortDirection {
|
|
|
102
102
|
Ascending = 0,
|
|
103
103
|
Descending = 1,
|
|
104
104
|
}
|
|
105
|
+
type DeviceSyncWorkerMode = "enabled" | "disabled";
|
|
105
106
|
type LogLevel = "off" | "error" | "warn" | "info" | "debug" | "trace";
|
|
106
107
|
/**
|
|
107
108
|
* The `ReadableStreamType` enum.
|
|
@@ -121,20 +122,6 @@ export type UserPreference = { type: "Consent"; consent: Consent } | { type: "Hm
|
|
|
121
122
|
export class Client {
|
|
122
123
|
private constructor();
|
|
123
124
|
free(): void;
|
|
124
|
-
setConsentStates(records: Consent[]): Promise<void>;
|
|
125
|
-
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
126
|
-
createInboxSignatureText(): string | undefined;
|
|
127
|
-
addWalletSignatureText(new_identifier: Identifier): Promise<string>;
|
|
128
|
-
revokeWalletSignatureText(identifier: Identifier): Promise<string>;
|
|
129
|
-
revokeAllOtherInstallationsSignatureText(): Promise<string>;
|
|
130
|
-
revokeInstallationsSignatureText(installation_ids: Uint8Array[]): Promise<string>;
|
|
131
|
-
changeRecoveryIdentifierSignatureText(new_recovery_identifier: Identifier): Promise<string>;
|
|
132
|
-
addEcdsaSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array): Promise<void>;
|
|
133
|
-
addPasskeySignature(signature_type: SignatureRequestType, signature: PasskeySignature): Promise<void>;
|
|
134
|
-
addScwSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array, chain_id: bigint, block_number?: bigint | null): Promise<void>;
|
|
135
|
-
applySignatureRequests(): Promise<void>;
|
|
136
|
-
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
137
|
-
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
138
125
|
/**
|
|
139
126
|
* Output booleans should be zipped with the index of input identifiers
|
|
140
127
|
*/
|
|
@@ -145,6 +132,7 @@ export class Client {
|
|
|
145
132
|
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
146
133
|
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
147
134
|
conversations(): Conversations;
|
|
135
|
+
syncPreferences(): Promise<number>;
|
|
148
136
|
/**
|
|
149
137
|
*
|
|
150
138
|
* * Get the client's inbox state.
|
|
@@ -163,6 +151,20 @@ export class Client {
|
|
|
163
151
|
*
|
|
164
152
|
*/
|
|
165
153
|
getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
|
|
154
|
+
setConsentStates(records: Consent[]): Promise<void>;
|
|
155
|
+
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
156
|
+
createInboxSignatureText(): string | undefined;
|
|
157
|
+
addWalletSignatureText(new_identifier: Identifier): Promise<string>;
|
|
158
|
+
revokeWalletSignatureText(identifier: Identifier): Promise<string>;
|
|
159
|
+
revokeAllOtherInstallationsSignatureText(): Promise<string>;
|
|
160
|
+
revokeInstallationsSignatureText(installation_ids: Uint8Array[]): Promise<string>;
|
|
161
|
+
changeRecoveryIdentifierSignatureText(new_recovery_identifier: Identifier): Promise<string>;
|
|
162
|
+
addEcdsaSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array): Promise<void>;
|
|
163
|
+
addPasskeySignature(signature_type: SignatureRequestType, signature: PasskeySignature): Promise<void>;
|
|
164
|
+
addScwSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array, chain_id: bigint, block_number?: bigint | null): Promise<void>;
|
|
165
|
+
applySignatureRequests(): Promise<void>;
|
|
166
|
+
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
167
|
+
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
166
168
|
readonly accountIdentifier: Identifier;
|
|
167
169
|
readonly inboxId: string;
|
|
168
170
|
readonly isRegistered: boolean;
|
|
@@ -566,205 +568,6 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
566
568
|
|
|
567
569
|
export interface InitOutput {
|
|
568
570
|
readonly memory: WebAssembly.Memory;
|
|
569
|
-
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
570
|
-
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
571
|
-
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
572
|
-
readonly __wbg_get_consent_state: (a: number) => number;
|
|
573
|
-
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
574
|
-
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
575
|
-
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
576
|
-
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
577
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
578
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
579
|
-
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
580
|
-
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
581
|
-
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
582
|
-
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
583
|
-
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
584
|
-
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
585
|
-
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
586
|
-
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
587
|
-
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
588
|
-
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
589
|
-
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
590
|
-
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
591
|
-
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
592
|
-
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
593
|
-
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
594
|
-
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
595
|
-
readonly conversation_id: (a: number) => [number, number];
|
|
596
|
-
readonly conversation_send: (a: number, b: number) => any;
|
|
597
|
-
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
598
|
-
readonly conversation_publishMessages: (a: number) => any;
|
|
599
|
-
readonly conversation_sync: (a: number) => any;
|
|
600
|
-
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
601
|
-
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
602
|
-
readonly conversation_listMembers: (a: number) => any;
|
|
603
|
-
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
604
|
-
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
605
|
-
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
606
|
-
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
607
|
-
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
608
|
-
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
609
|
-
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
610
|
-
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
611
|
-
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
612
|
-
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
613
|
-
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
614
|
-
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
615
|
-
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
616
|
-
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
617
|
-
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
618
|
-
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
619
|
-
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
620
|
-
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
621
|
-
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
622
|
-
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
623
|
-
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
624
|
-
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
625
|
-
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
626
|
-
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
627
|
-
readonly conversation_groupMetadata: (a: number) => any;
|
|
628
|
-
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
629
|
-
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
630
|
-
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
631
|
-
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
632
|
-
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
633
|
-
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
634
|
-
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
635
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
636
|
-
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
637
|
-
readonly client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
638
|
-
readonly client_addWalletSignatureText: (a: number, b: any) => any;
|
|
639
|
-
readonly client_revokeWalletSignatureText: (a: number, b: any) => any;
|
|
640
|
-
readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
641
|
-
readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
642
|
-
readonly client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
|
|
643
|
-
readonly client_addEcdsaSignature: (a: number, b: number, c: any) => any;
|
|
644
|
-
readonly client_addPasskeySignature: (a: number, b: number, c: number) => any;
|
|
645
|
-
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
646
|
-
readonly client_applySignatureRequests: (a: number) => any;
|
|
647
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
648
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
649
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
650
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
651
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
652
|
-
readonly streamcloser_end: (a: number) => void;
|
|
653
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
654
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
655
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
656
|
-
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
657
|
-
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
658
|
-
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
659
|
-
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
660
|
-
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
661
|
-
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
662
|
-
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
663
|
-
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
664
|
-
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
665
|
-
readonly createClient: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number) => any;
|
|
666
|
-
readonly client_accountIdentifier: (a: number) => any;
|
|
667
|
-
readonly client_inboxId: (a: number) => [number, number];
|
|
668
|
-
readonly client_isRegistered: (a: number) => number;
|
|
669
|
-
readonly client_installationId: (a: number) => [number, number];
|
|
670
|
-
readonly client_installationIdBytes: (a: number) => any;
|
|
671
|
-
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
672
|
-
readonly client_registerIdentity: (a: number) => any;
|
|
673
|
-
readonly client_sendHistorySyncRequest: (a: number) => any;
|
|
674
|
-
readonly client_sendConsentSyncRequest: (a: number) => any;
|
|
675
|
-
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
676
|
-
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
677
|
-
readonly client_conversations: (a: number) => number;
|
|
678
|
-
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
679
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
680
|
-
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
681
|
-
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
682
|
-
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
683
|
-
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
684
|
-
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
685
|
-
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
686
|
-
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
687
|
-
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
688
|
-
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
689
|
-
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
690
|
-
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
691
|
-
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
692
|
-
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
693
|
-
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
694
|
-
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;
|
|
695
|
-
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
696
|
-
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
697
|
-
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
698
|
-
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
699
|
-
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
700
|
-
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
701
|
-
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
702
|
-
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
703
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
704
|
-
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
705
|
-
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
706
|
-
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
707
|
-
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
708
|
-
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
709
|
-
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
710
|
-
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
711
|
-
readonly encodeReaction: (a: number) => [number, number, number];
|
|
712
|
-
readonly decodeReaction: (a: any) => [number, number, number];
|
|
713
|
-
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
714
|
-
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
715
|
-
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
716
|
-
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
717
|
-
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
718
|
-
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
719
|
-
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
720
|
-
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
721
|
-
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
722
|
-
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
723
|
-
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
724
|
-
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
725
|
-
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
726
|
-
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
727
|
-
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
728
|
-
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
729
|
-
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
730
|
-
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
731
|
-
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
732
|
-
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
733
|
-
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
734
|
-
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
735
|
-
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
736
|
-
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
737
|
-
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
738
|
-
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
739
|
-
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
740
|
-
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
741
|
-
readonly client_inboxState: (a: number, b: number) => any;
|
|
742
|
-
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
743
|
-
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
744
|
-
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
745
|
-
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
746
|
-
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
747
|
-
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
748
|
-
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
749
|
-
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
750
|
-
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
751
|
-
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
752
|
-
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
753
|
-
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
754
|
-
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
755
|
-
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
756
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
757
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
758
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
759
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
760
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
761
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
762
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
763
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
764
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
765
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
766
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
767
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
768
571
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
769
572
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
770
573
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -828,30 +631,6 @@ export interface InitOutput {
|
|
|
828
631
|
readonly conversations_streamAllMessages: (a: number, b: any, c: number) => [number, number, number];
|
|
829
632
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
830
633
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
831
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
832
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
833
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
834
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
835
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
836
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
837
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
838
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
839
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
840
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
841
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
842
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
843
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
844
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
845
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
846
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
847
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
848
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
849
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
850
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
851
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
852
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
853
|
-
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
854
|
-
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
855
634
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
856
635
|
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
857
636
|
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -879,6 +658,94 @@ export interface InitOutput {
|
|
|
879
658
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
880
659
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
881
660
|
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
661
|
+
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
662
|
+
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
663
|
+
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
664
|
+
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
665
|
+
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
666
|
+
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
667
|
+
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
668
|
+
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
669
|
+
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
670
|
+
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
671
|
+
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
672
|
+
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
673
|
+
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
674
|
+
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
675
|
+
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
676
|
+
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
677
|
+
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
678
|
+
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
679
|
+
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
680
|
+
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
681
|
+
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
682
|
+
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;
|
|
683
|
+
readonly client_accountIdentifier: (a: number) => any;
|
|
684
|
+
readonly client_inboxId: (a: number) => [number, number];
|
|
685
|
+
readonly client_isRegistered: (a: number) => number;
|
|
686
|
+
readonly client_installationId: (a: number) => [number, number];
|
|
687
|
+
readonly client_installationIdBytes: (a: number) => any;
|
|
688
|
+
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
689
|
+
readonly client_registerIdentity: (a: number) => any;
|
|
690
|
+
readonly client_sendHistorySyncRequest: (a: number) => any;
|
|
691
|
+
readonly client_sendConsentSyncRequest: (a: number) => any;
|
|
692
|
+
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
693
|
+
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
694
|
+
readonly client_conversations: (a: number) => number;
|
|
695
|
+
readonly client_syncPreferences: (a: number) => any;
|
|
696
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
697
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
698
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
699
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
700
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
701
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
702
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
703
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
704
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
705
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
706
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
707
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
708
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
709
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
710
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
711
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
712
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
713
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
714
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
715
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
716
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
717
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
718
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
719
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
720
|
+
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
721
|
+
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
722
|
+
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
723
|
+
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
724
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
725
|
+
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
726
|
+
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
727
|
+
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
728
|
+
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
729
|
+
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
730
|
+
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
731
|
+
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
732
|
+
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
733
|
+
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
734
|
+
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
735
|
+
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
736
|
+
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
737
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
738
|
+
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
739
|
+
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
740
|
+
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
741
|
+
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
742
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
743
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
744
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
745
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
746
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
747
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
748
|
+
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
882
749
|
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
883
750
|
readonly opfs_init_sqlite_opfs: () => any;
|
|
884
751
|
readonly opfs_exists: () => number;
|
|
@@ -892,25 +759,161 @@ export interface InitOutput {
|
|
|
892
759
|
readonly opfs_getCapacity: () => number;
|
|
893
760
|
readonly opfs_addCapacity: (a: number) => any;
|
|
894
761
|
readonly opfs_reduceCapacity: (a: number) => any;
|
|
895
|
-
readonly
|
|
896
|
-
readonly
|
|
897
|
-
readonly
|
|
898
|
-
readonly
|
|
899
|
-
readonly
|
|
900
|
-
readonly
|
|
901
|
-
readonly
|
|
902
|
-
readonly
|
|
903
|
-
readonly
|
|
904
|
-
readonly
|
|
905
|
-
readonly
|
|
906
|
-
readonly
|
|
762
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
763
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
764
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
765
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
766
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
767
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
768
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
769
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
770
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
771
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
772
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
773
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
774
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
775
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
776
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
777
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
778
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
779
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
780
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
781
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
782
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
783
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
784
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
785
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
786
|
+
readonly streamcloser_end: (a: number) => void;
|
|
787
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
788
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
789
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
790
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
791
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
792
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
793
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
794
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
795
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
796
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
797
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
798
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
799
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
800
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
801
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
802
|
+
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
803
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
804
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
805
|
+
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
806
|
+
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
807
|
+
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
808
|
+
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
809
|
+
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
810
|
+
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
811
|
+
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
812
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
813
|
+
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
814
|
+
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
815
|
+
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
816
|
+
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
817
|
+
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
818
|
+
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
819
|
+
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;
|
|
820
|
+
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
821
|
+
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
822
|
+
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
823
|
+
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
824
|
+
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
825
|
+
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
826
|
+
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
827
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
828
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
829
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
830
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
831
|
+
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
832
|
+
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
833
|
+
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
834
|
+
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
835
|
+
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
836
|
+
readonly encodeReaction: (a: number) => [number, number, number];
|
|
837
|
+
readonly decodeReaction: (a: any) => [number, number, number];
|
|
838
|
+
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
839
|
+
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
840
|
+
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
841
|
+
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
842
|
+
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
843
|
+
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
844
|
+
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
845
|
+
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
846
|
+
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
847
|
+
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
848
|
+
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
849
|
+
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
850
|
+
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
851
|
+
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
852
|
+
readonly conversation_id: (a: number) => [number, number];
|
|
853
|
+
readonly conversation_send: (a: number, b: number) => any;
|
|
854
|
+
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
855
|
+
readonly conversation_publishMessages: (a: number) => any;
|
|
856
|
+
readonly conversation_sync: (a: number) => any;
|
|
857
|
+
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
858
|
+
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
859
|
+
readonly conversation_listMembers: (a: number) => any;
|
|
860
|
+
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
861
|
+
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
862
|
+
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
863
|
+
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
864
|
+
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
865
|
+
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
866
|
+
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
867
|
+
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
868
|
+
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
869
|
+
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
870
|
+
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
871
|
+
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
872
|
+
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
873
|
+
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
874
|
+
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
875
|
+
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
876
|
+
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
877
|
+
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
878
|
+
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
879
|
+
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
880
|
+
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
881
|
+
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
882
|
+
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
883
|
+
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
884
|
+
readonly conversation_groupMetadata: (a: number) => any;
|
|
885
|
+
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
886
|
+
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
887
|
+
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
888
|
+
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
889
|
+
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
890
|
+
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
891
|
+
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
892
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
893
|
+
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
894
|
+
readonly client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
895
|
+
readonly client_addWalletSignatureText: (a: number, b: any) => any;
|
|
896
|
+
readonly client_revokeWalletSignatureText: (a: number, b: any) => any;
|
|
897
|
+
readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
898
|
+
readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
899
|
+
readonly client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
|
|
900
|
+
readonly client_addEcdsaSignature: (a: number, b: number, c: any) => any;
|
|
901
|
+
readonly client_addPasskeySignature: (a: number, b: number, c: number) => any;
|
|
902
|
+
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
903
|
+
readonly client_applySignatureRequests: (a: number) => any;
|
|
904
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
905
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
906
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
907
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
908
|
+
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
909
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
907
910
|
readonly rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
908
911
|
readonly rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
909
912
|
readonly rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
910
|
-
readonly sqlite3_os_init: () => number;
|
|
911
913
|
readonly rust_sqlite_wasm_shim_malloc: (a: number) => number;
|
|
912
914
|
readonly rust_sqlite_wasm_shim_free: (a: number) => void;
|
|
913
915
|
readonly rust_sqlite_wasm_shim_realloc: (a: number, b: number) => number;
|
|
916
|
+
readonly sqlite3_os_init: () => number;
|
|
914
917
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
915
918
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
916
919
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
@@ -933,10 +936,12 @@ export interface InitOutput {
|
|
|
933
936
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
934
937
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
935
938
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
936
|
-
readonly
|
|
937
|
-
readonly
|
|
938
|
-
readonly
|
|
939
|
-
readonly
|
|
939
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215: (a: number, b: number) => void;
|
|
940
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h89dafc0baf46c12b: (a: number, b: number) => void;
|
|
941
|
+
readonly closure3982_externref_shim: (a: number, b: number, c: any) => void;
|
|
942
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a: (a: number, b: number) => void;
|
|
943
|
+
readonly closure5013_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
944
|
+
readonly closure5012_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
940
945
|
readonly __wbindgen_start: () => void;
|
|
941
946
|
}
|
|
942
947
|
|