@xmtp/wasm-bindings 1.2.0-dev.cae98b4 → 1.2.0-rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -1,6 +1,114 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
+ export const __wbg_streamcloser_free: (a: number, b: number) => void;
5
+ export const streamcloser_end: (a: number) => void;
6
+ export const streamcloser_endAndWait: (a: number) => any;
7
+ export const streamcloser_waitForReady: (a: number) => any;
8
+ export const streamcloser_isClosed: (a: number) => number;
9
+ export const __wbg_consent_free: (a: number, b: number) => void;
10
+ export const __wbg_get_consent_entityType: (a: number) => number;
11
+ export const __wbg_set_consent_entityType: (a: number, b: number) => void;
12
+ export const __wbg_get_consent_state: (a: number) => number;
13
+ export const __wbg_set_consent_state: (a: number, b: number) => void;
14
+ export const __wbg_get_consent_entity: (a: number) => [number, number];
15
+ export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
16
+ export const consent_new: (a: number, b: number, c: number, d: number) => number;
17
+ export const client_setConsentStates: (a: number, b: number, c: number) => any;
18
+ export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
19
+ export const conversation_consentState: (a: number) => [number, number, number];
20
+ export const conversation_updateConsentState: (a: number, b: number) => [number, number];
21
+ export const __wbg_groupmetadata_free: (a: number, b: number) => void;
22
+ export const groupmetadata_creatorInboxId: (a: number) => [number, number];
23
+ export const groupmetadata_conversationType: (a: number) => [number, number];
24
+ export const __wbg_groupmember_free: (a: number, b: number) => void;
25
+ export const __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
26
+ export const __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
27
+ export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
28
+ export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
29
+ export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
30
+ export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
31
+ export const __wbg_get_groupmember_consentState: (a: number) => number;
32
+ export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
33
+ export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
34
+ export const __wbg_conversation_free: (a: number, b: number) => void;
35
+ export const conversation_id: (a: number) => [number, number];
36
+ export const conversation_send: (a: number, b: number) => any;
37
+ export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
38
+ export const conversation_publishMessages: (a: number) => any;
39
+ export const conversation_sync: (a: number) => any;
40
+ export const conversation_findMessages: (a: number, b: number) => any;
41
+ export const conversation_findMessagesWithReactions: (a: number, b: number) => any;
42
+ export const conversation_listMembers: (a: number) => any;
43
+ export const conversation_adminList: (a: number) => [number, number, number, number];
44
+ export const conversation_superAdminList: (a: number) => [number, number, number, number];
45
+ export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
46
+ export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
47
+ export const conversation_addMembers: (a: number, b: number, c: number) => any;
48
+ export const conversation_addAdmin: (a: number, b: number, c: number) => any;
49
+ export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
50
+ export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
51
+ export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
52
+ export const conversation_groupPermissions: (a: number) => [number, number, number];
53
+ export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
54
+ export const conversation_removeMembers: (a: number, b: number, c: number) => any;
55
+ export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
56
+ export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
57
+ export const conversation_groupName: (a: number) => [number, number, number, number];
58
+ export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
59
+ export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
60
+ export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
61
+ export const conversation_groupDescription: (a: number) => [number, number, number, number];
62
+ export const conversation_stream: (a: number, b: any) => [number, number, number];
63
+ export const conversation_createdAtNs: (a: number) => bigint;
64
+ export const conversation_isActive: (a: number) => [number, number, number];
65
+ export const conversation_pausedForVersion: (a: number) => [number, number, number, number];
66
+ export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
67
+ export const conversation_groupMetadata: (a: number) => any;
68
+ export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
69
+ export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
70
+ export const conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
71
+ export const conversation_removeMessageDisappearingSettings: (a: number) => any;
72
+ export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
73
+ export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
74
+ export const conversation_getHmacKeys: (a: number) => [number, number, number];
75
+ export const conversation_getDebugInfo: (a: number) => any;
76
+ export const conversation_findDuplicateDms: (a: number) => any;
77
+ export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
78
+ export const generateInboxId: (a: any) => [number, number, number, number];
79
+ export const __wbg_installation_free: (a: number, b: number) => void;
80
+ export const __wbg_get_installation_bytes: (a: number) => any;
81
+ export const __wbg_set_installation_bytes: (a: number, b: any) => void;
82
+ export const __wbg_get_installation_id: (a: number) => [number, number];
83
+ export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
84
+ export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
85
+ export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
86
+ export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
87
+ export const __wbg_inboxstate_free: (a: number, b: number) => void;
88
+ export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
89
+ export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
90
+ export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
91
+ export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
92
+ export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
93
+ export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
94
+ export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
95
+ export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
96
+ export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
97
+ export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
98
+ export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
99
+ export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
100
+ export const __wbg_lifetime_free: (a: number, b: number) => void;
101
+ export const __wbg_get_lifetime_not_before: (a: number) => bigint;
102
+ export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
103
+ export const __wbg_get_lifetime_not_after: (a: number) => bigint;
104
+ export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
105
+ export const client_inboxState: (a: number, b: number) => any;
106
+ export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
107
+ export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
108
+ export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
109
+ export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
110
+ export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
111
+ export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
4
112
  export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
