@xmtp/wasm-bindings 1.2.1 → 1.2.2

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.
@@ -1,12 +1,90 @@
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) => 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_canMessage: (a: number, b: number, c: number) => any;
20
+ export const client_registerIdentity: (a: number) => any;
21
+ export const client_sendSyncRequest: (a: number) => any;
22
+ export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
23
+ export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
24
+ export const client_conversations: (a: number) => number;
25
+ export const client_syncPreferences: (a: number) => any;
26
+ export const client_apiStatistics: (a: number) => number;
27
+ export const client_apiIdentityStatistics: (a: number) => number;
28
+ export const client_apiAggregateStatistics: (a: number) => [number, number];
29
+ export const client_clearAllStatistics: (a: number) => void;
30
+ export const client_uploadDebugArchive: (a: number, b: number, c: number) => any;
31
+ export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
32
+ export const __wbg_passkeysignature_free: (a: number, b: number) => void;
33
+ export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
34
+ export const client_addWalletSignatureText: (a: number, b: any) => any;
35
+ export const client_revokeWalletSignatureText: (a: number, b: any) => any;
36
+ export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
37
+ export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
38
+ export const client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
39
+ export const client_addEcdsaSignature: (a: number, b: number, c: any) => any;
40
+ export const client_addPasskeySignature: (a: number, b: number, c: number) => any;
41
+ export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
42
+ export const client_applySignatureRequests: (a: number) => any;
43
+ export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
44
+ export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
45
+ export const __wbg_apistats_free: (a: number, b: number) => void;
46
+ export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
47
+ export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
48
+ export const __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
49
+ export const __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
50
+ export const __wbg_get_apistats_send_group_messages: (a: number) => bigint;
51
+ export const __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
52
+ export const __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
53
+ export const __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
54
+ export const __wbg_get_apistats_query_group_messages: (a: number) => bigint;
55
+ export const __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
56
+ export const __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
57
+ export const __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
58
+ export const __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
59
+ export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
60
+ export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
61
+ export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
62
+ export const __wbg_identitystats_free: (a: number, b: number) => void;
63
+ export const __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
64
+ export const __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
65
+ export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
66
+ export const __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
67
+ export const __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
68
+ export const __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
69
+ export const __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
70
+ export const __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
71
+ export const __wbg_consent_free: (a: number, b: number) => void;
72
+ export const __wbg_get_consent_entityType: (a: number) => number;
73
+ export const __wbg_set_consent_entityType: (a: number, b: number) => void;
74
+ export const __wbg_get_consent_state: (a: number) => number;
75
+ export const __wbg_set_consent_state: (a: number, b: number) => void;
76
+ export const __wbg_get_consent_entity: (a: number) => [number, number];
77
+ export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
78
+ export const consent_new: (a: number, b: number, c: number, d: number) => number;
79
+ export const client_setConsentStates: (a: number, b: number, c: number) => any;
80
+ export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
81
+ export const conversation_consentState: (a: number) => [number, number, number];
82
+ export const conversation_updateConsentState: (a: number, b: number) => [number, number];
4
83
  export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
5
84
  export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
6
85
  export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
7
86
  export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
8
87
  export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
9
- export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
10
88
  export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
11
89
  export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
12
90
  export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
@@ -33,13 +111,67 @@ export const __wbg_set_reaction_schema: (a: number, b: number) => void;
33
111
  export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
34
112
  export const encodeReaction: (a: number) => [number, number, number];
35
113
  export const decodeReaction: (a: any) => [number, number, number];
