@xmtp/wasm-bindings 1.3.3 → 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,6 +1,34 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
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;
4
32
  export const __wbg_consent_free: (a: number, b: number) => void;
5
33
  export const __wbg_get_consent_entityType: (a: number) => number;
6
34
  export const __wbg_set_consent_entityType: (a: number, b: number) => void;
@@ -13,6 +41,35 @@ export const client_setConsentStates: (a: number, b: number, c: number) => any;
13
41
  export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
14
42
  export const conversation_consentState: (a: number) => [number, number, number];
15
43
  export const conversation_updateConsentState: (a: number, b: number) => [number, number];
44
+ export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
45
+ export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
46
+ export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
47
+ export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
48
+ export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
49
+ export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
50
+ export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
51
+ export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
52
+ export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
53
+ export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
54
+ export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
55
+ export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
56
+ export const remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
57
+ export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
58
+ export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
59
+ export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
60
+ export const multiremoteattachment_new: (a: number, b: number) => number;
61
+ export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
62
+ export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
63
+ export const __wbg_reaction_free: (a: number, b: number) => void;
64
+ export const __wbg_get_reaction_action: (a: number) => number;
65
+ export const __wbg_set_reaction_action: (a: number, b: number) => void;
66
+ export const __wbg_get_reaction_content: (a: number) => [number, number];
67
+ export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
68
+ export const __wbg_get_reaction_schema: (a: number) => number;
69
+ export const __wbg_set_reaction_schema: (a: number, b: number) => void;
70
+ export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
71
+ export const encodeReaction: (a: number) => [number, number, number];
72
+ export const decodeReaction: (a: any) => [number, number, number];
16
73
  export const __wbg_groupmetadata_free: (a: number, b: number) => void;
17
74
  export const groupmetadata_creatorInboxId: (a: number) => [number, number];
18
75
  export const groupmetadata_conversationType: (a: number) => [number, number];
@@ -156,8 +213,6 @@ export const __wbg_set_encodedcontent_compression: (a: number, b: number) => voi
156
213
  export const __wbg_get_encodedcontent_content: (a: number) => any;
157
214
  export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
158
215
  export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
159
- export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
160
- export const generateInboxId: (a: any) => [number, number, number, number];
161
216
  export const __wbg_installation_free: (a: number, b: number) => void;
162
217
  export const __wbg_get_installation_bytes: (a: number) => any;
163
218
  export const __wbg_set_installation_bytes: (a: number, b: any) => void;
@@ -250,12 +305,19 @@ export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [
250
305
  export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
251
306
  export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
252
307
  export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
308
+ export const __wbg_get_reaction_reference: (a: number) => [number, number];
253
309
  export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
310
+ export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
311
+ export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
254
312
  export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
313
+ export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
255
314
  export const __wbg_get_installation_id: (a: number) => [number, number];
256
315
  export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
316
+ export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
257
317
  export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
318
+ export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
258
319
  export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
320
+ export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
259
321
  export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
260
322
  export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
261
323
  export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
@@ -271,6 +333,8 @@ export const __wbg_get_lifetime_not_before: (a: number) => bigint;
271
333
  export const __wbg_get_lifetime_not_after: (a: number) => bigint;
272
334
  export const __wbg_get_message_sentAtNs: (a: number) => bigint;
273
335
  export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
336
+ export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
337
+ export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
274
338
  export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
275
339
  export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
276
340
  export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
@@ -279,88 +343,6 @@ export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: numbe
279
343
  export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
280
344
  export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
281
345
  export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
282
- export const __wbg_client_free: (a: number, b: number) => void;
283
- export const __wbg_logoptions_free: (a: number, b: number) => void;
284
- export const __wbg_get_logoptions_structured: (a: number) => number;
285
- export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
286
- export const __wbg_get_logoptions_performance: (a: number) => number;
287
- export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
288
- export const __wbg_get_logoptions_level: (a: number) => number;
289
- export const __wbg_set_logoptions_level: (a: number, b: number) => void;
290
- export const logoptions_new: (a: number, b: number, c: number) => number;
291
- 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;
292
- export const client_accountIdentifier: (a: number) => any;
293
- export const client_inboxId: (a: number) => [number, number];
294
- export const client_isRegistered: (a: number) => number;
295
- export const client_installationId: (a: number) => [number, number];
296
- export const client_installationIdBytes: (a: number) => any;
297
- export const client_canMessage: (a: number, b: number, c: number) => any;
298
- export const client_sendSyncRequest: (a: number) => any;
299
- export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
300
- export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
301
- export const client_conversations: (a: number) => number;
302
- export const client_syncPreferences: (a: number) => any;
303
- export const client_apiStatistics: (a: number) => number;
304
- export const client_apiIdentityStatistics: (a: number) => number;
305
- export const client_apiAggregateStatistics: (a: number) => [number, number];
306
- export const client_clearAllStatistics: (a: number) => void;
307
- export const client_uploadDebugArchive: (a: number, b: number, c: number) => any;
308
- export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
309
- export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
310
- export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
311
- export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
312
- export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
313
- export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
314
- export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
315
- export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
316
- export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
317
- export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
318
- export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
319
- export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
320
- export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
321
- export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
322
- export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
323
- export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
324
- export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
325
- export const remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
326
- export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
327
- export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
328
- export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
329
- export const multiremoteattachment_new: (a: number, b: number) => number;
330
- export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
331
- export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
332
- export const __wbg_reaction_free: (a: number, b: number) => void;
333
- export const __wbg_get_reaction_reference: (a: number) => [number, number];
334
- export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
335
- export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
336
- export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
337
- export const __wbg_get_reaction_action: (a: number) => number;
338
- export const __wbg_set_reaction_action: (a: number, b: number) => void;
339
- export const __wbg_get_reaction_content: (a: number) => [number, number];
340
- export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
341
- export const __wbg_get_reaction_schema: (a: number) => number;
342
- export const __wbg_set_reaction_schema: (a: number, b: number) => void;
343
- export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
344
- export const encodeReaction: (a: number) => [number, number, number];
345
- export const decodeReaction: (a: any) => [number, number, number];
346
- export const __wbg_apistats_free: (a: number, b: number) => void;
347
- export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
348
- export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
349
- export const __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
350
- export const __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
351
- export const __wbg_get_apistats_send_group_messages: (a: number) => bigint;
352
- export const __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
353
- export const __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
354
- export const __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
355
- export const __wbg_get_apistats_query_group_messages: (a: number) => bigint;
356
- export const __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
357
- export const __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
358
- export const __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
359
- export const __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
360
- export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
361
- export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
362
- export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
363
- export const __wbg_identitystats_free: (a: number, b: number) => void;
364
346
  export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
365
347
  export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
366
348
  export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
@@ -382,6 +364,26 @@ export const permissionpolicyset_new: (a: number, b: number, c: number, d: numbe
382
364
  export const __wbg_grouppermissions_free: (a: number, b: number) => void;
383
365
  export const grouppermissions_policyType: (a: number) => [number, number, number];
384
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;
385
387
  export const __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
386
388
  export const __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
387
389
  export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
@@ -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 closure5046_externref_shim: (a: number, b: number, c: any) => void;
438
- export const closure5989_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": "9532653",
4
- "date": "2025-07-25 23:19:55 +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.3",
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",