@xmtp/wasm-bindings 0.0.21 → 1.0.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,6 +1,148 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
+ export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
5
+ export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
6
+ export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
7
+ export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
8
+ export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
9
+ export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
10
+ export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
11
+ export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
12
+ export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
13
+ export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
14
+ export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
15
+ export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
16
+ export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
17
+ export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
18
+ export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
19
+ export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
20
+ export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
21
+ export const remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
22
+ export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
23
+ export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
24
+ export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
25
+ export const multiremoteattachment_new: (a: number, b: number) => number;
26
+ export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
27
+ export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
28
+ export const __wbg_reaction_free: (a: number, b: number) => void;
29
+ export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
30
+ export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
31
+ export const __wbg_get_reaction_action: (a: number) => number;
32
+ export const __wbg_set_reaction_action: (a: number, b: number) => void;
33
+ export const __wbg_get_reaction_content: (a: number) => [number, number];
34
+ export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
35
+ export const __wbg_get_reaction_schema: (a: number) => number;
36
+ export const __wbg_set_reaction_schema: (a: number, b: number) => void;
37
+ export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
38
+ export const encodeReaction: (a: number) => [number, number, number];
39
+ export const decodeReaction: (a: any) => [number, number, number];
40
+ export const __wbg_groupmetadata_free: (a: number, b: number) => void;
41
+ export const groupmetadata_creatorInboxId: (a: number) => [number, number];
42
+ export const groupmetadata_conversationType: (a: number) => [number, number];
43
+ export const __wbg_groupmember_free: (a: number, b: number) => void;
44
+ export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
45
+ export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
46
+ export const __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
47
+ export const __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
48
+ export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
49
+ export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
50
+ export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
51
+ export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
52
+ export const __wbg_get_groupmember_consentState: (a: number) => number;
53
+ export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
54
+ export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
55
+ export const __wbg_conversation_free: (a: number, b: number) => void;
56
+ export const conversation_id: (a: number) => [number, number];
57
+ export const conversation_send: (a: number, b: number) => any;
58
+ export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
59
+ export const conversation_publishMessages: (a: number) => any;
60
+ export const conversation_sync: (a: number) => any;
61
+ export const conversation_findMessages: (a: number, b: number) => any;
62
+ export const conversation_findMessagesWithReactions: (a: number, b: number) => any;
63
+ export const conversation_listMembers: (a: number) => any;
64
+ export const conversation_adminList: (a: number) => [number, number, number, number];
65
+ export const conversation_superAdminList: (a: number) => [number, number, number, number];
66
+ export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
67
+ export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
68
+ export const conversation_addMembers: (a: number, b: number, c: number) => any;
69
+ export const conversation_addAdmin: (a: number, b: number, c: number) => any;
70
+ export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
71
+ export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
72
+ export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
73
+ export const conversation_groupPermissions: (a: number) => [number, number, number];
74
+ export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
75
+ export const conversation_removeMembers: (a: number, b: number, c: number) => any;
76
+ export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
77
+ export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
78
+ export const conversation_groupName: (a: number) => [number, number, number, number];
79
+ export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
80
+ export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
81
+ export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
82
+ export const conversation_groupDescription: (a: number) => [number, number, number, number];
83
+ export const conversation_stream: (a: number, b: any) => [number, number, number];
84
+ export const conversation_createdAtNs: (a: number) => bigint;
85
+ export const conversation_isActive: (a: number) => [number, number, number];
86
+ export const conversation_pausedForVersion: (a: number) => [number, number, number, number];
87
+ export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
88
+ export const conversation_groupMetadata: (a: number) => any;
89
+ export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
90
+ export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
91
+ export const conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
92
+ export const conversation_removeMessageDisappearingSettings: (a: number) => any;
93
+ export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
94
+ export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
95
+ export const conversation_getHmacKeys: (a: number) => [number, number, number];
96
+ export const getInboxIdForIdentifier: (a: number, b: number, c: number) => any;
97
+ export const generateInboxId: (a: number) => [number, number, number, number];
98
+ export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
99
+ export const __wbg_get_reaction_reference: (a: number) => [number, number];
100
+ export const __wbg_streamcloser_free: (a: number, b: number) => void;
101
+ export const streamcloser_end: (a: number) => void;
102
+ export const streamcloser_endAndWait: (a: number) => any;
103
+ export const streamcloser_waitForReady: (a: number) => any;
104
+ export const streamcloser_isClosed: (a: number) => number;
105
+ export const __wbg_consent_free: (a: number, b: number) => void;
106
+ export const __wbg_get_consent_entityType: (a: number) => number;
107
+ export const __wbg_set_consent_entityType: (a: number, b: number) => void;
108
+ export const __wbg_get_consent_state: (a: number) => number;
109
+ export const __wbg_set_consent_state: (a: number, b: number) => void;
110
+ export const __wbg_get_consent_entity: (a: number) => [number, number];
111
+ export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
112
+ export const consent_new: (a: number, b: number, c: number, d: number) => number;
113
+ export const client_setConsentStates: (a: number, b: number, c: number) => any;
114
+ export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
115
+ export const conversation_consentState: (a: number) => [number, number, number];
116
+ export const conversation_updateConsentState: (a: number, b: number) => [number, number];
117
+ export const __wbg_identifier_free: (a: number, b: number) => void;
118
+ export const __wbg_get_identifier_identifierKind: (a: number) => number;
119
+ export const __wbg_set_identifier_identifierKind: (a: number, b: number) => void;
120
+ export const __wbg_get_identifier_relyingParty: (a: number) => [number, number];
121
+ export const __wbg_set_identifier_relyingParty: (a: number, b: number, c: number) => void;
122
+ export const identifier_new: (a: number, b: number, c: number, d: number, e: number) => number;
123
+ export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
124
+ export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
125
+ export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
126
+ export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
127
+ export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
128
+ export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
129
+ export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
130
+ export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
131
+ export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
132
+ export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
133
+ export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
134
+ export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
135
+ export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
136
+ export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
137
+ export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
138
+ export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
139
+ export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
140
+ export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
141
+ export const __wbg_grouppermissions_free: (a: number, b: number) => void;
142
+ export const grouppermissions_policyType: (a: number) => [number, number, number];
143
+ export const grouppermissions_policySet: (a: number) => [number, number, number];
144
+ export const __wbg_set_identifier_identifier: (a: number, b: number, c: number) => void;
145
+ export const __wbg_get_identifier_identifier: (a: number) => [number, number];
4
146
  export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