114
+ export const __wbg_groupmetadata_free: (a: number, b: number) => void;
115
+ export const groupmetadata_creatorInboxId: (a: number) => [number, number];
116
+ export const groupmetadata_conversationType: (a: number) => [number, number];
117
+ export const __wbg_groupmember_free: (a: number, b: number) => void;
118
+ export const __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
119
+ export const __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
120
+ export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
121
+ export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
122
+ export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
123
+ export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
124
+ export const __wbg_get_groupmember_consentState: (a: number) => number;
125
+ export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
126
+ export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
127
+ export const __wbg_conversation_free: (a: number, b: number) => void;
128
+ export const conversation_id: (a: number) => [number, number];
129
+ export const conversation_send: (a: number, b: number) => any;
130
+ export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
131
+ export const conversation_publishMessages: (a: number) => any;
132
+ export const conversation_sync: (a: number) => any;
133
+ export const conversation_findMessages: (a: number, b: number) => any;
134
+ export const conversation_findMessagesWithReactions: (a: number, b: number) => any;
135
+ export const conversation_listMembers: (a: number) => any;
136
+ export const conversation_adminList: (a: number) => [number, number, number, number];
137
+ export const conversation_superAdminList: (a: number) => [number, number, number, number];
138
+ export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
139
+ export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
140
+ export const conversation_addMembers: (a: number, b: number, c: number) => any;
141
+ export const conversation_addAdmin: (a: number, b: number, c: number) => any;
142
+ export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
143
+ export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
144
+ export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
145
+ export const conversation_groupPermissions: (a: number) => [number, number, number];
146
+ export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
147
+ export const conversation_removeMembers: (a: number, b: number, c: number) => any;
148
+ export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
149
+ export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
150
+ export const conversation_groupName: (a: number) => [number, number, number, number];
151
+ export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
152
+ export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
153
+ export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
154
+ export const conversation_groupDescription: (a: number) => [number, number, number, number];
155
+ export const conversation_stream: (a: number, b: any) => [number, number, number];
156
+ export const conversation_createdAtNs: (a: number) => bigint;
157
+ export const conversation_isActive: (a: number) => [number, number, number];
158
+ export const conversation_pausedForVersion: (a: number) => [number, number, number, number];
159
+ export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
160
+ export const conversation_groupMetadata: (a: number) => any;
161
+ export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
162
+ export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
163
+ export const conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
164
+ export const conversation_removeMessageDisappearingSettings: (a: number) => any;
165
+ export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
166
+ export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
167
+ export const conversation_getHmacKeys: (a: number) => [number, number, number];
168
+ export const conversation_getDebugInfo: (a: number) => any;
169
+ export const conversation_findDuplicateDms: (a: number) => any;
36
170
  export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
37
171
  export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
38
172
  export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
39
173
  export const __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
40
174
  export const __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
41
- export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
42
- export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
43
175
  export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
44
176
  export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
45
177
  export const __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
@@ -48,8 +180,6 @@ export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, b
48
180
  export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
49
181
  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;
50
182
  export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
51
- export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
52
- export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
53
183
  export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
54
184
  export const __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
55
185
  export const __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
@@ -73,6 +203,7 @@ export const __wbg_createdmoptions_free: (a: number, b: number) => void;
73
203
  export const __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
74
204
  export const __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
75
205
  export const createdmoptions_new: (a: number) => number;
206
+ export const __wbg_hmackey_free: (a: number, b: number) => void;
76
207
  export const __wbg_get_hmackey_key: (a: number) => [number, number];
77
208
  export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
78
209
  export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
