@xmtp/wasm-bindings 1.10.0-dev.a2bdd0a → 1.10.0-dev.ae5ffba
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 +145 -109
- package/dist/bindings_wasm.js +399 -351
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +113 -108
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -27,6 +27,28 @@ export interface ArchiveMetadata {
|
|
|
27
27
|
endNs?: bigint;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Options for `waitForRegistrationVisible`.
|
|
32
|
+
*
|
|
33
|
+
* Both `quorumPercentage` and `quorumAbsolute` are optional; if neither is
|
|
34
|
+
* provided, the default of 50 % is used. When both are provided,
|
|
35
|
+
* `quorumAbsolute` takes precedence.
|
|
36
|
+
*/
|
|
37
|
+
export interface WasmVisibilityConfirmationOptions {
|
|
38
|
+
/**
|
|
39
|
+
* Fraction of nodes that must confirm (e.g. 0.5 for 50 %).
|
|
40
|
+
*/
|
|
41
|
+
quorumPercentage?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Exact number of nodes that must confirm.
|
|
44
|
+
*/
|
|
45
|
+
quorumAbsolute?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Maximum wait time in milliseconds (default: 30 000).
|
|
48
|
+
*/
|
|
49
|
+
timeoutMs?: number;
|
|
50
|
+
}
|
|
51
|
+
|
|
30
52
|
/**
|
|
31
53
|
* Options for creating or sending an archive
|
|
32
54
|
*/
|
|
@@ -520,7 +542,7 @@ export class Client {
|
|
|
520
542
|
*/
|
|
521
543
|
inboxState(refreshFromNetwork: boolean): Promise<InboxState>;
|
|
522
544
|
inboxStateFromInboxIds(inboxIds: string[], refreshFromNetwork: boolean): Promise<InboxState[]>;
|
|
523
|
-
registerIdentity(signatureRequest: SignatureRequestHandle): Promise<void>;
|
|
545
|
+
registerIdentity(signatureRequest: SignatureRequestHandle, visibilityConfirmationOptions?: WasmVisibilityConfirmationOptions | null): Promise<void>;
|
|
524
546
|
revokeAllOtherInstallationsSignatureRequest(): Promise<SignatureRequestHandle | undefined>;
|
|
525
547
|
revokeInstallationsSignatureRequest(installationIds: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
526
548
|
revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
@@ -528,6 +550,15 @@ export class Client {
|
|
|
528
550
|
signWithInstallationKey(signatureText: string): Uint8Array;
|
|
529
551
|
syncPreferences(): Promise<GroupSyncSummary>;
|
|
530
552
|
verifySignedWithInstallationKey(signatureText: string, signatureBytes: Uint8Array): void;
|
|
553
|
+
/**
|
|
554
|
+
* Wait until this client's registration is visible on the network.
|
|
555
|
+
*
|
|
556
|
+
* For V3 clients (no cursor stored) this falls back to checking
|
|
557
|
+
* `isRegistered`. For D14n clients it polls each node directly and
|
|
558
|
+
* returns once a quorum confirms both the identity-update and
|
|
559
|
+
* key-package envelopes are visible.
|
|
560
|
+
*/
|
|
561
|
+
waitForRegistrationVisible(options?: WasmVisibilityConfirmationOptions | null): Promise<void>;
|
|
531
562
|
readonly accountIdentifier: Identifier;
|
|
532
563
|
readonly appVersion: string;
|
|
533
564
|
readonly inboxId: string;
|
|
@@ -1156,18 +1187,9 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
1156
1187
|
|
|
1157
1188
|
export interface InitOutput {
|
|
1158
1189
|
readonly memory: WebAssembly.Memory;
|
|
1159
|
-
readonly __wbg_authhandle_free: (a: number, b: number) => void;
|
|
1160
|
-
readonly authhandle_id: (a: number) => number;
|
|
1161
|
-
readonly authhandle_new: () => number;
|
|
1162
|
-
readonly authhandle_set: (a: number, b: any) => any;
|
|
1163
|
-
readonly client_fetchLatestInboxUpdatesCount: (a: number, b: number, c: number, d: number) => any;
|
|
1164
|
-
readonly client_fetchOwnInboxUpdatesCount: (a: number, b: number) => any;
|
|
1165
|
-
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
1166
|
-
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
1167
|
-
readonly client_inboxState: (a: number, b: number) => any;
|
|
1168
|
-
readonly inboxStateFromInboxIds: (a: number, b: number, c: number) => any;
|
|
1169
1190
|
readonly __wbg_backend_free: (a: number, b: number) => void;
|
|
1170
1191
|
readonly __wbg_backendbuilder_free: (a: number, b: number) => void;
|
|
1192
|
+
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
1171
1193
|
readonly __wbg_get_backendbuilder_env: (a: number) => number;
|
|
1172
1194
|
readonly __wbg_get_backendbuilder_readonly: (a: number) => number;
|
|
1173
1195
|
readonly __wbg_set_backendbuilder_env: (a: number, b: number) => void;
|
|
@@ -1190,88 +1212,19 @@ export interface InitOutput {
|
|
|
1190
1212
|
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
1191
1213
|
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
1192
1214
|
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
1193
|
-
readonly
|
|
1215
|
+
readonly client_fetchLatestInboxUpdatesCount: (a: number, b: number, c: number, d: number) => any;
|
|
1216
|
+
readonly client_fetchOwnInboxUpdatesCount: (a: number, b: number) => any;
|
|
1217
|
+
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
1218
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
1219
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
1220
|
+
readonly client_registerIdentity: (a: number, b: number, c: number) => any;
|
|
1194
1221
|
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
1195
1222
|
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
1196
1223
|
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
1197
1224
|
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
1198
1225
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
1199
|
-
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;
|
|
1200
|
-
readonly revokeInstallationsSignatureRequest: (a: number, b: any, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
1201
|
-
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
1202
|
-
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: any) => any;
|
|
1203
|
-
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
1204
|
-
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
1205
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
1206
|
-
readonly contentTypeReply: () => any;
|
|
1207
|
-
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
1208
|
-
readonly __wbg_devicesync_free: (a: number, b: number) => void;
|
|
1209
|
-
readonly client_accountIdentifier: (a: number) => any;
|
|
1210
|
-
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
1211
|
-
readonly client_apiIdentityStatistics: (a: number) => any;
|
|
1212
|
-
readonly client_apiStatistics: (a: number) => any;
|
|
1213
|
-
readonly client_appVersion: (a: number) => [number, number];
|
|
1214
|
-
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
1215
|
-
readonly client_clearAllStatistics: (a: number) => void;
|
|
1216
|
-
readonly client_conversations: (a: number) => number;
|
|
1217
|
-
readonly client_device_sync: (a: number) => number;
|
|
1218
|
-
readonly client_findInboxIdByIdentity: (a: number, b: any) => any;
|
|
1219
|
-
readonly client_inboxId: (a: number) => [number, number];
|
|
1220
|
-
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
1221
|
-
readonly client_installationId: (a: number) => [number, number];
|
|
1222
|
-
readonly client_installationIdBytes: (a: number) => any;
|
|
1223
|
-
readonly client_isRegistered: (a: number) => number;
|
|
1224
|
-
readonly client_libxmtpVersion: (a: number) => [number, number];
|
|
1225
|
-
readonly client_syncPreferences: (a: number) => any;
|
|
1226
|
-
readonly contentTypeAttachment: () => any;
|
|
1227
|
-
readonly contentTypeIntent: () => any;
|
|
1228
1226
|
readonly contentTypeLeaveRequest: () => any;
|
|
1229
|
-
readonly contentTypeMarkdown: () => any;
|
|
1230
|
-
readonly contentTypeReadReceipt: () => any;
|
|
1231
|
-
readonly contentTypeText: () => any;
|
|
1232
|
-
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;
|
|
1233
|
-
readonly devicesync_archiveMetadata: (a: number, b: any, c: any) => any;
|
|
1234
|
-
readonly devicesync_createArchive: (a: number, b: any, c: any) => any;
|
|
1235
|
-
readonly devicesync_importArchive: (a: number, b: any, c: any) => any;
|
|
1236
|
-
readonly devicesync_listAvailableArchives: (a: number, b: bigint) => [number, number, number, number];
|
|
1237
|
-
readonly devicesync_processSyncArchive: (a: number, b: number, c: number) => any;
|
|
1238
|
-
readonly devicesync_sendSyncArchive: (a: number, b: any, c: number, d: number, e: number, f: number) => any;
|
|
1239
|
-
readonly devicesync_sendSyncRequest: (a: number, b: any, c: number, d: number) => any;
|
|
1240
|
-
readonly devicesync_syncAllDeviceSyncGroups: (a: number) => any;
|
|
1241
|
-
readonly encodeAttachment: (a: any) => [number, number, number];
|
|
1242
|
-
readonly encodeIntent: (a: any) => [number, number, number];
|
|
1243
|
-
readonly encodeMarkdown: (a: number, b: number) => [number, number, number];
|
|
1244
|
-
readonly encodeReadReceipt: (a: any) => [number, number, number];
|
|
1245
|
-
readonly encodeText: (a: number, b: number) => [number, number, number];
|
|
1246
|
-
readonly generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
|
|
1247
|
-
readonly getInboxIdForIdentifier: (a: number, b: any) => any;
|
|
1248
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
1249
|
-
readonly contentTypeActions: () => any;
|
|
1250
|
-
readonly contentTypeGroupUpdated: () => any;
|
|
1251
|
-
readonly contentTypeMultiRemoteAttachment: () => any;
|
|
1252
1227
|
readonly contentTypeReaction: () => any;
|
|
1253
|
-
readonly contentTypeTransactionReference: () => any;
|
|
1254
|
-
readonly contentTypeWalletSendCalls: () => any;
|
|
1255
|
-
readonly encodeActions: (a: any) => [number, number, number];
|
|
1256
|
-
readonly encodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
1257
|
-
readonly encodeReaction: (a: any) => [number, number, number];
|
|
1258
|
-
readonly encodeTransactionReference: (a: any) => [number, number, number];
|
|
1259
|
-
readonly encodeWalletSendCalls: (a: any) => [number, number, number];
|
|
1260
|
-
readonly streamcloser_end: (a: number) => void;
|
|
1261
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
1262
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
1263
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
1264
|
-
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
1265
|
-
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
1266
|
-
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
1267
|
-
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
1268
|
-
readonly __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
|
|
1269
|
-
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => any;
|
|
1270
|
-
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
1271
|
-
readonly __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
|
|
1272
|
-
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
1273
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
1274
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
1275
1228
|
readonly contentTypeRemoteAttachment: () => any;
|
|
1276
1229
|
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
1277
1230
|
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
@@ -1280,7 +1233,6 @@ export interface InitOutput {
|
|
|
1280
1233
|
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
1281
1234
|
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
1282
1235
|
readonly conversation_appData: (a: number) => [number, number, number, number];
|
|
1283
|
-
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
1284
1236
|
readonly conversation_countMessages: (a: number, b: number) => any;
|
|
1285
1237
|
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
1286
1238
|
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
@@ -1331,12 +1283,66 @@ export interface InitOutput {
|
|
|
1331
1283
|
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
1332
1284
|
readonly conversation_sync: (a: number) => any;
|
|
1333
1285
|
readonly conversation_updateAppData: (a: number, b: number, c: number) => any;
|
|
1334
|
-
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
1335
1286
|
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
1336
1287
|
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
1337
1288
|
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
1338
1289
|
readonly conversation_updateMessageDisappearingSettings: (a: number, b: any) => any;
|
|
1339
1290
|
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
1291
|
+
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;
|
|
1292
|
+
readonly decryptAttachment: (a: number, b: number, c: any) => [number, number, number];
|
|
1293
|
+
readonly encodeReaction: (a: any) => [number, number, number];
|
|
1294
|
+
readonly encodeRemoteAttachment: (a: any) => [number, number, number];
|
|
1295
|
+
readonly encryptAttachment: (a: any) => [number, number, number];
|
|
1296
|
+
readonly generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
|
|
1297
|
+
readonly getInboxIdForIdentifier: (a: number, b: any) => any;
|
|
1298
|
+
readonly inboxStateFromInboxIds: (a: number, b: number, c: number) => any;
|
|
1299
|
+
readonly revokeInstallationsSignatureRequest: (a: number, b: any, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
1300
|
+
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
1301
|
+
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: any) => any;
|
|
1302
|
+
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
1303
|
+
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
1304
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
1305
|
+
readonly contentTypeMarkdown: () => any;
|
|
1306
|
+
readonly contentTypeReply: () => any;
|
|
1307
|
+
readonly contentTypeText: () => any;
|
|
1308
|
+
readonly contentTypeTransactionReference: () => any;
|
|
1309
|
+
readonly encodeMarkdown: (a: number, b: number) => [number, number, number];
|
|
1310
|
+
readonly encodeText: (a: number, b: number) => [number, number, number];
|
|
1311
|
+
readonly encodeTransactionReference: (a: any) => [number, number, number];
|
|
1312
|
+
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
1313
|
+
readonly __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
1314
|
+
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
1315
|
+
readonly __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
1316
|
+
readonly __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
|
|
1317
|
+
readonly __wbg_get_conversationlistitem_lastMessage: (a: number) => any;
|
|
1318
|
+
readonly __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
1319
|
+
readonly __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
|
|
1320
|
+
readonly __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
1321
|
+
readonly client_accountIdentifier: (a: number) => any;
|
|
1322
|
+
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
1323
|
+
readonly client_apiIdentityStatistics: (a: number) => any;
|
|
1324
|
+
readonly client_apiStatistics: (a: number) => any;
|
|
1325
|
+
readonly client_appVersion: (a: number) => [number, number];
|
|
1326
|
+
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
1327
|
+
readonly client_clearAllStatistics: (a: number) => void;
|
|
1328
|
+
readonly client_conversations: (a: number) => number;
|
|
1329
|
+
readonly client_device_sync: (a: number) => number;
|
|
1330
|
+
readonly client_findInboxIdByIdentity: (a: number, b: any) => any;
|
|
1331
|
+
readonly client_inboxId: (a: number) => [number, number];
|
|
1332
|
+
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
1333
|
+
readonly client_installationId: (a: number) => [number, number];
|
|
1334
|
+
readonly client_installationIdBytes: (a: number) => any;
|
|
1335
|
+
readonly client_isRegistered: (a: number) => number;
|
|
1336
|
+
readonly client_libxmtpVersion: (a: number) => [number, number];
|
|
1337
|
+
readonly client_syncPreferences: (a: number) => any;
|
|
1338
|
+
readonly client_waitForRegistrationVisible: (a: number, b: number) => any;
|
|
1339
|
+
readonly contentTypeActions: () => any;
|
|
1340
|
+
readonly contentTypeAttachment: () => any;
|
|
1341
|
+
readonly contentTypeGroupUpdated: () => any;
|
|
1342
|
+
readonly contentTypeIntent: () => any;
|
|
1343
|
+
readonly contentTypeMultiRemoteAttachment: () => any;
|
|
1344
|
+
readonly contentTypeReadReceipt: () => any;
|
|
1345
|
+
readonly contentTypeWalletSendCalls: () => any;
|
|
1340
1346
|
readonly conversationlistitem_new: (a: number, b: number, c: number) => number;
|
|
1341
1347
|
readonly conversations_createDm: (a: number, b: any, c: number) => any;
|
|
1342
1348
|
readonly conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
@@ -1358,10 +1364,32 @@ export interface InitOutput {
|
|
|
1358
1364
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
1359
1365
|
readonly conversations_sync: (a: number) => any;
|
|
1360
1366
|
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
1361
|
-
readonly
|
|
1362
|
-
readonly
|
|
1363
|
-
readonly
|
|
1367
|
+
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;
|
|
1368
|
+
readonly encodeActions: (a: any) => [number, number, number];
|
|
1369
|
+
readonly encodeAttachment: (a: any) => [number, number, number];
|
|
1370
|
+
readonly encodeIntent: (a: any) => [number, number, number];
|
|
1371
|
+
readonly encodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
1372
|
+
readonly encodeReadReceipt: (a: any) => [number, number, number];
|
|
1373
|
+
readonly encodeWalletSendCalls: (a: any) => [number, number, number];
|
|
1364
1374
|
readonly metadataFieldName: (a: number) => [number, number];
|
|
1375
|
+
readonly __wbg_authhandle_free: (a: number, b: number) => void;
|
|
1376
|
+
readonly __wbg_devicesync_free: (a: number, b: number) => void;
|
|
1377
|
+
readonly authhandle_id: (a: number) => number;
|
|
1378
|
+
readonly authhandle_new: () => number;
|
|
1379
|
+
readonly authhandle_set: (a: number, b: any) => any;
|
|
1380
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
1381
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
1382
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
1383
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
1384
|
+
readonly devicesync_archiveMetadata: (a: number, b: any, c: any) => any;
|
|
1385
|
+
readonly devicesync_createArchive: (a: number, b: any, c: any) => any;
|
|
1386
|
+
readonly devicesync_importArchive: (a: number, b: any, c: any) => any;
|
|
1387
|
+
readonly devicesync_listAvailableArchives: (a: number, b: bigint) => [number, number, number, number];
|
|
1388
|
+
readonly devicesync_processSyncArchive: (a: number, b: number, c: number) => any;
|
|
1389
|
+
readonly devicesync_sendSyncArchive: (a: number, b: any, c: number, d: number, e: number, f: number) => any;
|
|
1390
|
+
readonly devicesync_sendSyncRequest: (a: number, b: any, c: number, d: number) => any;
|
|
1391
|
+
readonly devicesync_syncAllDeviceSyncGroups: (a: number) => any;
|
|
1392
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
1365
1393
|
readonly opfsClearAll: () => any;
|
|
1366
1394
|
readonly opfsDeleteFile: (a: number, b: number) => any;
|
|
1367
1395
|
readonly opfsExportDb: (a: number, b: number) => any;
|
|
@@ -1371,6 +1399,10 @@ export interface InitOutput {
|
|
|
1371
1399
|
readonly opfsInit: () => any;
|
|
1372
1400
|
readonly opfsListFiles: () => any;
|
|
1373
1401
|
readonly opfsPoolCapacity: () => any;
|
|
1402
|
+
readonly streamcloser_end: (a: number) => void;
|
|
1403
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
1404
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
1405
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
1374
1406
|
readonly rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
|
|
1375
1407
|
readonly rust_zstd_wasm_shim_free: (a: number) => void;
|
|
1376
1408
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
@@ -1389,20 +1421,20 @@ export interface InitOutput {
|
|
|
1389
1421
|
readonly rust_sqlite_wasm_realloc: (a: number, b: number) => number;
|
|
1390
1422
|
readonly sqlite3_os_end: () => number;
|
|
1391
1423
|
readonly sqlite3_os_init: () => number;
|
|
1392
|
-
readonly task_worker_entry_point: (a: number) => [number, number];
|
|
1393
|
-
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
1394
|
-
readonly intounderlyingsink_abort: (a: number, b: any) => any;
|
|
1395
|
-
readonly intounderlyingsink_close: (a: number) => any;
|
|
1396
|
-
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
1397
1424
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
1398
|
-
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1399
1425
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
1400
1426
|
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
1401
1427
|
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
1402
1428
|
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
1403
1429
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
1430
|
+
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
1431
|
+
readonly intounderlyingsink_abort: (a: number, b: any) => any;
|
|
1432
|
+
readonly intounderlyingsink_close: (a: number) => any;
|
|
1433
|
+
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
1434
|
+
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1404
1435
|
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1405
1436
|
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1437
|
+
readonly task_worker_entry_point: (a: number) => [number, number];
|
|
1406
1438
|
readonly __wbg_wasmbindgentestcontext_free: (a: number, b: number) => void;
|
|
1407
1439
|
readonly __wbgtest_console_debug: (a: any) => void;
|
|
1408
1440
|
readonly __wbgtest_console_error: (a: any) => void;
|
|
@@ -1413,21 +1445,25 @@ export interface InitOutput {
|
|
|
1413
1445
|
readonly wasmbindgentestcontext_include_ignored: (a: number, b: number) => void;
|
|
1414
1446
|
readonly wasmbindgentestcontext_new: (a: number) => number;
|
|
1415
1447
|
readonly wasmbindgentestcontext_run: (a: number, b: number, c: number) => any;
|
|
1416
|
-
readonly __wbgtest_cov_dump: () => [number, number];
|
|
1417
|
-
readonly __wbgtest_module_signature: () => [number, bigint];
|
|
1418
1448
|
readonly __wbgbench_dump: () => [number, number];
|
|
1419
1449
|
readonly __wbgbench_import: (a: number, b: number) => void;
|
|
1450
|
+
readonly __wbgtest_cov_dump: () => [number, number];
|
|
1451
|
+
readonly __wbgtest_module_signature: () => [number, bigint];
|
|
1420
1452
|
readonly __wbgtest_coverage_path: (a: number, b: number, c: number, d: number, e: number, f: bigint) => [number, number];
|
|
1421
|
-
readonly
|
|
1422
|
-
readonly
|
|
1423
|
-
readonly
|
|
1424
|
-
readonly
|
|
1425
|
-
readonly
|
|
1426
|
-
readonly
|
|
1427
|
-
readonly
|
|
1428
|
-
readonly
|
|
1429
|
-
readonly
|
|
1430
|
-
readonly
|
|
1453
|
+
readonly wasm_bindgen__closure__destroy__h0d08380207e9a9d9: (a: number, b: number) => void;
|
|
1454
|
+
readonly wasm_bindgen__closure__destroy__ha966834d05fa118a: (a: number, b: number) => void;
|
|
1455
|
+
readonly wasm_bindgen__closure__destroy__hfb5fb7686997db4b: (a: number, b: number) => void;
|
|
1456
|
+
readonly wasm_bindgen__closure__destroy__h7209b1fb7810f3a7: (a: number, b: number) => void;
|
|
1457
|
+
readonly wasm_bindgen__closure__destroy__h032c7eb75ae4b8e8: (a: number, b: number) => void;
|
|
1458
|
+
readonly wasm_bindgen__closure__destroy__hf7fa66330d0f3282: (a: number, b: number) => void;
|
|
1459
|
+
readonly wasm_bindgen__convert__closures_____invoke__h463fcf847e24a8b9: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
1460
|
+
readonly wasm_bindgen__convert__closures_____invoke__h8bed00622ec861bf: (a: number, b: number, c: any) => [number, number];
|
|
1461
|
+
readonly wasm_bindgen__convert__closures_____invoke__h4387b2ade76fdfcf: (a: number, b: number, c: any, d: any) => void;
|
|
1462
|
+
readonly wasm_bindgen__convert__closures_____invoke__h140f53b38323e9be: (a: number, b: number, c: any) => void;
|
|
1463
|
+
readonly wasm_bindgen__convert__closures_____invoke__hd0dc2e5511ed29f1: (a: number, b: number) => void;
|
|
1464
|
+
readonly wasm_bindgen__convert__closures_____invoke__h51cd27c89e2d87ba: (a: number, b: number) => void;
|
|
1465
|
+
readonly wasm_bindgen__convert__closures_____invoke__hbb4e335ca4c3b929: (a: number, b: number) => void;
|
|
1466
|
+
readonly wasm_bindgen__convert__closures_____invoke__ha56bcea43cbb87ac: (a: number, b: number) => void;
|
|
1431
1467
|
readonly __externref_table_alloc: () => number;
|
|
1432
1468
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
1433
1469
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|