5
147
  export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
6
148
  export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
@@ -45,7 +187,7 @@ export const conversationlistitem_new: (a: number, b: number) => number;
45
187
  export const __wbg_conversations_free: (a: number, b: number) => void;
46
188
  export const conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
47
189
  export const conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
48
- export const conversations_createDm: (a: number, b: number, c: number, d: number) => any;
190
+ export const conversations_createDm: (a: number, b: number, c: number) => any;
49
191
  export const conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
50
192
  export const conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
51
193
  export const conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
@@ -93,11 +235,13 @@ export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, b
93
235
  export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
94
236
  export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
95
237
  export const __wbg_inboxstate_free: (a: number, b: number) => void;
238
+ export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => number;
239
+ export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: number) => void;
96
240
  export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
97
241
  export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
98
- export const __wbg_get_inboxstate_accountAddresses: (a: number) => [number, number];
99
- export const __wbg_set_inboxstate_accountAddresses: (a: number, b: number, c: number) => void;
100
- export const inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
242
+ export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
243
+ export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
244
+ export const inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
101
245
  export const client_inboxState: (a: number, b: number) => any;
102
246
  export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
103
247
  export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
@@ -142,9 +286,7 @@ export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number,
142
286
  export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
143
287
  export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
144
288
  export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
145
- export const __wbg_set_inboxstate_recoveryAddress: (a: number, b: number, c: number) => void;
146
289
  export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
147
- export const __wbg_get_inboxstate_recoveryAddress: (a: number) => [number, number];
148
290
  export const __wbg_client_free: (a: number, b: number) => void;
149
291
  export const __wbg_logoptions_free: (a: number, b: number) => void;
150
292
  export const __wbg_get_logoptions_structured: (a: number) => number;
@@ -154,8 +296,8 @@ export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
154
296
  export const __wbg_get_logoptions_level: (a: number) => number;
