@xmtp/wasm-bindings 1.2.1 → 1.2.3

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