@@ -99,8 +230,6 @@ export const conversations_streamAllMessages: (a: number, b: any, c: number, d:
99
230
  export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
100
231
  export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
101
232
  export const __wbg_contenttypeid_free: (a: number, b: number) => void;
102
- export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
103
- export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
104
233
  export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
105
234
  export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
106
235
  export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
@@ -120,6 +249,34 @@ export const __wbg_set_encodedcontent_compression: (a: number, b: number) => voi
120
249
  export const __wbg_get_encodedcontent_content: (a: number) => any;
121
250
  export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
122
251
  export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
252
+ export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
253
+ export const generateInboxId: (a: any) => [number, number, number, number];
254
+ export const __wbg_installation_free: (a: number, b: number) => void;
255
+ export const __wbg_get_installation_bytes: (a: number) => any;
256
+ export const __wbg_set_installation_bytes: (a: number, b: any) => void;
257
+ export const __wbg_get_installation_id: (a: number) => [number, number];
258
+ export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
259
+ export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
260
+ export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
261
+ export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
262
+ export const __wbg_inboxstate_free: (a: number, b: number) => void;
263
+ export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
264
+ export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
265
+ export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
266
+ export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
267
+ export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
268
+ export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
269
+ export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
270
+ export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
271
+ export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
272
+ export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
273
+ export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
274
+ export const __wbg_lifetime_free: (a: number, b: number) => void;
275
+ export const __wbg_get_lifetime_not_after: (a: number) => bigint;
276
+ export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
277
+ export const client_inboxState: (a: number, b: number) => any;
278
+ export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
279
+ export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
123
280
  export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
124
281
  export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
125
282
  export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
@@ -149,216 +306,60 @@ export const __wbg_get_messagewithreactions_message: (a: number) => number;
149
306
  export const __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
150
307
  export const __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
151
308
  export const __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
152
- export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
153
- export const __wbg_passkeysignature_free: (a: number, b: number) => void;
154
- export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
155
- export const client_addWalletSignatureText: (a: number, b: any) => any;
156
- export const client_revokeWalletSignatureText: (a: number, b: any) => any;
157
- export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
158
- export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
159
- export const client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
160
- export const client_addEcdsaSignature: (a: number, b: number, c: any) => any;
161
- export const client_addPasskeySignature: (a: number, b: number, c: number) => any;
162
- export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
163
- export const client_applySignatureRequests: (a: number) => any;
164
- export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
165
- export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
309
+ export const __wbg_opfs_free: (a: number, b: number) => void;
310
+ export const opfs_init_sqlite_opfs: () => any;
311
+ export const opfs_exists: () => number;
312
+ export const opfs_error: () => [number, number];
313
+ export const opfs_wipeFiles: () => any;
314
+ export const opfs_rm: (a: number, b: number) => [number, number, number];
315
+ export const opfs_getFileNames: () => [number, number];
316
+ export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
317
+ export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
318
+ export const opfs_getFileCount: () => number;
319
+ export const opfs_getCapacity: () => number;
320
+ export const opfs_addCapacity: (a: number) => any;
321
+ export const opfs_reduceCapacity: (a: number) => any;
322
+ export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
166
323
  export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
167
324
  export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
168
325
  export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
169
- export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
170
326
  export const __wbg_get_reaction_reference: (a: number) => [number, number];
327
+ export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
328
+ export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
329
+ export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
171
330
  export const __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
172
- export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
331
+ export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
332
+ export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
173
333
  export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
334
+ export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
335
+ export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
336
+ export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
174
337
  export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
338
+ export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
175
339
  export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
176
340
  export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
341
+ export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
342
+ export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
177
343
  export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
178
344
  export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
179
345
  export const __wbg_get_hmackey_epoch: (a: number) => bigint;
346
+ export const __wbg_get_lifetime_not_before: (a: number) => bigint;
347
+ export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
180
348
  export const __wbg_get_message_sentAtNs: (a: number) => bigint;
181
349
  export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
182
350
  export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
183
351
  export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
352
+ export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
184
353
  export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
185
354
  export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
186
355
  export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
187
356
  export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
188
- export const __wbg_hmackey_free: (a: number, b: number) => void;
189
- export const __wbg_client_free: (a: number, b: number) => void;
190
- export const __wbg_logoptions_free: (a: number, b: number) => void;
191
- export const __wbg_get_logoptions_structured: (a: number) => number;
192
- export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
193
- export const __wbg_get_logoptions_performance: (a: number) => number;
194
- export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
195
- export const __wbg_get_logoptions_level: (a: number) => number;
196
- export const __wbg_set_logoptions_level: (a: number, b: number) => void;
197
- export const logoptions_new: (a: number, b: number, c: number) => number;
198
- 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) => any;
199
- export const client_accountIdentifier: (a: number) => any;
200
- export const client_inboxId: (a: number) => [number, number];
201
- export const client_isRegistered: (a: number) => number;
202
- export const client_installationId: (a: number) => [number, number];
203
- export const client_installationIdBytes: (a: number) => any;
204
- export const client_canMessage: (a: number, b: number, c: number) => any;
205
- export const client_registerIdentity: (a: number) => any;
206
- export const client_sendSyncRequest: (a: number) => any;
207
- export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
208
- export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
209
- export const client_conversations: (a: number) => number;
210
- export const client_syncPreferences: (a: number) => any;
211
- export const client_apiStatistics: (a: number) => number;
212
- export const client_apiIdentityStatistics: (a: number) => number;
213
- export const client_apiAggregateStatistics: (a: number) => [number, number];
214
- export const client_uploadDebugArchive: (a: number, b: number, c: number) => any;
215
- export const __wbg_groupmetadata_free: (a: number, b: number) => void;
216
- export const groupmetadata_creatorInboxId: (a: number) => [number, number];
217
- export const groupmetadata_conversationType: (a: number) => [number, number];
218
- export const __wbg_groupmember_free: (a: number, b: number) => void;
219
- export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
220
- export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
221
- export const __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
222
- export const __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
223
- export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
224
- export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
225
- export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
226
- export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
227
- export const __wbg_get_groupmember_consentState: (a: number) => number;
228
- export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
229
- export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
230
- export const __wbg_conversation_free: (a: number, b: number) => void;
231
- export const conversation_id: (a: number) => [number, number];
232
- export const conversation_send: (a: number, b: number) => any;
233
- export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
234
- export const conversation_publishMessages: (a: number) => any;
235
- export const conversation_sync: (a: number) => any;
236
- export const conversation_findMessages: (a: number, b: number) => any;
237
- export const conversation_findMessagesWithReactions: (a: number, b: number) => any;
238
- export const conversation_listMembers: (a: number) => any;
239
- export const conversation_adminList: (a: number) => [number, number, number, number];
240
- export const conversation_superAdminList: (a: number) => [number, number, number, number];
241
- export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
242
- export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
243
- export const conversation_addMembers: (a: number, b: number, c: number) => any;
244
- export const conversation_addAdmin: (a: number, b: number, c: number) => any;
245
- export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
246
- export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
247
- export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
248
- export const conversation_groupPermissions: (a: number) => [number, number, number];
249
- export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
250
- export const conversation_removeMembers: (a: number, b: number, c: number) => any;
251
- export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
252
- export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
253
- export const conversation_groupName: (a: number) => [number, number, number, number];
254
- export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
255
- export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
256
- export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
257
- export const conversation_groupDescription: (a: number) => [number, number, number, number];
258
- export const conversation_stream: (a: number, b: any) => [number, number, number];
259
- export const conversation_createdAtNs: (a: number) => bigint;
260
- export const conversation_isActive: (a: number) => [number, number, number];
261
- export const conversation_pausedForVersion: (a: number) => [number, number, number, number];
262
- export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
263
- export const conversation_groupMetadata: (a: number) => any;
264
- export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
265
- export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
266
- export const conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
267
- export const conversation_removeMessageDisappearingSettings: (a: number) => any;
268
- export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
269
- export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
270
- export const conversation_getHmacKeys: (a: number) => [number, number, number];
271
- export const conversation_getDebugInfo: (a: number) => any;
272
- export const conversation_findDuplicateDms: (a: number) => any;
273
- export const __wbg_apistats_free: (a: number, b: number) => void;
274
- export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
275
- export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
276
- export const __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
277
- export const __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
278
- export const __wbg_get_apistats_send_group_messages: (a: number) => bigint;
279
- export const __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
280
- export const __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
281
- export const __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
282
- export const __wbg_get_apistats_query_group_messages: (a: number) => bigint;
283
- export const __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
284
- export const __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
285
- export const __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
286
- export const __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
287
- export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
288
- export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
289
- export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
290
- export const __wbg_identitystats_free: (a: number, b: number) => void;
291
- export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
292
- export const generateInboxId: (a: any) => [number, number, number, number];
293
- export const __wbg_installation_free: (a: number, b: number) => void;
294
- export const __wbg_get_installation_bytes: (a: number) => any;
295
- export const __wbg_set_installation_bytes: (a: number, b: any) => void;
296
- export const __wbg_get_installation_id: (a: number) => [number, number];
297
- export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
298
- export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
299
- export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
300
- export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
301
- export const __wbg_inboxstate_free: (a: number, b: number) => void;
302
- export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
303
- export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
304
- export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
305
- export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
306
- export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
307
- export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
308
- export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
309
- export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
310
- export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
311
357
  export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
