@xmtp/wasm-bindings 1.3.0 → 1.3.2
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 +151 -146
- package/dist/bindings_wasm.js +280 -257
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +130 -129
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
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, allow_offline?: boolean | null, disable_events?: boolean | null): Promise<Client>;
|
|
4
|
-
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
5
|
-
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
6
3
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
7
4
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
8
5
|
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
@@ -11,6 +8,13 @@ export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promi
|
|
|
11
8
|
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
12
9
|
export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
13
10
|
export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
|
|
11
|
+
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
12
|
+
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
13
|
+
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null, allow_offline?: boolean | null, disable_events?: boolean | null): Promise<Client>;
|
|
14
|
+
/**
|
|
15
|
+
* Entry point invoked by JavaScript in a worker.
|
|
16
|
+
*/
|
|
17
|
+
export function task_worker_entry_point(ptr: number): void;
|
|
14
18
|
export enum ConsentEntityType {
|
|
15
19
|
GroupId = 0,
|
|
16
20
|
InboxId = 1,
|
|
@@ -131,20 +135,6 @@ export class ApiStats {
|
|
|
131
135
|
export class Client {
|
|
132
136
|
private constructor();
|
|
133
137
|
free(): void;
|
|
134
|
-
/**
|
|
135
|
-
* Output booleans should be zipped with the index of input identifiers
|
|
136
|
-
*/
|
|
137
|
-
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
138
|
-
sendSyncRequest(): Promise<void>;
|
|
139
|
-
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
140
|
-
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
141
|
-
conversations(): Conversations;
|
|
142
|
-
syncPreferences(): Promise<number>;
|
|
143
|
-
apiStatistics(): ApiStats;
|
|
144
|
-
apiIdentityStatistics(): IdentityStats;
|
|
145
|
-
apiAggregateStatistics(): string;
|
|
146
|
-
clearAllStatistics(): void;
|
|
147
|
-
uploadDebugArchive(server_url: string): Promise<string>;
|
|
148
138
|
setConsentStates(records: Consent[]): Promise<void>;
|
|
149
139
|
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
150
140
|
/**
|
|
@@ -175,6 +165,20 @@ export class Client {
|
|
|
175
165
|
registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
|
|
176
166
|
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
177
167
|
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
168
|
+
/**
|
|
169
|
+
* Output booleans should be zipped with the index of input identifiers
|
|
170
|
+
*/
|
|
171
|
+
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
172
|
+
sendSyncRequest(): Promise<void>;
|
|
173
|
+
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
174
|
+
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
175
|
+
conversations(): Conversations;
|
|
176
|
+
syncPreferences(): Promise<number>;
|
|
177
|
+
apiStatistics(): ApiStats;
|
|
178
|
+
apiIdentityStatistics(): IdentityStats;
|
|
179
|
+
apiAggregateStatistics(): string;
|
|
180
|
+
clearAllStatistics(): void;
|
|
181
|
+
uploadDebugArchive(server_url: string): Promise<string>;
|
|
178
182
|
readonly accountIdentifier: Identifier;
|
|
179
183
|
readonly inboxId: string;
|
|
180
184
|
readonly isRegistered: boolean;
|
|
@@ -611,67 +615,6 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
611
615
|
|
|
612
616
|
export interface InitOutput {
|
|
613
617
|
readonly memory: WebAssembly.Memory;
|
|
614
|
-
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
615
|
-
readonly opfs_init_sqlite_opfs: () => any;
|
|
616
|
-
readonly opfs_exists: () => number;
|
|
617
|
-
readonly opfs_error: () => [number, number];
|
|
618
|
-
readonly opfs_wipeFiles: () => any;
|
|
619
|
-
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
620
|
-
readonly opfs_getFileNames: () => [number, number];
|
|
621
|
-
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
622
|
-
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
623
|
-
readonly opfs_getFileCount: () => number;
|
|
624
|
-
readonly opfs_getCapacity: () => number;
|
|
625
|
-
readonly opfs_addCapacity: (a: number) => any;
|
|
626
|
-
readonly opfs_reduceCapacity: (a: number) => any;
|
|
627
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
628
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
629
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
630
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
631
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
632
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
633
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
634
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
635
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
636
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
637
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
638
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
639
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
640
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
641
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
642
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
643
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
644
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
645
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
646
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
647
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
648
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
649
|
-
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
650
|
-
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
651
|
-
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
652
|
-
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
653
|
-
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
654
|
-
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
655
|
-
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
656
|
-
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
657
|
-
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
658
|
-
readonly createClient: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number) => any;
|
|
659
|
-
readonly client_accountIdentifier: (a: number) => any;
|
|
660
|
-
readonly client_inboxId: (a: number) => [number, number];
|
|
661
|
-
readonly client_isRegistered: (a: number) => number;
|
|
662
|
-
readonly client_installationId: (a: number) => [number, number];
|
|
663
|
-
readonly client_installationIdBytes: (a: number) => any;
|
|
664
|
-
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
665
|
-
readonly client_sendSyncRequest: (a: number) => any;
|
|
666
|
-
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
667
|
-
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
668
|
-
readonly client_conversations: (a: number) => number;
|
|
669
|
-
readonly client_syncPreferences: (a: number) => any;
|
|
670
|
-
readonly client_apiStatistics: (a: number) => number;
|
|
671
|
-
readonly client_apiIdentityStatistics: (a: number) => number;
|
|
672
|
-
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
673
|
-
readonly client_clearAllStatistics: (a: number) => void;
|
|
674
|
-
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
675
618
|
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
676
619
|
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
677
620
|
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
@@ -684,35 +627,7 @@ export interface InitOutput {
|
|
|
684
627
|
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
685
628
|
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
686
629
|
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
687
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
688
|
-
readonly streamcloser_end: (a: number) => void;
|
|
689
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
690
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
691
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
692
|
-
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
693
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
694
|
-
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
695
|
-
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
696
|
-
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
697
|
-
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
698
|
-
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
699
|
-
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
700
|
-
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
701
|
-
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
702
|
-
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
703
|
-
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
704
|
-
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
705
|
-
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
706
|
-
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;
|
|
707
|
-
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
708
|
-
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
709
|
-
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
710
|
-
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
711
|
-
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
712
|
-
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
713
630
|
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
714
|
-
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
715
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
716
631
|
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
717
632
|
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
718
633
|
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
@@ -726,8 +641,6 @@ export interface InitOutput {
|
|
|
726
641
|
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
727
642
|
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
728
643
|
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
729
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
730
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
731
644
|
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
732
645
|
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
733
646
|
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
@@ -792,15 +705,18 @@ export interface InitOutput {
|
|
|
792
705
|
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
793
706
|
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
794
707
|
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
795
|
-
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
796
708
|
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
797
709
|
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
710
|
+
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
711
|
+
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
798
712
|
readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
799
713
|
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
800
714
|
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
801
715
|
readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
802
716
|
readonly __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
|
|
803
717
|
readonly __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
|
|
718
|
+
readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
|
|
719
|
+
readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
|
|
804
720
|
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
805
721
|
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
806
722
|
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
@@ -844,24 +760,26 @@ export interface InitOutput {
|
|
|
844
760
|
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
845
761
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
846
762
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
847
|
-
readonly
|
|
848
|
-
readonly
|
|
849
|
-
readonly
|
|
850
|
-
readonly
|
|
851
|
-
readonly
|
|
852
|
-
readonly
|
|
853
|
-
readonly
|
|
854
|
-
readonly
|
|
855
|
-
readonly
|
|
856
|
-
readonly
|
|
857
|
-
readonly
|
|
858
|
-
readonly
|
|
859
|
-
readonly
|
|
860
|
-
readonly
|
|
861
|
-
readonly
|
|
862
|
-
readonly
|
|
863
|
-
readonly
|
|
864
|
-
readonly
|
|
763
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
764
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
765
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
766
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
767
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
768
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
769
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
770
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
771
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
772
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
773
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
774
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
775
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
776
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
777
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
778
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
779
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
780
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
781
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
782
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
865
783
|
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
866
784
|
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
867
785
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
@@ -879,7 +797,6 @@ export interface InitOutput {
|
|
|
879
797
|
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
880
798
|
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
881
799
|
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
882
|
-
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
883
800
|
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
884
801
|
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
885
802
|
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
@@ -916,6 +833,19 @@ export interface InitOutput {
|
|
|
916
833
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
917
834
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
918
835
|
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
836
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
837
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
838
|
+
readonly opfs_exists: () => number;
|
|
839
|
+
readonly opfs_error: () => [number, number];
|
|
840
|
+
readonly opfs_wipeFiles: () => any;
|
|
841
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
842
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
843
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
844
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
845
|
+
readonly opfs_getFileCount: () => number;
|
|
846
|
+
readonly opfs_getCapacity: () => number;
|
|
847
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
848
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
919
849
|
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
920
850
|
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
921
851
|
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
@@ -935,40 +865,36 @@ export interface InitOutput {
|
|
|
935
865
|
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
936
866
|
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
937
867
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
868
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
869
|
+
readonly streamcloser_end: (a: number) => void;
|
|
870
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
871
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
872
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
938
873
|
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
939
874
|
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
940
875
|
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
941
876
|
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
942
877
|
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
943
|
-
readonly
|
|
944
|
-
readonly
|
|
878
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
879
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
880
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
945
881
|
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
946
882
|
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
947
883
|
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
948
|
-
readonly
|
|
884
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
885
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
886
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
949
887
|
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
950
888
|
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
951
889
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
952
890
|
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
953
891
|
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
954
|
-
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
955
|
-
readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
|
|
956
|
-
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
957
|
-
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
958
|
-
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
959
|
-
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
960
892
|
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
961
893
|
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
962
894
|
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
963
895
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
964
896
|
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
965
897
|
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
966
|
-
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
967
|
-
readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
|
|
968
|
-
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
969
|
-
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
970
|
-
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
971
|
-
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
972
898
|
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
973
899
|
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
974
900
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
@@ -978,7 +904,27 @@ export interface InitOutput {
|
|
|
978
904
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
979
905
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
980
906
|
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
907
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
981
908
|
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
909
|
+
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
910
|
+
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
911
|
+
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
912
|
+
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
913
|
+
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
914
|
+
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
915
|
+
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
916
|
+
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
917
|
+
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
918
|
+
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
919
|
+
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
920
|
+
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
921
|
+
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
922
|
+
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
923
|
+
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
924
|
+
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
925
|
+
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
926
|
+
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
927
|
+
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
982
928
|
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
983
929
|
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
984
930
|
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -1000,6 +946,64 @@ export interface InitOutput {
|
|
|
1000
946
|
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
1001
947
|
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
1002
948
|
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
949
|
+
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
950
|
+
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
951
|
+
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
952
|
+
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
953
|
+
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
954
|
+
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
955
|
+
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
956
|
+
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
957
|
+
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
958
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
959
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
960
|
+
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
961
|
+
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
962
|
+
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
963
|
+
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
964
|
+
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
965
|
+
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
966
|
+
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
967
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
968
|
+
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
969
|
+
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
970
|
+
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
971
|
+
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
972
|
+
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
973
|
+
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
974
|
+
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;
|
|
975
|
+
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
976
|
+
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
977
|
+
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
978
|
+
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
979
|
+
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
980
|
+
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
981
|
+
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
982
|
+
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
983
|
+
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
984
|
+
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
985
|
+
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
986
|
+
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
987
|
+
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
988
|
+
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
989
|
+
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
990
|
+
readonly createClient: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number) => any;
|
|
991
|
+
readonly client_accountIdentifier: (a: number) => any;
|
|
992
|
+
readonly client_inboxId: (a: number) => [number, number];
|
|
993
|
+
readonly client_isRegistered: (a: number) => number;
|
|
994
|
+
readonly client_installationId: (a: number) => [number, number];
|
|
995
|
+
readonly client_installationIdBytes: (a: number) => any;
|
|
996
|
+
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
997
|
+
readonly client_sendSyncRequest: (a: number) => any;
|
|
998
|
+
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
999
|
+
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
1000
|
+
readonly client_conversations: (a: number) => number;
|
|
1001
|
+
readonly client_syncPreferences: (a: number) => any;
|
|
1002
|
+
readonly client_apiStatistics: (a: number) => number;
|
|
1003
|
+
readonly client_apiIdentityStatistics: (a: number) => number;
|
|
1004
|
+
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
1005
|
+
readonly client_clearAllStatistics: (a: number) => void;
|
|
1006
|
+
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
1003
1007
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
1004
1008
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
1005
1009
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -1032,6 +1036,7 @@ export interface InitOutput {
|
|
|
1032
1036
|
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
1033
1037
|
readonly intounderlyingsink_close: (a: number) => any;
|
|
1034
1038
|
readonly intounderlyingsink_abort: (a: number, b: any) => any;
|
|
1039
|
+
readonly task_worker_entry_point: (a: number) => [number, number];
|
|
1035
1040
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
1036
1041
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
1037
1042
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
@@ -1041,10 +1046,10 @@ export interface InitOutput {
|
|
|
1041
1046
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1042
1047
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
1043
1048
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1044
|
-
readonly
|
|
1045
|
-
readonly closure4991_externref_shim: (a: number, b: number, c: any) => void;
|
|
1049
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h42782d8d6f6b94ef: (a: number, b: number) => void;
|
|
1046
1050
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h912129f7a2cf8b7b: (a: number, b: number) => void;
|
|
1047
|
-
readonly
|
|
1051
|
+
readonly closure5017_externref_shim: (a: number, b: number, c: any) => void;
|
|
1052
|
+
readonly closure5960_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1048
1053
|
readonly __wbindgen_start: () => void;
|
|
1049
1054
|
}
|
|
1050
1055
|
|