155
297
  export const __wbg_set_logoptions_level: (a: number, b: number) => void;
156
298
  export const logoptions_new: (a: number, b: number, c: number) => number;
157
- export const createClient: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => any;
158
- export const client_accountAddress: (a: number) => [number, number];
299
+ export const createClient: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => any;
300
+ export const client_accountIdentifier: (a: number) => number;
159
301
  export const client_inboxId: (a: number) => [number, number];
160
302
  export const client_isRegistered: (a: number) => number;
161
303
  export const client_installationId: (a: number) => [number, number];
@@ -164,152 +306,21 @@ export const client_canMessage: (a: number, b: number, c: number) => any;
164
306
  export const client_registerIdentity: (a: number) => any;
165
307
  export const client_sendHistorySyncRequest: (a: number) => any;
166
308
  export const client_sendConsentSyncRequest: (a: number) => any;
167
- export const client_findInboxIdByAddress: (a: number, b: number, c: number) => any;
309
+ export const client_findInboxIdByIdentifier: (a: number, b: number) => any;
168
310
  export const client_conversations: (a: number) => number;
169
- export const __wbg_consent_free: (a: number, b: number) => void;
170
- export const __wbg_get_consent_entityType: (a: number) => number;
171
- export const __wbg_set_consent_entityType: (a: number, b: number) => void;
172
- export const __wbg_get_consent_state: (a: number) => number;
173
- export const __wbg_set_consent_state: (a: number, b: number) => void;
174
- export const __wbg_get_consent_entity: (a: number) => [number, number];
175
- export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
176
- export const consent_new: (a: number, b: number, c: number, d: number) => number;
177
- export const client_setConsentStates: (a: number, b: number, c: number) => any;
178
- export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
179
- export const conversation_consentState: (a: number) => [number, number, number];
180
- export const conversation_updateConsentState: (a: number, b: number) => [number, number];
181
- export const __wbg_remoteattachmentinfo_free: (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;
184
- export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
185
- export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
186
- export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
187
- export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
188
- export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
189
- export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
190
- export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
191
- export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
192
- export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
193
- export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
194
- export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
195
- export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
196
- export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
197
- export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
198
- export const remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
199
- export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
200
- export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
201
- export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
202
- export const multiremoteattachment_new: (a: number, b: number) => number;
203
- export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
204
- export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
205
- export const __wbg_reaction_free: (a: number, b: number) => void;
206
- export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
207
- export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
208
- export const __wbg_get_reaction_action: (a: number) => number;
209
- export const __wbg_set_reaction_action: (a: number, b: number) => void;
210
- export const __wbg_get_reaction_content: (a: number) => [number, number];
211
- export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
212
- export const __wbg_get_reaction_schema: (a: number) => number;
213
- export const __wbg_set_reaction_schema: (a: number, b: number) => void;
214
- export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
215
- export const encodeReaction: (a: number) => [number, number, number];
216
- export const decodeReaction: (a: any) => [number, number, number];
217
- export const __wbg_groupmetadata_free: (a: number, b: number) => void;
218
- export const groupmetadata_creatorInboxId: (a: number) => [number, number];
219
- export const groupmetadata_conversationType: (a: number) => [number, number];
220
- export const __wbg_groupmember_free: (a: number, b: number) => void;
221
- export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
222
- export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
223
- export const __wbg_get_groupmember_accountAddresses: (a: number) => [number, number];
224
- export const __wbg_set_groupmember_accountAddresses: (a: number, b: number, c: number) => void;
225
- export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
226
- export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
227
- export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
228
- export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
229
- export const __wbg_get_groupmember_consentState: (a: number) => number;
230
- export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
231
- export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
232
- export const __wbg_conversation_free: (a: number, b: number) => void;
233
- export const conversation_id: (a: number) => [number, number];
234
- export const conversation_send: (a: number, b: number) => any;
235
- export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
236
- export const conversation_publishMessages: (a: number) => any;
237
- export const conversation_sync: (a: number) => any;
238
- export const conversation_findMessages: (a: number, b: number) => any;
239
- export const conversation_findMessagesWithReactions: (a: number, b: number) => any;
240
- export const conversation_listMembers: (a: number) => any;
241
- export const conversation_adminList: (a: number) => [number, number, number, number];
242
- export const conversation_superAdminList: (a: number) => [number, number, number, number];
243
- export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
244
- export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
245
- export const conversation_addMembers: (a: number, b: number, c: number) => any;
246
- export const conversation_addAdmin: (a: number, b: number, c: number) => any;
247
- export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
248
- export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
249
- export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
250
- export const conversation_groupPermissions: (a: number) => [number, number, number];
251
- export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
252
- export const conversation_removeMembers: (a: number, b: number, c: number) => any;
253
- export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
254
- export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
255
- export const conversation_groupName: (a: number) => [number, number, number, number];
256
- export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
257
- export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
258
- export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
259
- export const conversation_groupDescription: (a: number) => [number, number, number, number];
260
- export const conversation_stream: (a: number, b: any) => [number, number, number];
261
- export const conversation_createdAtNs: (a: number) => bigint;
262
- export const conversation_isActive: (a: number) => [number, number, number];
263
- export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
264
- export const conversation_groupMetadata: (a: number) => any;
265
- export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
266
- export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
267
- export const conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
268
- export const conversation_removeMessageDisappearingSettings: (a: number) => any;
269
- export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
270
- export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
271
- export const conversation_getHmacKeys: (a: number) => [number, number, number];
272
- export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
273
- export const __wbg_get_reaction_reference: (a: number) => [number, number];
274
- export const getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
275
- export const generateInboxId: (a: number, b: number) => [number, number, number, number];
276
- export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
277
- export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
278
- export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
279
- export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
280
- export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
281
- export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
282
- export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
283
- export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
284
- export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
285
- export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
286
- export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
287
- export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
288
- export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
289
- export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
290
- export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
291
- export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
292
- export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
293
- export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
294
- export const __wbg_grouppermissions_free: (a: number, b: number) => void;
295
- export const grouppermissions_policyType: (a: number) => [number, number, number];
296
- export const grouppermissions_policySet: (a: number) => [number, number, number];
297
311
  export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
312
+ export const __wbg_passkeysignature_free: (a: number, b: number) => void;
298
313
  export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
299
- export const client_addWalletSignatureText: (a: number, b: number, c: number) => any;
300
- export const client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
314
+ export const client_addWalletSignatureText: (a: number, b: number) => any;
315
+ export const client_revokeWalletSignatureText: (a: number, b: number) => any;
301
316
  export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
302
317
  export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
303
- export const client_addSignature: (a: number, b: number, c: any) => any;
318
+ export const client_addEcdsaSignature: (a: number, b: number, c: any) => any;
319
+ export const client_addPasskeySignature: (a: number, b: number, c: number) => any;
304
320
  export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
305
321
  export const client_applySignatureRequests: (a: number) => any;
306
322
  export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
307
323
  export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
308
- export const __wbg_streamcloser_free: (a: number, b: number) => void;
309
- export const streamcloser_end: (a: number) => void;
310
- export const streamcloser_endAndWait: (a: number) => any;
311
- export const streamcloser_waitForReady: (a: number) => any;
312
- export const streamcloser_isClosed: (a: number) => number;
313
324
  export const rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
314
325
  export const rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
315
326
  export const rust_sqlite_wasm_shim_emscripten_get_now: () => number;
@@ -340,7 +351,7 @@ export const __externref_drop_slice: (a: number, b: number) => void;
340
351
  export const __wbindgen_export_7: WebAssembly.Table;
341
352
  export const __externref_table_dealloc: (a: number) => void;
342
353
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff1927556d6713ec: (a: number, b: number) => void;
343
- export const closure3662_externref_shim: (a: number, b: number, c: any) => void;
344
- export const closure4669_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
345
- export const closure4668_externref_shim: (a: number, b: number, c: any, d: any) => void;
354
+ export const closure3746_externref_shim: (a: number, b: number, c: any) => void;
355
+ export const closure4755_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
356
+ export const closure4754_externref_shim: (a: number, b: number, c: any, d: any) => void;
346
357
  export const __wbindgen_start: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/wasm-bindings",
3
- "version": "0.0.21",
3
+ "version": "1.0.0-rc2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "WASM bindings for the libXMTP rust library",