@xmtp/wasm-bindings 1.3.6 → 1.4.0-rc1

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,117 +1,13 @@
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;
32
- export const __wbg_consent_free: (a: number, b: number) => void;
33
- export const __wbg_get_consent_entityType: (a: number) => number;
34
- export const __wbg_set_consent_entityType: (a: number, b: number) => void;
35
- export const __wbg_get_consent_state: (a: number) => number;
36
- export const __wbg_set_consent_state: (a: number, b: number) => void;
37
- export const __wbg_get_consent_entity: (a: number) => [number, number];
38
- export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
39
- export const consent_new: (a: number, b: number, c: number, d: number) => number;
40
- export const client_setConsentStates: (a: number, b: number, c: number) => any;
41
- export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
42
- export const conversation_consentState: (a: number) => [number, number, number];
43
- export const conversation_updateConsentState: (a: number, b: number) => [number, number];
44
- export const __wbg_reaction_free: (a: number, b: number) => void;
45
- export const __wbg_get_reaction_action: (a: number) => number;
46
- export const __wbg_set_reaction_action: (a: number, b: number) => void;
47
- export const __wbg_get_reaction_content: (a: number) => [number, number];
48
- export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
49
- export const __wbg_get_reaction_schema: (a: number) => number;
50
- export const __wbg_set_reaction_schema: (a: number, b: number) => void;
51
- export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
52
- export const encodeReaction: (a: number) => [number, number, number];
53
- export const decodeReaction: (a: any) => [number, number, number];
54
- export const __wbg_groupmetadata_free: (a: number, b: number) => void;
55
- export const groupmetadata_creatorInboxId: (a: number) => [number, number];
56
- export const groupmetadata_conversationType: (a: number) => [number, number];
57
- export const __wbg_groupmember_free: (a: number, b: number) => void;
58
- export const __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
59
- export const __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
60
- export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
61
- export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
62
- export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
63
- export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
64
- export const __wbg_get_groupmember_consentState: (a: number) => number;
65
- export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
66
- export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
67
- export const __wbg_conversation_free: (a: number, b: number) => void;
68
- export const conversation_id: (a: number) => [number, number];
69
- export const conversation_send: (a: number, b: number) => any;
70
- export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
71
- export const conversation_publishMessages: (a: number) => any;
72
- export const conversation_sync: (a: number) => any;
73
- export const conversation_findMessages: (a: number, b: number) => any;
74
- export const conversation_findMessagesWithReactions: (a: number, b: number) => any;
75
- export const conversation_listMembers: (a: number) => any;
76
- export const conversation_adminList: (a: number) => [number, number, number, number];
77
- export const conversation_superAdminList: (a: number) => [number, number, number, number];
78
- export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
79
- export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
80
- export const conversation_addMembers: (a: number, b: number, c: number) => any;
81
- export const conversation_addAdmin: (a: number, b: number, c: number) => any;
82
- export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
83
- export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
84
- export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
85
- export const conversation_groupPermissions: (a: number) => [number, number, number];
86
- export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
87
- export const conversation_removeMembers: (a: number, b: number, c: number) => any;
88
- export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
89
- export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
90
- export const conversation_groupName: (a: number) => [number, number, number, number];
91
- export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
92
- export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
93
- export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
94
- export const conversation_groupDescription: (a: number) => [number, number, number, number];
95
- export const conversation_stream: (a: number, b: any) => [number, number, number];
96
- export const conversation_createdAtNs: (a: number) => bigint;
97
- export const conversation_isActive: (a: number) => [number, number, number];
98
- export const conversation_pausedForVersion: (a: number) => [number, number, number, number];
99
- export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
100
- export const conversation_groupMetadata: (a: number) => any;
101
- export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
102
- export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
103
- export const conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
104
- export const conversation_removeMessageDisappearingSettings: (a: number) => any;
105
- export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
106
- export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
107
- export const conversation_getHmacKeys: (a: number) => [number, number, number];
108
- export const conversation_getDebugInfo: (a: number) => any;
109
- export const conversation_findDuplicateDms: (a: number) => any;
110
4
  export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
111
5
  export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
112
6
  export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
113
7
  export const __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
114
8
  export const __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
9
+ export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
10
+ export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
115
11
  export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
116
12
  export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
117
13
  export const __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
@@ -119,6 +15,7 @@ export const __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number,
119
15
  export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
120
16
  export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
121
17
  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;
18
+ export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
122
19
  export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