5
113
  export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
6
114
  export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
@@ -17,6 +125,13 @@ export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => v
17
125
  export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
18
126
  export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
19
127
  export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
128
+ export const __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
129
+ export const __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
130
+ export const __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
131
+ export const __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
132
+ export const __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
133
+ export const __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
134
+ export const __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
20
135
  export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
21
136
  export const __wbg_get_creategroupoptions_permissions: (a: number) => number;
22
137
  export const __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
@@ -35,9 +150,6 @@ export const __wbg_set_createdmoptions_messageDisappearingSettings: (a: number,
35
150
  export const createdmoptions_new: (a: number) => number;
36
151
  export const __wbg_hmackey_free: (a: number, b: number) => void;
37
152
  export const __wbg_get_hmackey_key: (a: number) => [number, number];
38
- export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
39
- export const __wbg_get_hmackey_epoch: (a: number) => bigint;
40
- export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
41
153
  export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
42
154
  export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
43
155
  export const __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
@@ -45,6 +157,7 @@ export const __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
45
157
  export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
46
158
  export const conversationlistitem_new: (a: number, b: number) => number;
47
159
  export const __wbg_conversations_free: (a: number, b: number) => void;
160
+ export const conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
48
161
  export const conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
49
162
  export const conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
50
163
  export const conversations_createDm: (a: number, b: any, c: number) => any;
@@ -54,6 +167,7 @@ export const conversations_findDmByTargetInboxId: (a: number, b: number, c: numb
54
167
  export const conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
55
168
  export const conversations_sync: (a: number) => any;
56
169
  export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
170
+ export const conversations_syncDeviceSync: (a: number) => any;
57
171
  export const conversations_list: (a: number, b: number) => [number, number, number];
58
172
  export const conversations_listGroups: (a: number, b: number) => [number, number, number];
59
173
  export const conversations_listDms: (a: number, b: number) => [number, number, number];
@@ -61,7 +175,7 @@ export const conversations_getHmacKeys: (a: number) => [number, number, number];
61
175
  export const conversations_stream: (a: number, b: any, c: number) => [number, number, number];
62
176
  export const conversations_streamGroups: (a: number, b: any) => [number, number, number];
63
177
  export const conversations_streamDms: (a: number, b: any) => [number, number, number];
64
- export const conversations_streamAllMessages: (a: number, b: any, c: number) => [number, number, number];
178
+ export const conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
65
179
  export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
66
180
  export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
67
181
  export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
@@ -71,7 +185,9 @@ export const __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number
71
185
  export const __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
72
186
  export const __wbg_get_listmessagesoptions_direction: (a: number) => number;
73
187
  export const __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
74
- export const listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigint, e: number, f: bigint, g: number, h: number, i: number, j: number) => number;
188
+ export const __wbg_get_listmessagesoptions_kind: (a: number) => number;
189
+ export const __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
190
+ 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;
75
191
  export const __wbg_message_free: (a: number, b: number) => void;
76
192
  export const __wbg_get_message_id: (a: number) => [number, number];
77
193
  export const __wbg_set_message_id: (a: number, b: number, c: number) => void;
@@ -91,54 +207,44 @@ export const __wbg_get_messagewithreactions_message: (a: number) => number;
91
207
  export const __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
92
208
  export const __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
93
209
  export const __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
210
+ export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
211
+ export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
212
+ export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
213
+ export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
94
214
  export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
215
+ export const __wbg_get_hmackey_epoch: (a: number) => bigint;
95
216
  export const __wbg_get_message_sentAtNs: (a: number) => bigint;
217
+ export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
218
+ export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
96
219
  export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
97
220
  export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
98
221
  export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
99
- export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
100
222
  export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
223
+ export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
101
224
  export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
102
- export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
103
- export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
104
- export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
105
- export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
106
- export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
107
- export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
108
- export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
109
- export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
110
- export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
111
- export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
112
- export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
113
- export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
114
- export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
115
- export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
116
- export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
117
- export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
118
- export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
119
- export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
120
- export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
121
- export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
122
- export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
123
- export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
124
- export const __wbg_grouppermissions_free: (a: number, b: number) => void;
125
- export const grouppermissions_policyType: (a: number) => [number, number, number];
126
- export const grouppermissions_policySet: (a: number) => [number, number, number];
127
- export const __wbg_consent_free: (a: number, b: number) => void;
128
- export const __wbg_get_consent_entityType: (a: number) => number;
129
- export const __wbg_set_consent_entityType: (a: number, b: number) => void;
130
- export const __wbg_get_consent_state: (a: number) => number;
131
- export const __wbg_set_consent_state: (a: number, b: number) => void;
132
- export const __wbg_get_consent_entity: (a: number) => [number, number];
133
- export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
134
- export const consent_new: (a: number, b: number, c: number, d: number) => number;
135
- export const client_setConsentStates: (a: number, b: number, c: number) => any;
136
- export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
137
- export const conversation_consentState: (a: number) => [number, number, number];
138
- export const conversation_updateConsentState: (a: number, b: number) => [number, number];
225
+ export const __wbg_client_free: (a: number, b: number) => void;
226
+ export const __wbg_logoptions_free: (a: number, b: number) => void;
227
+ export const __wbg_get_logoptions_structured: (a: number) => number;
228
+ export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
229
+ export const __wbg_get_logoptions_performance: (a: number) => number;
230
+ export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
231
+ export const __wbg_get_logoptions_level: (a: number) => number;
232
+ export const __wbg_set_logoptions_level: (a: number, b: number) => void;
233
+ export const logoptions_new: (a: number, b: number, c: number) => number;
234
+ 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;
235
+ export const client_accountIdentifier: (a: number) => any;
236
+ export const client_inboxId: (a: number) => [number, number];
237
+ export const client_isRegistered: (a: number) => number;
238
+ export const client_installationId: (a: number) => [number, number];
239
+ export const client_installationIdBytes: (a: number) => any;
240
+ export const client_canMessage: (a: number, b: number, c: number) => any;
241
+ export const client_registerIdentity: (a: number) => any;
242
+ export const client_sendSyncRequest: (a: number) => any;
243
+ export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
244
+ export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
245
+ export const client_conversations: (a: number) => number;
246
+ export const client_syncPreferences: (a: number) => any;
139
247
  export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
140
- export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
141
- export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
142
248
  export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
143
249
  export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
144
250
  export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
@@ -161,8 +267,6 @@ export const multiremoteattachment_new: (a: number, b: number) => number;
161
267
  export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
162
268
  export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
163
269
  export const __wbg_reaction_free: (a: number, b: number) => void;
164
- export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
165
- export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
166
270
  export const __wbg_get_reaction_action: (a: number) => number;
167
271
  export const __wbg_set_reaction_action: (a: number, b: number) => void;
168
272
  export const __wbg_get_reaction_content: (a: number) => [number, number];
@@ -172,106 +276,6 @@ export const __wbg_set_reaction_schema: (a: number, b: number) => void;
172
276
  export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
173
277
  export const encodeReaction: (a: number) => [number, number, number];
174
278
  export const decodeReaction: (a: any) => [number, number, number];
175
- export const __wbg_groupmetadata_free: (a: number, b: number) => void;
176
- export const groupmetadata_creatorInboxId: (a: number) => [number, number];
177
- export const groupmetadata_conversationType: (a: number) => [number, number];
178
- export const __wbg_groupmember_free: (a: number, b: number) => void;
179
- export const __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
180
- export const __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
181
- export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
182
- export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
183
- export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
184
- export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
185
- export const __wbg_get_groupmember_consentState: (a: number) => number;
186
- export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
187
- export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
188
- export const __wbg_conversation_free: (a: number, b: number) => void;
189
- export const conversation_id: (a: number) => [number, number];
190
- export const conversation_send: (a: number, b: number) => any;
191
- export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
192
- export const conversation_publishMessages: (a: number) => any;
193
- export const conversation_sync: (a: number) => any;
194
- export const conversation_findMessages: (a: number, b: number) => any;
195
- export const conversation_findMessagesWithReactions: (a: number, b: number) => any;
196
- export const conversation_listMembers: (a: number) => any;
197
- export const conversation_adminList: (a: number) => [number, number, number, number];
198
- export const conversation_superAdminList: (a: number) => [number, number, number, number];
199
- export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
200
- export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
201
- export const conversation_addMembers: (a: number, b: number, c: number) => any;
202
- export const conversation_addAdmin: (a: number, b: number, c: number) => any;
203
- export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
204
- export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
205
- export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
206
- export const conversation_groupPermissions: (a: number) => [number, number, number];
207
- export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
208
- export const conversation_removeMembers: (a: number, b: number, c: number) => any;
209
- export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
210
- export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
211
- export const conversation_groupName: (a: number) => [number, number, number, number];
212
- export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
213
- export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
214
- export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
215
- export const conversation_groupDescription: (a: number) => [number, number, number, number];
216
- export const conversation_stream: (a: number, b: any) => [number, number, number];
217
- export const conversation_createdAtNs: (a: number) => bigint;
218
- export const conversation_isActive: (a: number) => [number, number, number];
219
- export const conversation_pausedForVersion: (a: number) => [number, number, number, number];
220
- export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
221
- export const conversation_groupMetadata: (a: number) => any;
222
- export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
223
- export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
224
- export const conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
225
- export const conversation_removeMessageDisappearingSettings: (a: number) => any;
226
- export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
227
- export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
228
- export const conversation_getHmacKeys: (a: number) => [number, number, number];
229
- export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
230
- export const __wbg_passkeysignature_free: (a: number, b: number) => void;
231
- export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
232
- export const client_addWalletSignatureText: (a: number, b: any) => any;
233
- export const client_revokeWalletSignatureText: (a: number, b: any) => any;
234
- export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
235
- export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
236
- export const client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
237
- export const client_addEcdsaSignature: (a: number, b: number, c: any) => any;
238
- export const client_addPasskeySignature: (a: number, b: number, c: number) => any;
239
- export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
240
- export const client_applySignatureRequests: (a: number) => any;
241
- export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
242
- export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
243
- export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
244
- export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
245
- export const __wbg_get_reaction_reference: (a: number) => [number, number];
246
- export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
247
- export const __wbg_streamcloser_free: (a: number, b: number) => void;
248
- export const streamcloser_end: (a: number) => void;
249
- export const streamcloser_endAndWait: (a: number) => any;
250
- export const streamcloser_waitForReady: (a: number) => any;
251
- export const streamcloser_isClosed: (a: number) => number;
252
- export const __wbg_client_free: (a: number, b: number) => void;
253
- export const __wbg_logoptions_free: (a: number, b: number) => void;
254
- export const __wbg_get_logoptions_structured: (a: number) => number;
255
- export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
256
- export const __wbg_get_logoptions_performance: (a: number) => number;
257
- export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
258
- export const __wbg_get_logoptions_level: (a: number) => number;
259
- export const __wbg_set_logoptions_level: (a: number, b: number) => void;
260
- export const logoptions_new: (a: number, b: number, c: number) => number;
261
- 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;
262
- export const client_accountIdentifier: (a: number) => any;
263
- export const client_inboxId: (a: number) => [number, number];
264
- export const client_isRegistered: (a: number) => number;
265
- export const client_installationId: (a: number) => [number, number];
266
- export const client_installationIdBytes: (a: number) => any;
267
- export const client_canMessage: (a: number, b: number, c: number) => any;
268
- export const client_registerIdentity: (a: number) => any;
269
- export const client_sendHistorySyncRequest: (a: number) => any;
270
- export const client_sendConsentSyncRequest: (a: number) => any;
271
- export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
272
- export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
273
- export const client_conversations: (a: number) => number;
274
- export const client_syncPreferences: (a: number) => any;
275
279
  export const __wbg_contenttypeid_free: (a: number, b: number) => void;
276
280
  export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
277
281
  export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
@@ -294,39 +298,6 @@ export const __wbg_set_encodedcontent_compression: (a: number, b: number) => voi
294
298
  export const __wbg_get_encodedcontent_content: (a: number) => any;
295
299
  export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
296
300
  export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
297
- export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
298
- export const generateInboxId: (a: any) => [number, number, number, number];
299
- export const __wbg_installation_free: (a: number, b: number) => void;
300
- export const __wbg_get_installation_bytes: (a: number) => any;
301
- export const __wbg_set_installation_bytes: (a: number, b: any) => void;
302
- export const __wbg_get_installation_id: (a: number) => [number, number];
303
- export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
304
- export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
305
- export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
306
- export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
307
- export const __wbg_inboxstate_free: (a: number, b: number) => void;
308
- export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
309
- export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
310
- export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
311
- export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
312
- export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
313
- export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
314
- export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
315
- export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
316
- export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
317
- export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
318
- export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
319
- export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
320
- export const __wbg_lifetime_free: (a: number, b: number) => void;
321
- export const __wbg_get_lifetime_not_before: (a: number) => bigint;
322
- export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
323
- export const __wbg_get_lifetime_not_after: (a: number) => bigint;
324
- export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
325
- export const client_inboxState: (a: number, b: number) => any;
326
- export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
327
- export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
328
- export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
329
- export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
330
301
  export const __wbg_opfs_free: (a: number, b: number) => void;
331
302
  export const opfs_init_sqlite_opfs: () => any;
332
303
  export const opfs_exists: () => number;
@@ -340,6 +311,55 @@ export const opfs_getFileCount: () => number;
340
311
  export const opfs_getCapacity: () => number;
341
312
  export const opfs_addCapacity: (a: number) => any;
342
313
  export const opfs_reduceCapacity: (a: number) => any;
314
+ export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
315
+ export const __wbg_passkeysignature_free: (a: number, b: number) => void;
316
+ export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
317
+ export const client_addWalletSignatureText: (a: number, b: any) => any;
318
+ export const client_revokeWalletSignatureText: (a: number, b: any) => any;
319
+ export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
320
+ export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
321
+ export const client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
322
+ export const client_addEcdsaSignature: (a: number, b: number, c: any) => any;
323
+ export const client_addPasskeySignature: (a: number, b: number, c: number) => any;
324
+ export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
325
+ export const client_applySignatureRequests: (a: number) => any;
326
+ export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
327
+ export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
328
+ export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
329
+ export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
330
+ export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
331
+ export const __wbg_get_reaction_reference: (a: number) => [number, number];
332
+ export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
333
+ export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
334
+ export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
335
+ export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
336
+ export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
337
+ export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
338
+ export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
339
+ export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
340
+ export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
341
+ export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
342
+ export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
343
+ export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
344
+ export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
345
+ export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
346
+ export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
347
+ export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
348
+ export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
349
+ export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
350
+ export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
351
+ export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
352
+ export const __wbg_grouppermissions_free: (a: number, b: number) => void;
353
+ export const grouppermissions_policyType: (a: number) => [number, number, number];
354
+ export const grouppermissions_policySet: (a: number) => [number, number, number];
355
+ export const rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
356
+ export const rust_zstd_wasm_shim_malloc: (a: number) => number;
357
+ export const rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
358
+ export const rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
359
+ export const rust_zstd_wasm_shim_free: (a: number) => void;
360
+ export const rust_zstd_wasm_shim_memcpy: (a: number, b: number, c: number) => number;
361
+ export const rust_zstd_wasm_shim_memmove: (a: number, b: number, c: number) => number;
362
+ export const rust_zstd_wasm_shim_memset: (a: number, b: number, c: number) => number;
343
363
  export const rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
344
364
  export const rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
345
365
  export const rust_sqlite_wasm_shim_emscripten_get_now: () => number;
@@ -371,8 +391,8 @@ export const __wbindgen_export_7: WebAssembly.Table;
371
391
  export const __externref_table_dealloc: (a: number) => void;
372
392
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215: (a: number, b: number) => void;
373
393
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h89dafc0baf46c12b: (a: number, b: number) => void;
374
- export const closure3980_externref_shim: (a: number, b: number, c: any) => void;
394
+ export const closure4460_externref_shim: (a: number, b: number, c: any) => void;
375
395
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a: (a: number, b: number) => void;
376
- export const closure5011_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
377
- export const closure5010_externref_shim: (a: number, b: number, c: any, d: any) => void;
396
+ export const closure5467_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
397
+ export const closure5466_externref_shim: (a: number, b: number, c: any, d: any) => void;
378
398
  export const __wbindgen_start: () => void;
package/dist/version.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "branch": "coda/bindings-fixes",
3
- "version": "cae98b4",
4
- "date": "2025-04-17 02:23:01 +0000"
2
+ "branch": "HEAD",
3
+ "version": "9ce24d1",
4
+ "date": "2025-05-07 17:45:18 +0000"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/wasm-bindings",
3
- "version": "1.2.0-dev.cae98b4",
3
+ "version": "1.2.0-rc1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "WASM bindings for the libXMTP rust library",
@@ -27,7 +27,7 @@
27
27
  "build": "yarn clean && yarn build:web && yarn clean:release",
28
28
  "build:macos": "yarn clean && yarn build:web:macos && yarn clean:release",
29
29
  "build:web": "RUSTFLAGS=\"-Ctarget-feature=+bulk-memory,+mutable-globals --cfg getrandom_backend=\\\"wasm_js\\\"\" wasm-pack build --target web --out-dir ./dist --no-pack --release",
30
- "build:web:macos": "CC_wasm32_unknown_unknown=/opt/homebrew/opt/llvm/bin/clang RUSTFLAGS=\"-Ctarget-feature=+bulk-memory,+mutable-globals\" wasm-pack build --target web --out-dir ./dist --no-pack --release",
30
+ "build:web:macos": "CC_wasm32_unknown_unknown=/opt/homebrew/opt/llvm/bin/clang RUSTFLAGS=\"-Ctarget-feature=+bulk-memory,+mutable-globals --cfg getrandom_backend=\\\"wasm_js\\\"\" wasm-pack build --target web --out-dir ./dist --no-pack --release",
31
31
  "check": "cargo check --target wasm32-unknown-unknown",
32
32
  "check:macos": "CC_wasm32_unknown_unknown=/opt/homebrew/opt/llvm/bin/clang cargo check --target wasm32-unknown-unknown",
33
33
  "clean": "rm -rf ./dist",