@xmtp/wasm-bindings 1.2.0-dev.bed98df → 1.2.0-dev.cae98b4
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 +203 -196
- package/dist/bindings_wasm.js +193 -99
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +195 -191
- package/dist/version.json +3 -3
- package/package.json +2 -2
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -5,9 +5,9 @@ export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttac
|
|
|
5
5
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
6
6
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
7
7
|
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
8
|
+
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null): Promise<Client>;
|
|
8
9
|
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
9
10
|
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
10
|
-
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>;
|
|
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,6 +122,8 @@ export type UserPreference = { type: "Consent"; consent: Consent } | { type: "Hm
|
|
|
121
122
|
export class Client {
|
|
122
123
|
private constructor();
|
|
123
124
|
free(): void;
|
|
125
|
+
setConsentStates(records: Consent[]): Promise<void>;
|
|
126
|
+
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
124
127
|
createInboxSignatureText(): string | undefined;
|
|
125
128
|
addWalletSignatureText(new_identifier: Identifier): Promise<string>;
|
|
126
129
|
revokeWalletSignatureText(identifier: Identifier): Promise<string>;
|
|
@@ -133,8 +136,6 @@ export class Client {
|
|
|
133
136
|
applySignatureRequests(): Promise<void>;
|
|
134
137
|
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
135
138
|
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
136
|
-
setConsentStates(records: Consent[]): Promise<void>;
|
|
137
|
-
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
138
139
|
/**
|
|
139
140
|
* Output booleans should be zipped with the index of input identifiers
|
|
140
141
|
*/
|
|
@@ -145,6 +146,7 @@ export class Client {
|
|
|
145
146
|
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
146
147
|
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
147
148
|
conversations(): Conversations;
|
|
149
|
+
syncPreferences(): Promise<number>;
|
|
148
150
|
/**
|
|
149
151
|
*
|
|
150
152
|
* * Get the client's inbox state.
|
|
@@ -187,6 +189,8 @@ export class ContentTypeId {
|
|
|
187
189
|
export class Conversation {
|
|
188
190
|
private constructor();
|
|
189
191
|
free(): void;
|
|
192
|
+
consentState(): ConsentState;
|
|
193
|
+
updateConsentState(state: ConsentState): void;
|
|
190
194
|
id(): string;
|
|
191
195
|
send(encoded_content: EncodedContent): Promise<string>;
|
|
192
196
|
/**
|
|
@@ -233,8 +237,6 @@ export class Conversation {
|
|
|
233
237
|
messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
234
238
|
isMessageDisappearingEnabled(): boolean;
|
|
235
239
|
getHmacKeys(): any;
|
|
236
|
-
consentState(): ConsentState;
|
|
237
|
-
updateConsentState(state: ConsentState): void;
|
|
238
240
|
}
|
|
239
241
|
export class ConversationListItem {
|
|
240
242
|
free(): void;
|
|
@@ -462,6 +464,7 @@ export class MultiRemoteAttachment {
|
|
|
462
464
|
export class Opfs {
|
|
463
465
|
private constructor();
|
|
464
466
|
free(): void;
|
|
467
|
+
static init_sqlite_opfs(): Promise<void>;
|
|
465
468
|
/**
|
|
466
469
|
* Check if the global OPFS object has been initialized
|
|
467
470
|
*/
|
|
@@ -565,6 +568,141 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
565
568
|
|
|
566
569
|
export interface InitOutput {
|
|
567
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_permissionpolicyset_free: (a: number, b: number) => void;
|
|
674
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
675
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
676
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
677
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
678
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
679
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
680
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
681
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
682
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
683
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
684
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
685
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
686
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
687
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
688
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
689
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
690
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
691
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
692
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
693
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
694
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
695
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
696
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
697
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
698
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
699
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
700
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
701
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
702
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
703
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
704
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
705
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
568
706
|
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
569
707
|
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
570
708
|
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
@@ -605,8 +743,6 @@ export interface InitOutput {
|
|
|
605
743
|
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
606
744
|
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
607
745
|
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
608
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
609
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
610
746
|
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
611
747
|
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
612
748
|
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
@@ -672,83 +808,40 @@ export interface InitOutput {
|
|
|
672
808
|
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
673
809
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
674
810
|
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
811
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
675
812
|
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
676
|
-
readonly
|
|
677
|
-
readonly
|
|
678
|
-
readonly
|
|
679
|
-
readonly
|
|
680
|
-
readonly
|
|
681
|
-
readonly
|
|
682
|
-
readonly
|
|
683
|
-
readonly
|
|
684
|
-
readonly
|
|
685
|
-
readonly
|
|
686
|
-
readonly
|
|
687
|
-
readonly
|
|
688
|
-
readonly
|
|
689
|
-
readonly
|
|
690
|
-
readonly
|
|
691
|
-
readonly
|
|
692
|
-
readonly
|
|
693
|
-
readonly
|
|
694
|
-
readonly
|
|
695
|
-
readonly
|
|
696
|
-
readonly
|
|
697
|
-
readonly
|
|
698
|
-
readonly
|
|
699
|
-
readonly
|
|
700
|
-
readonly
|
|
701
|
-
readonly
|
|
702
|
-
readonly
|
|
703
|
-
readonly
|
|
704
|
-
readonly
|
|
705
|
-
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
706
|
-
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
707
|
-
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
708
|
-
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
709
|
-
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
710
|
-
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
711
|
-
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
712
|
-
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
713
|
-
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
714
|
-
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
715
|
-
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
716
|
-
readonly __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
717
|
-
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
718
|
-
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
719
|
-
readonly createdmoptions_new: (a: number) => number;
|
|
720
|
-
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
721
|
-
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
722
|
-
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
723
|
-
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
724
|
-
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
725
|
-
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
726
|
-
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
727
|
-
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
728
|
-
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
729
|
-
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
730
|
-
readonly conversationlistitem_new: (a: number, b: number) => number;
|
|
731
|
-
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
732
|
-
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
733
|
-
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
734
|
-
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
735
|
-
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
736
|
-
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
737
|
-
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
738
|
-
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
739
|
-
readonly conversations_sync: (a: number) => any;
|
|
740
|
-
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
741
|
-
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
742
|
-
readonly conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
743
|
-
readonly conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
744
|
-
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
745
|
-
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
746
|
-
readonly conversations_streamGroups: (a: number, b: any) => [number, number, number];
|
|
747
|
-
readonly conversations_streamDms: (a: number, b: any) => [number, number, number];
|
|
748
|
-
readonly conversations_streamAllMessages: (a: number, b: any, c: number) => [number, number, number];
|
|
749
|
-
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
750
|
-
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
813
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
814
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
815
|
+
readonly streamcloser_end: (a: number) => void;
|
|
816
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
817
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
818
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
819
|
+
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
820
|
+
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
821
|
+
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
822
|
+
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
823
|
+
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
824
|
+
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
825
|
+
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
826
|
+
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
827
|
+
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
828
|
+
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;
|
|
829
|
+
readonly client_accountIdentifier: (a: number) => any;
|
|
830
|
+
readonly client_inboxId: (a: number) => [number, number];
|
|
831
|
+
readonly client_isRegistered: (a: number) => number;
|
|
832
|
+
readonly client_installationId: (a: number) => [number, number];
|
|
833
|
+
readonly client_installationIdBytes: (a: number) => any;
|
|
834
|
+
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
835
|
+
readonly client_registerIdentity: (a: number) => any;
|
|
836
|
+
readonly client_sendHistorySyncRequest: (a: number) => any;
|
|
837
|
+
readonly client_sendConsentSyncRequest: (a: number) => any;
|
|
838
|
+
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
839
|
+
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
840
|
+
readonly client_conversations: (a: number) => number;
|
|
841
|
+
readonly client_syncPreferences: (a: number) => any;
|
|
751
842
|
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
843
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
844
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
752
845
|
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
753
846
|
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
754
847
|
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
@@ -770,81 +863,6 @@ export interface InitOutput {
|
|
|
770
863
|
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
771
864
|
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
772
865
|
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
773
|
-
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
774
|
-
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
775
|
-
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
776
|
-
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
777
|
-
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
778
|
-
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
779
|
-
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
780
|
-
readonly listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigint, e: number, f: bigint, g: number, h: number, i: number, j: number) => number;
|
|
781
|
-
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
782
|
-
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
783
|
-
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
784
|
-
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
785
|
-
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
786
|
-
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
787
|
-
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
788
|
-
readonly __wbg_get_message_content: (a: number) => number;
|
|
789
|
-
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
790
|
-
readonly __wbg_get_message_kind: (a: number) => number;
|
|
791
|
-
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
792
|
-
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
793
|
-
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
794
|
-
readonly message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
795
|
-
readonly __wbg_messagewithreactions_free: (a: number, b: number) => void;
|
|
796
|
-
readonly __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
797
|
-
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
798
|
-
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
799
|
-
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
800
|
-
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
801
|
-
readonly opfs_exists: () => number;
|
|
802
|
-
readonly opfs_error: () => [number, number];
|
|
803
|
-
readonly opfs_wipeFiles: () => any;
|
|
804
|
-
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
805
|
-
readonly opfs_getFileNames: () => [number, number];
|
|
806
|
-
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
807
|
-
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
808
|
-
readonly opfs_getFileCount: () => number;
|
|
809
|
-
readonly opfs_getCapacity: () => number;
|
|
810
|
-
readonly opfs_addCapacity: (a: number) => any;
|
|
811
|
-
readonly opfs_reduceCapacity: (a: number) => any;
|
|
812
|
-
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
813
|
-
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
814
|
-
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
815
|
-
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
816
|
-
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
817
|
-
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
818
|
-
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
819
|
-
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
820
|
-
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
821
|
-
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
822
|
-
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
823
|
-
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
824
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
825
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
826
|
-
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
827
|
-
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
828
|
-
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
829
|
-
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
830
|
-
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
831
|
-
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
832
|
-
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
833
|
-
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
834
|
-
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
835
|
-
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;
|
|
836
|
-
readonly client_accountIdentifier: (a: number) => any;
|
|
837
|
-
readonly client_inboxId: (a: number) => [number, number];
|
|
838
|
-
readonly client_isRegistered: (a: number) => number;
|
|
839
|
-
readonly client_installationId: (a: number) => [number, number];
|
|
840
|
-
readonly client_installationIdBytes: (a: number) => any;
|
|
841
|
-
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
842
|
-
readonly client_registerIdentity: (a: number) => any;
|
|
843
|
-
readonly client_sendHistorySyncRequest: (a: number) => any;
|
|
844
|
-
readonly client_sendConsentSyncRequest: (a: number) => any;
|
|
845
|
-
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
846
|
-
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
847
|
-
readonly client_conversations: (a: number) => number;
|
|
848
866
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
849
867
|
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
850
868
|
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
@@ -854,8 +872,6 @@ export interface InitOutput {
|
|
|
854
872
|
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
855
873
|
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
856
874
|
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
857
|
-
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
858
|
-
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
859
875
|
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
860
876
|
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
861
877
|
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
@@ -876,39 +892,34 @@ export interface InitOutput {
|
|
|
876
892
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
877
893
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
878
894
|
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
879
|
-
readonly
|
|
880
|
-
readonly
|
|
881
|
-
readonly
|
|
882
|
-
readonly
|
|
883
|
-
readonly
|
|
884
|
-
readonly
|
|
885
|
-
readonly
|
|
886
|
-
readonly
|
|
887
|
-
readonly
|
|
888
|
-
readonly
|
|
889
|
-
readonly
|
|
890
|
-
readonly
|
|
891
|
-
readonly
|
|
892
|
-
readonly
|
|
893
|
-
readonly
|
|
894
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
895
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
896
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
897
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
898
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
899
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
900
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
901
|
-
readonly streamcloser_end: (a: number) => void;
|
|
902
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
903
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
904
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
895
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
896
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
897
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
898
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
899
|
+
readonly opfs_exists: () => number;
|
|
900
|
+
readonly opfs_error: () => [number, number];
|
|
901
|
+
readonly opfs_wipeFiles: () => any;
|
|
902
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
903
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
904
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
905
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
906
|
+
readonly opfs_getFileCount: () => number;
|
|
907
|
+
readonly opfs_getCapacity: () => number;
|
|
908
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
909
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
905
910
|
readonly rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
906
911
|
readonly rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
907
912
|
readonly rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
908
|
-
readonly sqlite3_os_init: () => number;
|
|
909
913
|
readonly rust_sqlite_wasm_shim_malloc: (a: number) => number;
|
|
910
914
|
readonly rust_sqlite_wasm_shim_free: (a: number) => void;
|
|
911
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;
|
|
912
923
|
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
913
924
|
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
914
925
|
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
@@ -916,12 +927,6 @@ export interface InitOutput {
|
|
|
916
927
|
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
917
928
|
readonly intounderlyingsink_close: (a: number) => any;
|
|
918
929
|
readonly intounderlyingsink_abort: (a: number, b: any) => any;
|
|
919
|
-
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
920
|
-
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
921
|
-
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
922
|
-
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
923
|
-
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
924
|
-
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
925
930
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
926
931
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
927
932
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
@@ -931,10 +936,12 @@ export interface InitOutput {
|
|
|
931
936
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
932
937
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
933
938
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
934
|
-
readonly
|
|
935
|
-
readonly
|
|
936
|
-
readonly
|
|
937
|
-
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 closure3980_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 closure5011_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
944
|
+
readonly closure5010_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
938
945
|
readonly __wbindgen_start: () => void;
|
|
939
946
|
}
|
|
940
947
|
|