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