@xmtp/wasm-bindings 1.3.4 → 1.4.0-dev.7f5d8e0

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.
Binary file
@@ -1,8 +1,34 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
5
- export const generateInboxId: (a: any) => [number, number, number, number];
4
+ export const __wbg_client_free: (a: number, b: number) => void;
5
+ export const __wbg_logoptions_free: (a: number, b: number) => void;
6
+ export const __wbg_get_logoptions_structured: (a: number) => number;
7
+ export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
8
+ export const __wbg_get_logoptions_performance: (a: number) => number;
9
+ export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
10
+ export const __wbg_get_logoptions_level: (a: number) => number;
11
+ export const __wbg_set_logoptions_level: (a: number, b: number) => void;
12
+ export const logoptions_new: (a: number, b: number, c: number) => number;
13
+ export const 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) => any;
14
+ export const client_accountIdentifier: (a: number) => any;
15
+ export const client_inboxId: (a: number) => [number, number];
16
+ export const client_isRegistered: (a: number) => number;
17
+ export const client_installationId: (a: number) => [number, number];
18
+ export const client_installationIdBytes: (a: number) => any;
19
+ export const client_appVersion: (a: number) => [number, number];
20
+ export const client_libxmtpVersion: (a: number) => [number, number];
21
+ export const client_canMessage: (a: number, b: number, c: number) => any;
22
+ export const client_sendSyncRequest: (a: number) => any;
23
+ export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
24
+ export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
25
+ export const client_conversations: (a: number) => number;
26
+ export const client_syncPreferences: (a: number) => any;
27
+ export const client_apiStatistics: (a: number) => number;
28
+ export const client_apiIdentityStatistics: (a: number) => number;
29
+ export const client_apiAggregateStatistics: (a: number) => [number, number];
30
+ export const client_clearAllStatistics: (a: number) => void;
31
+ export const client_uploadDebugArchive: (a: number, b: number, c: number) => any;
6
32
  export const __wbg_consent_free: (a: number, b: number) => void;
7
33
  export const __wbg_get_consent_entityType: (a: number) => number;
8
34
  export const __wbg_set_consent_entityType: (a: number, b: number) => void;
@@ -105,8 +131,6 @@ export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [n
105
131
  export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
106
132
  export const __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
107
133
  export const __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
108
- export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
109
- export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
110
134
  export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
111
135
  export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
112
136
  export const __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
@@ -114,7 +138,6 @@ export const __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number,
114
138
  export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
115
139
  export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
116
140
  export const listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
117
- export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
118
141
  export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
119
142
  export const __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
120
143
  export const __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
@@ -190,6 +213,28 @@ export const __wbg_set_encodedcontent_compression: (a: number, b: number) => voi
190
213
  export const __wbg_get_encodedcontent_content: (a: number) => any;
191
214
  export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
192
215
  export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
216
+ export const __wbg_installation_free: (a: number, b: number) => void;
217
+ export const __wbg_get_installation_bytes: (a: number) => any;
218
+ export const __wbg_set_installation_bytes: (a: number, b: any) => void;
219
+ export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
220
+ export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
221
+ export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
222
+ export const __wbg_inboxstate_free: (a: number, b: number) => void;
223
+ export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
224
+ export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
225
+ export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
226
+ export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
227
+ export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
228
+ export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
229
+ export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
230
+ export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
231
+ export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
232
+ export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
233
+ export const __wbg_lifetime_free: (a: number, b: number) => void;
234
+ export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
235
+ export const client_inboxState: (a: number, b: number) => any;
236
+ export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
237
+ export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
193
238
  export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
194
239
  export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
195
240
  export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
@@ -256,6 +301,7 @@ export const streamcloser_end: (a: number) => void;
256
301
  export const streamcloser_endAndWait: (a: number) => any;
257
302
  export const streamcloser_waitForReady: (a: number) => any;
258
303
  export const streamcloser_isClosed: (a: number) => number;
304
+ export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
259
305
  export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
260
306
  export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
261
307
  export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
@@ -265,98 +311,38 @@ export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, numb
265
311
  export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
266
312
  export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
267
313
  export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
314
+ export const __wbg_get_installation_id: (a: number) => [number, number];
315
+ export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
268
316
  export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
269
317
  export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
270
318
  export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
271
319
  export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
272
320
  export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
321
+ export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
322
+ export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
273
323
  export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
274
324
  export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
275
325
  export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
326
+ export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
327
+ export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
276
328
  export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
277
329
  export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
278
330
  export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
279
331
  export const __wbg_get_hmackey_epoch: (a: number) => bigint;
332
+ export const __wbg_get_lifetime_not_before: (a: number) => bigint;
333
+ export const __wbg_get_lifetime_not_after: (a: number) => bigint;
280
334
  export const __wbg_get_message_sentAtNs: (a: number) => bigint;
281
335
  export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
282
336
  export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
283
337
  export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
338
+ export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
284
339
  export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
285
340
  export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
286
341
  export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
287
342
  export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
288
- export const __wbg_client_free: (a: number, b: number) => void;
289
- export const __wbg_logoptions_free: (a: number, b: number) => void;
290
- export const __wbg_get_logoptions_structured: (a: number) => number;
291
- export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
292
- export const __wbg_get_logoptions_performance: (a: number) => number;
293
- export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
294
- export const __wbg_get_logoptions_level: (a: number) => number;
295
- export const __wbg_set_logoptions_level: (a: number, b: number) => void;
296
- export const logoptions_new: (a: number, b: number, c: number) => number;
297
- export const 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) => any;
298
- export const client_accountIdentifier: (a: number) => any;
299
- export const client_inboxId: (a: number) => [number, number];
300
- export const client_isRegistered: (a: number) => number;
301
- export const client_installationId: (a: number) => [number, number];
302
- export const client_installationIdBytes: (a: number) => any;
303
- export const client_canMessage: (a: number, b: number, c: number) => any;
304
- export const client_sendSyncRequest: (a: number) => any;
305
- export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
306
- export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
307
- export const client_conversations: (a: number) => number;
308
- export const client_syncPreferences: (a: number) => any;
309
- export const client_apiStatistics: (a: number) => number;
310
- export const client_apiIdentityStatistics: (a: number) => number;
311
- export const client_apiAggregateStatistics: (a: number) => [number, number];
312
- export const client_clearAllStatistics: (a: number) => void;
313
- export const client_uploadDebugArchive: (a: number, b: number, c: number) => any;
314
- export const __wbg_apistats_free: (a: number, b: number) => void;
315
- export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
316
- export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
317
- export const __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
318
- export const __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
319
- export const __wbg_get_apistats_send_group_messages: (a: number) => bigint;
320
- export const __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
321
- export const __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
322
- export const __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
323
- export const __wbg_get_apistats_query_group_messages: (a: number) => bigint;
324
- export const __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
325
- export const __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
326
- export const __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
327
- export const __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
328
- export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
329
- export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
330
- export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
331
- export const __wbg_identitystats_free: (a: number, b: number) => void;
332
- export const __wbg_installation_free: (a: number, b: number) => void;
333
- export const __wbg_get_installation_bytes: (a: number) => any;
334
- export const __wbg_set_installation_bytes: (a: number, b: any) => void;
335
- export const __wbg_get_installation_id: (a: number) => [number, number];
336
- export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
337
- export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
338
- export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
339
- export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
340
- export const __wbg_inboxstate_free: (a: number, b: number) => void;
341
- export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
342
- export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
343
- export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
344
- export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
345
- export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
346
- export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
347
- export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
348
- export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
349
- export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
350
- export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
351
343
  export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
