@xmtp/wasm-bindings 1.2.0-rc1 → 1.2.0-rc3
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 +238 -241
- package/dist/bindings_wasm.js +256 -295
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +207 -209
- 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 getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
4
|
-
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
5
|
-
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
3
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
7
4
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
8
5
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
9
6
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
10
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>;
|
|
9
|
+
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
10
|
+
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
11
11
|
export enum ConsentEntityType {
|
|
12
12
|
GroupId = 0,
|
|
13
13
|
InboxId = 1,
|
|
@@ -118,11 +118,33 @@ export interface Identifier {
|
|
|
118
118
|
|
|
119
119
|
export type IdentifierKind = "Ethereum" | "Passkey";
|
|
120
120
|
|
|
121
|
-
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[]
|
|
121
|
+
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
122
122
|
|
|
123
123
|
export class Client {
|
|
124
124
|
private constructor();
|
|
125
125
|
free(): void;
|
|
126
|
+
createInboxSignatureText(): string | undefined;
|
|
127
|
+
addWalletSignatureText(new_identifier: Identifier): Promise<string>;
|
|
128
|
+
revokeWalletSignatureText(identifier: Identifier): Promise<string>;
|
|
129
|
+
revokeAllOtherInstallationsSignatureText(): Promise<string>;
|
|
130
|
+
revokeInstallationsSignatureText(installation_ids: Uint8Array[]): Promise<string>;
|
|
131
|
+
changeRecoveryIdentifierSignatureText(new_recovery_identifier: Identifier): Promise<string>;
|
|
132
|
+
addEcdsaSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array): Promise<void>;
|
|
133
|
+
addPasskeySignature(signature_type: SignatureRequestType, signature: PasskeySignature): Promise<void>;
|
|
134
|
+
addScwSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array, chain_id: bigint, block_number?: bigint | null): Promise<void>;
|
|
135
|
+
applySignatureRequests(): Promise<void>;
|
|
136
|
+
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
137
|
+
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
138
|
+
/**
|
|
139
|
+
* Output booleans should be zipped with the index of input identifiers
|
|
140
|
+
*/
|
|
141
|
+
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
142
|
+
registerIdentity(): Promise<void>;
|
|
143
|
+
sendSyncRequest(): Promise<void>;
|
|
144
|
+
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
145
|
+
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
146
|
+
conversations(): Conversations;
|
|
147
|
+
syncPreferences(): Promise<number>;
|
|
126
148
|
setConsentStates(records: Consent[]): Promise<void>;
|
|
127
149
|
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
128
150
|
/**
|
|
@@ -143,28 +165,6 @@ export class Client {
|
|
|
143
165
|
*
|
|
144
166
|
*/
|
|
145
167
|
getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
|
|
146
|
-
/**
|
|
147
|
-
* Output booleans should be zipped with the index of input identifiers
|
|
148
|
-
*/
|
|
149
|
-
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
150
|
-
registerIdentity(): Promise<void>;
|
|
151
|
-
sendSyncRequest(): Promise<void>;
|
|
152
|
-
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
153
|
-
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
154
|
-
conversations(): Conversations;
|
|
155
|
-
syncPreferences(): Promise<number>;
|
|
156
|
-
createInboxSignatureText(): string | undefined;
|
|
157
|
-
addWalletSignatureText(new_identifier: Identifier): Promise<string>;
|
|
158
|
-
revokeWalletSignatureText(identifier: Identifier): Promise<string>;
|
|
159
|
-
revokeAllOtherInstallationsSignatureText(): Promise<string>;
|
|
160
|
-
revokeInstallationsSignatureText(installation_ids: Uint8Array[]): Promise<string>;
|
|
161
|
-
changeRecoveryIdentifierSignatureText(new_recovery_identifier: Identifier): Promise<string>;
|
|
162
|
-
addEcdsaSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array): Promise<void>;
|
|
163
|
-
addPasskeySignature(signature_type: SignatureRequestType, signature: PasskeySignature): Promise<void>;
|
|
164
|
-
addScwSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array, chain_id: bigint, block_number?: bigint | null): Promise<void>;
|
|
165
|
-
applySignatureRequests(): Promise<void>;
|
|
166
|
-
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
167
|
-
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
168
168
|
readonly accountIdentifier: Identifier;
|
|
169
169
|
readonly inboxId: string;
|
|
170
170
|
readonly isRegistered: boolean;
|
|
@@ -269,12 +269,8 @@ export class Conversations {
|
|
|
269
269
|
syncAllConversations(consent_states?: any[] | null): Promise<number>;
|
|
270
270
|
syncDeviceSync(): Promise<void>;
|
|
271
271
|
list(opts?: ListConversationsOptions | null): Array<any>;
|
|
272
|
-
listGroups(opts?: ListConversationsOptions | null): Array<any>;
|
|
273
|
-
listDms(opts?: ListConversationsOptions | null): Array<any>;
|
|
274
272
|
getHmacKeys(): any;
|
|
275
273
|
stream(callback: any, conversation_type?: ConversationType | null): StreamCloser;
|
|
276
|
-
streamGroups(callback: any): StreamCloser;
|
|
277
|
-
streamDms(callback: any): StreamCloser;
|
|
278
274
|
streamAllMessages(callback: any, conversation_type?: ConversationType | null, consent_states?: any[] | null): StreamCloser;
|
|
279
275
|
streamConsent(callback: any): StreamCloser;
|
|
280
276
|
streamPreferences(callback: any): StreamCloser;
|
|
@@ -394,14 +390,17 @@ export class Lifetime {
|
|
|
394
390
|
}
|
|
395
391
|
export class ListConversationsOptions {
|
|
396
392
|
free(): void;
|
|
397
|
-
constructor(consent_states
|
|
393
|
+
constructor(consent_states?: any[] | null, conversation_type?: ConversationType | null, created_after_ns?: bigint | null, created_before_ns?: bigint | null, include_duplicate_dms?: boolean | null, limit?: bigint | null);
|
|
398
394
|
get consentStates(): any[] | undefined;
|
|
399
395
|
set consentStates(value: any[] | null | undefined);
|
|
396
|
+
get conversationType(): ConversationType | undefined;
|
|
397
|
+
set conversationType(value: ConversationType | null | undefined);
|
|
400
398
|
get createdAfterNs(): bigint | undefined;
|
|
401
399
|
set createdAfterNs(value: bigint | null | undefined);
|
|
402
400
|
get createdBeforeNs(): bigint | undefined;
|
|
403
401
|
set createdBeforeNs(value: bigint | null | undefined);
|
|
404
|
-
includeDuplicateDms: boolean;
|
|
402
|
+
get includeDuplicateDms(): boolean | undefined;
|
|
403
|
+
set includeDuplicateDms(value: boolean | null | undefined);
|
|
405
404
|
get limit(): bigint | undefined;
|
|
406
405
|
set limit(value: bigint | null | undefined);
|
|
407
406
|
}
|
|
@@ -581,11 +580,197 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
581
580
|
|
|
582
581
|
export interface InitOutput {
|
|
583
582
|
readonly memory: WebAssembly.Memory;
|
|
584
|
-
readonly
|
|
585
|
-
readonly
|
|
586
|
-
readonly
|
|
587
|
-
readonly
|
|
588
|
-
readonly
|
|
583
|
+
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
584
|
+
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
585
|
+
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
586
|
+
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
587
|
+
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
588
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
589
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
590
|
+
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
591
|
+
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
592
|
+
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
593
|
+
readonly __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
594
|
+
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
595
|
+
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
596
|
+
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
597
|
+
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
598
|
+
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
599
|
+
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
600
|
+
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
601
|
+
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
602
|
+
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
603
|
+
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
604
|
+
readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
605
|
+
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
606
|
+
readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
607
|
+
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
608
|
+
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
609
|
+
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
610
|
+
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
611
|
+
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
612
|
+
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
613
|
+
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
614
|
+
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
615
|
+
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
616
|
+
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
617
|
+
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
618
|
+
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
619
|
+
readonly __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
620
|
+
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
621
|
+
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
622
|
+
readonly createdmoptions_new: (a: number) => number;
|
|
623
|
+
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
624
|
+
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
625
|
+
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
626
|
+
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
627
|
+
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
628
|
+
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
629
|
+
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
630
|
+
readonly conversationlistitem_new: (a: number, b: number) => number;
|
|
631
|
+
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
632
|
+
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
633
|
+
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
634
|
+
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
635
|
+
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
636
|
+
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
637
|
+
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
638
|
+
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
639
|
+
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
640
|
+
readonly conversations_sync: (a: number) => any;
|
|
641
|
+
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
642
|
+
readonly conversations_syncDeviceSync: (a: number) => any;
|
|
643
|
+
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
644
|
+
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
645
|
+
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
646
|
+
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
647
|
+
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
648
|
+
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
649
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
650
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
651
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
652
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
653
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
654
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
655
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
656
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
657
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
658
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
659
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
660
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
661
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
662
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
663
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
664
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
665
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
666
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
667
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
668
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
669
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
670
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
671
|
+
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
672
|
+
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
673
|
+
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
674
|
+
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
675
|
+
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
676
|
+
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
677
|
+
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
678
|
+
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
679
|
+
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
680
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
681
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
682
|
+
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
683
|
+
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
684
|
+
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
685
|
+
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
686
|
+
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
687
|
+
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
688
|
+
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
689
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
690
|
+
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
691
|
+
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
692
|
+
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
693
|
+
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
694
|
+
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
695
|
+
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
696
|
+
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;
|
|
697
|
+
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
698
|
+
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
699
|
+
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
700
|
+
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
701
|
+
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
702
|
+
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
703
|
+
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
704
|
+
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
705
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
706
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
707
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
708
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
709
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
710
|
+
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
711
|
+
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
712
|
+
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
713
|
+
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
714
|
+
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
715
|
+
readonly encodeReaction: (a: number) => [number, number, number];
|
|
716
|
+
readonly decodeReaction: (a: any) => [number, number, number];
|
|
717
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
718
|
+
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
719
|
+
readonly client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
720
|
+
readonly client_addWalletSignatureText: (a: number, b: any) => any;
|
|
721
|
+
readonly client_revokeWalletSignatureText: (a: number, b: any) => any;
|
|
722
|
+
readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
723
|
+
readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
724
|
+
readonly client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
|
|
725
|
+
readonly client_addEcdsaSignature: (a: number, b: number, c: any) => any;
|
|
726
|
+
readonly client_addPasskeySignature: (a: number, b: number, c: number) => any;
|
|
727
|
+
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
728
|
+
readonly client_applySignatureRequests: (a: number) => any;
|
|
729
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
730
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
731
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
732
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
733
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
734
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
735
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
736
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
737
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
738
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
739
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
740
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
741
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
742
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
743
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
744
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
745
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
746
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
747
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
748
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
749
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
750
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
751
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
752
|
+
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
753
|
+
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
754
|
+
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
755
|
+
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
756
|
+
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
757
|
+
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
758
|
+
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
759
|
+
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
760
|
+
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
761
|
+
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;
|
|
762
|
+
readonly client_accountIdentifier: (a: number) => any;
|
|
763
|
+
readonly client_inboxId: (a: number) => [number, number];
|
|
764
|
+
readonly client_isRegistered: (a: number) => number;
|
|
765
|
+
readonly client_installationId: (a: number) => [number, number];
|
|
766
|
+
readonly client_installationIdBytes: (a: number) => any;
|
|
767
|
+
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
768
|
+
readonly client_registerIdentity: (a: number) => any;
|
|
769
|
+
readonly client_sendSyncRequest: (a: number) => any;
|
|
770
|
+
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
771
|
+
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
772
|
+
readonly client_conversations: (a: number) => number;
|
|
773
|
+
readonly client_syncPreferences: (a: number) => any;
|
|
589
774
|
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
590
775
|
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
591
776
|
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
@@ -685,82 +870,24 @@ export interface InitOutput {
|
|
|
685
870
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
686
871
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
687
872
|
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
873
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
874
|
+
readonly streamcloser_end: (a: number) => void;
|
|
875
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
876
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
877
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
688
878
|
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
689
879
|
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
690
880
|
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
691
881
|
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
692
|
-
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
693
|
-
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
694
|
-
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
695
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
696
|
-
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
697
|
-
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
698
|
-
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
699
|
-
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
700
|
-
readonly __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
701
|
-
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
702
|
-
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
703
|
-
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: bigint, e: number, f: bigint, g: number, h: number, i: bigint) => number;
|
|
704
|
-
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
705
|
-
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
706
|
-
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
707
|
-
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
708
|
-
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
709
|
-
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
710
|
-
readonly __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
711
|
-
readonly __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
712
|
-
readonly __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
713
|
-
readonly __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
714
|
-
readonly __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
715
|
-
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
716
|
-
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
717
|
-
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
718
|
-
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
719
|
-
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
720
|
-
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
721
|
-
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
722
|
-
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
723
|
-
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
724
|
-
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
725
|
-
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
726
|
-
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
727
|
-
readonly __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
728
|
-
readonly __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
729
|
-
readonly __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
730
|
-
readonly createdmoptions_new: (a: number) => number;
|
|
731
|
-
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
732
|
-
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
733
|
-
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
734
|
-
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
735
|
-
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
736
|
-
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
737
|
-
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
738
|
-
readonly conversationlistitem_new: (a: number, b: number) => number;
|
|
739
|
-
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
740
|
-
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
741
|
-
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
742
|
-
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
743
|
-
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
744
|
-
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
745
|
-
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
746
|
-
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
747
|
-
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
748
|
-
readonly conversations_sync: (a: number) => any;
|
|
749
|
-
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
750
|
-
readonly conversations_syncDeviceSync: (a: number) => any;
|
|
751
|
-
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
752
|
-
readonly conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
753
|
-
readonly conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
754
|
-
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
755
|
-
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
756
|
-
readonly conversations_streamGroups: (a: number, b: any) => [number, number, number];
|
|
757
|
-
readonly conversations_streamDms: (a: number, b: any) => [number, number, number];
|
|
758
|
-
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
759
|
-
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
760
|
-
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
761
882
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
762
883
|
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
763
884
|
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
885
|
+
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
886
|
+
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
887
|
+
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
888
|
+
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
889
|
+
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
890
|
+
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
764
891
|
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
765
892
|
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
766
893
|
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
@@ -771,6 +898,8 @@ export interface InitOutput {
|
|
|
771
898
|
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
772
899
|
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
773
900
|
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
901
|
+
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
902
|
+
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
774
903
|
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
775
904
|
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
776
905
|
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
@@ -787,97 +916,6 @@ export interface InitOutput {
|
|
|
787
916
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
788
917
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
789
918
|
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
790
|
-
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
791
|
-
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
792
|
-
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
793
|
-
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
794
|
-
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
795
|
-
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
796
|
-
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
797
|
-
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
798
|
-
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
799
|
-
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
800
|
-
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
801
|
-
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
802
|
-
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
803
|
-
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
804
|
-
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
805
|
-
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
806
|
-
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
807
|
-
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
808
|
-
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
809
|
-
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
810
|
-
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
811
|
-
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
812
|
-
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
813
|
-
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
814
|
-
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;
|
|
815
|
-
readonly client_accountIdentifier: (a: number) => any;
|
|
816
|
-
readonly client_inboxId: (a: number) => [number, number];
|
|
817
|
-
readonly client_isRegistered: (a: number) => number;
|
|
818
|
-
readonly client_installationId: (a: number) => [number, number];
|
|
819
|
-
readonly client_installationIdBytes: (a: number) => any;
|
|
820
|
-
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
821
|
-
readonly client_registerIdentity: (a: number) => any;
|
|
822
|
-
readonly client_sendSyncRequest: (a: number) => any;
|
|
823
|
-
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
824
|
-
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
825
|
-
readonly client_conversations: (a: number) => number;
|
|
826
|
-
readonly client_syncPreferences: (a: number) => any;
|
|
827
|
-
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
828
|
-
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
829
|
-
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
830
|
-
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
831
|
-
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
832
|
-
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
833
|
-
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
834
|
-
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
835
|
-
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
836
|
-
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
837
|
-
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
838
|
-
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
839
|
-
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
840
|
-
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
841
|
-
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
842
|
-
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;
|
|
843
|
-
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
844
|
-
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
845
|
-
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
846
|
-
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
847
|
-
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
848
|
-
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
849
|
-
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
850
|
-
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
851
|
-
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
852
|
-
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
853
|
-
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
854
|
-
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
855
|
-
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
856
|
-
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
857
|
-
readonly encodeReaction: (a: number) => [number, number, number];
|
|
858
|
-
readonly decodeReaction: (a: any) => [number, number, number];
|
|
859
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
860
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
861
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
862
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
863
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
864
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
865
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
866
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
867
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
868
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
869
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
870
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
871
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
872
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
873
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
874
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
875
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
876
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
877
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
878
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
879
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
880
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
881
919
|
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
882
920
|
readonly opfs_init_sqlite_opfs: () => any;
|
|
883
921
|
readonly opfs_exists: () => number;
|
|
@@ -891,47 +929,6 @@ export interface InitOutput {
|
|
|
891
929
|
readonly opfs_getCapacity: () => number;
|
|
892
930
|
readonly opfs_addCapacity: (a: number) => any;
|
|
893
931
|
readonly opfs_reduceCapacity: (a: number) => any;
|
|
894
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
895
|
-
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
896
|
-
readonly client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
897
|
-
readonly client_addWalletSignatureText: (a: number, b: any) => any;
|
|
898
|
-
readonly client_revokeWalletSignatureText: (a: number, b: any) => any;
|
|
899
|
-
readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
900
|
-
readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
901
|
-
readonly client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
|
|
902
|
-
readonly client_addEcdsaSignature: (a: number, b: number, c: any) => any;
|
|
903
|
-
readonly client_addPasskeySignature: (a: number, b: number, c: number) => any;
|
|
904
|
-
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
905
|
-
readonly client_applySignatureRequests: (a: number) => any;
|
|
906
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
907
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
908
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
909
|
-
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
910
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
911
|
-
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
912
|
-
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
913
|
-
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
914
|
-
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
915
|
-
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
916
|
-
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
917
|
-
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
918
|
-
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
919
|
-
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
920
|
-
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
921
|
-
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
922
|
-
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
923
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
924
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
925
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
926
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
927
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
928
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
929
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
930
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
931
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
932
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
933
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
934
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
935
932
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
936
933
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
937
934
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -971,10 +968,10 @@ export interface InitOutput {
|
|
|
971
968
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
972
969
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215: (a: number, b: number) => void;
|
|
973
970
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h89dafc0baf46c12b: (a: number, b: number) => void;
|
|
974
|
-
readonly
|
|
971
|
+
readonly closure4459_externref_shim: (a: number, b: number, c: any) => void;
|
|
975
972
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a: (a: number, b: number) => void;
|
|
976
|
-
readonly
|
|
977
|
-
readonly
|
|
973
|
+
readonly closure5466_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
974
|
+
readonly closure5465_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
978
975
|
readonly __wbindgen_start: () => void;
|
|
979
976
|
}
|
|
980
977
|
|