@xmtp/wasm-bindings 1.2.0-dev.cae98b4 → 1.2.0-rc1
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/README.md +6 -2
- package/dist/bindings_wasm.d.ts +245 -212
- package/dist/bindings_wasm.js +359 -244
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +203 -183
- package/dist/version.json +3 -3
- package/package.json +2 -2
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>;
|
|
3
6
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
4
7
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
5
8
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
6
9
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
7
10
|
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,
|
|
@@ -43,6 +43,7 @@ export enum GroupMembershipState {
|
|
|
43
43
|
Allowed = 0,
|
|
44
44
|
Rejected = 1,
|
|
45
45
|
Pending = 2,
|
|
46
|
+
Restored = 3,
|
|
46
47
|
}
|
|
47
48
|
export enum GroupMessageKind {
|
|
48
49
|
Application = 0,
|
|
@@ -117,36 +118,13 @@ export interface Identifier {
|
|
|
117
118
|
|
|
118
119
|
export type IdentifierKind = "Ethereum" | "Passkey";
|
|
119
120
|
|
|
120
|
-
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
121
|
+
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[]; cycled_at_ns: number };
|
|
121
122
|
|
|
122
123
|
export class Client {
|
|
123
124
|
private constructor();
|
|
124
125
|
free(): void;
|
|
125
126
|
setConsentStates(records: Consent[]): Promise<void>;
|
|
126
127
|
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;
|
|
139
|
-
/**
|
|
140
|
-
* Output booleans should be zipped with the index of input identifiers
|
|
141
|
-
*/
|
|
142
|
-
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
143
|
-
registerIdentity(): Promise<void>;
|
|
144
|
-
sendHistorySyncRequest(): Promise<void>;
|
|
145
|
-
sendConsentSyncRequest(): Promise<void>;
|
|
146
|
-
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
147
|
-
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
148
|
-
conversations(): Conversations;
|
|
149
|
-
syncPreferences(): Promise<number>;
|
|
150
128
|
/**
|
|
151
129
|
*
|
|
152
130
|
* * Get the client's inbox state.
|
|
@@ -165,6 +143,28 @@ export class Client {
|
|
|
165
143
|
*
|
|
166
144
|
*/
|
|
167
145
|
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;
|
|
@@ -237,6 +237,15 @@ export class Conversation {
|
|
|
237
237
|
messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
238
238
|
isMessageDisappearingEnabled(): boolean;
|
|
239
239
|
getHmacKeys(): any;
|
|
240
|
+
getDebugInfo(): Promise<any>;
|
|
241
|
+
findDuplicateDms(): Promise<Conversation[]>;
|
|
242
|
+
}
|
|
243
|
+
export class ConversationDebugInfo {
|
|
244
|
+
private constructor();
|
|
245
|
+
free(): void;
|
|
246
|
+
epoch: bigint;
|
|
247
|
+
maybeForked: boolean;
|
|
248
|
+
forkDetails: string;
|
|
240
249
|
}
|
|
241
250
|
export class ConversationListItem {
|
|
242
251
|
free(): void;
|
|
@@ -248,6 +257,7 @@ export class ConversationListItem {
|
|
|
248
257
|
export class Conversations {
|
|
249
258
|
private constructor();
|
|
250
259
|
free(): void;
|
|
260
|
+
createGroupOptimistic(options?: CreateGroupOptions | null): Conversation;
|
|
251
261
|
createGroup(account_identifiers: Identifier[], options?: CreateGroupOptions | null): Promise<Conversation>;
|
|
252
262
|
createGroupByInboxIds(inbox_ids: string[], options?: CreateGroupOptions | null): Promise<Conversation>;
|
|
253
263
|
createDm(account_identifier: Identifier, options?: CreateDMOptions | null): Promise<Conversation>;
|
|
@@ -257,6 +267,7 @@ export class Conversations {
|
|
|
257
267
|
findMessageById(message_id: string): Message;
|
|
258
268
|
sync(): Promise<void>;
|
|
259
269
|
syncAllConversations(consent_states?: any[] | null): Promise<number>;
|
|
270
|
+
syncDeviceSync(): Promise<void>;
|
|
260
271
|
list(opts?: ListConversationsOptions | null): Array<any>;
|
|
261
272
|
listGroups(opts?: ListConversationsOptions | null): Array<any>;
|
|
262
273
|
listDms(opts?: ListConversationsOptions | null): Array<any>;
|
|
@@ -264,7 +275,7 @@ export class Conversations {
|
|
|
264
275
|
stream(callback: any, conversation_type?: ConversationType | null): StreamCloser;
|
|
265
276
|
streamGroups(callback: any): StreamCloser;
|
|
266
277
|
streamDms(callback: any): StreamCloser;
|
|
267
|
-
streamAllMessages(callback: any, conversation_type?: ConversationType | null): StreamCloser;
|
|
278
|
+
streamAllMessages(callback: any, conversation_type?: ConversationType | null, consent_states?: any[] | null): StreamCloser;
|
|
268
279
|
streamConsent(callback: any): StreamCloser;
|
|
269
280
|
streamPreferences(callback: any): StreamCloser;
|
|
270
281
|
}
|
|
@@ -396,7 +407,7 @@ export class ListConversationsOptions {
|
|
|
396
407
|
}
|
|
397
408
|
export class ListMessagesOptions {
|
|
398
409
|
free(): void;
|
|
399
|
-
constructor(sent_before_ns?: bigint | null, sent_after_ns?: bigint | null, limit?: bigint | null, delivery_status?: DeliveryStatus | null, direction?: SortDirection | null, content_types?: any[] | null);
|
|
410
|
+
constructor(sent_before_ns?: bigint | null, sent_after_ns?: bigint | null, limit?: bigint | null, delivery_status?: DeliveryStatus | null, direction?: SortDirection | null, content_types?: any[] | null, kind?: GroupMessageKind | null);
|
|
400
411
|
get contentTypes(): any[] | undefined;
|
|
401
412
|
set contentTypes(value: any[] | null | undefined);
|
|
402
413
|
get sentBeforeNs(): bigint | undefined;
|
|
@@ -409,6 +420,8 @@ export class ListMessagesOptions {
|
|
|
409
420
|
set deliveryStatus(value: DeliveryStatus | null | undefined);
|
|
410
421
|
get direction(): SortDirection | undefined;
|
|
411
422
|
set direction(value: SortDirection | null | undefined);
|
|
423
|
+
get kind(): GroupMessageKind | undefined;
|
|
424
|
+
set kind(value: GroupMessageKind | null | undefined);
|
|
412
425
|
}
|
|
413
426
|
/**
|
|
414
427
|
* Specify options for the logger
|
|
@@ -568,6 +581,114 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
568
581
|
|
|
569
582
|
export interface InitOutput {
|
|
570
583
|
readonly memory: WebAssembly.Memory;
|
|
584
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
585
|
+
readonly streamcloser_end: (a: number) => void;
|
|
586
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
587
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
588
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
589
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
590
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
591
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
592
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
593
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
594
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
595
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
596
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
597
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
598
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
599
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
600
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
601
|
+
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
602
|
+
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
603
|
+
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
604
|
+
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
605
|
+
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
606
|
+
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
607
|
+
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
608
|
+
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
609
|
+
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
610
|
+
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
611
|
+
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
612
|
+
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
613
|
+
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
614
|
+
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
615
|
+
readonly conversation_id: (a: number) => [number, number];
|
|
616
|
+
readonly conversation_send: (a: number, b: number) => any;
|
|
617
|
+
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
618
|
+
readonly conversation_publishMessages: (a: number) => any;
|
|
619
|
+
readonly conversation_sync: (a: number) => any;
|
|
620
|
+
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
621
|
+
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
622
|
+
readonly conversation_listMembers: (a: number) => any;
|
|
623
|
+
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
624
|
+
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
625
|
+
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
626
|
+
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
627
|
+
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
628
|
+
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
629
|
+
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
630
|
+
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
631
|
+
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
632
|
+
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
633
|
+
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
634
|
+
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
635
|
+
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
636
|
+
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
637
|
+
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
638
|
+
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
639
|
+
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
640
|
+
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
641
|
+
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
642
|
+
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
643
|
+
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
644
|
+
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
645
|
+
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
646
|
+
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
647
|
+
readonly conversation_groupMetadata: (a: number) => any;
|
|
648
|
+
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
649
|
+
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
650
|
+
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
651
|
+
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
652
|
+
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
653
|
+
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
654
|
+
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
655
|
+
readonly conversation_getDebugInfo: (a: number) => any;
|
|
656
|
+
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
657
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
658
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
659
|
+
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
660
|
+
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
661
|
+
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
662
|
+
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
663
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
664
|
+
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
665
|
+
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
666
|
+
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
667
|
+
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
668
|
+
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
669
|
+
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
670
|
+
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
671
|
+
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
672
|
+
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
673
|
+
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
674
|
+
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
675
|
+
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
676
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
677
|
+
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
678
|
+
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
679
|
+
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
680
|
+
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
681
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
682
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
683
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
684
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
685
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
686
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
687
|
+
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
688
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
689
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
690
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
691
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
571
692
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
572
693
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
573
694
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -584,6 +705,13 @@ export interface InitOutput {
|
|
|
584
705
|
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
585
706
|
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
586
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;
|
|
587
715
|
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
588
716
|
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
589
717
|
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
@@ -602,9 +730,6 @@ export interface InitOutput {
|
|
|
602
730
|
readonly createdmoptions_new: (a: number) => number;
|
|
603
731
|
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
604
732
|
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
605
|
-
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
606
|
-
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
607
|
-
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
608
733
|
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
609
734
|
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
610
735
|
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
@@ -612,6 +737,7 @@ export interface InitOutput {
|
|
|
612
737
|
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
613
738
|
readonly conversationlistitem_new: (a: number, b: number) => number;
|
|
614
739
|
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
740
|
+
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
615
741
|
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
616
742
|
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
617
743
|
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
@@ -621,6 +747,7 @@ export interface InitOutput {
|
|
|
621
747
|
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
622
748
|
readonly conversations_sync: (a: number) => any;
|
|
623
749
|
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
750
|
+
readonly conversations_syncDeviceSync: (a: number) => any;
|
|
624
751
|
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
625
752
|
readonly conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
626
753
|
readonly conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
@@ -628,7 +755,7 @@ export interface InitOutput {
|
|
|
628
755
|
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
629
756
|
readonly conversations_streamGroups: (a: number, b: any) => [number, number, number];
|
|
630
757
|
readonly conversations_streamDms: (a: number, b: any) => [number, number, number];
|
|
631
|
-
readonly conversations_streamAllMessages: (a: number, b: any, c: number) => [number, number, number];
|
|
758
|
+
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
632
759
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
633
760
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
634
761
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
@@ -638,7 +765,9 @@ export interface InitOutput {
|
|
|
638
765
|
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
639
766
|
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
640
767
|
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
641
|
-
readonly
|
|
768
|
+
readonly __wbg_get_listmessagesoptions_kind: (a: number) => number;
|
|
769
|
+
readonly __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
|
|
770
|
+
readonly listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigint, e: number, f: bigint, g: number, h: number, i: number, j: number, k: number) => number;
|
|
642
771
|
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
643
772
|
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
644
773
|
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
@@ -658,54 +787,44 @@ export interface InitOutput {
|
|
|
658
787
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
659
788
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
660
789
|
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];
|
|
661
794
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
795
|
+
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
662
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;
|
|
663
799
|
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
664
800
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
665
801
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
666
|
-
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
667
802
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
803
|
+
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
668
804
|
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
669
|
-
readonly
|
|
670
|
-
readonly
|
|
671
|
-
readonly
|
|
672
|
-
readonly
|
|
673
|
-
readonly
|
|
674
|
-
readonly
|
|
675
|
-
readonly
|
|
676
|
-
readonly
|
|
677
|
-
readonly
|
|
678
|
-
readonly
|
|
679
|
-
readonly
|
|
680
|
-
readonly
|
|
681
|
-
readonly
|
|
682
|
-
readonly
|
|
683
|
-
readonly
|
|
684
|
-
readonly
|
|
685
|
-
readonly
|
|
686
|
-
readonly
|
|
687
|
-
readonly
|
|
688
|
-
readonly
|
|
689
|
-
readonly
|
|
690
|
-
readonly
|
|
691
|
-
readonly __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];
|
|
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;
|
|
706
827
|
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
828
|
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
710
829
|
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
711
830
|
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
@@ -728,8 +847,6 @@ export interface InitOutput {
|
|
|
728
847
|
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
729
848
|
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
730
849
|
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
850
|
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
734
851
|
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
735
852
|
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
@@ -739,106 +856,6 @@ export interface InitOutput {
|
|
|
739
856
|
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
740
857
|
readonly encodeReaction: (a: number) => [number, number, number];
|
|
741
858
|
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
859
|
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
843
860
|
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
844
861
|
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
@@ -861,39 +878,6 @@ export interface InitOutput {
|
|
|
861
878
|
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
862
879
|
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
863
880
|
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
881
|
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
898
882
|
readonly opfs_init_sqlite_opfs: () => any;
|
|
899
883
|
readonly opfs_exists: () => number;
|
|
@@ -907,6 +891,55 @@ export interface InitOutput {
|
|
|
907
891
|
readonly opfs_getCapacity: () => number;
|
|
908
892
|
readonly opfs_addCapacity: (a: number) => any;
|
|
909
893
|
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
|
+
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
936
|
+
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
937
|
+
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
938
|
+
readonly rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
|
|
939
|
+
readonly rust_zstd_wasm_shim_free: (a: number) => void;
|
|
940
|
+
readonly rust_zstd_wasm_shim_memcpy: (a: number, b: number, c: number) => number;
|
|
941
|
+
readonly rust_zstd_wasm_shim_memmove: (a: number, b: number, c: number) => number;
|
|
942
|
+
readonly rust_zstd_wasm_shim_memset: (a: number, b: number, c: number) => number;
|
|
910
943
|
readonly rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
911
944
|
readonly rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
912
945
|
readonly rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
@@ -938,10 +971,10 @@ export interface InitOutput {
|
|
|
938
971
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
939
972
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215: (a: number, b: number) => void;
|
|
940
973
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h89dafc0baf46c12b: (a: number, b: number) => void;
|
|
941
|
-
readonly
|
|
974
|
+
readonly closure4460_externref_shim: (a: number, b: number, c: any) => void;
|
|
942
975
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a: (a: number, b: number) => void;
|
|
943
|
-
readonly
|
|
944
|
-
readonly
|
|
976
|
+
readonly closure5467_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
977
|
+
readonly closure5466_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
945
978
|
readonly __wbindgen_start: () => void;
|
|
946
979
|
}
|
|
947
980
|
|