@xmtp/wasm-bindings 1.1.3 → 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 +290 -247
- package/dist/bindings_wasm.js +501 -269
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +247 -231
- package/dist/version.json +5 -0
- package/package.json +7 -4
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null): Promise<Client>;
|
|
4
|
+
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
5
|
+
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
3
6
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
4
7
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
5
8
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
6
9
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
7
10
|
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
8
|
-
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, history_sync_url?: string | null, log_options?: LogOptions | null): Promise<Client>;
|
|
9
|
-
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
10
|
-
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
11
11
|
export enum ConsentEntityType {
|
|
12
12
|
GroupId = 0,
|
|
13
13
|
InboxId = 1,
|
|
@@ -96,11 +96,13 @@ export enum SignatureRequestType {
|
|
|
96
96
|
CreateInbox = 1,
|
|
97
97
|
RevokeWallet = 2,
|
|
98
98
|
RevokeInstallations = 3,
|
|
99
|
+
ChangeRecoveryIdentifier = 4,
|
|
99
100
|
}
|
|
100
101
|
export enum SortDirection {
|
|
101
102
|
Ascending = 0,
|
|
102
103
|
Descending = 1,
|
|
103
104
|
}
|
|
105
|
+
type DeviceSyncWorkerMode = "enabled" | "disabled";
|
|
104
106
|
type LogLevel = "off" | "error" | "warn" | "info" | "debug" | "trace";
|
|
105
107
|
/**
|
|
106
108
|
* The `ReadableStreamType` enum.
|
|
@@ -120,17 +122,6 @@ export type UserPreference = { type: "Consent"; consent: Consent } | { type: "Hm
|
|
|
120
122
|
export class Client {
|
|
121
123
|
private constructor();
|
|
122
124
|
free(): void;
|
|
123
|
-
createInboxSignatureText(): string | undefined;
|
|
124
|
-
addWalletSignatureText(new_identifier: Identifier): Promise<string>;
|
|
125
|
-
revokeWalletSignatureText(identifier: Identifier): Promise<string>;
|
|
126
|
-
revokeAllOtherInstallationsSignatureText(): Promise<string>;
|
|
127
|
-
revokeInstallationsSignatureText(installation_ids: Uint8Array[]): Promise<string>;
|
|
128
|
-
addEcdsaSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array): Promise<void>;
|
|
129
|
-
addPasskeySignature(signature_type: SignatureRequestType, signature: PasskeySignature): Promise<void>;
|
|
130
|
-
addScwSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array, chain_id: bigint, block_number?: bigint | null): Promise<void>;
|
|
131
|
-
applySignatureRequests(): Promise<void>;
|
|
132
|
-
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
133
|
-
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
134
125
|
/**
|
|
135
126
|
* Output booleans should be zipped with the index of input identifiers
|
|
136
127
|
*/
|
|
@@ -141,6 +132,7 @@ export class Client {
|
|
|
141
132
|
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
142
133
|
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
143
134
|
conversations(): Conversations;
|
|
135
|
+
syncPreferences(): Promise<number>;
|
|
144
136
|
/**
|
|
145
137
|
*
|
|
146
138
|
* * Get the client's inbox state.
|
|
@@ -151,8 +143,28 @@ export class Client {
|
|
|
151
143
|
*/
|
|
152
144
|
inboxState(refresh_from_network: boolean): Promise<InboxState>;
|
|
153
145
|
getLatestInboxState(inbox_id: string): Promise<InboxState>;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* * Get key package statuses for a list of installation IDs.
|
|
149
|
+
* *
|
|
150
|
+
* * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
|
|
154
154
|
setConsentStates(records: Consent[]): Promise<void>;
|
|
155
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;
|
|
156
168
|
readonly accountIdentifier: Identifier;
|
|
157
169
|
readonly inboxId: string;
|
|
158
170
|
readonly isRegistered: boolean;
|
|
@@ -177,6 +189,8 @@ export class ContentTypeId {
|
|
|
177
189
|
export class Conversation {
|
|
178
190
|
private constructor();
|
|
179
191
|
free(): void;
|
|
192
|
+
consentState(): ConsentState;
|
|
193
|
+
updateConsentState(state: ConsentState): void;
|
|
180
194
|
id(): string;
|
|
181
195
|
send(encoded_content: EncodedContent): Promise<string>;
|
|
182
196
|
/**
|
|
@@ -223,8 +237,6 @@ export class Conversation {
|
|
|
223
237
|
messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
224
238
|
isMessageDisappearingEnabled(): boolean;
|
|
225
239
|
getHmacKeys(): any;
|
|
226
|
-
consentState(): ConsentState;
|
|
227
|
-
updateConsentState(state: ConsentState): void;
|
|
228
240
|
}
|
|
229
241
|
export class ConversationListItem {
|
|
230
242
|
free(): void;
|
|
@@ -355,6 +367,20 @@ export class IntoUnderlyingSource {
|
|
|
355
367
|
pull(controller: ReadableStreamDefaultController): Promise<any>;
|
|
356
368
|
cancel(): void;
|
|
357
369
|
}
|
|
370
|
+
export class KeyPackageStatus {
|
|
371
|
+
private constructor();
|
|
372
|
+
free(): void;
|
|
373
|
+
get lifetime(): Lifetime | undefined;
|
|
374
|
+
set lifetime(value: Lifetime | null | undefined);
|
|
375
|
+
get validationError(): string | undefined;
|
|
376
|
+
set validationError(value: string | null | undefined);
|
|
377
|
+
}
|
|
378
|
+
export class Lifetime {
|
|
379
|
+
private constructor();
|
|
380
|
+
free(): void;
|
|
381
|
+
not_before: bigint;
|
|
382
|
+
not_after: bigint;
|
|
383
|
+
}
|
|
358
384
|
export class ListConversationsOptions {
|
|
359
385
|
free(): void;
|
|
360
386
|
constructor(consent_states: any[] | null | undefined, created_after_ns: bigint | null | undefined, created_before_ns: bigint | null | undefined, include_duplicate_dms: boolean, limit?: bigint | null);
|
|
@@ -438,6 +464,7 @@ export class MultiRemoteAttachment {
|
|
|
438
464
|
export class Opfs {
|
|
439
465
|
private constructor();
|
|
440
466
|
free(): void;
|
|
467
|
+
static init_sqlite_opfs(): Promise<void>;
|
|
441
468
|
/**
|
|
442
469
|
* Check if the global OPFS object has been initialized
|
|
443
470
|
*/
|
|
@@ -541,6 +568,237 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
541
568
|
|
|
542
569
|
export interface InitOutput {
|
|
543
570
|
readonly memory: WebAssembly.Memory;
|
|
571
|
+
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
572
|
+
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
573
|
+
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
574
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
575
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
576
|
+
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
577
|
+
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
578
|
+
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
579
|
+
readonly __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
580
|
+
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
581
|
+
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
582
|
+
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: bigint, e: number, f: bigint, g: number, h: number, i: bigint) => number;
|
|
583
|
+
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
584
|
+
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
585
|
+
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
586
|
+
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
587
|
+
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
588
|
+
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
589
|
+
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
590
|
+
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
591
|
+
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
592
|
+
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
593
|
+
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
594
|
+
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
595
|
+
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
596
|
+
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
597
|
+
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
598
|
+
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
599
|
+
readonly __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
600
|
+
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
601
|
+
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
602
|
+
readonly createdmoptions_new: (a: number) => number;
|
|
603
|
+
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
604
|
+
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
605
|
+
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
606
|
+
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
607
|
+
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
608
|
+
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
609
|
+
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
610
|
+
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
611
|
+
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
612
|
+
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
613
|
+
readonly conversationlistitem_new: (a: number, b: number) => number;
|
|
614
|
+
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
615
|
+
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
616
|
+
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
617
|
+
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
618
|
+
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
619
|
+
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
620
|
+
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
621
|
+
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
622
|
+
readonly conversations_sync: (a: number) => any;
|
|
623
|
+
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
624
|
+
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
625
|
+
readonly conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
626
|
+
readonly conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
627
|
+
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
628
|
+
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
629
|
+
readonly conversations_streamGroups: (a: number, b: any) => [number, number, number];
|
|
630
|
+
readonly conversations_streamDms: (a: number, b: any) => [number, number, number];
|
|
631
|
+
readonly conversations_streamAllMessages: (a: number, b: any, c: number) => [number, number, number];
|
|
632
|
+
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
633
|
+
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
634
|
+
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
635
|
+
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
636
|
+
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
637
|
+
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
638
|
+
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
639
|
+
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
640
|
+
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
641
|
+
readonly listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigint, e: number, f: bigint, g: number, h: number, i: number, j: number) => number;
|
|
642
|
+
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
643
|
+
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
644
|
+
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
645
|
+
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
646
|
+
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
647
|
+
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
648
|
+
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
649
|
+
readonly __wbg_get_message_content: (a: number) => number;
|
|
650
|
+
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
651
|
+
readonly __wbg_get_message_kind: (a: number) => number;
|
|
652
|
+
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
653
|
+
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
654
|
+
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
655
|
+
readonly message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
656
|
+
readonly __wbg_messagewithreactions_free: (a: number, b: number) => void;
|
|
657
|
+
readonly __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
658
|
+
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
659
|
+
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
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;
|
|
749
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
750
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
751
|
+
readonly opfs_exists: () => number;
|
|
752
|
+
readonly opfs_error: () => [number, number];
|
|
753
|
+
readonly opfs_wipeFiles: () => any;
|
|
754
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
755
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
756
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
757
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
758
|
+
readonly opfs_getFileCount: () => number;
|
|
759
|
+
readonly opfs_getCapacity: () => number;
|
|
760
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
761
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
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];
|
|
544
802
|
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
545
803
|
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
546
804
|
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
@@ -581,8 +839,6 @@ export interface InitOutput {
|
|
|
581
839
|
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
582
840
|
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
583
841
|
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
584
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
585
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
586
842
|
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
587
843
|
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
588
844
|
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
@@ -640,6 +896,7 @@ export interface InitOutput {
|
|
|
640
896
|
readonly client_revokeWalletSignatureText: (a: number, b: any) => any;
|
|
641
897
|
readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
642
898
|
readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
899
|
+
readonly client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
|
|
643
900
|
readonly client_addEcdsaSignature: (a: number, b: number, c: any) => any;
|
|
644
901
|
readonly client_addPasskeySignature: (a: number, b: number, c: number) => any;
|
|
645
902
|
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
@@ -647,232 +904,22 @@ export interface InitOutput {
|
|
|
647
904
|
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
648
905
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
649
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;
|
|
650
908
|
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
651
|
-
readonly
|
|
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_installation_free: (a: number, b: number) => void;
|
|
679
|
-
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
680
|
-
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
681
|
-
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
682
|
-
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
683
|
-
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
684
|
-
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
685
|
-
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
686
|
-
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
687
|
-
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
688
|
-
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
689
|
-
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
690
|
-
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
691
|
-
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
692
|
-
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
693
|
-
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
694
|
-
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
695
|
-
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
696
|
-
readonly client_inboxState: (a: number, b: number) => any;
|
|
697
|
-
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
698
|
-
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
699
|
-
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
700
|
-
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
701
|
-
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
702
|
-
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
703
|
-
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
704
|
-
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
705
|
-
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
706
|
-
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
707
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
708
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
709
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
710
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
711
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
712
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
713
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
714
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
715
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
716
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
717
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
718
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
719
|
-
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
720
|
-
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
721
|
-
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
722
|
-
readonly __wbg_get_consent_state: (a: number) => number;
|
|
723
|
-
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
724
|
-
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
725
|
-
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
726
|
-
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
727
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
728
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
729
|
-
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
730
|
-
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
731
|
-
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
732
|
-
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
733
|
-
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
734
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
735
|
-
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
736
|
-
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
737
|
-
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
738
|
-
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
739
|
-
readonly __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
740
|
-
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
741
|
-
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
742
|
-
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: bigint, e: number, f: bigint, g: number, h: number, i: bigint) => number;
|
|
743
|
-
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
744
|
-
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
745
|
-
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
746
|
-
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
747
|
-
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
748
|
-
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
749
|
-
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
750
|
-
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
751
|
-
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
752
|
-
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
753
|
-
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
754
|
-
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
755
|
-
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
756
|
-
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
757
|
-
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
758
|
-
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
759
|
-
readonly __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
760
|
-
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
761
|
-
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
762
|
-
readonly createdmoptions_new: (a: number) => number;
|
|
763
|
-
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
764
|
-
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
765
|
-
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
766
|
-
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
767
|
-
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
768
|
-
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
769
|
-
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
770
|
-
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
771
|
-
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
772
|
-
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
773
|
-
readonly conversationlistitem_new: (a: number, b: number) => number;
|
|
774
|
-
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
775
|
-
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
776
|
-
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
777
|
-
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
778
|
-
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
779
|
-
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
780
|
-
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
781
|
-
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
782
|
-
readonly conversations_sync: (a: number) => any;
|
|
783
|
-
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
784
|
-
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
785
|
-
readonly conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
786
|
-
readonly conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
787
|
-
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
788
|
-
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
789
|
-
readonly conversations_streamGroups: (a: number, b: any) => [number, number, number];
|
|
790
|
-
readonly conversations_streamDms: (a: number, b: any) => [number, number, number];
|
|
791
|
-
readonly conversations_streamAllMessages: (a: number, b: any, c: number) => [number, number, number];
|
|
792
|
-
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
793
|
-
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
794
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
795
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
796
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
797
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
798
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
799
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
800
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
801
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
802
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
803
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
804
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
805
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
806
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
807
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
808
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
809
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
810
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
811
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
812
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
813
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
814
|
-
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
815
|
-
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
816
|
-
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
817
|
-
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
818
|
-
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
819
|
-
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
820
|
-
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
821
|
-
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
822
|
-
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
823
|
-
readonly listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigint, e: number, f: bigint, g: number, h: number, i: number, j: number) => number;
|
|
824
|
-
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
825
|
-
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
826
|
-
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
827
|
-
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
828
|
-
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
829
|
-
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
830
|
-
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
831
|
-
readonly __wbg_get_message_content: (a: number) => number;
|
|
832
|
-
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
833
|
-
readonly __wbg_get_message_kind: (a: number) => number;
|
|
834
|
-
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
835
|
-
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
836
|
-
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
837
|
-
readonly message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
838
|
-
readonly __wbg_messagewithreactions_free: (a: number, b: number) => void;
|
|
839
|
-
readonly __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
840
|
-
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
841
|
-
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
842
|
-
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
843
|
-
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
844
|
-
readonly opfs_exists: () => number;
|
|
845
|
-
readonly opfs_error: () => [number, number];
|
|
846
|
-
readonly opfs_wipeFiles: () => any;
|
|
847
|
-
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
848
|
-
readonly opfs_getFileNames: () => [number, number];
|
|
849
|
-
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
850
|
-
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
851
|
-
readonly opfs_getFileCount: () => number;
|
|
852
|
-
readonly opfs_getCapacity: () => number;
|
|
853
|
-
readonly opfs_addCapacity: (a: number) => any;
|
|
854
|
-
readonly opfs_reduceCapacity: (a: number) => any;
|
|
855
|
-
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
856
|
-
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
857
|
-
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
858
|
-
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
859
|
-
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
860
|
-
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
861
|
-
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
862
|
-
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
863
|
-
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
864
|
-
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
865
|
-
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
866
|
-
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
867
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
868
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
909
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
869
910
|
readonly rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
870
911
|
readonly rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
871
912
|
readonly rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
872
|
-
readonly sqlite3_os_init: () => number;
|
|
873
913
|
readonly rust_sqlite_wasm_shim_malloc: (a: number) => number;
|
|
874
914
|
readonly rust_sqlite_wasm_shim_free: (a: number) => void;
|
|
875
915
|
readonly rust_sqlite_wasm_shim_realloc: (a: number, b: number) => number;
|
|
916
|
+
readonly sqlite3_os_init: () => number;
|
|
917
|
+
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
918
|
+
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
919
|
+
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
920
|
+
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
921
|
+
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
922
|
+
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
876
923
|
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
877
924
|
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
878
925
|
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
@@ -880,12 +927,6 @@ export interface InitOutput {
|
|
|
880
927
|
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
881
928
|
readonly intounderlyingsink_close: (a: number) => any;
|
|
882
929
|
readonly intounderlyingsink_abort: (a: number, b: any) => any;
|
|
883
|
-
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
884
|
-
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
885
|
-
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
886
|
-
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
887
|
-
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
888
|
-
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
889
930
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
890
931
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
891
932
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
@@ -895,10 +936,12 @@ export interface InitOutput {
|
|
|
895
936
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
896
937
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
897
938
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
898
|
-
readonly
|
|
899
|
-
readonly
|
|
900
|
-
readonly
|
|
901
|
-
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;
|
|
902
945
|
readonly __wbindgen_start: () => void;
|
|
903
946
|
}
|
|
904
947
|
|