@xmtp/wasm-bindings 1.5.0-dev.c78b650 → 1.5.0-rc2

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,177 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
5
- export const generateInboxId: (a: any) => [number, number, number, number];
6
- export const __wbg_streamcloser_free: (a: number, b: number) => void;
7
- export const streamcloser_end: (a: number) => void;
8
- export const streamcloser_endAndWait: (a: number) => any;
9
- export const streamcloser_waitForReady: (a: number) => any;
10
- export const streamcloser_isClosed: (a: number) => number;
11
- export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
12
- export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
13
- export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
14
- export const __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
15
- export const __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
16
- export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
17
- export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
18
- export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
19
- export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
20
- export const __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
21
- export const __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
22
- export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
23
- export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
24
- 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;
25
- export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
26
- export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
27
- export const __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
28
- export const __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
29
- export const __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
30
- export const __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
31
- export const __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
32
- export const __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
33
- export const __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
34
- export const __wbg_get_conversationdebuginfo_isCommitLogForked: (a: number) => number;
35
- export const __wbg_set_conversationdebuginfo_isCommitLogForked: (a: number, b: number) => void;
36
- export const __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
37
- export const __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
38
- export const __wbg_get_conversationdebuginfo_remoteCommitLog: (a: number) => [number, number];
39
- export const __wbg_set_conversationdebuginfo_remoteCommitLog: (a: number, b: number, c: number) => void;
40
- export const __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
41
- export const __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
42
- export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
43
- export const __wbg_get_creategroupoptions_permissions: (a: number) => number;
44
- export const __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
45
- export const __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
46
- export const __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
47
- export const __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
48
- export const __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
49
- export const __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
50
- export const __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
51
- export const __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
52
- export const __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
53
- export const creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
54
- export const __wbg_createdmoptions_free: (a: number, b: number) => void;
55
- export const __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
56
- export const __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
57
- export const createdmoptions_new: (a: number) => number;
58
- export const __wbg_hmackey_free: (a: number, b: number) => void;
59
- export const __wbg_get_hmackey_key: (a: number) => [number, number];
60
- export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
61
- export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
62
- export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
63
- export const __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
64
- export const __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
65
- export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
66
- export const __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
67
- export const __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
68
- export const conversationlistitem_new: (a: number, b: number, c: number) => number;
69
- export const __wbg_conversations_free: (a: number, b: number) => void;
70
- export const conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
71
- export const conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
72
- export const conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
73
- export const conversations_createDm: (a: number, b: any, c: number) => any;
74
- export const conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
75
- export const conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
76
- export const conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
77
- export const conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
78
- export const conversations_sync: (a: number) => any;
79
- export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
80
- export const conversations_list: (a: number, b: number) => [number, number, number];
81
- export const conversations_getHmacKeys: (a: number) => [number, number, number];
82
- export const conversations_streamLocal: (a: number, b: number) => any;
83
- export const conversations_stream: (a: number, b: any, c: number) => [number, number, number];
84
- export const conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
85
- export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
86
- export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
87
- export const __wbg_contenttypeid_free: (a: number, b: number) => void;
88
- export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
89
- export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
90
- export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
91
- export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
92
- export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
93
- export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
94
- export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
95
- export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
96
- export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
97
- export const __wbg_encodedcontent_free: (a: number, b: number) => void;
98
- export const __wbg_get_encodedcontent_type: (a: number) => number;
99
- export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
100
- export const __wbg_get_encodedcontent_parameters: (a: number) => any;
101
- export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
102
- export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
103
- export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
104
- export const __wbg_get_encodedcontent_compression: (a: number) => number;
105
- export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
106
- export const __wbg_get_encodedcontent_content: (a: number) => any;
107
- export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
108
- export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
109
- export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
110
- export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
111
- export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
112
- export const __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
113
- export const __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
114
- export const __wbg_get_listmessagesoptions_direction: (a: number) => number;
115
- export const __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
116
- export const __wbg_get_listmessagesoptions_kind: (a: number) => number;
117
- export const __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
118
- export const listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigint, e: number, f: bigint, g: number, h: number, i: number, j: number, k: number) => number;
119
- export const __wbg_message_free: (a: number, b: number) => void;
120
- export const __wbg_get_message_id: (a: number) => [number, number];
121
- export const __wbg_set_message_id: (a: number, b: number, c: number) => void;
122
- export const __wbg_get_message_convoId: (a: number) => [number, number];
123
- export const __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
124
- export const __wbg_get_message_senderInboxId: (a: number) => [number, number];
125
- export const __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
126
- export const __wbg_get_message_content: (a: number) => number;
127
- export const __wbg_set_message_content: (a: number, b: number) => void;
128
- export const __wbg_get_message_kind: (a: number) => number;
129
- export const __wbg_set_message_kind: (a: number, b: number) => void;
130
- export const __wbg_get_message_deliveryStatus: (a: number) => number;
131
- export const __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
132
- export const message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
133
- export const __wbg_messagewithreactions_free: (a: number, b: number) => void;
134
- export const __wbg_get_messagewithreactions_message: (a: number) => number;
135
- export const __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
136
- export const __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
137
- export const __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
138
- export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
139
- export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
140
- export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
141
- export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
142
- export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
143
- export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
144
- export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
145
- export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
146
- export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
147
- export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
148
- export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
149
- export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
150
- export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
151
- export const __wbg_get_hmackey_epoch: (a: number) => bigint;
152
- export const __wbg_get_message_sentAtNs: (a: number) => bigint;
153
- export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
154
- export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
155
- export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
156
- export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
157
- export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
158
- export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
159
- export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
160
- export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
161
- export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
162
- export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
163
- export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
164
- export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
165
- export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
166
- export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
167
- export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
168
- export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
169
- export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
170
- export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
171
- export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
172
- export const __wbg_grouppermissions_free: (a: number, b: number) => void;
173
- export const grouppermissions_policyType: (a: number) => [number, number, number];
174
- export const grouppermissions_policySet: (a: number) => [number, number, number];
175
4
  export const __wbg_client_free: (a: number, b: number) => void;
