@xmtp/wasm-bindings 1.1.2 → 1.1.7

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,48 +1,48 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
5
- export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
6
- export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
7
- export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
8
- export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
9
- export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
10
- export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
11
- export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
12
- export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
13
- export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
14
- export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
15
- export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
16
- export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
17
- export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
18
- export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
19
- export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
20
- export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
21
- 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;
22
- export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
23
- export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
24
- export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
25
- export const multiremoteattachment_new: (a: number, b: number) => number;
26
- export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
27
- export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
28
- export const __wbg_reaction_free: (a: number, b: number) => void;
29
- export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
30
- export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
31
- export const __wbg_get_reaction_action: (a: number) => number;
32
- export const __wbg_set_reaction_action: (a: number, b: number) => void;
33
- export const __wbg_get_reaction_content: (a: number) => [number, number];
34
- export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
35
- export const __wbg_get_reaction_schema: (a: number) => number;
36
- export const __wbg_set_reaction_schema: (a: number, b: number) => void;
37
- export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
38
- export const encodeReaction: (a: number) => [number, number, number];
39
- export const decodeReaction: (a: any) => [number, number, number];
4
+ export const __wbg_streamcloser_free: (a: number, b: number) => void;
5
+ export const streamcloser_end: (a: number) => void;
6
+ export const streamcloser_endAndWait: (a: number) => any;
7
+ export const streamcloser_waitForReady: (a: number) => any;
8
+ export const streamcloser_isClosed: (a: number) => number;
9
+ export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
10
+ export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
11
+ export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
12
+ export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
13
+ export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
14
+ export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
15
+ export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
16
+ export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
17
+ export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
18
+ export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
19
+ export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
20
+ export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
21
+ export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
22
+ export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
23
+ export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
24
+ export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
25
+ export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
26
+ export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
27
+ export const __wbg_grouppermissions_free: (a: number, b: number) => void;
28
+ export const grouppermissions_policyType: (a: number) => [number, number, number];
29
+ export const grouppermissions_policySet: (a: number) => [number, number, number];
30
+ export const __wbg_consent_free: (a: number, b: number) => void;
31
+ export const __wbg_get_consent_entityType: (a: number) => number;
32
+ export const __wbg_set_consent_entityType: (a: number, b: number) => void;
33
+ export const __wbg_get_consent_state: (a: number) => number;
34
+ export const __wbg_set_consent_state: (a: number, b: number) => void;
35
+ export const __wbg_get_consent_entity: (a: number) => [number, number];
36
+ export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
37
+ export const consent_new: (a: number, b: number, c: number, d: number) => number;
38
+ export const client_setConsentStates: (a: number, b: number, c: number) => any;
39
+ export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
40
+ export const conversation_consentState: (a: number) => [number, number, number];
41
+ export const conversation_updateConsentState: (a: number, b: number) => [number, number];
40
42
  export const __wbg_groupmetadata_free: (a: number, b: number) => void;
41
43
  export const groupmetadata_creatorInboxId: (a: number) => [number, number];
42
44
  export const groupmetadata_conversationType: (a: number) => [number, number];
43
45
  export const __wbg_groupmember_free: (a: number, b: number) => void;
44
- export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
45
- export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
46
46
  export const __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
47
47
  export const __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
48
48
  export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
@@ -93,6 +93,41 @@ export const conversation_removeMessageDisappearingSettings: (a: number) => any;
93
93
  export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
94
94
  export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
95
95
  export const conversation_getHmacKeys: (a: number) => [number, number, number];
96
+ export const __wbg_contenttypeid_free: (a: number, b: number) => void;
97
+ export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
98
+ export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
99
+ export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
100
+ export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
101
+ export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
102
+ export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
103
+ export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
104
+ export const __wbg_encodedcontent_free: (a: number, b: number) => void;
105
+ export const __wbg_get_encodedcontent_type: (a: number) => number;
106
+ export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
107
+ export const __wbg_get_encodedcontent_parameters: (a: number) => any;
108
+ export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
109
+ export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
110
+ export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
111
+ export const __wbg_get_encodedcontent_compression: (a: number) => number;
112
+ export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
113
+ export const __wbg_get_encodedcontent_content: (a: number) => any;
114
+ export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
115
+ export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
116
+ export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
117
+ export const generateInboxId: (a: any) => [number, number, number, number];
118
+ export const __wbg_opfs_free: (a: number, b: number) => void;
119
+ export const opfs_init_sqlite_opfs: () => any;
120
+ export const opfs_exists: () => number;
121
+ export const opfs_error: () => [number, number];
122
+ export const opfs_wipeFiles: () => any;
123
+ export const opfs_rm: (a: number, b: number) => [number, number, number];
124
+ export const opfs_getFileNames: () => [number, number];
125
+ export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
126
+ export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
127
+ export const opfs_getFileCount: () => number;
128
+ export const opfs_getCapacity: () => number;
129
+ export const opfs_addCapacity: (a: number) => any;
130
+ export const opfs_reduceCapacity: (a: number) => any;
96
131
  export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