352
344
  export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
353
- export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
354
- export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
355
- export const __wbg_lifetime_free: (a: number, b: number) => void;
356
- export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
357
- export const client_inboxState: (a: number, b: number) => any;
358
- export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
359
- export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
345
+ export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
360
346
  export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
361
347
  export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
362
348
  export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
@@ -378,18 +364,34 @@ export const permissionpolicyset_new: (a: number, b: number, c: number, d: numbe
378
364
  export const __wbg_grouppermissions_free: (a: number, b: number) => void;
379
365
  export const grouppermissions_policyType: (a: number) => [number, number, number];
380
366
  export const grouppermissions_policySet: (a: number) => [number, number, number];
367
+ export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
368
+ export const generateInboxId: (a: any) => [number, number, number, number];
369
+ export const __wbg_apistats_free: (a: number, b: number) => void;
370
+ export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
371
+ export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
372
+ export const __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
373
+ export const __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
374
+ export const __wbg_get_apistats_send_group_messages: (a: number) => bigint;
375
+ export const __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
376
+ export const __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
377
+ export const __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
378
+ export const __wbg_get_apistats_query_group_messages: (a: number) => bigint;
379
+ export const __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
380
+ export const __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
381
+ export const __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
382
+ export const __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
383
+ export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
384
+ export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
385
+ export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
386
+ export const __wbg_identitystats_free: (a: number, b: number) => void;
381
387
  export const __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
382
388
  export const __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
383
389
  export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
384
390
  export const __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
385
- export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
386
- export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
387
391
  export const __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
388
392
  export const __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
389
393
  export const __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
390
394
  export const __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
391
- export const __wbg_get_lifetime_not_before: (a: number) => bigint;
392
- export const __wbg_get_lifetime_not_after: (a: number) => bigint;
393
395
  export const rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
394
396
  export const rust_zstd_wasm_shim_malloc: (a: number) => number;
395
397
  export const rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
@@ -432,8 +434,8 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
432
434
  export const __externref_drop_slice: (a: number, b: number) => void;
433
435
  export const __wbindgen_export_7: WebAssembly.Table;
434
436
  export const __externref_table_dealloc: (a: number) => void;
435
- export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h42782d8d6f6b94ef: (a: number, b: number) => void;
436
- export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h912129f7a2cf8b7b: (a: number, b: number) => void;
437
- export const closure5049_externref_shim: (a: number, b: number, c: any) => void;
438
- export const closure5992_externref_shim: (a: number, b: number, c: any, d: any) => void;
437
+ export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h469745bf9f974f96: (a: number, b: number) => void;
438
+ export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc5db0b12f1fa1c9f: (a: number, b: number) => void;
439
+ export const closure4978_externref_shim: (a: number, b: number, c: any) => void;
440
+ export const closure5922_externref_shim: (a: number, b: number, c: any, d: any) => void;
439
441
  export const __wbindgen_start: () => void;
package/dist/version.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "branch": "release/v1.3",
3
- "version": "98a046f",
4
- "date": "2025-07-29 23:06:00 +0000"
2
+ "branch": "main",
3
+ "version": "7f5d8e0",
4
+ "date": "2025-08-04 22:22:03 +0000"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/wasm-bindings",
3
- "version": "1.3.4",
3
+ "version": "1.4.0-dev.7f5d8e0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "WASM bindings for the libXMTP rust library",