123
20
  export const __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
124
21
  export const __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
@@ -127,6 +24,8 @@ export const __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
127
24
  export const __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
128
25
  export const __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
129
26
  export const __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
27
+ export const __wbg_get_conversationdebuginfo_isCommitLogForked: (a: number) => number;
28
+ export const __wbg_set_conversationdebuginfo_isCommitLogForked: (a: number, b: number) => void;
130
29
  export const __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
131
30
  export const __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
132
31
  export const __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
@@ -155,7 +54,9 @@ export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
155
54
  export const __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
156
55
  export const __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
157
56
  export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
158
- export const conversationlistitem_new: (a: number, b: number) => number;
57
+ export const __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
58
+ export const __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
59
+ export const conversationlistitem_new: (a: number, b: number, c: number) => number;
159
60
  export const __wbg_conversations_free: (a: number, b: number) => void;
160
61
  export const conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
161
62
  export const conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
@@ -175,6 +76,8 @@ export const conversations_streamAllMessages: (a: number, b: any, c: number, d:
175
76
  export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
176
77
  export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
177
78
  export const __wbg_contenttypeid_free: (a: number, b: number) => void;
79
+ export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
80
+ export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
178
81
  export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
179
82
  export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
180
83
  export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
@@ -194,28 +97,6 @@ export const __wbg_set_encodedcontent_compression: (a: number, b: number) => voi
194
97
  export const __wbg_get_encodedcontent_content: (a: number) => any;
195
98
  export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
196
99
  export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
197
- export const __wbg_installation_free: (a: number, b: number) => void;
198
- export const __wbg_get_installation_bytes: (a: number) => any;
199
- export const __wbg_set_installation_bytes: (a: number, b: any) => void;
200
- export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
201
- export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
202
- export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
203
- export const __wbg_inboxstate_free: (a: number, b: number) => void;
204
- export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
205
- export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
206
- export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
207
- export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
208
- export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
209
- export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
210
- export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
211
- export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
212
- export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
213
- export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
214
- export const __wbg_lifetime_free: (a: number, b: number) => void;
215
- export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
216
- export const client_inboxState: (a: number, b: number) => any;
217
- export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
218
- export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
219
100
  export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
220
101
  export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
221
102
  export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
@@ -245,80 +126,83 @@ export const __wbg_get_messagewithreactions_message: (a: number) => number;
245
126
  export const __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
246
127
  export const __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
247
128
  export const __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
248
- export const __wbg_opfs_free: (a: number, b: number) => void;
249
- export const opfs_init_sqlite_opfs: () => any;
250
- export const opfs_exists: () => number;
251
- export const opfs_error: () => [number, number];
252
- export const opfs_wipeFiles: () => any;
253
- export const opfs_rm: (a: number, b: number) => [number, number, number];
254
- export const opfs_getFileNames: () => [number, number];
255
- export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
256
- export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
257
- export const opfs_getFileCount: () => number;
258
- export const opfs_getCapacity: () => number;
259
- export const opfs_addCapacity: (a: number) => any;
260
- export const opfs_reduceCapacity: (a: number) => any;
261
- export const __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
262
- export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
263
- export const revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
264
- export const applySignatureRequest: (a: number, b: number, c: number) => any;
265
- export const __wbg_passkeysignature_free: (a: number, b: number) => void;
266
- export const signaturerequesthandle_signatureText: (a: number) => any;
267
- export const signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
268
- export const signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
269
- export const signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
270
- export const client_createInboxSignatureRequest: (a: number) => [number, number, number];
271
- export const client_addWalletSignatureRequest: (a: number, b: any) => any;
272
- export const client_revokeWalletSignatureRequest: (a: number, b: any) => any;
273
- export const client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
274
- export const client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
275
- export const client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
276
- export const client_applySignatureRequest: (a: number, b: number) => any;
277
- export const client_registerIdentity: (a: number, b: number) => any;
278
- export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
279
- export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
280
- export const __wbg_streamcloser_free: (a: number, b: number) => void;
281
- export const streamcloser_end: (a: number) => void;
282
- export const streamcloser_endAndWait: (a: number) => any;
283
- export const streamcloser_waitForReady: (a: number) => any;
284
- export const streamcloser_isClosed: (a: number) => number;
285
- export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
286
- export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
287
- export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
288
- export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
289
- export const __wbg_get_reaction_reference: (a: number) => [number, number];
290
- export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
291
- export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
292
- export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
293
- export const __wbg_get_installation_id: (a: number) => [number, number];
294
- export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
295
- export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
296
- export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
297
- export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
298
- export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
299
- export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
300
- export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
301
129
  export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
302
130
  export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
303
131
  export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
304
- export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
305
- export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
306
132
  export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
133
+ export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
134
+ export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
135
+ export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
136
+ export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
137
+ export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
138
+ export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
139
+ export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
307
140
  export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
308
141
  export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
309
142
  export const __wbg_get_hmackey_epoch: (a: number) => bigint;
310
- export const __wbg_get_lifetime_not_before: (a: number) => bigint;
311
- export const __wbg_get_lifetime_not_after: (a: number) => bigint;
312
143
  export const __wbg_get_message_sentAtNs: (a: number) => bigint;
313
144
  export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
314
- export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
315
- export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
316
- export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
317
- export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
318
- export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
319
- export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
320
- export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
321
- export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
145
+ export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
146
+ export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
147
+ export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
148
+ export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
149
+ export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
150
+ export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
151
+ export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
152
+ export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
153
+ export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
154
+ export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
155
+ export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
156
+ export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
157
+ export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
158
+ export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
159
+ export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
160
+ export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
161
+ export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
162
+ export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
163
+ export const __wbg_grouppermissions_free: (a: number, b: number) => void;
164
+ export const grouppermissions_policyType: (a: number) => [number, number, number];
165
+ export const grouppermissions_policySet: (a: number) => [number, number, number];
166
+ export const __wbg_client_free: (a: number, b: number) => void;
167
+ export const __wbg_logoptions_free: (a: number, b: number) => void;
168
+ export const __wbg_get_logoptions_structured: (a: number) => number;
169
+ export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
170
+ export const __wbg_get_logoptions_performance: (a: number) => number;
171
+ export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
172
+ export const __wbg_get_logoptions_level: (a: number) => number;
173
+ export const __wbg_set_logoptions_level: (a: number, b: number) => void;
174
+ export const logoptions_new: (a: number, b: number, c: number) => number;
175
+ 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;
176
+ export const client_accountIdentifier: (a: number) => any;
177
+ export const client_inboxId: (a: number) => [number, number];
178
+ export const client_isRegistered: (a: number) => number;
179
+ export const client_installationId: (a: number) => [number, number];
180
+ export const client_installationIdBytes: (a: number) => any;
181
+ export const client_appVersion: (a: number) => [number, number];
182
+ export const client_libxmtpVersion: (a: number) => [number, number];
183
+ export const client_canMessage: (a: number, b: number, c: number) => any;
184
+ export const client_sendSyncRequest: (a: number) => any;
185
+ export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
186
+ export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
187
+ export const client_conversations: (a: number) => number;
188
+ export const client_syncPreferences: (a: number) => any;
189
+ export const client_apiStatistics: (a: number) => number;
190
+ export const client_apiIdentityStatistics: (a: number) => number;
191
+ export const client_apiAggregateStatistics: (a: number) => [number, number];
192
+ export const client_clearAllStatistics: (a: number) => void;
193
+ export const client_uploadDebugArchive: (a: number, b: number, c: number) => any;
194
+ export const __wbg_consent_free: (a: number, b: number) => void;
195
+ export const __wbg_get_consent_entityType: (a: number) => number;
196
+ export const __wbg_set_consent_entityType: (a: number, b: number) => void;
197
+ export const __wbg_get_consent_state: (a: number) => number;
198
+ export const __wbg_set_consent_state: (a: number, b: number) => void;
199
+ export const __wbg_get_consent_entity: (a: number) => [number, number];
200
+ export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
201
+ export const consent_new: (a: number, b: number, c: number, d: number) => number;
202
+ export const client_setConsentStates: (a: number, b: number, c: number) => any;
203
+ export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
204
+ export const conversation_consentState: (a: number) => [number, number, number];
205
+ export const conversation_updateConsentState: (a: number, b: number) => [number, number];
322
206
  export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
323
207
  export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
324
208
  export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
@@ -343,8 +227,76 @@ export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number,
343
227
  export const multiremoteattachment_new: (a: number, b: number) => number;
344
228
  export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
345
229
  export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
346
- export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
347
- export const generateInboxId: (a: any) => [number, number, number, number];
230
+ export const __wbg_reaction_free: (a: number, b: number) => void;
231
+ export const __wbg_get_reaction_reference: (a: number) => [number, number];
232
+ export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
233
+ export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
234
+ export const __wbg_get_reaction_action: (a: number) => number;
235
+ export const __wbg_set_reaction_action: (a: number, b: number) => void;
236
+ export const __wbg_get_reaction_content: (a: number) => [number, number];
237
+ export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
238
+ export const __wbg_get_reaction_schema: (a: number) => number;
239
+ export const __wbg_set_reaction_schema: (a: number, b: number) => void;
240
+ export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
241
+ export const encodeReaction: (a: number) => [number, number, number];
242
+ export const decodeReaction: (a: any) => [number, number, number];
243
+ export const __wbg_groupmetadata_free: (a: number, b: number) => void;
244
+ export const groupmetadata_creatorInboxId: (a: number) => [number, number];
245
+ export const groupmetadata_conversationType: (a: number) => [number, number];
246
+ export const __wbg_groupmember_free: (a: number, b: number) => void;
247
+ export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
248
+ export const __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
249
+ export const __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
250
+ export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
251
+ export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
252
+ export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
253
+ export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
254
+ export const __wbg_get_groupmember_consentState: (a: number) => number;
255
+ export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
256
+ export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
257
+ export const __wbg_conversation_free: (a: number, b: number) => void;
258
+ export const conversation_id: (a: number) => [number, number];
259
+ export const conversation_send: (a: number, b: number) => any;
260
+ export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
261
+ export const conversation_publishMessages: (a: number) => any;
262
+ export const conversation_sync: (a: number) => any;
263
+ export const conversation_findMessages: (a: number, b: number) => any;
264
+ export const conversation_findMessagesWithReactions: (a: number, b: number) => any;
265
+ export const conversation_listMembers: (a: number) => any;
266
+ export const conversation_adminList: (a: number) => [number, number, number, number];
267
+ export const conversation_superAdminList: (a: number) => [number, number, number, number];
268
+ export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
269
+ export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
270
+ export const conversation_addMembers: (a: number, b: number, c: number) => any;
271
+ export const conversation_addAdmin: (a: number, b: number, c: number) => any;
272
+ export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
273
+ export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
274
+ export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
275
+ export const conversation_groupPermissions: (a: number) => [number, number, number];
276
+ export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
277
+ export const conversation_removeMembers: (a: number, b: number, c: number) => any;
278
+ export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
279
+ export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
280
+ export const conversation_groupName: (a: number) => [number, number, number, number];
281
+ export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
282
+ export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
283
+ export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
284
+ export const conversation_groupDescription: (a: number) => [number, number, number, number];
285
+ export const conversation_stream: (a: number, b: any) => [number, number, number];
286
+ export const conversation_createdAtNs: (a: number) => bigint;
287
+ export const conversation_isActive: (a: number) => [number, number, number];
288
+ export const conversation_pausedForVersion: (a: number) => [number, number, number, number];
289
+ export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
290
+ export const conversation_groupMetadata: (a: number) => any;
291
+ export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
292
+ export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
293
+ export const conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
294
+ export const conversation_removeMessageDisappearingSettings: (a: number) => any;
295
+ export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
296
+ export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
297
+ export const conversation_getHmacKeys: (a: number) => [number, number, number];
298
+ export const conversation_getDebugInfo: (a: number) => any;
299
+ export const conversation_findDuplicateDms: (a: number) => any;
348
300
  export const __wbg_apistats_free: (a: number, b: number) => void;
349
301
  export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
350
302
  export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
@@ -363,35 +315,87 @@ export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => vo
363
315
  export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
364
316
  export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
365
317
  export const __wbg_identitystats_free: (a: number, b: number) => void;
318
+ export const __wbg_installation_free: (a: number, b: number) => void;
319
+ export const __wbg_get_installation_bytes: (a: number) => any;
320
+ export const __wbg_set_installation_bytes: (a: number, b: any) => void;
321
+ export const __wbg_get_installation_id: (a: number) => [number, number];
322
+ export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
323
+ export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
324
+ export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
325
+ export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
326
+ export const __wbg_inboxstate_free: (a: number, b: number) => void;
327
+ export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
328
+ export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
329
+ export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
330
+ export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
331
+ export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
332
+ export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
333
+ export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
334
+ export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
335
+ export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
336
+ export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
337
+ export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
338
+ export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
339
+ export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
340
+ export const __wbg_lifetime_free: (a: number, b: number) => void;
341
+ export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
342
+ export const client_inboxState: (a: number, b: number) => any;
343
+ export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
344
+ export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
345
+ export const __wbg_opfs_free: (a: number, b: number) => void;
346
+ export const opfs_init_sqlite_opfs: () => any;
347
+ export const opfs_exists: () => number;
348
+ export const opfs_error: () => [number, number];
349
+ export const opfs_wipeFiles: () => any;
350
+ export const opfs_rm: (a: number, b: number) => [number, number, number];
351
+ export const opfs_getFileNames: () => [number, number];
352
+ export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
353
+ export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
354
+ export const opfs_getFileCount: () => number;
355
+ export const opfs_getCapacity: () => number;
356
+ export const opfs_addCapacity: (a: number) => any;
357
+ export const opfs_reduceCapacity: (a: number) => any;
358
+ export const __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
359
+ export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
360
+ export const revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
361
+ export const applySignatureRequest: (a: number, b: number, c: number) => any;
362
+ export const __wbg_passkeysignature_free: (a: number, b: number) => void;
363
+ export const signaturerequesthandle_signatureText: (a: number) => any;
364
+ export const signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
365
+ export const signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
366
+ export const signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
367
+ export const client_createInboxSignatureRequest: (a: number) => [number, number, number];
368
+ export const client_addWalletSignatureRequest: (a: number, b: any) => any;
369
+ export const client_revokeWalletSignatureRequest: (a: number, b: any) => any;
370
+ export const client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
371
+ export const client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
372
+ export const client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
373
+ export const client_applySignatureRequest: (a: number, b: number) => any;
374
+ export const client_registerIdentity: (a: number, b: number) => any;
375
+ export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
376
+ export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
377
+ export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
378
+ export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
379
+ export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
366
380
  export const __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
367
381
  export const __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
368
382
  export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
369
383
  export const __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
384
+ export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
385
+ export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
370
386
  export const __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
371
387
  export const __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
372
388
  export const __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
373
389
  export const __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
374
- export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
375
- export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
376
- export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
377
- export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
378
- export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
379
- export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
380
- export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
381
- export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
382
- export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
383
- export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
384
- export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
385
- export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
386
- export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
387
- export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
388
- export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
389
- export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
390
- export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
391
- export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
392
- export const __wbg_grouppermissions_free: (a: number, b: number) => void;
393
- export const grouppermissions_policyType: (a: number) => [number, number, number];
394
- export const grouppermissions_policySet: (a: number) => [number, number, number];
390
+ export const __wbg_get_lifetime_not_before: (a: number) => bigint;
391
+ export const __wbg_get_lifetime_not_after: (a: number) => bigint;
392
+ export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
393
+ export const generateInboxId: (a: any) => [number, number, number, number];
394
+ export const __wbg_streamcloser_free: (a: number, b: number) => void;
395
+ export const streamcloser_end: (a: number) => void;
396
+ export const streamcloser_endAndWait: (a: number) => any;
397
+ export const streamcloser_waitForReady: (a: number) => any;
398
+ export const streamcloser_isClosed: (a: number) => number;
395
399
  export const rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
396
400
  export const rust_zstd_wasm_shim_malloc: (a: number) => number;
397
401
  export const rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
@@ -434,8 +438,8 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
434
438
  export const __externref_drop_slice: (a: number, b: number) => void;
435
439
  export const __wbindgen_export_7: WebAssembly.Table;
436
440
  export const __externref_table_dealloc: (a: number) => 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 closure4977_externref_shim: (a: number, b: number, c: any) => void;
440
- export const closure5921_externref_shim: (a: number, b: number, c: any, d: any) => void;
441
+ export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6b9ddcbfcc08eea: (a: number, b: number) => void;
442
+ export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd0e40dce3ea5bca1: (a: number, b: number) => void;
443
+ export const closure5195_externref_shim: (a: number, b: number, c: any) => void;
444
+ export const closure6122_externref_shim: (a: number, b: number, c: any, d: any) => void;
441
445
  export const __wbindgen_start: () => void;
package/dist/version.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "branch": "release/v1.3.5",
3
- "version": "c99abce",
4
- "date": "2025-08-06 19:01:49 +0000"
2
+ "branch": "release/v1.4",
3
+ "version": "f7c7226",
4
+ "date": "2025-08-13 22:20:36 +0000"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/wasm-bindings",
3
- "version": "1.3.6",
3
+ "version": "1.4.0-rc1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "WASM bindings for the libXMTP rust library",