176
5
  export const __wbg_logoptions_free: (a: number, b: number) => void;
177
6
  export const __wbg_get_logoptions_structured: (a: number) => number;
@@ -213,8 +42,6 @@ export const client_getConsentState: (a: number, b: number, c: number, d: number
213
42
  export const conversation_consentState: (a: number) => [number, number, number];
214
43
  export const conversation_updateConsentState: (a: number, b: number) => [number, number];
215
44
  export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
216
- export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
217
- export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
218
45
  export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
219
46
  export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
220
47
  export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
@@ -222,7 +49,6 @@ export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
222
49
  export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
223
50
  export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
224
51
  export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
225
- export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
226
52
  export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
227
53
  export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
228
54
  export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
@@ -236,19 +62,6 @@ export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number,
236
62
  export const multiremoteattachment_new: (a: number, b: number) => number;
237
63
  export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
238
64
  export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
239
- export const __wbg_reaction_free: (a: number, b: number) => void;
240
- export const __wbg_get_reaction_reference: (a: number) => [number, number];
241
- export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
242
- export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
243
- export const __wbg_get_reaction_action: (a: number) => number;
244
- export const __wbg_set_reaction_action: (a: number, b: number) => void;
245
- export const __wbg_get_reaction_content: (a: number) => [number, number];
246
- export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
247
- export const __wbg_get_reaction_schema: (a: number) => number;
248
- export const __wbg_set_reaction_schema: (a: number, b: number) => void;
249
- export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
250
- export const encodeReaction: (a: number) => [number, number, number];
251
- export const decodeReaction: (a: any) => [number, number, number];
252
65
  export const __wbg_groupmetadata_free: (a: number, b: number) => void;
253
66
  export const groupmetadata_creatorInboxId: (a: number) => [number, number];
254
67
  export const groupmetadata_conversationType: (a: number) => [number, number];
@@ -306,29 +119,106 @@ export const conversation_isMessageDisappearingEnabled: (a: number) => [number,
306
119
  export const conversation_getHmacKeys: (a: number) => [number, number, number];
307
120
  export const conversation_getDebugInfo: (a: number) => any;
308
121
  export const conversation_findDuplicateDms: (a: number) => any;
309
- export const __wbg_apistats_free: (a: number, b: number) => void;
310
- export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
311
- export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
312
- export const __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
313
- export const __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
314
- export const __wbg_get_apistats_send_group_messages: (a: number) => bigint;
315
- export const __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
316
- export const __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
317
- export const __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
318
- export const __wbg_get_apistats_query_group_messages: (a: number) => bigint;
319
- export const __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
320
- export const __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
321
- export const __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
322
- export const __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
323
- export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
324
- export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
325
- export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
326
- export const __wbg_identitystats_free: (a: number, b: number) => void;
122
+ export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
123
+ export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
124
+ export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
125
+ export const __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
126
+ export const __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
127
+ export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
128
+ export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
129
+ export const __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
130
+ export const __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
131
+ export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
132
+ export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
133
+ 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;
134
+ export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
135
+ export const __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
136
+ export const __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
137
+ export const __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
138
+ export const __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
139
+ export const __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
140
+ export const __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
141
+ export const __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
142
+ export const __wbg_get_conversationdebuginfo_isCommitLogForked: (a: number) => number;
143
+ export const __wbg_set_conversationdebuginfo_isCommitLogForked: (a: number, b: number) => void;
144
+ export const __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
145
+ export const __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
146
+ export const __wbg_get_conversationdebuginfo_remoteCommitLog: (a: number) => [number, number];
147
+ export const __wbg_set_conversationdebuginfo_remoteCommitLog: (a: number, b: number, c: number) => void;
148
+ export const __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
149
+ export const __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
150
+ export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
151
+ export const __wbg_get_creategroupoptions_permissions: (a: number) => number;
152
+ export const __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
153
+ export const __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
154
+ export const __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
155
+ export const __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
156
+ export const __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
157
+ export const __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
158
+ export const __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
159
+ export const __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
160
+ export const __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
161
+ export const creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
162
+ export const __wbg_createdmoptions_free: (a: number, b: number) => void;
163
+ export const __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
164
+ export const __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
165
+ export const createdmoptions_new: (a: number) => number;
166
+ export const __wbg_hmackey_free: (a: number, b: number) => void;
167
+ export const __wbg_get_hmackey_key: (a: number) => [number, number];
168
+ export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
169
+ export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
170
+ export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
171
+ export const __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
172
+ export const __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
173
+ export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
174
+ export const __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
175
+ export const __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
176
+ export const conversationlistitem_new: (a: number, b: number, c: number) => number;
177
+ export const __wbg_conversations_free: (a: number, b: number) => void;
178
+ export const conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
179
+ export const conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
180
+ export const conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
181
+ export const conversations_createDm: (a: number, b: any, c: number) => any;
182
+ export const conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
183
+ export const conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
184
+ export const conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
185
+ export const conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
186
+ export const conversations_sync: (a: number) => any;
187
+ export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
188
+ export const conversations_list: (a: number, b: number) => [number, number, number];
189
+ export const conversations_getHmacKeys: (a: number) => [number, number, number];
190
+ export const conversations_streamLocal: (a: number, b: number) => any;
191
+ export const conversations_stream: (a: number, b: any, c: number) => [number, number, number];
192
+ export const conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
193
+ export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
194
+ export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
195
+ export const __wbg_contenttypeid_free: (a: number, b: number) => void;
196
+ export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
197
+ export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
198
+ export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
199
+ export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
200
+ export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
201
+ export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
202
+ export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
203
+ export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
204
+ export const __wbg_encodedcontent_free: (a: number, b: number) => void;
205
+ export const __wbg_get_encodedcontent_type: (a: number) => number;
206
+ export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
207
+ export const __wbg_get_encodedcontent_parameters: (a: number) => any;
208
+ export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
209
+ export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
210
+ export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
211
+ export const __wbg_get_encodedcontent_compression: (a: number) => number;
212
+ export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
213
+ export const __wbg_get_encodedcontent_content: (a: number) => any;
214
+ export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
215
+ export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
216
+ export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
217
+ export const generateInboxId: (a: any) => [number, number, number, number];
327
218
  export const __wbg_installation_free: (a: number, b: number) => void;
328
219
  export const __wbg_get_installation_bytes: (a: number) => any;
329
220
  export const __wbg_set_installation_bytes: (a: number, b: any) => void;
330
221
  export const __wbg_get_installation_id: (a: number) => [number, number];
331
- export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
332
222
  export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
333
223
  export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
334
224
  export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
@@ -342,8 +232,6 @@ export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, nu
342
232
  export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
343
233
  export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
344
234
  export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
345
- export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
346
- export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
347
235
  export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
348
236
  export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
349
237
  export const __wbg_lifetime_free: (a: number, b: number) => void;
@@ -351,6 +239,35 @@ export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number
351
239
  export const client_inboxState: (a: number, b: number) => any;
352
240
  export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
353
241
  export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
242
+ export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
243
+ export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
244
+ export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
245
+ export const __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
246
+ export const __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
247
+ export const __wbg_get_listmessagesoptions_direction: (a: number) => number;
248
+ export const __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
249
+ export const __wbg_get_listmessagesoptions_kind: (a: number) => number;
250
+ export const __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
251
+ export const listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigint, e: number, f: bigint, g: number, h: number, i: number, j: number, k: number) => number;
252
+ export const __wbg_message_free: (a: number, b: number) => void;
253
+ export const __wbg_get_message_id: (a: number) => [number, number];
254
+ export const __wbg_set_message_id: (a: number, b: number, c: number) => void;
255
+ export const __wbg_get_message_convoId: (a: number) => [number, number];
256
+ export const __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
257
+ export const __wbg_get_message_senderInboxId: (a: number) => [number, number];
258
+ export const __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
259
+ export const __wbg_get_message_content: (a: number) => number;
260
+ export const __wbg_set_message_content: (a: number, b: number) => void;
261
+ export const __wbg_get_message_kind: (a: number) => number;
262
+ export const __wbg_set_message_kind: (a: number, b: number) => void;
263
+ export const __wbg_get_message_deliveryStatus: (a: number) => number;
264
+ export const __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
265
+ export const message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
266
+ export const __wbg_messagewithreactions_free: (a: number, b: number) => void;
267
+ export const __wbg_get_messagewithreactions_message: (a: number) => number;
268
+ export const __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
269
+ export const __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
270
+ export const __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
354
271
  export const __wbg_opfs_free: (a: number, b: number) => void;
355
272
  export const opfs_init_sqlite_opfs: () => any;
356
273
  export const opfs_exists: () => number;
@@ -383,21 +300,104 @@ export const client_applySignatureRequest: (a: number, b: number) => any;
383
300
  export const client_registerIdentity: (a: number, b: number) => any;
384
301
  export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
385
302
  export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
386
- export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
303
+ export const __wbg_streamcloser_free: (a: number, b: number) => void;
304
+ export const streamcloser_end: (a: number) => void;
305
+ export const streamcloser_endAndWait: (a: number) => any;
306
+ export const streamcloser_waitForReady: (a: number) => any;
307
+ export const streamcloser_isClosed: (a: number) => number;
308
+ export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
387
309
  export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
310
+ export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
311
+ export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
312
+ export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
388
313
  export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
314
+ export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
315
+ export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
316
+ export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
317
+ export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
318
+ export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
319
+ export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
320
+ export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
321
+ export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
322
+ export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
323
+ export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
324
+ export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
325
+ export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
326
+ export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
327
+ export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
328
+ export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
329
+ export const __wbg_get_hmackey_epoch: (a: number) => bigint;
330
+ export const __wbg_get_lifetime_not_before: (a: number) => bigint;
331
+ export const __wbg_get_lifetime_not_after: (a: number) => bigint;
332
+ export const __wbg_get_message_sentAtNs: (a: number) => bigint;
333
+ export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
334
+ export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
335
+ export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
336
+ export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
337
+ export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
338
+ export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
339
+ export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
340
+ export const __wbg_apistats_free: (a: number, b: number) => void;
341
+ export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
342
+ export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
343
+ export const __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
344
+ export const __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
345
+ export const __wbg_get_apistats_send_group_messages: (a: number) => bigint;
346
+ export const __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
347
+ export const __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
348
+ export const __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
349
+ export const __wbg_get_apistats_query_group_messages: (a: number) => bigint;
350
+ export const __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
351
+ export const __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
352
+ export const __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
353
+ export const __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
354
+ export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
355
+ export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
356
+ export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
357
+ export const __wbg_identitystats_free: (a: number, b: number) => void;
389
358
  export const __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
390
359
  export const __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
391
360
  export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
392
361
  export const __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
393
- export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
394
- export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
395
362
  export const __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
396
363
  export const __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
397
364
  export const __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
398
365
  export const __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
399
- export const __wbg_get_lifetime_not_before: (a: number) => bigint;
400
- export const __wbg_get_lifetime_not_after: (a: number) => bigint;
366
+ export const __wbg_reaction_free: (a: number, b: number) => void;
367
+ export const __wbg_get_reaction_reference: (a: number) => [number, number];
368
+ export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
369
+ export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
370
+ export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
371
+ export const __wbg_get_reaction_action: (a: number) => number;
372
+ export const __wbg_set_reaction_action: (a: number, b: number) => void;
373
+ export const __wbg_get_reaction_content: (a: number) => [number, number];
374
+ export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
375
+ export const __wbg_get_reaction_schema: (a: number) => number;
376
+ export const __wbg_set_reaction_schema: (a: number, b: number) => void;
377
+ export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
378
+ export const encodeReaction: (a: number) => [number, number, number];
379
+ export const decodeReaction: (a: any) => [number, number, number];
380
+ export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
381
+ export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
382
+ export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
383
+ export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
384
+ export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
385
+ export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
386
+ export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
387
+ export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
388
+ export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
389
+ export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
390
+ export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
391
+ export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
392
+ export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
393
+ export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
394
+ export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
395
+ export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
396
+ export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
397
+ export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
398
+ export const __wbg_grouppermissions_free: (a: number, b: number) => void;
399
+ export const grouppermissions_policyType: (a: number) => [number, number, number];
400
+ export const grouppermissions_policySet: (a: number) => [number, number, number];
401
401
  export const rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
402
402
  export const rust_zstd_wasm_shim_malloc: (a: number) => number;
403
403
  export const rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
@@ -417,15 +417,15 @@ export const rust_sqlite_wasm_shim_free: (a: number) => void;
417
417
  export const rust_sqlite_wasm_shim_realloc: (a: number, b: number) => number;
418
418
  export const rust_sqlite_wasm_shim_calloc: (a: number, b: number) => number;
419
419
  export const sqlite3_os_init: () => number;
420
+ export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
421
+ export const intounderlyingsource_pull: (a: number, b: any) => any;
422
+ export const intounderlyingsource_cancel: (a: number) => void;
420
423
  export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
421
424
  export const intounderlyingbytesource_type: (a: number) => number;
422
425
  export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
423
426
  export const intounderlyingbytesource_start: (a: number, b: any) => void;
424
427
  export const intounderlyingbytesource_pull: (a: number, b: any) => any;
425
428
  export const intounderlyingbytesource_cancel: (a: number) => void;
426
- export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
427
- export const intounderlyingsource_pull: (a: number, b: any) => any;
428
- export const intounderlyingsource_cancel: (a: number) => void;
429
429
  export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
430
430
  export const intounderlyingsink_write: (a: number, b: any) => any;
431
431
  export const intounderlyingsink_close: (a: number) => any;
@@ -440,8 +440,8 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
440
440
  export const __externref_drop_slice: (a: number, b: number) => void;
441
441
  export const __wbindgen_export_7: WebAssembly.Table;
442
442
  export const __externref_table_dealloc: (a: number) => void;
443
- export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1abf41465a2d63c6: (a: number, b: number) => void;
444
- export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8ef89b805ac22e85: (a: number, b: number) => void;
445
- export const closure5253_externref_shim: (a: number, b: number, c: any) => void;
446
- export const closure6187_externref_shim: (a: number, b: number, c: any, d: any) => void;
443
+ export const wasm_bindgen__convert__closures_____invoke__h231d11d7d151a506: (a: number, b: number) => void;
444
+ export const wasm_bindgen__convert__closures_____invoke__hfa5440517c90e88d: (a: number, b: number) => void;
445
+ export const closure5306_externref_shim: (a: number, b: number, c: any) => void;
446
+ export const closure6250_externref_shim: (a: number, b: number, c: any, d: any) => void;
447
447
  export const __wbindgen_start: () => void;
package/dist/version.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "branch": "cv/test-1.4.1-release",
3
- "version": "c78b650",
4
- "date": "2025-09-05 07:46:41 +0000"
2
+ "branch": "release/v1.5",
3
+ "version": "e5ff534",
4
+ "date": "2025-09-23 22:59:27 +0000"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/wasm-bindings",
3
- "version": "1.5.0-dev.c78b650",
3
+ "version": "1.5.0-rc2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "WASM bindings for the libXMTP rust library",
@@ -63,7 +63,7 @@
63
63
  },
64
64
  "devDependencies": {
65
65
  "@sqlite.org/sqlite-wasm": "^3.47.0-build1",
66
- "binaryen": "^123.0.0",
66
+ "binaryen": "^124.0.0",
67
67
  "tsx": "^4.19.3",
68
68
  "wasm-pack": "^0.13.1",
69
69
  "zx": "^8.4.0"