@xmtp/wasm-bindings 1.1.3 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bindings_wasm.d.ts +176 -136
- package/dist/bindings_wasm.js +367 -146
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +141 -126
- package/dist/version.json +5 -0
- package/package.json +8 -5
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
4
|
-
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
5
|
-
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
6
|
-
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
7
|
-
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
8
|
-
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, history_sync_url?: string | null, log_options?: LogOptions | null): Promise<Client>;
|
|
9
3
|
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
10
4
|
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
5
|
+
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
6
|
+
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>;
|
|
7
|
+
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
8
|
+
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
9
|
+
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
10
|
+
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
11
11
|
export enum ConsentEntityType {
|
|
12
12
|
GroupId = 0,
|
|
13
13
|
InboxId = 1,
|
|
@@ -96,6 +96,7 @@ 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,
|
|
@@ -120,11 +121,14 @@ export type UserPreference = { type: "Consent"; consent: Consent } | { type: "Hm
|
|
|
120
121
|
export class Client {
|
|
121
122
|
private constructor();
|
|
122
123
|
free(): void;
|
|
124
|
+
setConsentStates(records: Consent[]): Promise<void>;
|
|
125
|
+
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
123
126
|
createInboxSignatureText(): string | undefined;
|
|
124
127
|
addWalletSignatureText(new_identifier: Identifier): Promise<string>;
|
|
125
128
|
revokeWalletSignatureText(identifier: Identifier): Promise<string>;
|
|
126
129
|
revokeAllOtherInstallationsSignatureText(): Promise<string>;
|
|
127
130
|
revokeInstallationsSignatureText(installation_ids: Uint8Array[]): Promise<string>;
|
|
131
|
+
changeRecoveryIdentifierSignatureText(new_recovery_identifier: Identifier): Promise<string>;
|
|
128
132
|
addEcdsaSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array): Promise<void>;
|
|
129
133
|
addPasskeySignature(signature_type: SignatureRequestType, signature: PasskeySignature): Promise<void>;
|
|
130
134
|
addScwSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array, chain_id: bigint, block_number?: bigint | null): Promise<void>;
|
|
@@ -151,8 +155,14 @@ export class Client {
|
|
|
151
155
|
*/
|
|
152
156
|
inboxState(refresh_from_network: boolean): Promise<InboxState>;
|
|
153
157
|
getLatestInboxState(inbox_id: string): Promise<InboxState>;
|
|
154
|
-
|
|
155
|
-
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* * Get key package statuses for a list of installation IDs.
|
|
161
|
+
* *
|
|
162
|
+
* * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
|
|
163
|
+
*
|
|
164
|
+
*/
|
|
165
|
+
getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
|
|
156
166
|
readonly accountIdentifier: Identifier;
|
|
157
167
|
readonly inboxId: string;
|
|
158
168
|
readonly isRegistered: boolean;
|
|
@@ -177,6 +187,8 @@ export class ContentTypeId {
|
|
|
177
187
|
export class Conversation {
|
|
178
188
|
private constructor();
|
|
179
189
|
free(): void;
|
|
190
|
+
consentState(): ConsentState;
|
|
191
|
+
updateConsentState(state: ConsentState): void;
|
|
180
192
|
id(): string;
|
|
181
193
|
send(encoded_content: EncodedContent): Promise<string>;
|
|
182
194
|
/**
|
|
@@ -223,8 +235,6 @@ export class Conversation {
|
|
|
223
235
|
messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
224
236
|
isMessageDisappearingEnabled(): boolean;
|
|
225
237
|
getHmacKeys(): any;
|
|
226
|
-
consentState(): ConsentState;
|
|
227
|
-
updateConsentState(state: ConsentState): void;
|
|
228
238
|
}
|
|
229
239
|
export class ConversationListItem {
|
|
230
240
|
free(): void;
|
|
@@ -355,6 +365,20 @@ export class IntoUnderlyingSource {
|
|
|
355
365
|
pull(controller: ReadableStreamDefaultController): Promise<any>;
|
|
356
366
|
cancel(): void;
|
|
357
367
|
}
|
|
368
|
+
export class KeyPackageStatus {
|
|
369
|
+
private constructor();
|
|
370
|
+
free(): void;
|
|
371
|
+
get lifetime(): Lifetime | undefined;
|
|
372
|
+
set lifetime(value: Lifetime | null | undefined);
|
|
373
|
+
get validationError(): string | undefined;
|
|
374
|
+
set validationError(value: string | null | undefined);
|
|
375
|
+
}
|
|
376
|
+
export class Lifetime {
|
|
377
|
+
private constructor();
|
|
378
|
+
free(): void;
|
|
379
|
+
not_before: bigint;
|
|
380
|
+
not_after: bigint;
|
|
381
|
+
}
|
|
358
382
|
export class ListConversationsOptions {
|
|
359
383
|
free(): void;
|
|
360
384
|
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 +462,7 @@ export class MultiRemoteAttachment {
|
|
|
438
462
|
export class Opfs {
|
|
439
463
|
private constructor();
|
|
440
464
|
free(): void;
|
|
465
|
+
static init_sqlite_opfs(): Promise<void>;
|
|
441
466
|
/**
|
|
442
467
|
* Check if the global OPFS object has been initialized
|
|
443
468
|
*/
|
|
@@ -541,48 +566,48 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
541
566
|
|
|
542
567
|
export interface InitOutput {
|
|
543
568
|
readonly memory: WebAssembly.Memory;
|
|
544
|
-
readonly
|
|
545
|
-
readonly
|
|
546
|
-
readonly
|
|
547
|
-
readonly
|
|
548
|
-
readonly
|
|
549
|
-
readonly
|
|
550
|
-
readonly
|
|
551
|
-
readonly
|
|
552
|
-
readonly
|
|
553
|
-
readonly
|
|
554
|
-
readonly
|
|
555
|
-
readonly
|
|
556
|
-
readonly
|
|
557
|
-
readonly
|
|
558
|
-
readonly
|
|
559
|
-
readonly
|
|
560
|
-
readonly
|
|
561
|
-
readonly
|
|
562
|
-
readonly
|
|
563
|
-
readonly
|
|
564
|
-
readonly
|
|
565
|
-
readonly
|
|
566
|
-
readonly
|
|
567
|
-
readonly
|
|
568
|
-
readonly
|
|
569
|
-
readonly
|
|
570
|
-
readonly
|
|
571
|
-
readonly
|
|
572
|
-
readonly
|
|
573
|
-
readonly
|
|
574
|
-
readonly
|
|
575
|
-
readonly
|
|
576
|
-
readonly
|
|
577
|
-
readonly
|
|
578
|
-
readonly
|
|
579
|
-
readonly
|
|
569
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
570
|
+
readonly streamcloser_end: (a: number) => void;
|
|
571
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
572
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
573
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
574
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
575
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
576
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
577
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
578
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
579
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
580
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
581
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
582
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
583
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
584
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
585
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
586
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
587
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
588
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
589
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
590
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
591
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
592
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
593
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
594
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
595
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
596
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
597
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
598
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
599
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
600
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
601
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
602
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
603
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
604
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
605
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
606
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
580
607
|
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
581
608
|
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
582
609
|
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
583
610
|
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
611
|
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
587
612
|
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
588
613
|
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
@@ -633,6 +658,41 @@ export interface InitOutput {
|
|
|
633
658
|
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
634
659
|
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
635
660
|
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
661
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
662
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
663
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
664
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
665
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
666
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
667
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
668
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
669
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
670
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
671
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
672
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
673
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
674
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
675
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
676
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
677
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
678
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
679
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
680
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
681
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
682
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
683
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
684
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
685
|
+
readonly opfs_exists: () => number;
|
|
686
|
+
readonly opfs_error: () => [number, number];
|
|
687
|
+
readonly opfs_wipeFiles: () => any;
|
|
688
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
689
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
690
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
691
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
692
|
+
readonly opfs_getFileCount: () => number;
|
|
693
|
+
readonly opfs_getCapacity: () => number;
|
|
694
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
695
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
636
696
|
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
637
697
|
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
638
698
|
readonly client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
@@ -640,19 +700,17 @@ export interface InitOutput {
|
|
|
640
700
|
readonly client_revokeWalletSignatureText: (a: number, b: any) => any;
|
|
641
701
|
readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
642
702
|
readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
703
|
+
readonly client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
|
|
643
704
|
readonly client_addEcdsaSignature: (a: number, b: number, c: any) => any;
|
|
644
705
|
readonly client_addPasskeySignature: (a: number, b: number, c: number) => any;
|
|
645
706
|
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
646
707
|
readonly client_applySignatureRequests: (a: number) => any;
|
|
647
708
|
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
648
709
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
649
|
-
readonly
|
|
650
|
-
readonly
|
|
651
|
-
readonly
|
|
652
|
-
readonly
|
|
653
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
654
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
655
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
710
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
711
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
712
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
713
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
656
714
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
657
715
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
658
716
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -675,6 +733,18 @@ export interface InitOutput {
|
|
|
675
733
|
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
676
734
|
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
677
735
|
readonly client_conversations: (a: number) => number;
|
|
736
|
+
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
737
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
738
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
739
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
740
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
741
|
+
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
742
|
+
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
743
|
+
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
744
|
+
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
745
|
+
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
746
|
+
readonly encodeReaction: (a: number) => [number, number, number];
|
|
747
|
+
readonly decodeReaction: (a: any) => [number, number, number];
|
|
678
748
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
679
749
|
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
680
750
|
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
@@ -693,41 +763,45 @@ export interface InitOutput {
|
|
|
693
763
|
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
694
764
|
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
695
765
|
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
766
|
+
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
767
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
768
|
+
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
769
|
+
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
770
|
+
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
771
|
+
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
772
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
773
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
774
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
775
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
696
776
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
697
777
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
698
|
-
readonly
|
|
699
|
-
readonly
|
|
700
|
-
readonly
|
|
701
|
-
readonly
|
|
702
|
-
readonly
|
|
703
|
-
readonly
|
|
704
|
-
readonly
|
|
705
|
-
readonly
|
|
706
|
-
readonly
|
|
707
|
-
readonly
|
|
708
|
-
readonly
|
|
709
|
-
readonly
|
|
710
|
-
readonly
|
|
711
|
-
readonly
|
|
712
|
-
readonly
|
|
713
|
-
readonly
|
|
714
|
-
readonly
|
|
715
|
-
readonly
|
|
716
|
-
readonly
|
|
717
|
-
readonly
|
|
718
|
-
readonly
|
|
719
|
-
readonly
|
|
720
|
-
readonly
|
|
721
|
-
readonly
|
|
722
|
-
readonly
|
|
723
|
-
readonly
|
|
724
|
-
readonly
|
|
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];
|
|
778
|
+
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
779
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
780
|
+
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
781
|
+
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
782
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
783
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
784
|
+
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
785
|
+
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
786
|
+
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
787
|
+
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
788
|
+
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
789
|
+
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
790
|
+
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
791
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
792
|
+
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
793
|
+
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
794
|
+
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
795
|
+
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
796
|
+
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
797
|
+
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
798
|
+
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;
|
|
799
|
+
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
800
|
+
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
801
|
+
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
802
|
+
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
803
|
+
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
804
|
+
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
731
805
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
732
806
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
733
807
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -791,28 +865,6 @@ export interface InitOutput {
|
|
|
791
865
|
readonly conversations_streamAllMessages: (a: number, b: any, c: number) => [number, number, number];
|
|
792
866
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
793
867
|
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
868
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
817
869
|
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
818
870
|
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -840,39 +892,31 @@ export interface InitOutput {
|
|
|
840
892
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
841
893
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
842
894
|
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
895
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
856
896
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
857
897
|
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
858
898
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
859
899
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
900
|
+
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
860
901
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
861
902
|
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
862
903
|
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
863
|
-
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
864
904
|
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
865
905
|
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
866
906
|
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];
|
|
869
907
|
readonly rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
870
908
|
readonly rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
871
909
|
readonly rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
872
|
-
readonly sqlite3_os_init: () => number;
|
|
873
910
|
readonly rust_sqlite_wasm_shim_malloc: (a: number) => number;
|
|
874
911
|
readonly rust_sqlite_wasm_shim_free: (a: number) => void;
|
|
875
912
|
readonly rust_sqlite_wasm_shim_realloc: (a: number, b: number) => number;
|
|
913
|
+
readonly sqlite3_os_init: () => number;
|
|
914
|
+
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
915
|
+
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
916
|
+
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
917
|
+
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
918
|
+
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
919
|
+
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
876
920
|
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
877
921
|
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
878
922
|
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
@@ -880,12 +924,6 @@ export interface InitOutput {
|
|
|
880
924
|
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
881
925
|
readonly intounderlyingsink_close: (a: number) => any;
|
|
882
926
|
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
927
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
890
928
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
891
929
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
@@ -895,10 +933,12 @@ export interface InitOutput {
|
|
|
895
933
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
896
934
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
897
935
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
898
|
-
readonly
|
|
899
|
-
readonly
|
|
900
|
-
readonly
|
|
901
|
-
readonly
|
|
936
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215: (a: number, b: number) => void;
|
|
937
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9b134efb6b08a208: (a: number, b: number) => void;
|
|
938
|
+
readonly closure3984_externref_shim: (a: number, b: number, c: any) => void;
|
|
939
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a: (a: number, b: number) => void;
|
|
940
|
+
readonly closure4877_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
941
|
+
readonly closure4876_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
902
942
|
readonly __wbindgen_start: () => void;
|
|
903
943
|
}
|
|
904
944
|
|