97
132
  export const __wbg_passkeysignature_free: (a: number, b: number) => void;
98
133
  export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
@@ -100,52 +135,17 @@ export const client_addWalletSignatureText: (a: number, b: any) => any;
100
135
  export const client_revokeWalletSignatureText: (a: number, b: any) => any;
101
136
  export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
102
137
  export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
138
+ export const client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
103
139
  export const client_addEcdsaSignature: (a: number, b: number, c: any) => any;
104
140
  export const client_addPasskeySignature: (a: number, b: number, c: number) => any;
105
141
  export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
106
142
  export const client_applySignatureRequests: (a: number) => any;
107
143
  export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
108
144
  export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
109
- export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
110
- export const __wbg_get_reaction_reference: (a: number) => [number, number];
111
- export const __wbg_consent_free: (a: number, b: number) => void;
112
- export const __wbg_get_consent_entityType: (a: number) => number;
113
- export const __wbg_set_consent_entityType: (a: number, b: number) => void;
114
- export const __wbg_get_consent_state: (a: number) => number;
115
- export const __wbg_set_consent_state: (a: number, b: number) => void;
116
- export const __wbg_get_consent_entity: (a: number) => [number, number];
117
- export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
118
- export const consent_new: (a: number, b: number, c: number, d: number) => number;
119
- export const client_setConsentStates: (a: number, b: number, c: number) => any;
120
- export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
121
- export const conversation_consentState: (a: number) => [number, number, number];
122
- export const conversation_updateConsentState: (a: number, b: number) => [number, number];
123
- export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
124
- export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
125
- export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
126
- export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
127
- export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
128
- export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
129
- export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
130
- export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
131
- export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
132
- export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
133
- export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
134
- export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
135
- export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
136
- export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
137
- export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
138
- export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
139
- export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
140
- export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
141
- export const __wbg_grouppermissions_free: (a: number, b: number) => void;
142
- export const grouppermissions_policyType: (a: number) => [number, number, number];
143
- export const grouppermissions_policySet: (a: number) => [number, number, number];
144
- export const __wbg_streamcloser_free: (a: number, b: number) => void;
145
- export const streamcloser_end: (a: number) => void;
146
- export const streamcloser_endAndWait: (a: number) => any;
147
- export const streamcloser_waitForReady: (a: number) => any;
148
- export const streamcloser_isClosed: (a: number) => number;
145
+ export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
146
+ export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
147
+ export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
148
+ export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
149
149
  export const __wbg_client_free: (a: number, b: number) => void;
150
150
  export const __wbg_logoptions_free: (a: number, b: number) => void;
151
151
  export const __wbg_get_logoptions_structured: (a: number) => number;
@@ -168,6 +168,18 @@ export const client_sendConsentSyncRequest: (a: number) => any;
168
168
  export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
169
169
  export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
170
170
  export const client_conversations: (a: number) => number;
171
+ export const __wbg_reaction_free: (a: number, b: number) => void;
172
+ export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
173
+ export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
174
+ export const __wbg_get_reaction_action: (a: number) => number;
175
+ export const __wbg_set_reaction_action: (a: number, b: number) => void;
176
+ export const __wbg_get_reaction_content: (a: number) => [number, number];
177
+ export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
178
+ export const __wbg_get_reaction_schema: (a: number) => number;
179
+ export const __wbg_set_reaction_schema: (a: number, b: number) => void;
180
+ export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
181
+ export const encodeReaction: (a: number) => [number, number, number];
182
+ export const decodeReaction: (a: any) => [number, number, number];
171
183
  export const __wbg_installation_free: (a: number, b: number) => void;
172
184
  export const __wbg_get_installation_bytes: (a: number) => any;
173
185
  export const __wbg_set_installation_bytes: (a: number, b: any) => void;
