@xmtp/wasm-bindings 1.10.0 → 1.11.0-nightly.20260520.7ef6f09
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 +190 -131
- package/dist/bindings_wasm.js +433 -410
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +130 -130
- package/package.json +3 -4
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -27,6 +27,46 @@ export interface ArchiveMetadata {
|
|
|
27
27
|
endNs?: bigint;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Options for [`Conversation::enableProposals`]. Mirrors
|
|
32
|
+
* [`xmtp_mls::groups::EnableProposalsOptions`].
|
|
33
|
+
*/
|
|
34
|
+
export interface EnableProposalsOptions {
|
|
35
|
+
/**
|
|
36
|
+
* Skip the pre-flight key-package capability check. Post-d14n
|
|
37
|
+
* every client supports proposals by version floor alone; set
|
|
38
|
+
* `true` to bypass the per-member scan in that environment.
|
|
39
|
+
*/
|
|
40
|
+
force?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Override the `MIN_SUPPORTED_PROTOCOL_VERSION` floor. `None`
|
|
43
|
+
* defaults to `xmtp_configuration::PROPOSALS_MIN_PROTOCOL_VERSION`.
|
|
44
|
+
*/
|
|
45
|
+
minVersion?: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Options for `waitForRegistrationVisible`.
|
|
50
|
+
*
|
|
51
|
+
* Both `quorumPercentage` and `quorumAbsolute` are optional; if neither is
|
|
52
|
+
* provided, the default of 50 % is used. When both are provided,
|
|
53
|
+
* `quorumAbsolute` takes precedence.
|
|
54
|
+
*/
|
|
55
|
+
export interface WasmVisibilityConfirmationOptions {
|
|
56
|
+
/**
|
|
57
|
+
* Fraction of nodes that must confirm (e.g. 0.5 for 50 %).
|
|
58
|
+
*/
|
|
59
|
+
quorumPercentage?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Exact number of nodes that must confirm.
|
|
62
|
+
*/
|
|
63
|
+
quorumAbsolute?: number;
|
|
64
|
+
/**
|
|
65
|
+
* Maximum wait time in milliseconds (default: 30 000).
|
|
66
|
+
*/
|
|
67
|
+
timeoutMs?: number;
|
|
68
|
+
}
|
|
69
|
+
|
|
30
70
|
/**
|
|
31
71
|
* Options for creating or sending an archive
|
|
32
72
|
*/
|
|
@@ -520,7 +560,7 @@ export class Client {
|
|
|
520
560
|
*/
|
|
521
561
|
inboxState(refreshFromNetwork: boolean): Promise<InboxState>;
|
|
522
562
|
inboxStateFromInboxIds(inboxIds: string[], refreshFromNetwork: boolean): Promise<InboxState[]>;
|
|
523
|
-
registerIdentity(signatureRequest: SignatureRequestHandle): Promise<void>;
|
|
563
|
+
registerIdentity(signatureRequest: SignatureRequestHandle, visibilityConfirmationOptions?: WasmVisibilityConfirmationOptions | null): Promise<void>;
|
|
524
564
|
revokeAllOtherInstallationsSignatureRequest(): Promise<SignatureRequestHandle | undefined>;
|
|
525
565
|
revokeInstallationsSignatureRequest(installationIds: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
526
566
|
revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
@@ -528,6 +568,15 @@ export class Client {
|
|
|
528
568
|
signWithInstallationKey(signatureText: string): Uint8Array;
|
|
529
569
|
syncPreferences(): Promise<GroupSyncSummary>;
|
|
530
570
|
verifySignedWithInstallationKey(signatureText: string, signatureBytes: Uint8Array): void;
|
|
571
|
+
/**
|
|
572
|
+
* Wait until this client's registration is visible on the network.
|
|
573
|
+
*
|
|
574
|
+
* For V3 clients (no cursor stored) this falls back to checking
|
|
575
|
+
* `isRegistered`. For D14n clients it polls each node directly and
|
|
576
|
+
* returns once a quorum confirms both the identity-update and
|
|
577
|
+
* key-package envelopes are visible.
|
|
578
|
+
*/
|
|
579
|
+
waitForRegistrationVisible(options?: WasmVisibilityConfirmationOptions | null): Promise<void>;
|
|
531
580
|
readonly accountIdentifier: Identifier;
|
|
532
581
|
readonly appVersion: string;
|
|
533
582
|
readonly inboxId: string;
|
|
@@ -587,6 +636,16 @@ export class Conversation {
|
|
|
587
636
|
countMessages(opts?: ListMessagesOptions | null): Promise<bigint>;
|
|
588
637
|
createdAtNs(): bigint;
|
|
589
638
|
dmPeerInboxId(): string;
|
|
639
|
+
/**
|
|
640
|
+
* Enable AppData-proposal-based metadata updates on this group.
|
|
641
|
+
*
|
|
642
|
+
* Stages the bootstrap commit that migrates the group's metadata
|
|
643
|
+
* from the legacy GroupContextExtensions shape into the OpenMLS
|
|
644
|
+
* AppData dictionary. Hard-fails if any member's latest key
|
|
645
|
+
* package doesn't advertise `ProposalType::AppDataUpdate`. One-
|
|
646
|
+
* way: migrated groups cannot return to the legacy path.
|
|
647
|
+
*/
|
|
648
|
+
enableProposals(options: EnableProposalsOptions): Promise<void>;
|
|
590
649
|
findDuplicateDms(): Promise<Conversation[]>;
|
|
591
650
|
findEnrichedMessages(opts?: ListMessagesOptions | null): Promise<DecodedMessage[]>;
|
|
592
651
|
findMessages(opts?: ListMessagesOptions | null): Promise<Message[]>;
|
|
@@ -1158,10 +1217,19 @@ export interface InitOutput {
|
|
|
1158
1217
|
readonly memory: WebAssembly.Memory;
|
|
1159
1218
|
readonly __wbg_backend_free: (a: number, b: number) => void;
|
|
1160
1219
|
readonly __wbg_backendbuilder_free: (a: number, b: number) => void;
|
|
1220
|
+
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
1221
|
+
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
1222
|
+
readonly __wbg_devicesync_free: (a: number, b: number) => void;
|
|
1161
1223
|
readonly __wbg_get_backendbuilder_env: (a: number) => number;
|
|
1162
1224
|
readonly __wbg_get_backendbuilder_readonly: (a: number) => number;
|
|
1225
|
+
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
1226
|
+
readonly __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
|
|
1227
|
+
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => any;
|
|
1163
1228
|
readonly __wbg_set_backendbuilder_env: (a: number, b: number) => void;
|
|
1164
1229
|
readonly __wbg_set_backendbuilder_readonly: (a: number, b: number) => void;
|
|
1230
|
+
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
1231
|
+
readonly __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
|
|
1232
|
+
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
1165
1233
|
readonly backend_appVersion: (a: number) => [number, number];
|
|
1166
1234
|
readonly backend_env: (a: number) => number;
|
|
1167
1235
|
readonly backend_gatewayHost: (a: number) => [number, number];
|
|
@@ -1174,34 +1242,123 @@ export interface InitOutput {
|
|
|
1174
1242
|
readonly backendbuilder_setAppVersion: (a: number, b: number, c: number) => number;
|
|
1175
1243
|
readonly backendbuilder_setGatewayHost: (a: number, b: number, c: number) => number;
|
|
1176
1244
|
readonly backendbuilder_setReadonly: (a: number, b: number) => number;
|
|
1245
|
+
readonly contentTypeAttachment: () => any;
|
|
1246
|
+
readonly contentTypeGroupUpdated: () => any;
|
|
1247
|
+
readonly contentTypeMarkdown: () => any;
|
|
1248
|
+
readonly contentTypeReadReceipt: () => any;
|
|
1249
|
+
readonly contentTypeText: () => any;
|
|
1250
|
+
readonly contentTypeTransactionReference: () => any;
|
|
1251
|
+
readonly conversationlistitem_new: (a: number, b: number, c: number) => number;
|
|
1252
|
+
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
1253
|
+
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
1254
|
+
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
1255
|
+
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
1256
|
+
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
1257
|
+
readonly conversations_deleteMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
1258
|
+
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
1259
|
+
readonly conversations_findEnrichedMessageById: (a: number, b: number, c: number) => any;
|
|
1260
|
+
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
1261
|
+
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
1262
|
+
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
1263
|
+
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
1264
|
+
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
1265
|
+
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
1266
|
+
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
1267
|
+
readonly conversations_streamLocal: (a: number, b: number) => any;
|
|
1268
|
+
readonly conversations_streamMessageDeletions: (a: number, b: any) => [number, number, number];
|
|
1269
|
+
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
1270
|
+
readonly conversations_sync: (a: number) => any;
|
|
1271
|
+
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
1177
1272
|
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;
|
|
1273
|
+
readonly devicesync_archiveMetadata: (a: number, b: any, c: any) => any;
|
|
1274
|
+
readonly devicesync_createArchive: (a: number, b: any, c: any) => any;
|
|
1275
|
+
readonly devicesync_importArchive: (a: number, b: any, c: any) => any;
|
|
1276
|
+
readonly devicesync_listAvailableArchives: (a: number, b: bigint) => [number, number, number, number];
|
|
1277
|
+
readonly devicesync_processSyncArchive: (a: number, b: number, c: number) => any;
|
|
1278
|
+
readonly devicesync_sendSyncArchive: (a: number, b: any, c: number, d: number, e: number, f: number) => any;
|
|
1279
|
+
readonly devicesync_sendSyncRequest: (a: number, b: any, c: number, d: number) => any;
|
|
1280
|
+
readonly devicesync_syncAllDeviceSyncGroups: (a: number) => any;
|
|
1281
|
+
readonly encodeAttachment: (a: any) => [number, number, number];
|
|
1282
|
+
readonly encodeMarkdown: (a: number, b: number) => [number, number, number];
|
|
1283
|
+
readonly encodeReadReceipt: (a: any) => [number, number, number];
|
|
1284
|
+
readonly encodeText: (a: number, b: number) => [number, number, number];
|
|
1285
|
+
readonly encodeTransactionReference: (a: any) => [number, number, number];
|
|
1286
|
+
readonly generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
|
|
1287
|
+
readonly getInboxIdForIdentifier: (a: number, b: any) => any;
|
|
1288
|
+
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
1289
|
+
readonly applySignatureRequest: (a: number, b: number) => any;
|
|
1290
|
+
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
1291
|
+
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
1292
|
+
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
1293
|
+
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
1294
|
+
readonly client_registerIdentity: (a: number, b: number, c: number) => any;
|
|
1295
|
+
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
1296
|
+
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
1297
|
+
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
1298
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
1299
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
1300
|
+
readonly revokeInstallationsSignatureRequest: (a: number, b: any, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
1301
|
+
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
1302
|
+
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: any) => any;
|
|
1303
|
+
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
1304
|
+
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
1305
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
1306
|
+
readonly __wbg_authhandle_free: (a: number, b: number) => void;
|
|
1307
|
+
readonly authhandle_id: (a: number) => number;
|
|
1308
|
+
readonly authhandle_new: () => number;
|
|
1309
|
+
readonly authhandle_set: (a: number, b: any) => any;
|
|
1178
1310
|
readonly client_fetchLatestInboxUpdatesCount: (a: number, b: number, c: number, d: number) => any;
|
|
1179
1311
|
readonly client_fetchOwnInboxUpdatesCount: (a: number, b: number) => any;
|
|
1312
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
1180
1313
|
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
1181
1314
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
1182
1315
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
1316
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
1317
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
1318
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
1183
1319
|
readonly inboxStateFromInboxIds: (a: number, b: number, c: number) => any;
|
|
1184
1320
|
readonly metadataFieldName: (a: number) => [number, number];
|
|
1185
|
-
readonly
|
|
1186
|
-
readonly
|
|
1187
|
-
readonly
|
|
1188
|
-
readonly
|
|
1189
|
-
readonly
|
|
1190
|
-
readonly
|
|
1191
|
-
readonly
|
|
1192
|
-
readonly
|
|
1193
|
-
readonly
|
|
1194
|
-
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
1321
|
+
readonly opfsClearAll: () => any;
|
|
1322
|
+
readonly opfsDeleteFile: (a: number, b: number) => any;
|
|
1323
|
+
readonly opfsExportDb: (a: number, b: number) => any;
|
|
1324
|
+
readonly opfsFileCount: () => any;
|
|
1325
|
+
readonly opfsFileExists: (a: number, b: number) => any;
|
|
1326
|
+
readonly opfsImportDb: (a: number, b: number, c: any) => any;
|
|
1327
|
+
readonly opfsInit: () => any;
|
|
1328
|
+
readonly opfsListFiles: () => any;
|
|
1329
|
+
readonly opfsPoolCapacity: () => any;
|
|
1195
1330
|
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
1196
|
-
readonly
|
|
1197
|
-
readonly
|
|
1198
|
-
readonly
|
|
1199
|
-
readonly
|
|
1200
|
-
readonly
|
|
1201
|
-
readonly
|
|
1331
|
+
readonly streamcloser_end: (a: number) => void;
|
|
1332
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
1333
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
1334
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
1335
|
+
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
1336
|
+
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
1337
|
+
readonly client_accountIdentifier: (a: number) => any;
|
|
1338
|
+
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
1339
|
+
readonly client_apiIdentityStatistics: (a: number) => any;
|
|
1340
|
+
readonly client_apiStatistics: (a: number) => any;
|
|
1341
|
+
readonly client_appVersion: (a: number) => [number, number];
|
|
1342
|
+
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
1343
|
+
readonly client_clearAllStatistics: (a: number) => void;
|
|
1344
|
+
readonly client_conversations: (a: number) => number;
|
|
1345
|
+
readonly client_device_sync: (a: number) => number;
|
|
1346
|
+
readonly client_findInboxIdByIdentity: (a: number, b: any) => any;
|
|
1347
|
+
readonly client_inboxId: (a: number) => [number, number];
|
|
1348
|
+
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
1349
|
+
readonly client_installationId: (a: number) => [number, number];
|
|
1350
|
+
readonly client_installationIdBytes: (a: number) => any;
|
|
1351
|
+
readonly client_isRegistered: (a: number) => number;
|
|
1352
|
+
readonly client_libxmtpVersion: (a: number) => [number, number];
|
|
1353
|
+
readonly client_syncPreferences: (a: number) => any;
|
|
1354
|
+
readonly client_waitForRegistrationVisible: (a: number, b: number) => any;
|
|
1355
|
+
readonly contentTypeActions: () => any;
|
|
1202
1356
|
readonly contentTypeIntent: () => any;
|
|
1203
1357
|
readonly contentTypeLeaveRequest: () => any;
|
|
1204
|
-
readonly
|
|
1358
|
+
readonly contentTypeMultiRemoteAttachment: () => any;
|
|
1359
|
+
readonly contentTypeReaction: () => any;
|
|
1360
|
+
readonly contentTypeRemoteAttachment: () => any;
|
|
1361
|
+
readonly contentTypeWalletSendCalls: () => any;
|
|
1205
1362
|
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
1206
1363
|
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
1207
1364
|
readonly conversation_addMembersByIdentity: (a: number, b: number, c: number) => any;
|
|
@@ -1209,10 +1366,10 @@ export interface InitOutput {
|
|
|
1209
1366
|
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
1210
1367
|
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
1211
1368
|
readonly conversation_appData: (a: number) => [number, number, number, number];
|
|
1212
|
-
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
1213
1369
|
readonly conversation_countMessages: (a: number, b: number) => any;
|
|
1214
1370
|
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
1215
1371
|
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
1372
|
+
readonly conversation_enableProposals: (a: number, b: any) => any;
|
|
1216
1373
|
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
1217
1374
|
readonly conversation_findEnrichedMessages: (a: number, b: number) => any;
|
|
1218
1375
|
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
@@ -1260,117 +1417,21 @@ export interface InitOutput {
|
|
|
1260
1417
|
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
1261
1418
|
readonly conversation_sync: (a: number) => any;
|
|
1262
1419
|
readonly conversation_updateAppData: (a: number, b: number, c: number) => any;
|
|
1263
|
-
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
1264
1420
|
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
1265
1421
|
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
1266
1422
|
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
1267
1423
|
readonly conversation_updateMessageDisappearingSettings: (a: number, b: any) => any;
|
|
1268
1424
|
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
1269
|
-
readonly conversationlistitem_new: (a: number, b: number, c: number) => number;
|
|
1270
|
-
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
1271
|
-
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
1272
|
-
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
1273
|
-
readonly conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
1274
|
-
readonly conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
1275
|
-
readonly conversations_deleteMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
1276
|
-
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
1277
|
-
readonly conversations_findEnrichedMessageById: (a: number, b: number, c: number) => any;
|
|
1278
|
-
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
1279
|
-
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
1280
|
-
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
1281
|
-
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
1282
|
-
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
1283
|
-
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
1284
|
-
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
1285
|
-
readonly conversations_streamLocal: (a: number, b: number) => any;
|
|
1286
|
-
readonly conversations_streamMessageDeletions: (a: number, b: any) => [number, number, number];
|
|
1287
|
-
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
1288
|
-
readonly conversations_sync: (a: number) => any;
|
|
1289
|
-
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
1290
|
-
readonly encodeIntent: (a: any) => [number, number, number];
|
|
1291
|
-
readonly encodeReadReceipt: (a: any) => [number, number, number];
|
|
1292
|
-
readonly streamcloser_end: (a: number) => void;
|
|
1293
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
1294
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
1295
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
1296
|
-
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
1297
|
-
readonly __wbg_devicesync_free: (a: number, b: number) => void;
|
|
1298
|
-
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
1299
|
-
readonly applySignatureRequest: (a: number, b: number) => any;
|
|
1300
|
-
readonly client_accountIdentifier: (a: number) => any;
|
|
1301
|
-
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
1302
|
-
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
1303
|
-
readonly client_apiIdentityStatistics: (a: number) => any;
|
|
1304
|
-
readonly client_apiStatistics: (a: number) => any;
|
|
1305
|
-
readonly client_appVersion: (a: number) => [number, number];
|
|
1306
|
-
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
1307
|
-
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
1308
|
-
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
1309
|
-
readonly client_clearAllStatistics: (a: number) => void;
|
|
1310
|
-
readonly client_conversations: (a: number) => number;
|
|
1311
|
-
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
1312
|
-
readonly client_device_sync: (a: number) => number;
|
|
1313
|
-
readonly client_findInboxIdByIdentity: (a: number, b: any) => any;
|
|
1314
|
-
readonly client_inboxId: (a: number) => [number, number];
|
|
1315
|
-
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
1316
|
-
readonly client_installationId: (a: number) => [number, number];
|
|
1317
|
-
readonly client_installationIdBytes: (a: number) => any;
|
|
1318
|
-
readonly client_isRegistered: (a: number) => number;
|
|
1319
|
-
readonly client_libxmtpVersion: (a: number) => [number, number];
|
|
1320
|
-
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
1321
|
-
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
1322
|
-
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
1323
|
-
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
1324
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
1325
|
-
readonly client_syncPreferences: (a: number) => any;
|
|
1326
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
1327
1425
|
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: bigint, r: number, s: number, t: number) => any;
|
|
1328
|
-
readonly devicesync_archiveMetadata: (a: number, b: any, c: any) => any;
|
|
1329
|
-
readonly devicesync_createArchive: (a: number, b: any, c: any) => any;
|
|
1330
|
-
readonly devicesync_importArchive: (a: number, b: any, c: any) => any;
|
|
1331
|
-
readonly devicesync_listAvailableArchives: (a: number, b: bigint) => [number, number, number, number];
|
|
1332
|
-
readonly devicesync_processSyncArchive: (a: number, b: number, c: number) => any;
|
|
1333
|
-
readonly devicesync_sendSyncArchive: (a: number, b: any, c: number, d: number, e: number, f: number) => any;
|
|
1334
|
-
readonly devicesync_sendSyncRequest: (a: number, b: any, c: number, d: number) => any;
|
|
1335
|
-
readonly devicesync_syncAllDeviceSyncGroups: (a: number) => any;
|
|
1336
|
-
readonly generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
|
|
1337
|
-
readonly getInboxIdForIdentifier: (a: number, b: any) => any;
|
|
1338
|
-
readonly opfsClearAll: () => any;
|
|
1339
|
-
readonly opfsDeleteFile: (a: number, b: number) => any;
|
|
1340
|
-
readonly opfsExportDb: (a: number, b: number) => any;
|
|
1341
|
-
readonly opfsFileCount: () => any;
|
|
1342
|
-
readonly opfsFileExists: (a: number, b: number) => any;
|
|
1343
|
-
readonly opfsImportDb: (a: number, b: number, c: any) => any;
|
|
1344
|
-
readonly opfsInit: () => any;
|
|
1345
|
-
readonly opfsListFiles: () => any;
|
|
1346
|
-
readonly opfsPoolCapacity: () => any;
|
|
1347
|
-
readonly revokeInstallationsSignatureRequest: (a: number, b: any, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
1348
|
-
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
1349
|
-
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: any) => any;
|
|
1350
|
-
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
1351
|
-
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
1352
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
1353
|
-
readonly contentTypeActions: () => any;
|
|
1354
|
-
readonly contentTypeAttachment: () => any;
|
|
1355
|
-
readonly contentTypeMarkdown: () => any;
|
|
1356
|
-
readonly contentTypeMultiRemoteAttachment: () => any;
|
|
1357
|
-
readonly contentTypeReaction: () => any;
|
|
1358
|
-
readonly contentTypeRemoteAttachment: () => any;
|
|
1359
|
-
readonly contentTypeReply: () => any;
|
|
1360
|
-
readonly contentTypeText: () => any;
|
|
1361
|
-
readonly contentTypeTransactionReference: () => any;
|
|
1362
|
-
readonly contentTypeWalletSendCalls: () => any;
|
|
1363
1426
|
readonly decryptAttachment: (a: number, b: number, c: any) => [number, number, number];
|
|
1364
1427
|
readonly encodeActions: (a: any) => [number, number, number];
|
|
1365
|
-
readonly
|
|
1366
|
-
readonly encodeMarkdown: (a: number, b: number) => [number, number, number];
|
|
1428
|
+
readonly encodeIntent: (a: any) => [number, number, number];
|
|
1367
1429
|
readonly encodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
1368
1430
|
readonly encodeReaction: (a: any) => [number, number, number];
|
|
1369
1431
|
readonly encodeRemoteAttachment: (a: any) => [number, number, number];
|
|
1370
|
-
readonly encodeText: (a: number, b: number) => [number, number, number];
|
|
1371
|
-
readonly encodeTransactionReference: (a: any) => [number, number, number];
|
|
1372
1432
|
readonly encodeWalletSendCalls: (a: any) => [number, number, number];
|
|
1373
1433
|
readonly encryptAttachment: (a: any) => [number, number, number];
|
|
1434
|
+
readonly contentTypeReply: () => any;
|
|
1374
1435
|
readonly rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
|
|
1375
1436
|
readonly rust_zstd_wasm_shim_free: (a: number) => void;
|
|
1376
1437
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
@@ -1390,13 +1451,13 @@ export interface InitOutput {
|
|
|
1390
1451
|
readonly sqlite3_os_end: () => number;
|
|
1391
1452
|
readonly sqlite3_os_init: () => number;
|
|
1392
1453
|
readonly task_worker_entry_point: (a: number) => [number, number];
|
|
1454
|
+
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1455
|
+
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1456
|
+
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1393
1457
|
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
1394
1458
|
readonly intounderlyingsink_abort: (a: number, b: any) => any;
|
|
1395
1459
|
readonly intounderlyingsink_close: (a: number) => any;
|
|
1396
1460
|
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
1397
|
-
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1398
|
-
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1399
|
-
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1400
1461
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
1401
1462
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
1402
1463
|
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
@@ -1413,21 +1474,18 @@ export interface InitOutput {
|
|
|
1413
1474
|
readonly wasmbindgentestcontext_include_ignored: (a: number, b: number) => void;
|
|
1414
1475
|
readonly wasmbindgentestcontext_new: (a: number) => number;
|
|
1415
1476
|
readonly wasmbindgentestcontext_run: (a: number, b: number, c: number) => any;
|
|
1477
|
+
readonly __wbgtest_coverage_path: (a: number, b: number, c: number, d: number, e: number, f: bigint) => [number, number];
|
|
1416
1478
|
readonly __wbgbench_dump: () => [number, number];
|
|
1417
1479
|
readonly __wbgbench_import: (a: number, b: number) => void;
|
|
1418
1480
|
readonly __wbgtest_cov_dump: () => [number, number];
|
|
1419
|
-
readonly __wbgtest_coverage_path: (a: number, b: number, c: number, d: number, e: number, f: bigint) => [number, number];
|
|
1420
1481
|
readonly __wbgtest_module_signature: () => [number, bigint];
|
|
1421
|
-
readonly
|
|
1422
|
-
readonly
|
|
1423
|
-
readonly
|
|
1424
|
-
readonly
|
|
1425
|
-
readonly
|
|
1426
|
-
readonly
|
|
1427
|
-
readonly
|
|
1428
|
-
readonly wasm_bindgen__convert__closures_____invoke__h3140913cf557f226: (a: number, b: number) => void;
|
|
1429
|
-
readonly wasm_bindgen__convert__closures_____invoke__hef7996840be5a37a: (a: number, b: number) => void;
|
|
1430
|
-
readonly wasm_bindgen__convert__closures_____invoke__h20bdc0c4874a4cbd: (a: number, b: number) => void;
|
|
1482
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0cbb9d280ec4eac8: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
1483
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6f1885db5d1f0241: (a: number, b: number, c: any) => [number, number];
|
|
1484
|
+
readonly wasm_bindgen__convert__closures_____invoke__h8b29a8b297a89d8b: (a: number, b: number, c: any, d: any) => void;
|
|
1485
|
+
readonly wasm_bindgen__convert__closures_____invoke__hfcb06a1059bde0b9: (a: number, b: number, c: any) => void;
|
|
1486
|
+
readonly wasm_bindgen__convert__closures_____invoke__h654eefc016d81ae0: (a: number, b: number) => void;
|
|
1487
|
+
readonly wasm_bindgen__convert__closures_____invoke__h8f8be8bfbb4918b5: (a: number, b: number) => void;
|
|
1488
|
+
readonly wasm_bindgen__convert__closures_____invoke__h18ef20c6f279647d: (a: number, b: number) => void;
|
|
1431
1489
|
readonly __externref_table_alloc: () => number;
|
|
1432
1490
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
1433
1491
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
@@ -1435,6 +1493,7 @@ export interface InitOutput {
|
|
|
1435
1493
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
1436
1494
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
1437
1495
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1496
|
+
readonly __wbindgen_destroy_closure: (a: number, b: number) => void;
|
|
1438
1497
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1439
1498
|
readonly __wbindgen_start: () => void;
|
|
1440
1499
|
}
|