@xmtp/wasm-bindings 1.2.0-dev.cae98b4 → 1.2.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.
- package/README.md +6 -2
- package/dist/bindings_wasm.d.ts +183 -153
- package/dist/bindings_wasm.js +321 -245
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +149 -131
- package/dist/version.json +3 -3
- package/package.json +2 -2
|
Binary file
|
|
@@ -4,6 +4,8 @@ export const memory: WebAssembly.Memory;
|
|
|
4
4
|
export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
5
5
|
export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
6
6
|
export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
7
|
+
export const __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
8
|
+
export const __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
7
9
|
export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
8
10
|
export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
9
11
|
export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
@@ -12,11 +14,18 @@ export const __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number)
|
|
|
12
14
|
export const __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
13
15
|
export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
14
16
|
export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
15
|
-
export const listconversationsoptions_new: (a: number, b: number, c: number, d:
|
|
17
|
+
export const listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
16
18
|
export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
17
19
|
export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
18
20
|
export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
19
21
|
export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
22
|
+
export const __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
23
|
+
export const __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
24
|
+
export const __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
25
|
+
export const __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
26
|
+
export const __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
27
|
+
export const __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
28
|
+
export const __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
20
29
|
export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
21
30
|
export const __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
22
31
|
export const __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
@@ -35,9 +44,6 @@ export const __wbg_set_createdmoptions_messageDisappearingSettings: (a: number,
|
|
|
35
44
|
export const createdmoptions_new: (a: number) => number;
|
|
36
45
|
export const __wbg_hmackey_free: (a: number, b: number) => void;
|
|
37
46
|
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
47
|
export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
42
48
|
export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
43
49
|
export const __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
@@ -45,6 +51,7 @@ export const __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
|
45
51
|
export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
46
52
|
export const conversationlistitem_new: (a: number, b: number) => number;
|
|
47
53
|
export const __wbg_conversations_free: (a: number, b: number) => void;
|
|
54
|
+
export const conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
48
55
|
export const conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
49
56
|
export const conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
50
57
|
export const conversations_createDm: (a: number, b: any, c: number) => any;
|
|
@@ -54,14 +61,11 @@ export const conversations_findDmByTargetInboxId: (a: number, b: number, c: numb
|
|
|
54
61
|
export const conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
55
62
|
export const conversations_sync: (a: number) => any;
|
|
56
63
|
export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
64
|
+
export const conversations_syncDeviceSync: (a: number) => any;
|
|
57
65
|
export const conversations_list: (a: number, b: number) => [number, number, number];
|
|
58
|
-
export const conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
59
|
-
export const conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
60
66
|
export const conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
61
67
|
export const conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
62
|
-
export const
|
|
63
|
-
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];
|
|
68
|
+
export const conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
65
69
|
export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
66
70
|
export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
67
71
|
export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
@@ -71,7 +75,9 @@ export const __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number
|
|
|
71
75
|
export const __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
72
76
|
export const __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
73
77
|
export const __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
74
|
-
export const
|
|
78
|
+
export const __wbg_get_listmessagesoptions_kind: (a: number) => number;
|
|
79
|
+
export const __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
|
|
80
|
+
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
81
|
export const __wbg_message_free: (a: number, b: number) => void;
|
|
76
82
|
export const __wbg_get_message_id: (a: number) => [number, number];
|
|
77
83
|
export const __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
@@ -92,17 +98,129 @@ export const __wbg_set_messagewithreactions_message: (a: number, b: number) => v
|
|
|
92
98
|
export const __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
93
99
|
export const __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
94
100
|
export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
101
|
+
export const __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
95
102
|
export const __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
96
103
|
export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
97
104
|
export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
98
105
|
export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
99
|
-
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
100
106
|
export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
107
|
+
export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
101
108
|
export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
102
109
|
export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
110
|
+
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
103
111
|
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
104
112
|
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
105
113
|
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
114
|
+
export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
115
|
+
export const __wbg_client_free: (a: number, b: number) => void;
|
|
116
|
+
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
117
|
+
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
118
|
+
export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
119
|
+
export const __wbg_get_logoptions_performance: (a: number) => number;
|
|
120
|
+
export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
121
|
+
export const __wbg_get_logoptions_level: (a: number) => number;
|
|
122
|
+
export const __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
123
|
+
export const logoptions_new: (a: number, b: number, c: number) => number;
|
|
124
|
+
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;
|
|
125
|
+
export const client_accountIdentifier: (a: number) => any;
|
|
126
|
+
export const client_inboxId: (a: number) => [number, number];
|
|
127
|
+
export const client_isRegistered: (a: number) => number;
|
|
128
|
+
export const client_installationId: (a: number) => [number, number];
|
|
129
|
+
export const client_installationIdBytes: (a: number) => any;
|
|
130
|
+
export const client_canMessage: (a: number, b: number, c: number) => any;
|
|
131
|
+
export const client_registerIdentity: (a: number) => any;
|
|
132
|
+
export const client_sendSyncRequest: (a: number) => any;
|
|
133
|
+
export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
134
|
+
export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
135
|
+
export const client_conversations: (a: number) => number;
|
|
136
|
+
export const client_syncPreferences: (a: number) => any;
|
|
137
|
+
export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
138
|
+
export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
139
|
+
export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
140
|
+
export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
141
|
+
export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
142
|
+
export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
143
|
+
export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
144
|
+
export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
145
|
+
export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
146
|
+
export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
147
|
+
export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
148
|
+
export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
149
|
+
export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
150
|
+
export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
151
|
+
export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
152
|
+
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;
|
|
153
|
+
export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
154
|
+
export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
155
|
+
export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
156
|
+
export const multiremoteattachment_new: (a: number, b: number) => number;
|
|
157
|
+
export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
158
|
+
export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
159
|
+
export const __wbg_reaction_free: (a: number, b: number) => void;
|
|
160
|
+
export const __wbg_get_reaction_action: (a: number) => number;
|
|
161
|
+
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
162
|
+
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
163
|
+
export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
164
|
+
export const __wbg_get_reaction_schema: (a: number) => number;
|
|
165
|
+
export const __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
166
|
+
export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
167
|
+
export const encodeReaction: (a: number) => [number, number, number];
|
|
168
|
+
export const decodeReaction: (a: any) => [number, number, number];
|
|
169
|
+
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
170
|
+
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
171
|
+
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
172
|
+
export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
173
|
+
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
174
|
+
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
175
|
+
export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
176
|
+
export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
177
|
+
export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
178
|
+
export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
179
|
+
export const __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
180
|
+
export const __wbg_get_encodedcontent_type: (a: number) => number;
|
|
181
|
+
export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
182
|
+
export const __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
183
|
+
export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
184
|
+
export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
185
|
+
export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
186
|
+
export const __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
187
|
+
export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
188
|
+
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
189
|
+
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
190
|
+
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
191
|
+
export const __wbg_opfs_free: (a: number, b: number) => void;
|
|
192
|
+
export const opfs_init_sqlite_opfs: () => any;
|
|
193
|
+
export const opfs_exists: () => number;
|
|
194
|
+
export const opfs_error: () => [number, number];
|
|
195
|
+
export const opfs_wipeFiles: () => any;
|
|
196
|
+
export const opfs_rm: (a: number, b: number) => [number, number, number];
|
|
197
|
+
export const opfs_getFileNames: () => [number, number];
|
|
198
|
+
export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
199
|
+
export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
200
|
+
export const opfs_getFileCount: () => number;
|
|
201
|
+
export const opfs_getCapacity: () => number;
|
|
202
|
+
export const opfs_addCapacity: (a: number) => any;
|
|
203
|
+
export const opfs_reduceCapacity: (a: number) => any;
|
|
204
|
+
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
205
|
+
export const __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
206
|
+
export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
207
|
+
export const client_addWalletSignatureText: (a: number, b: any) => any;
|
|
208
|
+
export const client_revokeWalletSignatureText: (a: number, b: any) => any;
|
|
209
|
+
export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
210
|
+
export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
211
|
+
export const client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
|
|
212
|
+
export const client_addEcdsaSignature: (a: number, b: number, c: any) => any;
|
|
213
|
+
export const client_addPasskeySignature: (a: number, b: number, c: number) => any;
|
|
214
|
+
export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
215
|
+
export const client_applySignatureRequests: (a: number) => any;
|
|
216
|
+
export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
217
|
+
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
218
|
+
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
219
|
+
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
220
|
+
export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
221
|
+
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
222
|
+
export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
223
|
+
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
106
224
|
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
107
225
|
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
108
226
|
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -136,42 +254,6 @@ export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
|
136
254
|
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
137
255
|
export const conversation_consentState: (a: number) => [number, number, number];
|
|
138
256
|
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
139
|
-
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
|
-
export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
143
|
-
export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
144
|
-
export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
145
|
-
export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
146
|
-
export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
147
|
-
export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
148
|
-
export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
149
|
-
export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
150
|
-
export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
151
|
-
export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
152
|
-
export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
153
|
-
export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
154
|
-
export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
155
|
-
export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
156
|
-
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;
|
|
157
|
-
export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
158
|
-
export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
159
|
-
export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
160
|
-
export const multiremoteattachment_new: (a: number, b: number) => number;
|
|
161
|
-
export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
162
|
-
export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
163
|
-
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
|
-
export const __wbg_get_reaction_action: (a: number) => number;
|
|
167
|
-
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
168
|
-
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
169
|
-
export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
170
|
-
export const __wbg_get_reaction_schema: (a: number) => number;
|
|
171
|
-
export const __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
172
|
-
export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
173
|
-
export const encodeReaction: (a: number) => [number, number, number];
|
|
174
|
-
export const decodeReaction: (a: any) => [number, number, number];
|
|
175
257
|
export const __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
176
258
|
export const groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
177
259
|
export const groupmetadata_conversationType: (a: number) => [number, number];
|
|
@@ -226,74 +308,8 @@ export const conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
|
226
308
|
export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
227
309
|
export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
228
310
|
export const conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
229
|
-
export const
|
|
230
|
-
export const
|
|
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
|
-
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
276
|
-
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
277
|
-
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
278
|
-
export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
279
|
-
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
280
|
-
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
281
|
-
export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
282
|
-
export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
283
|
-
export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
284
|
-
export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
285
|
-
export const __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
286
|
-
export const __wbg_get_encodedcontent_type: (a: number) => number;
|
|
287
|
-
export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
288
|
-
export const __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
289
|
-
export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
290
|
-
export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
291
|
-
export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
292
|
-
export const __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
293
|
-
export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
294
|
-
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
295
|
-
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
296
|
-
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
311
|
+
export const conversation_getDebugInfo: (a: number) => any;
|
|
312
|
+
export const conversation_findDuplicateDms: (a: number) => any;
|
|
297
313
|
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
298
314
|
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
299
315
|
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
@@ -325,21 +341,23 @@ export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
|
325
341
|
export const client_inboxState: (a: number, b: number) => any;
|
|
326
342
|
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
327
343
|
export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
344
|
+
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
328
345
|
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
346
|
+
export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
329
347
|
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
330
|
-
export const
|
|
331
|
-
export const
|
|
332
|
-
export const
|
|
333
|
-
export const
|
|
334
|
-
export const
|
|
335
|
-
export const
|
|
336
|
-
export const
|
|
337
|
-
export const
|
|
338
|
-
export const
|
|
339
|
-
export const
|
|
340
|
-
export const
|
|
341
|
-
export const
|
|
342
|
-
export const
|
|
348
|
+
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
349
|
+
export const streamcloser_end: (a: number) => void;
|
|
350
|
+
export const streamcloser_endAndWait: (a: number) => any;
|
|
351
|
+
export const streamcloser_waitForReady: (a: number) => any;
|
|
352
|
+
export const streamcloser_isClosed: (a: number) => number;
|
|
353
|
+
export const rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
354
|
+
export const rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
355
|
+
export const rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
356
|
+
export const rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
|
|
357
|
+
export const rust_zstd_wasm_shim_free: (a: number) => void;
|
|
358
|
+
export const rust_zstd_wasm_shim_memcpy: (a: number, b: number, c: number) => number;
|
|
359
|
+
export const rust_zstd_wasm_shim_memmove: (a: number, b: number, c: number) => number;
|
|
360
|
+
export const rust_zstd_wasm_shim_memset: (a: number, b: number, c: number) => number;
|
|
343
361
|
export const rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
344
362
|
export const rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
345
363
|
export const rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
@@ -371,8 +389,8 @@ export const __wbindgen_export_7: WebAssembly.Table;
|
|
|
371
389
|
export const __externref_table_dealloc: (a: number) => void;
|
|
372
390
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215: (a: number, b: number) => void;
|
|
373
391
|
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
|
|
392
|
+
export const closure4467_externref_shim: (a: number, b: number, c: any) => void;
|
|
375
393
|
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
|
|
377
|
-
export const
|
|
394
|
+
export const closure5474_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
395
|
+
export const closure5473_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
378
396
|
export const __wbindgen_start: () => void;
|
package/dist/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmtp/wasm-bindings",
|
|
3
|
-
"version": "1.2.0-
|
|
3
|
+
"version": "1.2.0-rc2",
|
|
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",
|