@xmtp/wasm-bindings 1.0.0-rc3 → 1.0.0
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 +258 -213
- package/dist/bindings_wasm.js +356 -325
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +188 -182
- 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 createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, history_sync_url?: string | null, log_options?: LogOptions | null): Promise<Client>;
|
|
4
|
-
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
5
3
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
6
4
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
7
5
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
8
6
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
7
|
+
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
9
8
|
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
10
9
|
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
10
|
+
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, history_sync_url?: string | null, log_options?: LogOptions | null): Promise<Client>;
|
|
11
11
|
export enum ConsentEntityType {
|
|
12
12
|
GroupId = 0,
|
|
13
13
|
InboxId = 1,
|
|
@@ -53,10 +53,6 @@ export enum GroupPermissionsOptions {
|
|
|
53
53
|
AdminOnly = 1,
|
|
54
54
|
CustomPolicy = 2,
|
|
55
55
|
}
|
|
56
|
-
export enum IdentifierKind {
|
|
57
|
-
Ethereum = 0,
|
|
58
|
-
Passkey = 1,
|
|
59
|
-
}
|
|
60
56
|
export enum MetadataField {
|
|
61
57
|
GroupName = 0,
|
|
62
58
|
Description = 1,
|
|
@@ -112,30 +108,18 @@ type LogLevel = "off" | "error" | "warn" | "info" | "debug" | "trace";
|
|
|
112
108
|
* *This API requires the following crate features to be activated: `ReadableStreamType`*
|
|
113
109
|
*/
|
|
114
110
|
type ReadableStreamType = "bytes";
|
|
111
|
+
export interface Identifier {
|
|
112
|
+
identifier: string;
|
|
113
|
+
identifierKind: IdentifierKind;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export type IdentifierKind = "Ethereum" | "Passkey";
|
|
117
|
+
|
|
115
118
|
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
116
119
|
|
|
117
120
|
export class Client {
|
|
118
121
|
private constructor();
|
|
119
122
|
free(): void;
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* * Get the client's inbox state.
|
|
123
|
-
* *
|
|
124
|
-
* * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
|
|
125
|
-
* * Otherwise, the state will be read from the local database.
|
|
126
|
-
*
|
|
127
|
-
*/
|
|
128
|
-
inboxState(refresh_from_network: boolean): Promise<InboxState>;
|
|
129
|
-
getLatestInboxState(inbox_id: string): Promise<InboxState>;
|
|
130
|
-
/**
|
|
131
|
-
* Output booleans should be zipped with the index of input identifiers
|
|
132
|
-
*/
|
|
133
|
-
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
134
|
-
registerIdentity(): Promise<void>;
|
|
135
|
-
sendHistorySyncRequest(): Promise<void>;
|
|
136
|
-
sendConsentSyncRequest(): Promise<void>;
|
|
137
|
-
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
138
|
-
conversations(): Conversations;
|
|
139
123
|
createInboxSignatureText(): string | undefined;
|
|
140
124
|
addWalletSignatureText(new_identifier: Identifier): Promise<string>;
|
|
141
125
|
revokeWalletSignatureText(identifier: Identifier): Promise<string>;
|
|
@@ -149,6 +133,25 @@ export class Client {
|
|
|
149
133
|
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
150
134
|
setConsentStates(records: Consent[]): Promise<void>;
|
|
151
135
|
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
136
|
+
/**
|
|
137
|
+
* Output booleans should be zipped with the index of input identifiers
|
|
138
|
+
*/
|
|
139
|
+
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
140
|
+
registerIdentity(): Promise<void>;
|
|
141
|
+
sendHistorySyncRequest(): Promise<void>;
|
|
142
|
+
sendConsentSyncRequest(): Promise<void>;
|
|
143
|
+
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
144
|
+
conversations(): Conversations;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* * Get the client's inbox state.
|
|
148
|
+
* *
|
|
149
|
+
* * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
|
|
150
|
+
* * Otherwise, the state will be read from the local database.
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
inboxState(refresh_from_network: boolean): Promise<InboxState>;
|
|
154
|
+
getLatestInboxState(inbox_id: string): Promise<InboxState>;
|
|
152
155
|
readonly accountIdentifier: Identifier;
|
|
153
156
|
readonly inboxId: string;
|
|
154
157
|
readonly isRegistered: boolean;
|
|
@@ -313,12 +316,6 @@ export class HmacKey {
|
|
|
313
316
|
key: Uint8Array;
|
|
314
317
|
epoch: bigint;
|
|
315
318
|
}
|
|
316
|
-
export class Identifier {
|
|
317
|
-
free(): void;
|
|
318
|
-
constructor(identifier: string, identifierKind: IdentifierKind);
|
|
319
|
-
identifier: string;
|
|
320
|
-
identifierKind: IdentifierKind;
|
|
321
|
-
}
|
|
322
319
|
export class InboxState {
|
|
323
320
|
free(): void;
|
|
324
321
|
constructor(inbox_id: string, recovery_identifier: Identifier, installations: Installation[], account_identifiers: Identifier[]);
|
|
@@ -437,6 +434,48 @@ export class MultiRemoteAttachment {
|
|
|
437
434
|
constructor(attachments: RemoteAttachmentInfo[]);
|
|
438
435
|
attachments: RemoteAttachmentInfo[];
|
|
439
436
|
}
|
|
437
|
+
export class Opfs {
|
|
438
|
+
private constructor();
|
|
439
|
+
free(): void;
|
|
440
|
+
/**
|
|
441
|
+
* Check if the global OPFS object has been initialized
|
|
442
|
+
*/
|
|
443
|
+
static exists(): boolean;
|
|
444
|
+
/**
|
|
445
|
+
* gets the error from Opfs, if any.
|
|
446
|
+
*/
|
|
447
|
+
static error(): string | undefined;
|
|
448
|
+
static wipeFiles(): Promise<void>;
|
|
449
|
+
/**
|
|
450
|
+
* If a virtual file exists with the given name, disassociates it from the pool and returns true, else returns false without side effects.
|
|
451
|
+
*/
|
|
452
|
+
static rm(name: string): boolean;
|
|
453
|
+
/**
|
|
454
|
+
* list files in current pool
|
|
455
|
+
*/
|
|
456
|
+
static getFileNames(): string[];
|
|
457
|
+
/**
|
|
458
|
+
* import a db file at 'path'
|
|
459
|
+
*/
|
|
460
|
+
static importDb(path: string, bytes: Uint8Array): void;
|
|
461
|
+
/**
|
|
462
|
+
* export db file with 'name'
|
|
463
|
+
*/
|
|
464
|
+
static exportFile(name: string): Uint8Array;
|
|
465
|
+
/**
|
|
466
|
+
* get number of files in pool
|
|
467
|
+
*/
|
|
468
|
+
static getFileCount(): number;
|
|
469
|
+
static getCapacity(): number;
|
|
470
|
+
/**
|
|
471
|
+
* Adds n entries to the current pool.
|
|
472
|
+
*/
|
|
473
|
+
static addCapacity(n: number): Promise<number>;
|
|
474
|
+
/**
|
|
475
|
+
* Removes up to n entries from the pool, with the caveat that it can only remove currently-unused entries.
|
|
476
|
+
*/
|
|
477
|
+
static reduceCapacity(n: number): Promise<number>;
|
|
478
|
+
}
|
|
440
479
|
export class PasskeySignature {
|
|
441
480
|
private constructor();
|
|
442
481
|
free(): void;
|
|
@@ -501,9 +540,156 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
501
540
|
|
|
502
541
|
export interface InitOutput {
|
|
503
542
|
readonly memory: WebAssembly.Memory;
|
|
543
|
+
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
544
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
545
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
546
|
+
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
547
|
+
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
548
|
+
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
549
|
+
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
550
|
+
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
551
|
+
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
552
|
+
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
553
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
554
|
+
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
555
|
+
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
556
|
+
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
557
|
+
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
558
|
+
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
559
|
+
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
560
|
+
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;
|
|
561
|
+
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
562
|
+
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
563
|
+
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
564
|
+
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
565
|
+
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
566
|
+
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
567
|
+
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
568
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
569
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
570
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
571
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
572
|
+
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
573
|
+
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
574
|
+
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
575
|
+
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
576
|
+
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
577
|
+
readonly encodeReaction: (a: number) => [number, number, number];
|
|
578
|
+
readonly decodeReaction: (a: any) => [number, number, number];
|
|
579
|
+
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
580
|
+
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
581
|
+
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
582
|
+
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
583
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
584
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
585
|
+
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
586
|
+
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
587
|
+
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
588
|
+
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
589
|
+
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
590
|
+
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
591
|
+
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
592
|
+
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
593
|
+
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
594
|
+
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
595
|
+
readonly conversation_id: (a: number) => [number, number];
|
|
596
|
+
readonly conversation_send: (a: number, b: number) => any;
|
|
597
|
+
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
598
|
+
readonly conversation_publishMessages: (a: number) => any;
|
|
599
|
+
readonly conversation_sync: (a: number) => any;
|
|
600
|
+
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
601
|
+
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
602
|
+
readonly conversation_listMembers: (a: number) => any;
|
|
603
|
+
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
604
|
+
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
605
|
+
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
606
|
+
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
607
|
+
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
608
|
+
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
609
|
+
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
610
|
+
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
611
|
+
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
612
|
+
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
613
|
+
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
614
|
+
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
615
|
+
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
616
|
+
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
617
|
+
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
618
|
+
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
619
|
+
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
620
|
+
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
621
|
+
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
622
|
+
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
623
|
+
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
624
|
+
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
625
|
+
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
626
|
+
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
627
|
+
readonly conversation_groupMetadata: (a: number) => any;
|
|
628
|
+
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
629
|
+
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
630
|
+
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
631
|
+
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
632
|
+
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
633
|
+
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
634
|
+
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
635
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
636
|
+
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
637
|
+
readonly client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
638
|
+
readonly client_addWalletSignatureText: (a: number, b: any) => any;
|
|
639
|
+
readonly client_revokeWalletSignatureText: (a: number, b: any) => any;
|
|
640
|
+
readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
641
|
+
readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
642
|
+
readonly client_addEcdsaSignature: (a: number, b: number, c: any) => any;
|
|
643
|
+
readonly client_addPasskeySignature: (a: number, b: number, c: number) => any;
|
|
644
|
+
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
645
|
+
readonly client_applySignatureRequests: (a: number) => any;
|
|
646
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
647
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
648
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
649
|
+
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
650
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
651
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
652
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
653
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
654
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
655
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
656
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
657
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
658
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
659
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
660
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
661
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
662
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
663
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
664
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
665
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
666
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
667
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
668
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
669
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
670
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
671
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
672
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
673
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
674
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
675
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
676
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
677
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
678
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
679
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
680
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
681
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
682
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
683
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
684
|
+
readonly streamcloser_end: (a: number) => void;
|
|
685
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
686
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
687
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
504
688
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
505
689
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
506
690
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
691
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
692
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
507
693
|
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
508
694
|
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
509
695
|
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
@@ -545,7 +731,7 @@ export interface InitOutput {
|
|
|
545
731
|
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
546
732
|
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
547
733
|
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
548
|
-
readonly conversations_createDm: (a: number, b:
|
|
734
|
+
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
549
735
|
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
550
736
|
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
551
737
|
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
@@ -584,24 +770,8 @@ export interface InitOutput {
|
|
|
584
770
|
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
585
771
|
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
586
772
|
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
587
|
-
readonly
|
|
588
|
-
readonly
|
|
589
|
-
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
590
|
-
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
591
|
-
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
592
|
-
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
593
|
-
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
594
|
-
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
595
|
-
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
596
|
-
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => number;
|
|
597
|
-
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: number) => void;
|
|
598
|
-
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
599
|
-
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
600
|
-
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
601
|
-
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
602
|
-
readonly inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
603
|
-
readonly client_inboxState: (a: number, b: number) => any;
|
|
604
|
-
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
773
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
774
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
605
775
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
606
776
|
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
607
777
|
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -629,9 +799,20 @@ export interface InitOutput {
|
|
|
629
799
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
630
800
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
631
801
|
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
802
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
803
|
+
readonly opfs_exists: () => number;
|
|
804
|
+
readonly opfs_error: () => [number, number];
|
|
805
|
+
readonly opfs_wipeFiles: () => any;
|
|
806
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
807
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
808
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
809
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
810
|
+
readonly opfs_getFileCount: () => number;
|
|
811
|
+
readonly opfs_getCapacity: () => number;
|
|
812
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
813
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
632
814
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
633
815
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
634
|
-
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
635
816
|
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
636
817
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
637
818
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
@@ -639,17 +820,9 @@ export interface InitOutput {
|
|
|
639
820
|
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
640
821
|
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
641
822
|
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
642
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
643
823
|
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
644
824
|
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
645
825
|
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
646
|
-
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
647
|
-
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
648
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
649
|
-
readonly streamcloser_end: (a: number) => void;
|
|
650
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
651
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
652
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
653
826
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
654
827
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
655
828
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -659,8 +832,8 @@ export interface InitOutput {
|
|
|
659
832
|
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
660
833
|
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
661
834
|
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
662
|
-
readonly createClient: (a: number, b: number, c: number, d: number, e:
|
|
663
|
-
readonly client_accountIdentifier: (a: number) =>
|
|
835
|
+
readonly createClient: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number) => any;
|
|
836
|
+
readonly client_accountIdentifier: (a: number) => any;
|
|
664
837
|
readonly client_inboxId: (a: number) => [number, number];
|
|
665
838
|
readonly client_isRegistered: (a: number) => number;
|
|
666
839
|
readonly client_installationId: (a: number) => [number, number];
|
|
@@ -669,156 +842,28 @@ export interface InitOutput {
|
|
|
669
842
|
readonly client_registerIdentity: (a: number) => any;
|
|
670
843
|
readonly client_sendHistorySyncRequest: (a: number) => any;
|
|
671
844
|
readonly client_sendConsentSyncRequest: (a: number) => any;
|
|
672
|
-
readonly client_findInboxIdByIdentifier: (a: number, b:
|
|
845
|
+
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
673
846
|
readonly client_conversations: (a: number) => number;
|
|
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
|
|
692
|
-
readonly
|
|
693
|
-
readonly
|
|
694
|
-
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
695
|
-
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
696
|
-
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
697
|
-
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
698
|
-
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
699
|
-
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
700
|
-
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
701
|
-
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
702
|
-
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
703
|
-
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
704
|
-
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;
|
|
705
|
-
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
706
|
-
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
707
|
-
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
708
|
-
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
709
|
-
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
710
|
-
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
711
|
-
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
712
|
-
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
713
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
714
|
-
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
715
|
-
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
716
|
-
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
717
|
-
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
718
|
-
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
719
|
-
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
720
|
-
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
721
|
-
readonly encodeReaction: (a: number) => [number, number, number];
|
|
722
|
-
readonly decodeReaction: (a: any) => [number, number, number];
|
|
723
|
-
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
724
|
-
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
725
|
-
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
726
|
-
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
727
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
728
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
729
|
-
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
730
|
-
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
731
|
-
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
732
|
-
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
733
|
-
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
734
|
-
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
735
|
-
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
736
|
-
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
737
|
-
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
738
|
-
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
739
|
-
readonly conversation_id: (a: number) => [number, number];
|
|
740
|
-
readonly conversation_send: (a: number, b: number) => any;
|
|
741
|
-
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
742
|
-
readonly conversation_publishMessages: (a: number) => any;
|
|
743
|
-
readonly conversation_sync: (a: number) => any;
|
|
744
|
-
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
745
|
-
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
746
|
-
readonly conversation_listMembers: (a: number) => any;
|
|
747
|
-
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
748
|
-
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
749
|
-
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
750
|
-
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
751
|
-
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
752
|
-
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
753
|
-
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
754
|
-
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
755
|
-
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
756
|
-
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
757
|
-
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
758
|
-
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
759
|
-
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
760
|
-
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
761
|
-
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
762
|
-
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
763
|
-
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
764
|
-
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
765
|
-
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
766
|
-
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
767
|
-
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
768
|
-
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
769
|
-
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
770
|
-
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
771
|
-
readonly conversation_groupMetadata: (a: number) => any;
|
|
772
|
-
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
773
|
-
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
774
|
-
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
775
|
-
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
776
|
-
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
777
|
-
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
778
|
-
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
779
|
-
readonly getInboxIdForIdentifier: (a: number, b: number, c: number) => any;
|
|
780
|
-
readonly generateInboxId: (a: number) => [number, number, number, number];
|
|
781
|
-
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
782
|
-
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
783
|
-
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
784
|
-
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
785
|
-
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
786
|
-
readonly __wbg_get_consent_state: (a: number) => number;
|
|
787
|
-
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
788
|
-
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
789
|
-
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
790
|
-
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
791
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
792
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
793
|
-
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
794
|
-
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
795
|
-
readonly __wbg_identifier_free: (a: number, b: number) => void;
|
|
796
|
-
readonly __wbg_get_identifier_identifierKind: (a: number) => number;
|
|
797
|
-
readonly __wbg_set_identifier_identifierKind: (a: number, b: number) => void;
|
|
798
|
-
readonly identifier_new: (a: number, b: number, c: number) => number;
|
|
799
|
-
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
800
|
-
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
801
|
-
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
802
|
-
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
803
|
-
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
804
|
-
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
805
|
-
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
806
|
-
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
807
|
-
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
808
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
809
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
810
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
811
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
812
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
813
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
814
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
815
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
816
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
817
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
818
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
819
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
820
|
-
readonly __wbg_set_identifier_identifier: (a: number, b: number, c: number) => void;
|
|
821
|
-
readonly __wbg_get_identifier_identifier: (a: number) => [number, number];
|
|
847
|
+
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
848
|
+
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
849
|
+
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
850
|
+
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
851
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
852
|
+
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
853
|
+
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
854
|
+
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
855
|
+
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
856
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
857
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
858
|
+
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
859
|
+
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
860
|
+
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
861
|
+
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
862
|
+
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
863
|
+
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
864
|
+
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
865
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
866
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
822
867
|
readonly rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
823
868
|
readonly rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
824
869
|
readonly rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
@@ -849,9 +894,9 @@ export interface InitOutput {
|
|
|
849
894
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
850
895
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
851
896
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff1927556d6713ec: (a: number, b: number) => void;
|
|
852
|
-
readonly
|
|
853
|
-
readonly
|
|
854
|
-
readonly
|
|
897
|
+
readonly closure3799_externref_shim: (a: number, b: number, c: any) => void;
|
|
898
|
+
readonly closure4807_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
899
|
+
readonly closure4806_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
855
900
|
readonly __wbindgen_start: () => void;
|
|
856
901
|
}
|
|
857
902
|
|