@@ -186,8 +198,45 @@ export const __wbg_set_inboxstate_installations: (a: number, b: number, c: numbe
186
198
  export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
187
199
  export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
188
200
  export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
201
+ export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
202
+ export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
203
+ export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
204
+ export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
205
+ export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
206
+ export const __wbg_lifetime_free: (a: number, b: number) => void;
207
+ export const __wbg_get_lifetime_not_before: (a: number) => bigint;
208
+ export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
209
+ export const __wbg_get_lifetime_not_after: (a: number) => bigint;
210
+ export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
189
211
  export const client_inboxState: (a: number, b: number) => any;
190
212
  export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
213
+ export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
214
+ export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
215
+ export const __wbg_get_reaction_reference: (a: number) => [number, number];
216
+ export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
217
+ export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
218
+ export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
219
+ export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
220
+ export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
221
+ export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
222
+ export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
223
+ export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
224
+ export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
225
+ export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
226
+ export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
227
+ export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
228
+ export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
229
+ export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
230
+ export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
231
+ export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
232
+ export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
233
+ 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;
234
+ export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
235
+ export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
236
+ export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
237
+ export const multiremoteattachment_new: (a: number, b: number) => number;
238
+ export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
239
+ export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
191
240
  export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
192
241
  export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
193
242
  export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
@@ -251,30 +300,6 @@ export const conversations_streamDms: (a: number, b: any) => [number, number, nu
251
300
  export const conversations_streamAllMessages: (a: number, b: any, c: number) => [number, number, number];
252
301
  export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
253
302
  export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
254
- export const __wbg_contenttypeid_free: (a: number, b: number) => void;
255
- export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
256
- export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
257
- export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
258
- export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
259
- export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
260
- export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
261
- export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
262
- export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
263
- export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
264
- export const __wbg_encodedcontent_free: (a: number, b: number) => void;
265
- export const __wbg_get_encodedcontent_type: (a: number) => number;
266
- export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
267
- export const __wbg_get_encodedcontent_parameters: (a: number) => any;
268
- export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
269
- export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
270
- export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
271
- export const __wbg_get_encodedcontent_compression: (a: number) => number;
272
- export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
273
- export const __wbg_get_encodedcontent_content: (a: number) => any;
274
- export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
275
- export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
276
- export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
277
- export const generateInboxId: (a: any) => [number, number, number, number];
278
303
  export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
279
304
  export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
280
305
  export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
@@ -302,37 +327,31 @@ export const __wbg_get_messagewithreactions_message: (a: number) => number;
302
327
  export const __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
303
328
  export const __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
304
329
  export const __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
305
- export const __wbg_opfs_free: (a: number, b: number) => void;
306
- export const opfs_exists: () => number;
307
- export const opfs_error: () => [number, number];
308
- export const opfs_wipeFiles: () => any;
309
- export const opfs_rm: (a: number, b: number) => [number, number, number];
310
- export const opfs_getFileNames: () => [number, number];
311
- export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
312
- export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
313
- export const opfs_getFileCount: () => number;
314
- export const opfs_getCapacity: () => number;
315
- export const opfs_addCapacity: (a: number) => any;
316
- export const opfs_reduceCapacity: (a: number) => any;
317
330
  export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
318
331
  export const __wbg_get_message_sentAtNs: (a: number) => bigint;
319
332
  export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
320
333
  export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
321
334
  export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
335
+ export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
322
336
  export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
323
337
  export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
324
338
  export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
325
- export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
326
339
  export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
327
340
  export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
328
341
  export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
329
342
  export const rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
330
343
  export const rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
331
344
  export const rust_sqlite_wasm_shim_emscripten_get_now: () => number;
332
- export const sqlite3_os_init: () => number;
333
345
  export const rust_sqlite_wasm_shim_malloc: (a: number) => number;
334
346
  export const rust_sqlite_wasm_shim_free: (a: number) => void;
335
347
  export const rust_sqlite_wasm_shim_realloc: (a: number, b: number) => number;
348
+ export const sqlite3_os_init: () => number;
349
+ export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
350
+ export const intounderlyingbytesource_type: (a: number) => number;
351
+ export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
352
+ export const intounderlyingbytesource_start: (a: number, b: any) => void;
353
+ export const intounderlyingbytesource_pull: (a: number, b: any) => any;
354
+ export const intounderlyingbytesource_cancel: (a: number) => void;
336
355
  export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
337
356
  export const intounderlyingsource_pull: (a: number, b: any) => any;
338
357
  export const intounderlyingsource_cancel: (a: number) => void;
@@ -340,12 +359,6 @@ export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
340
359
  export const intounderlyingsink_write: (a: number, b: any) => any;
341
360
  export const intounderlyingsink_close: (a: number) => any;
342
361
  export const intounderlyingsink_abort: (a: number, b: any) => any;
343
- export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
344
- export const intounderlyingbytesource_type: (a: number) => number;
345
- export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
346
- export const intounderlyingbytesource_start: (a: number, b: any) => void;
347
- export const intounderlyingbytesource_pull: (a: number, b: any) => any;
348
- export const intounderlyingbytesource_cancel: (a: number) => void;
349
362
  export const __wbindgen_malloc: (a: number, b: number) => number;
350
363
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
351
364
  export const __wbindgen_exn_store: (a: number) => void;
@@ -355,8 +368,10 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
355
368
  export const __externref_drop_slice: (a: number, b: number) => void;
356
369
  export const __wbindgen_export_7: WebAssembly.Table;
357
370
  export const __externref_table_dealloc: (a: number) => void;
358
- export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd11fcf7148e8db56: (a: number, b: number) => void;
359
- export const closure3804_externref_shim: (a: number, b: number, c: any) => void;
360
- export const closure4799_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
361
- export const closure4798_externref_shim: (a: number, b: number, c: any, d: any) => void;
371
+ export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215: (a: number, b: number) => void;
372
+ export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9b134efb6b08a208: (a: number, b: number) => void;
373
+ export const closure3984_externref_shim: (a: number, b: number, c: any) => void;
374
+ export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a: (a: number, b: number) => void;
375
+ export const closure4877_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
376
+ export const closure4876_externref_shim: (a: number, b: number, c: any, d: any) => void;
362
377
  export const __wbindgen_start: () => void;
@@ -0,0 +1,5 @@
1
+ {
2
+ "branch": "HEAD",
3
+ "version": "14f496d",
4
+ "date": "2025-04-25 20:25:27 +0000"
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/wasm-bindings",
3
- "version": "1.1.2",
3
+ "version": "1.1.7",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "WASM bindings for the libXMTP rust library",
@@ -26,12 +26,13 @@
26
26
  "scripts": {
27
27
  "build": "yarn clean && yarn build:web && yarn clean:release",
28
28
  "build:macos": "yarn clean && yarn build:web:macos && yarn clean:release",
29
- "build:web": "RUSTFLAGS=\"-Ctarget-feature=+bulk-memory,+mutable-globals\" wasm-pack build --target web --out-dir ./dist --no-pack --release",
30
- "build:web:macos": "CC_wasm32_unknown_unknown=/opt/homebrew/opt/llvm/bin/clang RUSTFLAGS=\"-Ctarget-feature=+bulk-memory,+mutable-globals\" wasm-pack build --target web --out-dir ./dist --no-pack --release",
29
+ "build:web": "RUSTFLAGS=\"-Ctarget-feature=+bulk-memory,+mutable-globals --cfg getrandom_backend=\\\"wasm_js\\\"\" wasm-pack build --target web --out-dir ./dist --no-pack --release",
30
+ "build:web:macos": "CC_wasm32_unknown_unknown=/opt/homebrew/opt/llvm/bin/clang RUSTFLAGS=\"-Ctarget-feature=+bulk-memory,+mutable-globals --cfg getrandom_backend=\\\"wasm_js\\\"\" wasm-pack build --target web --out-dir ./dist --no-pack --release",
31
31
  "check": "cargo check --target wasm32-unknown-unknown",
32
32
  "check:macos": "CC_wasm32_unknown_unknown=/opt/homebrew/opt/llvm/bin/clang cargo check --target wasm32-unknown-unknown",
33
33
  "clean": "rm -rf ./dist",
34
34
  "clean:release": "rm ./dist/.gitignore",
35
+ "generate:version": "tsx scripts/version.ts",
35
36
  "lint": "yarn lint:clippy && yarn lint:fmt",
36
37
  "lint:macos": "yarn lint:clippy:macos && yarn lint:fmt",
37
38
  "lint:clippy": "cargo clippy --locked --all-features --target wasm32-unknown-unknown --no-deps -- -D warnings",
@@ -61,8 +62,10 @@
61
62
  },
62
63
  "devDependencies": {
63
64
  "@sqlite.org/sqlite-wasm": "^3.47.0-build1",
64
- "binaryen": "^122.0.0",
65
- "wasm-pack": "^0.13.1"
65
+ "binaryen": "^123.0.0",
66
+ "tsx": "^4.19.3",
67
+ "wasm-pack": "^0.13.1",
68
+ "zx": "^8.4.0"
66
69
  },
67
70
  "packageManager": "yarn@4.5.1"
68
71
  }