@xmtp/wasm-bindings 1.10.0-rc2 → 1.11.0-dev.b5cdc06
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 +217 -111
- package/dist/bindings_wasm.js +451 -414
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +108 -108
- package/package.json +3 -4
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -7,6 +7,22 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
type ReadableStreamType = "bytes";
|
|
10
|
+
/**
|
|
11
|
+
* A single per-worker interval override (nanoseconds).
|
|
12
|
+
*/
|
|
13
|
+
export interface WorkerIntervalOverride {
|
|
14
|
+
kind: WorkerKind;
|
|
15
|
+
intervalNs: number;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* A single per-worker jitter override (nanoseconds).
|
|
20
|
+
*/
|
|
21
|
+
export interface WorkerJitterOverride {
|
|
22
|
+
kind: WorkerKind;
|
|
23
|
+
jitterNs: number;
|
|
24
|
+
}
|
|
25
|
+
|
|
10
26
|
/**
|
|
11
27
|
* An available archive in the sync group
|
|
12
28
|
*/
|
|
@@ -27,6 +43,46 @@ export interface ArchiveMetadata {
|
|
|
27
43
|
endNs?: bigint;
|
|
28
44
|
}
|
|
29
45
|
|
|
46
|
+
/**
|
|
47
|
+
* Options for [`Conversation::enableProposals`]. Mirrors
|
|
48
|
+
* [`xmtp_mls::groups::EnableProposalsOptions`].
|
|
49
|
+
*/
|
|
50
|
+
export interface EnableProposalsOptions {
|
|
51
|
+
/**
|
|
52
|
+
* Skip the pre-flight key-package capability check. Post-d14n
|
|
53
|
+
* every client supports proposals by version floor alone; set
|
|
54
|
+
* `true` to bypass the per-member scan in that environment.
|
|
55
|
+
*/
|
|
56
|
+
force?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Override the `MIN_SUPPORTED_PROTOCOL_VERSION` floor. `None`
|
|
59
|
+
* defaults to `xmtp_configuration::PROPOSALS_MIN_PROTOCOL_VERSION`.
|
|
60
|
+
*/
|
|
61
|
+
minVersion?: string;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Options for `waitForRegistrationVisible`.
|
|
66
|
+
*
|
|
67
|
+
* Both `quorumPercentage` and `quorumAbsolute` are optional; if neither is
|
|
68
|
+
* provided, the default of 50 % is used. When both are provided,
|
|
69
|
+
* `quorumAbsolute` takes precedence.
|
|
70
|
+
*/
|
|
71
|
+
export interface WasmVisibilityConfirmationOptions {
|
|
72
|
+
/**
|
|
73
|
+
* Fraction of nodes that must confirm (e.g. 0.5 for 50 %).
|
|
74
|
+
*/
|
|
75
|
+
quorumPercentage?: number;
|
|
76
|
+
/**
|
|
77
|
+
* Exact number of nodes that must confirm.
|
|
78
|
+
*/
|
|
79
|
+
quorumAbsolute?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Maximum wait time in milliseconds (default: 30 000).
|
|
82
|
+
*/
|
|
83
|
+
timeoutMs?: number;
|
|
84
|
+
}
|
|
85
|
+
|
|
30
86
|
/**
|
|
31
87
|
* Options for creating or sending an archive
|
|
32
88
|
*/
|
|
@@ -89,6 +145,28 @@ export interface LogOptions {
|
|
|
89
145
|
level?: LogLevel;
|
|
90
146
|
}
|
|
91
147
|
|
|
148
|
+
/**
|
|
149
|
+
* Tuning for the background worker scheduler. All fields optional.
|
|
150
|
+
*/
|
|
151
|
+
export interface WorkerConfigOptions {
|
|
152
|
+
/**
|
|
153
|
+
* Global default interval for all workers, in nanoseconds.
|
|
154
|
+
*/
|
|
155
|
+
defaultIntervalNs?: number;
|
|
156
|
+
/**
|
|
157
|
+
* Per-worker interval overrides (nanoseconds).
|
|
158
|
+
*/
|
|
159
|
+
workerIntervalsNs?: WorkerIntervalOverride[];
|
|
160
|
+
/**
|
|
161
|
+
* Per-worker jitter overrides (nanoseconds).
|
|
162
|
+
*/
|
|
163
|
+
workerJittersNs?: WorkerJitterOverride[];
|
|
164
|
+
/**
|
|
165
|
+
* Workers to disable.
|
|
166
|
+
*/
|
|
167
|
+
disabledWorkers?: WorkerKind[];
|
|
168
|
+
}
|
|
169
|
+
|
|
92
170
|
export interface Action {
|
|
93
171
|
id: string;
|
|
94
172
|
label: string;
|
|
@@ -520,7 +598,7 @@ export class Client {
|
|
|
520
598
|
*/
|
|
521
599
|
inboxState(refreshFromNetwork: boolean): Promise<InboxState>;
|
|
522
600
|
inboxStateFromInboxIds(inboxIds: string[], refreshFromNetwork: boolean): Promise<InboxState[]>;
|
|
523
|
-
registerIdentity(signatureRequest: SignatureRequestHandle): Promise<void>;
|
|
601
|
+
registerIdentity(signatureRequest: SignatureRequestHandle, visibilityConfirmationOptions?: WasmVisibilityConfirmationOptions | null): Promise<void>;
|
|
524
602
|
revokeAllOtherInstallationsSignatureRequest(): Promise<SignatureRequestHandle | undefined>;
|
|
525
603
|
revokeInstallationsSignatureRequest(installationIds: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
526
604
|
revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
@@ -528,6 +606,15 @@ export class Client {
|
|
|
528
606
|
signWithInstallationKey(signatureText: string): Uint8Array;
|
|
529
607
|
syncPreferences(): Promise<GroupSyncSummary>;
|
|
530
608
|
verifySignedWithInstallationKey(signatureText: string, signatureBytes: Uint8Array): void;
|
|
609
|
+
/**
|
|
610
|
+
* Wait until this client's registration is visible on the network.
|
|
611
|
+
*
|
|
612
|
+
* For V3 clients (no cursor stored) this falls back to checking
|
|
613
|
+
* `isRegistered`. For D14n clients it polls each node directly and
|
|
614
|
+
* returns once a quorum confirms both the identity-update and
|
|
615
|
+
* key-package envelopes are visible.
|
|
616
|
+
*/
|
|
617
|
+
waitForRegistrationVisible(options?: WasmVisibilityConfirmationOptions | null): Promise<void>;
|
|
531
618
|
readonly accountIdentifier: Identifier;
|
|
532
619
|
readonly appVersion: string;
|
|
533
620
|
readonly inboxId: string;
|
|
@@ -587,6 +674,16 @@ export class Conversation {
|
|
|
587
674
|
countMessages(opts?: ListMessagesOptions | null): Promise<bigint>;
|
|
588
675
|
createdAtNs(): bigint;
|
|
589
676
|
dmPeerInboxId(): string;
|
|
677
|
+
/**
|
|
678
|
+
* Enable AppData-proposal-based metadata updates on this group.
|
|
679
|
+
*
|
|
680
|
+
* Stages the bootstrap commit that migrates the group's metadata
|
|
681
|
+
* from the legacy GroupContextExtensions shape into the OpenMLS
|
|
682
|
+
* AppData dictionary. Hard-fails if any member's latest key
|
|
683
|
+
* package doesn't advertise `ProposalType::AppDataUpdate`. One-
|
|
684
|
+
* way: migrated groups cannot return to the legacy path.
|
|
685
|
+
*/
|
|
686
|
+
enableProposals(options: EnableProposalsOptions): Promise<void>;
|
|
590
687
|
findDuplicateDms(): Promise<Conversation[]>;
|
|
591
688
|
findEnrichedMessages(opts?: ListMessagesOptions | null): Promise<DecodedMessage[]>;
|
|
592
689
|
findMessages(opts?: ListMessagesOptions | null): Promise<Message[]>;
|
|
@@ -949,6 +1046,15 @@ export class WasmBindgenTestContext {
|
|
|
949
1046
|
run(tests: any[]): Promise<any>;
|
|
950
1047
|
}
|
|
951
1048
|
|
|
1049
|
+
export enum WorkerKind {
|
|
1050
|
+
DeviceSync = 0,
|
|
1051
|
+
DisappearingMessages = 1,
|
|
1052
|
+
KeyPackageCleaner = 2,
|
|
1053
|
+
CommitLog = 3,
|
|
1054
|
+
TaskRunner = 4,
|
|
1055
|
+
PendingSelfRemove = 5,
|
|
1056
|
+
}
|
|
1057
|
+
|
|
952
1058
|
export enum XmtpEnv {
|
|
953
1059
|
Local = 0,
|
|
954
1060
|
Dev = 1,
|
|
@@ -1038,7 +1144,7 @@ export function contentTypeTransactionReference(): ContentTypeId;
|
|
|
1038
1144
|
|
|
1039
1145
|
export function contentTypeWalletSendCalls(): ContentTypeId;
|
|
1040
1146
|
|
|
1041
|
-
export function createClient(host: string, inboxId: string, accountIdentifier: Identifier, dbPath?: string | null, encryptionKey?: Uint8Array | null, deviceSyncMode?: DeviceSyncMode | null, logOptions?: LogOptions | null, allowOffline?: boolean | null, appVersion?: string | null, gatewayHost?: string | null, nonce?: bigint | null, authCallback?: any | null, authHandle?: AuthHandle | null, clientMode?: ClientMode | null): Promise<Client>;
|
|
1147
|
+
export function createClient(host: string, inboxId: string, accountIdentifier: Identifier, dbPath?: string | null, encryptionKey?: Uint8Array | null, deviceSyncMode?: DeviceSyncMode | null, workerConfig?: WorkerConfigOptions | null, logOptions?: LogOptions | null, allowOffline?: boolean | null, appVersion?: string | null, gatewayHost?: string | null, nonce?: bigint | null, authCallback?: any | null, authHandle?: AuthHandle | null, clientMode?: ClientMode | null): Promise<Client>;
|
|
1042
1148
|
|
|
1043
1149
|
/**
|
|
1044
1150
|
* Create a client from a pre-built Backend.
|
|
@@ -1046,7 +1152,7 @@ export function createClient(host: string, inboxId: string, accountIdentifier: I
|
|
|
1046
1152
|
* The Backend encapsulates all API configuration (env, hosts, auth, TLS).
|
|
1047
1153
|
* This function only needs identity and database configuration.
|
|
1048
1154
|
*/
|
|
1049
|
-
export function createClientWithBackend(backend: Backend, inboxId: string, accountIdentifier: Identifier, dbPath?: string | null, encryptionKey?: Uint8Array | null, deviceSyncMode?: DeviceSyncMode | null, logOptions?: LogOptions | null, allowOffline?: boolean | null, nonce?: bigint | null): Promise<Client>;
|
|
1155
|
+
export function createClientWithBackend(backend: Backend, inboxId: string, accountIdentifier: Identifier, dbPath?: string | null, encryptionKey?: Uint8Array | null, deviceSyncMode?: DeviceSyncMode | null, workerConfig?: WorkerConfigOptions | null, logOptions?: LogOptions | null, allowOffline?: boolean | null, nonce?: bigint | null): Promise<Client>;
|
|
1050
1156
|
|
|
1051
1157
|
/**
|
|
1052
1158
|
* Decrypts an encrypted payload from a remote attachment.
|
|
@@ -1156,94 +1262,75 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
1156
1262
|
|
|
1157
1263
|
export interface InitOutput {
|
|
1158
1264
|
readonly memory: WebAssembly.Memory;
|
|
1159
|
-
readonly
|
|
1160
|
-
readonly
|
|
1161
|
-
readonly
|
|
1162
|
-
readonly
|
|
1163
|
-
readonly
|
|
1164
|
-
readonly
|
|
1165
|
-
readonly
|
|
1166
|
-
readonly
|
|
1167
|
-
readonly
|
|
1168
|
-
readonly
|
|
1169
|
-
readonly
|
|
1170
|
-
readonly
|
|
1171
|
-
readonly
|
|
1172
|
-
readonly backendbuilder_new: (a: number) => number;
|
|
1173
|
-
readonly backendbuilder_setApiUrl: (a: number, b: number, c: number) => number;
|
|
1174
|
-
readonly backendbuilder_setAppVersion: (a: number, b: number, c: number) => number;
|
|
1175
|
-
readonly backendbuilder_setGatewayHost: (a: number, b: number, c: number) => number;
|
|
1176
|
-
readonly backendbuilder_setReadonly: (a: number, b: number) => number;
|
|
1177
|
-
readonly client_fetchLatestInboxUpdatesCount: (a: number, b: number, c: number, d: number) => any;
|
|
1178
|
-
readonly client_fetchOwnInboxUpdatesCount: (a: number, b: number) => any;
|
|
1179
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
1180
|
-
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
1181
|
-
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
1182
|
-
readonly client_inboxState: (a: number, b: number) => any;
|
|
1183
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
1184
|
-
readonly contentTypeLeaveRequest: () => any;
|
|
1265
|
+
readonly opfsClearAll: () => any;
|
|
1266
|
+
readonly opfsDeleteFile: (a: number, b: number) => any;
|
|
1267
|
+
readonly opfsExportDb: (a: number, b: number) => any;
|
|
1268
|
+
readonly opfsFileCount: () => any;
|
|
1269
|
+
readonly opfsFileExists: (a: number, b: number) => any;
|
|
1270
|
+
readonly opfsImportDb: (a: number, b: number, c: any) => any;
|
|
1271
|
+
readonly opfsInit: () => any;
|
|
1272
|
+
readonly opfsListFiles: () => any;
|
|
1273
|
+
readonly opfsPoolCapacity: () => any;
|
|
1274
|
+
readonly contentTypeActions: () => any;
|
|
1275
|
+
readonly contentTypeAttachment: () => any;
|
|
1276
|
+
readonly contentTypeGroupUpdated: () => any;
|
|
1277
|
+
readonly contentTypeIntent: () => any;
|
|
1185
1278
|
readonly contentTypeMarkdown: () => any;
|
|
1279
|
+
readonly contentTypeMultiRemoteAttachment: () => any;
|
|
1280
|
+
readonly contentTypeReaction: () => any;
|
|
1186
1281
|
readonly contentTypeReadReceipt: () => any;
|
|
1187
1282
|
readonly contentTypeRemoteAttachment: () => any;
|
|
1283
|
+
readonly contentTypeReply: () => any;
|
|
1188
1284
|
readonly contentTypeText: () => any;
|
|
1189
1285
|
readonly contentTypeTransactionReference: () => any;
|
|
1190
1286
|
readonly contentTypeWalletSendCalls: () => any;
|
|
1191
|
-
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
1192
|
-
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
1193
|
-
readonly createClientWithBackend: (a: number, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: bigint) => any;
|
|
1194
1287
|
readonly decryptAttachment: (a: number, b: number, c: any) => [number, number, number];
|
|
1288
|
+
readonly encodeActions: (a: any) => [number, number, number];
|
|
1289
|
+
readonly encodeAttachment: (a: any) => [number, number, number];
|
|
1290
|
+
readonly encodeIntent: (a: any) => [number, number, number];
|
|
1195
1291
|
readonly encodeMarkdown: (a: number, b: number) => [number, number, number];
|
|
1292
|
+
readonly encodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
1293
|
+
readonly encodeReaction: (a: any) => [number, number, number];
|
|
1196
1294
|
readonly encodeReadReceipt: (a: any) => [number, number, number];
|
|
1197
1295
|
readonly encodeRemoteAttachment: (a: any) => [number, number, number];
|
|
1198
1296
|
readonly encodeText: (a: number, b: number) => [number, number, number];
|
|
1199
1297
|
readonly encodeTransactionReference: (a: any) => [number, number, number];
|
|
1200
1298
|
readonly encodeWalletSendCalls: (a: any) => [number, number, number];
|
|
1201
1299
|
readonly encryptAttachment: (a: any) => [number, number, number];
|
|
1300
|
+
readonly client_fetchLatestInboxUpdatesCount: (a: number, b: number, c: number, d: number) => any;
|
|
1301
|
+
readonly client_fetchOwnInboxUpdatesCount: (a: number, b: number) => any;
|
|
1302
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
1303
|
+
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
1304
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
1305
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
1306
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
1307
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
1308
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
1202
1309
|
readonly generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
|
|
1203
1310
|
readonly getInboxIdForIdentifier: (a: number, b: any) => any;
|
|
1204
1311
|
readonly inboxStateFromInboxIds: (a: number, b: number, c: number) => any;
|
|
1205
|
-
readonly
|
|
1206
|
-
readonly
|
|
1207
|
-
readonly
|
|
1208
|
-
readonly authhandle_id: (a: number) => number;
|
|
1209
|
-
readonly authhandle_new: () => number;
|
|
1210
|
-
readonly authhandle_set: (a: number, b: any) => any;
|
|
1211
|
-
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
1212
|
-
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
1213
|
-
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
1214
|
-
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
1215
|
-
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
1216
|
-
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
1217
|
-
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
1218
|
-
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
1219
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
1220
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
1221
|
-
readonly opfsClearAll: () => any;
|
|
1222
|
-
readonly opfsDeleteFile: (a: number, b: number) => any;
|
|
1223
|
-
readonly opfsExportDb: (a: number, b: number) => any;
|
|
1224
|
-
readonly opfsFileCount: () => any;
|
|
1225
|
-
readonly opfsFileExists: (a: number, b: number) => any;
|
|
1226
|
-
readonly opfsImportDb: (a: number, b: number, c: any) => any;
|
|
1227
|
-
readonly opfsInit: () => any;
|
|
1228
|
-
readonly opfsListFiles: () => any;
|
|
1229
|
-
readonly opfsPoolCapacity: () => any;
|
|
1230
|
-
readonly revokeInstallationsSignatureRequest: (a: number, b: any, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
1231
|
-
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
1232
|
-
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: any) => any;
|
|
1233
|
-
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
1234
|
-
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
1235
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
1312
|
+
readonly metadataFieldName: (a: number) => [number, number];
|
|
1313
|
+
readonly __wbg_backend_free: (a: number, b: number) => void;
|
|
1314
|
+
readonly __wbg_backendbuilder_free: (a: number, b: number) => void;
|
|
1236
1315
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
1237
1316
|
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
1238
|
-
readonly
|
|
1239
|
-
readonly
|
|
1240
|
-
readonly
|
|
1241
|
-
readonly
|
|
1242
|
-
readonly
|
|
1243
|
-
readonly
|
|
1244
|
-
readonly
|
|
1245
|
-
readonly
|
|
1246
|
-
readonly
|
|
1317
|
+
readonly __wbg_devicesync_free: (a: number, b: number) => void;
|
|
1318
|
+
readonly __wbg_get_backendbuilder_env: (a: number) => number;
|
|
1319
|
+
readonly __wbg_get_backendbuilder_readonly: (a: number) => number;
|
|
1320
|
+
readonly __wbg_set_backendbuilder_env: (a: number, b: number) => void;
|
|
1321
|
+
readonly __wbg_set_backendbuilder_readonly: (a: number, b: number) => void;
|
|
1322
|
+
readonly backend_appVersion: (a: number) => [number, number];
|
|
1323
|
+
readonly backend_env: (a: number) => number;
|
|
1324
|
+
readonly backend_gatewayHost: (a: number) => [number, number];
|
|
1325
|
+
readonly backend_v3Host: (a: number) => [number, number];
|
|
1326
|
+
readonly backendbuilder_authCallback: (a: number, b: any) => void;
|
|
1327
|
+
readonly backendbuilder_authHandle: (a: number, b: number) => void;
|
|
1328
|
+
readonly backendbuilder_build: (a: number) => [number, number, number];
|
|
1329
|
+
readonly backendbuilder_new: (a: number) => number;
|
|
1330
|
+
readonly backendbuilder_setApiUrl: (a: number, b: number, c: number) => number;
|
|
1331
|
+
readonly backendbuilder_setAppVersion: (a: number, b: number, c: number) => number;
|
|
1332
|
+
readonly backendbuilder_setGatewayHost: (a: number, b: number, c: number) => number;
|
|
1333
|
+
readonly backendbuilder_setReadonly: (a: number, b: number) => number;
|
|
1247
1334
|
readonly client_accountIdentifier: (a: number) => any;
|
|
1248
1335
|
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
1249
1336
|
readonly client_apiIdentityStatistics: (a: number) => any;
|
|
@@ -1261,12 +1348,7 @@ export interface InitOutput {
|
|
|
1261
1348
|
readonly client_isRegistered: (a: number) => number;
|
|
1262
1349
|
readonly client_libxmtpVersion: (a: number) => [number, number];
|
|
1263
1350
|
readonly client_syncPreferences: (a: number) => any;
|
|
1264
|
-
readonly
|
|
1265
|
-
readonly contentTypeAttachment: () => any;
|
|
1266
|
-
readonly contentTypeGroupUpdated: () => any;
|
|
1267
|
-
readonly contentTypeIntent: () => any;
|
|
1268
|
-
readonly contentTypeMultiRemoteAttachment: () => any;
|
|
1269
|
-
readonly contentTypeReaction: () => any;
|
|
1351
|
+
readonly client_waitForRegistrationVisible: (a: number, b: number) => any;
|
|
1270
1352
|
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
1271
1353
|
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
1272
1354
|
readonly conversation_addMembersByIdentity: (a: number, b: number, c: number) => any;
|
|
@@ -1277,6 +1359,7 @@ export interface InitOutput {
|
|
|
1277
1359
|
readonly conversation_countMessages: (a: number, b: number) => any;
|
|
1278
1360
|
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
1279
1361
|
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
1362
|
+
readonly conversation_enableProposals: (a: number, b: any) => any;
|
|
1280
1363
|
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
1281
1364
|
readonly conversation_findEnrichedMessages: (a: number, b: number) => any;
|
|
1282
1365
|
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
@@ -1329,6 +1412,42 @@ export interface InitOutput {
|
|
|
1329
1412
|
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
1330
1413
|
readonly conversation_updateMessageDisappearingSettings: (a: number, b: any) => any;
|
|
1331
1414
|
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
1415
|
+
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, m: number, n: number, o: number, p: number, q: number, r: bigint, s: number, t: number, u: number) => any;
|
|
1416
|
+
readonly createClientWithBackend: (a: number, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: bigint) => any;
|
|
1417
|
+
readonly devicesync_archiveMetadata: (a: number, b: any, c: any) => any;
|
|
1418
|
+
readonly devicesync_createArchive: (a: number, b: any, c: any) => any;
|
|
1419
|
+
readonly devicesync_importArchive: (a: number, b: any, c: any) => any;
|
|
1420
|
+
readonly devicesync_listAvailableArchives: (a: number, b: bigint) => [number, number, number, number];
|
|
1421
|
+
readonly devicesync_processSyncArchive: (a: number, b: number, c: number) => any;
|
|
1422
|
+
readonly devicesync_sendSyncArchive: (a: number, b: any, c: number, d: number, e: number, f: number) => any;
|
|
1423
|
+
readonly devicesync_sendSyncRequest: (a: number, b: any, c: number, d: number) => any;
|
|
1424
|
+
readonly devicesync_syncAllDeviceSyncGroups: (a: number) => any;
|
|
1425
|
+
readonly __wbg_authhandle_free: (a: number, b: number) => void;
|
|
1426
|
+
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
1427
|
+
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
1428
|
+
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
1429
|
+
readonly __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
|
|
1430
|
+
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => any;
|
|
1431
|
+
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
1432
|
+
readonly __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
|
|
1433
|
+
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
1434
|
+
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
1435
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
1436
|
+
readonly applySignatureRequest: (a: number, b: number) => any;
|
|
1437
|
+
readonly authhandle_id: (a: number) => number;
|
|
1438
|
+
readonly authhandle_new: () => number;
|
|
1439
|
+
readonly authhandle_set: (a: number, b: any) => any;
|
|
1440
|
+
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
1441
|
+
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
1442
|
+
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
1443
|
+
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
1444
|
+
readonly client_registerIdentity: (a: number, b: number, c: number) => any;
|
|
1445
|
+
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
1446
|
+
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
1447
|
+
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
1448
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
1449
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
1450
|
+
readonly contentTypeLeaveRequest: () => any;
|
|
1332
1451
|
readonly conversationlistitem_new: (a: number, b: number, c: number) => number;
|
|
1333
1452
|
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
1334
1453
|
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
@@ -1350,27 +1469,16 @@ export interface InitOutput {
|
|
|
1350
1469
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
1351
1470
|
readonly conversations_sync: (a: number) => any;
|
|
1352
1471
|
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
1353
|
-
readonly
|
|
1354
|
-
readonly
|
|
1355
|
-
readonly
|
|
1356
|
-
readonly
|
|
1357
|
-
readonly
|
|
1358
|
-
readonly encodeReaction: (a: any) => [number, number, number];
|
|
1359
|
-
readonly metadataFieldName: (a: number) => [number, number];
|
|
1472
|
+
readonly revokeInstallationsSignatureRequest: (a: number, b: any, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
1473
|
+
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
1474
|
+
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: any) => any;
|
|
1475
|
+
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
1476
|
+
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
1360
1477
|
readonly streamcloser_end: (a: number) => void;
|
|
1361
1478
|
readonly streamcloser_endAndWait: (a: number) => any;
|
|
1362
1479
|
readonly streamcloser_isClosed: (a: number) => number;
|
|
1363
1480
|
readonly streamcloser_waitForReady: (a: number) => any;
|
|
1364
|
-
readonly
|
|
1365
|
-
readonly devicesync_archiveMetadata: (a: number, b: any, c: any) => any;
|
|
1366
|
-
readonly devicesync_createArchive: (a: number, b: any, c: any) => any;
|
|
1367
|
-
readonly devicesync_importArchive: (a: number, b: any, c: any) => any;
|
|
1368
|
-
readonly devicesync_listAvailableArchives: (a: number, b: bigint) => [number, number, number, number];
|
|
1369
|
-
readonly devicesync_processSyncArchive: (a: number, b: number, c: number) => any;
|
|
1370
|
-
readonly devicesync_sendSyncArchive: (a: number, b: any, c: number, d: number, e: number, f: number) => any;
|
|
1371
|
-
readonly devicesync_sendSyncRequest: (a: number, b: any, c: number, d: number) => any;
|
|
1372
|
-
readonly devicesync_syncAllDeviceSyncGroups: (a: number) => any;
|
|
1373
|
-
readonly contentTypeReply: () => any;
|
|
1481
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
1374
1482
|
readonly rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
|
|
1375
1483
|
readonly rust_zstd_wasm_shim_free: (a: number) => void;
|
|
1376
1484
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
@@ -1390,19 +1498,19 @@ export interface InitOutput {
|
|
|
1390
1498
|
readonly sqlite3_os_end: () => number;
|
|
1391
1499
|
readonly sqlite3_os_init: () => number;
|
|
1392
1500
|
readonly task_worker_entry_point: (a: number) => [number, number];
|
|
1501
|
+
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1502
|
+
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1503
|
+
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1393
1504
|
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
1394
1505
|
readonly intounderlyingsink_abort: (a: number, b: any) => any;
|
|
1395
1506
|
readonly intounderlyingsink_close: (a: number) => any;
|
|
1396
1507
|
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
1397
1508
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
1398
|
-
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1399
1509
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
1400
1510
|
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
1401
1511
|
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
1402
1512
|
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
1403
1513
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
1404
|
-
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1405
|
-
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1406
1514
|
readonly __wbg_wasmbindgentestcontext_free: (a: number, b: number) => void;
|
|
1407
1515
|
readonly __wbgtest_console_debug: (a: any) => void;
|
|
1408
1516
|
readonly __wbgtest_console_error: (a: any) => void;
|
|
@@ -1413,21 +1521,18 @@ export interface InitOutput {
|
|
|
1413
1521
|
readonly wasmbindgentestcontext_include_ignored: (a: number, b: number) => void;
|
|
1414
1522
|
readonly wasmbindgentestcontext_new: (a: number) => number;
|
|
1415
1523
|
readonly wasmbindgentestcontext_run: (a: number, b: number, c: number) => any;
|
|
1416
|
-
readonly
|
|
1417
|
-
readonly __wbgtest_module_signature: () => [number, bigint];
|
|
1524
|
+
readonly __wbgtest_coverage_path: (a: number, b: number, c: number, d: number, e: number, f: bigint) => [number, number];
|
|
1418
1525
|
readonly __wbgbench_dump: () => [number, number];
|
|
1419
1526
|
readonly __wbgbench_import: (a: number, b: number) => void;
|
|
1420
|
-
readonly
|
|
1421
|
-
readonly
|
|
1422
|
-
readonly
|
|
1423
|
-
readonly
|
|
1424
|
-
readonly
|
|
1425
|
-
readonly
|
|
1426
|
-
readonly
|
|
1427
|
-
readonly
|
|
1428
|
-
readonly
|
|
1429
|
-
readonly wasm_bindgen__convert__closures_____invoke__h7d2ee1dee7ec118b: (a: number, b: number) => void;
|
|
1430
|
-
readonly wasm_bindgen__convert__closures_____invoke__h48de3f26adb3eb8d: (a: number, b: number) => void;
|
|
1527
|
+
readonly __wbgtest_cov_dump: () => [number, number];
|
|
1528
|
+
readonly __wbgtest_module_signature: () => [number, bigint];
|
|
1529
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0cbb9d280ec4eac8: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
1530
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6f1885db5d1f0241: (a: number, b: number, c: any) => [number, number];
|
|
1531
|
+
readonly wasm_bindgen__convert__closures_____invoke__h8b29a8b297a89d8b: (a: number, b: number, c: any, d: any) => void;
|
|
1532
|
+
readonly wasm_bindgen__convert__closures_____invoke__hfcb06a1059bde0b9: (a: number, b: number, c: any) => void;
|
|
1533
|
+
readonly wasm_bindgen__convert__closures_____invoke__h667d000fed9c3e64: (a: number, b: number) => void;
|
|
1534
|
+
readonly wasm_bindgen__convert__closures_____invoke__h8f8be8bfbb4918b5: (a: number, b: number) => void;
|
|
1535
|
+
readonly wasm_bindgen__convert__closures_____invoke__h18ef20c6f279647d: (a: number, b: number) => void;
|
|
1431
1536
|
readonly __externref_table_alloc: () => number;
|
|
1432
1537
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
1433
1538
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
@@ -1435,6 +1540,7 @@ export interface InitOutput {
|
|
|
1435
1540
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
1436
1541
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
1437
1542
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1543
|
+
readonly __wbindgen_destroy_closure: (a: number, b: number) => void;
|
|
1438
1544
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1439
1545
|
readonly __wbindgen_start: () => void;
|
|
1440
1546
|
}
|