@xmtp/wasm-bindings 1.2.0-dev.bed98df → 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 +232 -192
- package/dist/bindings_wasm.js +499 -290
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +186 -162
- package/dist/version.json +3 -3
- package/package.json +3 -3
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 getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
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,
|
|
@@ -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,
|
|
@@ -102,6 +103,7 @@ export enum SortDirection {
|
|
|
102
103
|
Ascending = 0,
|
|
103
104
|
Descending = 1,
|
|
104
105
|
}
|
|
106
|
+
type DeviceSyncWorkerMode = "enabled" | "disabled";
|
|
105
107
|
type LogLevel = "off" | "error" | "warn" | "info" | "debug" | "trace";
|
|
106
108
|
/**
|
|
107
109
|
* The `ReadableStreamType` enum.
|
|
@@ -116,35 +118,13 @@ export interface Identifier {
|
|
|
116
118
|
|
|
117
119
|
export type IdentifierKind = "Ethereum" | "Passkey";
|
|
118
120
|
|
|
119
|
-
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 };
|
|
120
122
|
|
|
121
123
|
export class Client {
|
|
122
124
|
private constructor();
|
|
123
125
|
free(): void;
|
|
124
|
-
createInboxSignatureText(): string | undefined;
|
|
125
|
-
addWalletSignatureText(new_identifier: Identifier): Promise<string>;
|
|
126
|
-
revokeWalletSignatureText(identifier: Identifier): Promise<string>;
|
|
127
|
-
revokeAllOtherInstallationsSignatureText(): Promise<string>;
|
|
128
|
-
revokeInstallationsSignatureText(installation_ids: Uint8Array[]): Promise<string>;
|
|
129
|
-
changeRecoveryIdentifierSignatureText(new_recovery_identifier: Identifier): Promise<string>;
|
|
130
|
-
addEcdsaSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array): Promise<void>;
|
|
131
|
-
addPasskeySignature(signature_type: SignatureRequestType, signature: PasskeySignature): Promise<void>;
|
|
132
|
-
addScwSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array, chain_id: bigint, block_number?: bigint | null): Promise<void>;
|
|
133
|
-
applySignatureRequests(): Promise<void>;
|
|
134
|
-
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
135
|
-
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
136
126
|
setConsentStates(records: Consent[]): Promise<void>;
|
|
137
127
|
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
138
|
-
/**
|
|
139
|
-
* Output booleans should be zipped with the index of input identifiers
|
|
140
|
-
*/
|
|
141
|
-
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
142
|
-
registerIdentity(): Promise<void>;
|
|
143
|
-
sendHistorySyncRequest(): Promise<void>;
|
|
144
|
-
sendConsentSyncRequest(): Promise<void>;
|
|
145
|
-
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
146
|
-
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
147
|
-
conversations(): Conversations;
|
|
148
128
|
/**
|
|
149
129
|
*
|
|
150
130
|
* * Get the client's inbox state.
|
|
@@ -163,6 +143,28 @@ export class Client {
|
|
|
163
143
|
*
|
|
164
144
|
*/
|
|
165
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;
|
|
166
168
|
readonly accountIdentifier: Identifier;
|
|
167
169
|
readonly inboxId: string;
|
|
168
170
|
readonly isRegistered: boolean;
|
|
@@ -187,6 +189,8 @@ export class ContentTypeId {
|
|
|
187
189
|
export class Conversation {
|
|
188
190
|
private constructor();
|
|
189
191
|
free(): void;
|
|
192
|
+
consentState(): ConsentState;
|
|
193
|
+
updateConsentState(state: ConsentState): void;
|
|
190
194
|
id(): string;
|
|
191
195
|
send(encoded_content: EncodedContent): Promise<string>;
|
|
192
196
|
/**
|
|
@@ -233,8 +237,15 @@ export class Conversation {
|
|
|
233
237
|
messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
234
238
|
isMessageDisappearingEnabled(): boolean;
|
|
235
239
|
getHmacKeys(): any;
|
|
236
|
-
|
|
237
|
-
|
|
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;
|
|
238
249
|
}
|
|
239
250
|
export class ConversationListItem {
|
|
240
251
|
free(): void;
|
|
@@ -246,6 +257,7 @@ export class ConversationListItem {
|
|
|
246
257
|
export class Conversations {
|
|
247
258
|
private constructor();
|
|
248
259
|
free(): void;
|
|
260
|
+
createGroupOptimistic(options?: CreateGroupOptions | null): Conversation;
|
|
249
261
|
createGroup(account_identifiers: Identifier[], options?: CreateGroupOptions | null): Promise<Conversation>;
|
|
250
262
|
createGroupByInboxIds(inbox_ids: string[], options?: CreateGroupOptions | null): Promise<Conversation>;
|
|
251
263
|
createDm(account_identifier: Identifier, options?: CreateDMOptions | null): Promise<Conversation>;
|
|
@@ -255,6 +267,7 @@ export class Conversations {
|
|
|
255
267
|
findMessageById(message_id: string): Message;
|
|
256
268
|
sync(): Promise<void>;
|
|
257
269
|
syncAllConversations(consent_states?: any[] | null): Promise<number>;
|
|
270
|
+
syncDeviceSync(): Promise<void>;
|
|
258
271
|
list(opts?: ListConversationsOptions | null): Array<any>;
|
|
259
272
|
listGroups(opts?: ListConversationsOptions | null): Array<any>;
|
|
260
273
|
listDms(opts?: ListConversationsOptions | null): Array<any>;
|
|
@@ -262,7 +275,7 @@ export class Conversations {
|
|
|
262
275
|
stream(callback: any, conversation_type?: ConversationType | null): StreamCloser;
|
|
263
276
|
streamGroups(callback: any): StreamCloser;
|
|
264
277
|
streamDms(callback: any): StreamCloser;
|
|
265
|
-
streamAllMessages(callback: any, conversation_type?: ConversationType | null): StreamCloser;
|
|
278
|
+
streamAllMessages(callback: any, conversation_type?: ConversationType | null, consent_states?: any[] | null): StreamCloser;
|
|
266
279
|
streamConsent(callback: any): StreamCloser;
|
|
267
280
|
streamPreferences(callback: any): StreamCloser;
|
|
268
281
|
}
|
|
@@ -394,7 +407,7 @@ export class ListConversationsOptions {
|
|
|
394
407
|
}
|
|
395
408
|
export class ListMessagesOptions {
|
|
396
409
|
free(): void;
|
|
397
|
-
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);
|
|
398
411
|
get contentTypes(): any[] | undefined;
|
|
399
412
|
set contentTypes(value: any[] | null | undefined);
|
|
400
413
|
get sentBeforeNs(): bigint | undefined;
|
|
@@ -407,6 +420,8 @@ export class ListMessagesOptions {
|
|
|
407
420
|
set deliveryStatus(value: DeliveryStatus | null | undefined);
|
|
408
421
|
get direction(): SortDirection | undefined;
|
|
409
422
|
set direction(value: SortDirection | null | undefined);
|
|
423
|
+
get kind(): GroupMessageKind | undefined;
|
|
424
|
+
set kind(value: GroupMessageKind | null | undefined);
|
|
410
425
|
}
|
|
411
426
|
/**
|
|
412
427
|
* Specify options for the logger
|
|
@@ -462,6 +477,7 @@ export class MultiRemoteAttachment {
|
|
|
462
477
|
export class Opfs {
|
|
463
478
|
private constructor();
|
|
464
479
|
free(): void;
|
|
480
|
+
static init_sqlite_opfs(): Promise<void>;
|
|
465
481
|
/**
|
|
466
482
|
* Check if the global OPFS object has been initialized
|
|
467
483
|
*/
|
|
@@ -565,48 +581,27 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
565
581
|
|
|
566
582
|
export interface InitOutput {
|
|
567
583
|
readonly memory: WebAssembly.Memory;
|
|
568
|
-
readonly
|
|
569
|
-
readonly
|
|
570
|
-
readonly
|
|
571
|
-
readonly
|
|
572
|
-
readonly
|
|
573
|
-
readonly
|
|
574
|
-
readonly
|
|
575
|
-
readonly
|
|
576
|
-
readonly
|
|
577
|
-
readonly
|
|
578
|
-
readonly
|
|
579
|
-
readonly
|
|
580
|
-
readonly
|
|
581
|
-
readonly
|
|
582
|
-
readonly
|
|
583
|
-
readonly
|
|
584
|
-
readonly
|
|
585
|
-
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;
|
|
586
|
-
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
587
|
-
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
588
|
-
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
589
|
-
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
590
|
-
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
591
|
-
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
592
|
-
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
593
|
-
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
594
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
595
|
-
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
596
|
-
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
597
|
-
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
598
|
-
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
599
|
-
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
600
|
-
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
601
|
-
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
602
|
-
readonly encodeReaction: (a: number) => [number, number, number];
|
|
603
|
-
readonly decodeReaction: (a: any) => [number, number, number];
|
|
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];
|
|
604
601
|
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
605
602
|
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
606
603
|
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
607
604
|
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
608
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
609
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
610
605
|
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
611
606
|
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
612
607
|
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
@@ -657,34 +652,43 @@ export interface InitOutput {
|
|
|
657
652
|
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
658
653
|
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
659
654
|
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
660
|
-
readonly
|
|
661
|
-
readonly
|
|
662
|
-
readonly
|
|
663
|
-
readonly
|
|
664
|
-
readonly
|
|
665
|
-
readonly
|
|
666
|
-
readonly
|
|
667
|
-
readonly
|
|
668
|
-
readonly
|
|
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
|
|
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];
|
|
688
692
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
689
693
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
690
694
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -701,6 +705,13 @@ export interface InitOutput {
|
|
|
701
705
|
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
702
706
|
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
703
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;
|
|
704
715
|
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
705
716
|
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
706
717
|
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
@@ -719,9 +730,6 @@ export interface InitOutput {
|
|
|
719
730
|
readonly createdmoptions_new: (a: number) => number;
|
|
720
731
|
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
721
732
|
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
722
|
-
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
723
|
-
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
724
|
-
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
725
733
|
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
726
734
|
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
727
735
|
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
@@ -729,6 +737,7 @@ export interface InitOutput {
|
|
|
729
737
|
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
730
738
|
readonly conversationlistitem_new: (a: number, b: number) => number;
|
|
731
739
|
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
740
|
+
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
732
741
|
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
733
742
|
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
734
743
|
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
@@ -738,6 +747,7 @@ export interface InitOutput {
|
|
|
738
747
|
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
739
748
|
readonly conversations_sync: (a: number) => any;
|
|
740
749
|
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
750
|
+
readonly conversations_syncDeviceSync: (a: number) => any;
|
|
741
751
|
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
742
752
|
readonly conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
743
753
|
readonly conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
@@ -745,31 +755,9 @@ export interface InitOutput {
|
|
|
745
755
|
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
746
756
|
readonly conversations_streamGroups: (a: number, b: any) => [number, number, number];
|
|
747
757
|
readonly conversations_streamDms: (a: number, b: any) => [number, number, number];
|
|
748
|
-
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];
|
|
749
759
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
750
760
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
751
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
752
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
753
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
754
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
755
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
756
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
757
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
758
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
759
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
760
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
761
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
762
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
763
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
764
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
765
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
766
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
767
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
768
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
769
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
770
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
771
|
-
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
772
|
-
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
773
761
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
774
762
|
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
775
763
|
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -777,7 +765,9 @@ export interface InitOutput {
|
|
|
777
765
|
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
778
766
|
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
779
767
|
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
780
|
-
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;
|
|
781
771
|
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
782
772
|
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
783
773
|
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
@@ -797,32 +787,21 @@ export interface InitOutput {
|
|
|
797
787
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
798
788
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
799
789
|
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
800
|
-
readonly
|
|
801
|
-
readonly
|
|
802
|
-
readonly
|
|
803
|
-
readonly
|
|
804
|
-
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
805
|
-
readonly opfs_getFileNames: () => [number, number];
|
|
806
|
-
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
807
|
-
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
808
|
-
readonly opfs_getFileCount: () => number;
|
|
809
|
-
readonly opfs_getCapacity: () => number;
|
|
810
|
-
readonly opfs_addCapacity: (a: number) => any;
|
|
811
|
-
readonly opfs_reduceCapacity: (a: number) => any;
|
|
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];
|
|
812
794
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
795
|
+
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
813
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;
|
|
814
799
|
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
815
800
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
816
801
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
817
802
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
803
|
+
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
818
804
|
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
819
|
-
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
820
|
-
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
821
|
-
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
822
|
-
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
823
|
-
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
824
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
825
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
826
805
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
827
806
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
828
807
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -832,7 +811,7 @@ export interface InitOutput {
|
|
|
832
811
|
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
833
812
|
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
834
813
|
readonly logoptions_new: (a: number, b: number, c: number) => 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;
|
|
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;
|
|
836
815
|
readonly client_accountIdentifier: (a: number) => any;
|
|
837
816
|
readonly client_inboxId: (a: number) => [number, number];
|
|
838
817
|
readonly client_isRegistered: (a: number) => number;
|
|
@@ -840,42 +819,98 @@ export interface InitOutput {
|
|
|
840
819
|
readonly client_installationIdBytes: (a: number) => any;
|
|
841
820
|
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
842
821
|
readonly client_registerIdentity: (a: number) => any;
|
|
843
|
-
readonly
|
|
844
|
-
readonly client_sendConsentSyncRequest: (a: number) => any;
|
|
822
|
+
readonly client_sendSyncRequest: (a: number) => any;
|
|
845
823
|
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
846
824
|
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
847
825
|
readonly client_conversations: (a: number) => number;
|
|
848
|
-
readonly
|
|
849
|
-
readonly
|
|
850
|
-
readonly
|
|
851
|
-
readonly
|
|
852
|
-
readonly
|
|
853
|
-
readonly
|
|
854
|
-
readonly
|
|
855
|
-
readonly
|
|
856
|
-
readonly
|
|
857
|
-
readonly
|
|
858
|
-
readonly
|
|
859
|
-
readonly
|
|
860
|
-
readonly
|
|
861
|
-
readonly
|
|
862
|
-
readonly
|
|
863
|
-
readonly
|
|
864
|
-
readonly
|
|
865
|
-
readonly
|
|
866
|
-
readonly
|
|
867
|
-
readonly
|
|
868
|
-
readonly
|
|
869
|
-
readonly
|
|
870
|
-
readonly
|
|
871
|
-
readonly
|
|
872
|
-
readonly
|
|
873
|
-
readonly
|
|
874
|
-
readonly
|
|
875
|
-
readonly
|
|
876
|
-
readonly
|
|
877
|
-
readonly
|
|
878
|
-
readonly
|
|
826
|
+
readonly client_syncPreferences: (a: number) => any;
|
|
827
|
+
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
828
|
+
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
829
|
+
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
830
|
+
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
831
|
+
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
832
|
+
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
833
|
+
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
834
|
+
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
835
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
836
|
+
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
837
|
+
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
838
|
+
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
839
|
+
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
840
|
+
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
841
|
+
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
842
|
+
readonly remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
|
|
843
|
+
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
844
|
+
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
845
|
+
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
846
|
+
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
847
|
+
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
848
|
+
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
849
|
+
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
850
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
851
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
852
|
+
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
853
|
+
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
854
|
+
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
855
|
+
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
856
|
+
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
857
|
+
readonly encodeReaction: (a: number) => [number, number, number];
|
|
858
|
+
readonly decodeReaction: (a: any) => [number, number, number];
|
|
859
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
860
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
861
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
862
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
863
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
864
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
865
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
866
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
867
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
868
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
869
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
870
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
871
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
872
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
873
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
874
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
875
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
876
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
877
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
878
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
879
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
880
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
881
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
882
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
883
|
+
readonly opfs_exists: () => number;
|
|
884
|
+
readonly opfs_error: () => [number, number];
|
|
885
|
+
readonly opfs_wipeFiles: () => any;
|
|
886
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
887
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
888
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
889
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
890
|
+
readonly opfs_getFileCount: () => number;
|
|
891
|
+
readonly opfs_getCapacity: () => number;
|
|
892
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
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;
|
|
879
914
|
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
880
915
|
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
881
916
|
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -897,18 +932,27 @@ export interface InitOutput {
|
|
|
897
932
|
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
898
933
|
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
899
934
|
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
900
|
-
readonly
|
|
901
|
-
readonly
|
|
902
|
-
readonly
|
|
903
|
-
readonly
|
|
904
|
-
readonly
|
|
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;
|
|
905
943
|
readonly rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
906
944
|
readonly rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
907
945
|
readonly rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
908
|
-
readonly sqlite3_os_init: () => number;
|
|
909
946
|
readonly rust_sqlite_wasm_shim_malloc: (a: number) => number;
|
|
910
947
|
readonly rust_sqlite_wasm_shim_free: (a: number) => void;
|
|
911
948
|
readonly rust_sqlite_wasm_shim_realloc: (a: number, b: number) => number;
|
|
949
|
+
readonly sqlite3_os_init: () => number;
|
|
950
|
+
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
951
|
+
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
952
|
+
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
953
|
+
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
954
|
+
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
955
|
+
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
912
956
|
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
913
957
|
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
914
958
|
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
@@ -916,12 +960,6 @@ export interface InitOutput {
|
|
|
916
960
|
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
917
961
|
readonly intounderlyingsink_close: (a: number) => any;
|
|
918
962
|
readonly intounderlyingsink_abort: (a: number, b: any) => any;
|
|
919
|
-
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
920
|
-
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
921
|
-
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
922
|
-
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
923
|
-
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
924
|
-
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
925
963
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
926
964
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
927
965
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
@@ -931,10 +969,12 @@ export interface InitOutput {
|
|
|
931
969
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
932
970
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
933
971
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
934
|
-
readonly
|
|
935
|
-
readonly
|
|
936
|
-
readonly
|
|
937
|
-
readonly
|
|
972
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215: (a: number, b: number) => void;
|
|
973
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h89dafc0baf46c12b: (a: number, b: number) => void;
|
|
974
|
+
readonly closure4460_externref_shim: (a: number, b: number, c: any) => void;
|
|
975
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a: (a: number, b: number) => void;
|
|
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;
|
|
938
978
|
readonly __wbindgen_start: () => void;
|
|
939
979
|
}
|
|
940
980
|
|