312
- export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
313
- export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
314
- export const __wbg_lifetime_free: (a: number, b: number) => void;
315
- export const client_inboxState: (a: number, b: number) => any;
316
- export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
317
- export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
318
358
  export const __wbg_streamcloser_free: (a: number, b: number) => void;
319
359
  export const streamcloser_end: (a: number) => void;
320
360
  export const streamcloser_endAndWait: (a: number) => any;
321
361
  export const streamcloser_waitForReady: (a: number) => any;
322
362
  export const streamcloser_isClosed: (a: number) => number;
323
- export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
324
- export const __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
325
- export const __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
326
- export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
327
- export const __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
328
- export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
329
- export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
330
- export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
331
- export const __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
332
- export const __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
333
- export const __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
334
- export const __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
335
- export const __wbg_get_lifetime_not_before: (a: number) => bigint;
336
- export const __wbg_get_lifetime_not_after: (a: number) => bigint;
337
- export const __wbg_consent_free: (a: number, b: number) => void;
338
- export const __wbg_get_consent_entityType: (a: number) => number;
339
- export const __wbg_set_consent_entityType: (a: number, b: number) => void;
340
- export const __wbg_get_consent_state: (a: number) => number;
341
- export const __wbg_set_consent_state: (a: number, b: number) => void;
342
- export const __wbg_get_consent_entity: (a: number) => [number, number];
343
- export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
344
- export const consent_new: (a: number, b: number, c: number, d: number) => number;
345
- export const client_setConsentStates: (a: number, b: number, c: number) => any;
346
- export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
347
- export const conversation_consentState: (a: number) => [number, number, number];
348
- export const conversation_updateConsentState: (a: number, b: number) => [number, number];
349
- export const __wbg_opfs_free: (a: number, b: number) => void;
350
- export const opfs_init_sqlite_opfs: () => any;
351
- export const opfs_exists: () => number;
352
- export const opfs_error: () => [number, number];
353
- export const opfs_wipeFiles: () => any;
354
- export const opfs_rm: (a: number, b: number) => [number, number, number];
355
- export const opfs_getFileNames: () => [number, number];
356
- export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
357
- export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
358
- export const opfs_getFileCount: () => number;
359
- export const opfs_getCapacity: () => number;
360
- export const opfs_addCapacity: (a: number) => any;
361
- export const opfs_reduceCapacity: (a: number) => any;
362
363
  export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
363
364
  export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
364
365
  export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
@@ -423,7 +424,7 @@ export const __wbindgen_export_7: WebAssembly.Table;
423
424
  export const __externref_table_dealloc: (a: number) => void;
424
425
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc094ec3bdf8c16b7: (a: number, b: number) => void;
425
426
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0eb99f8c2f057fcc: (a: number, b: number) => void;
426
- export const closure4487_externref_shim: (a: number, b: number, c: any) => void;
427
+ export const closure4569_externref_shim: (a: number, b: number, c: any) => void;
427
428
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h232599d7dcf89d52: (a: number, b: number) => void;
428
- export const closure5463_externref_shim: (a: number, b: number, c: any, d: any) => void;
429
+ export const closure5545_externref_shim: (a: number, b: number, c: any, d: any) => void;
429
430
  export const __wbindgen_start: () => void;
package/dist/version.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "branch": "release/v1.2",
3
- "version": "38c0cdc",
4
- "date": "2025-06-06 23:26:38 +0000"
3
+ "version": "d0f0b67",
4
+ "date": "2025-06-18 21:31:37 +0000"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/wasm-bindings",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "WASM bindings for the libXMTP rust library",