@xmtp/wasm-bindings 1.9.1 → 1.10.0-dev.11bbf9f
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/dist/bindings_wasm.d.ts +1191 -925
- package/dist/bindings_wasm.js +3597 -3157
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +92 -65
- package/package.json +5 -5
|
Binary file
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const
|
|
5
|
-
export const
|
|
6
|
-
export const
|
|
4
|
+
export const __wbg_authhandle_free: (a: number, b: number) => void;
|
|
5
|
+
export const authhandle_id: (a: number) => number;
|
|
6
|
+
export const authhandle_new: () => number;
|
|
7
|
+
export const authhandle_set: (a: number, b: any) => any;
|
|
8
|
+
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
9
|
+
export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
10
|
+
export const contentTypeGroupUpdated: () => any;
|
|
7
11
|
export const contentTypeTransactionReference: () => any;
|
|
8
|
-
export const
|
|
9
|
-
export const
|
|
12
|
+
export const conversation_consentState: (a: number) => [number, number, number];
|
|
13
|
+
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
10
14
|
export const encodeTransactionReference: (a: any) => [number, number, number];
|
|
11
|
-
export const
|
|
12
|
-
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
13
|
-
export const client_inboxState: (a: number, b: number) => any;
|
|
14
|
-
export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
15
|
-
export const metadataFieldName: (a: number) => [number, number];
|
|
15
|
+
export const contentTypeReply: () => any;
|
|
16
16
|
export const opfsClearAll: () => any;
|
|
17
17
|
export const opfsDeleteFile: (a: number, b: number) => any;
|
|
18
18
|
export const opfsExportDb: (a: number, b: number) => any;
|
|
@@ -22,10 +22,11 @@ export const opfsImportDb: (a: number, b: number, c: any) => any;
|
|
|
22
22
|
export const opfsInit: () => any;
|
|
23
23
|
export const opfsListFiles: () => any;
|
|
24
24
|
export const opfsPoolCapacity: () => any;
|
|
25
|
-
export const
|
|
25
|
+
export const __wbg_client_free: (a: number, b: number) => void;
|
|
26
26
|
export const __wbg_conversation_free: (a: number, b: number) => void;
|
|
27
27
|
export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
28
28
|
export const __wbg_conversations_free: (a: number, b: number) => void;
|
|
29
|
+
export const __wbg_devicesync_free: (a: number, b: number) => void;
|
|
29
30
|
export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
30
31
|
export const __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
|
|
31
32
|
export const __wbg_get_conversationlistitem_lastMessage: (a: number) => any;
|
|
@@ -35,39 +36,47 @@ export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number)
|
|
|
35
36
|
export const __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
36
37
|
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
37
38
|
export const applySignatureRequest: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
38
|
-
export const
|
|
39
|
-
export const authhandle_new: () => number;
|
|
40
|
-
export const authhandle_set: (a: number, b: any) => any;
|
|
39
|
+
export const client_accountIdentifier: (a: number) => any;
|
|
41
40
|
export const client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
41
|
+
export const client_apiAggregateStatistics: (a: number) => [number, number];
|
|
42
|
+
export const client_apiIdentityStatistics: (a: number) => any;
|
|
43
|
+
export const client_apiStatistics: (a: number) => any;
|
|
44
|
+
export const client_appVersion: (a: number) => [number, number];
|
|
42
45
|
export const client_applySignatureRequest: (a: number, b: number) => any;
|
|
46
|
+
export const client_canMessage: (a: number, b: number, c: number) => any;
|
|
43
47
|
export const client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
48
|
+
export const client_clearAllStatistics: (a: number) => void;
|
|
49
|
+
export const client_conversations: (a: number) => number;
|
|
44
50
|
export const client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
45
|
-
export const
|
|
51
|
+
export const client_device_sync: (a: number) => number;
|
|
52
|
+
export const client_findInboxIdByIdentity: (a: number, b: any) => any;
|
|
53
|
+
export const client_inboxId: (a: number) => [number, number];
|
|
54
|
+
export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
55
|
+
export const client_installationId: (a: number) => [number, number];
|
|
56
|
+
export const client_installationIdBytes: (a: number) => any;
|
|
57
|
+
export const client_isRegistered: (a: number) => number;
|
|
58
|
+
export const client_libxmtpVersion: (a: number) => [number, number];
|
|
46
59
|
export const client_registerIdentity: (a: number, b: number) => any;
|
|
47
60
|
export const client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
48
61
|
export const client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
49
62
|
export const client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
50
|
-
export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
51
63
|
export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
64
|
+
export const client_syncPreferences: (a: number) => any;
|
|
52
65
|
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
53
66
|
export const contentTypeActions: () => any;
|
|
54
67
|
export const contentTypeAttachment: () => any;
|
|
55
|
-
export const contentTypeGroupUpdated: () => any;
|
|
56
68
|
export const contentTypeIntent: () => any;
|
|
57
|
-
export const contentTypeLeaveRequest: () => any;
|
|
58
|
-
export const contentTypeMarkdown: () => any;
|
|
59
69
|
export const contentTypeReaction: () => any;
|
|
70
|
+
export const contentTypeReadReceipt: () => any;
|
|
60
71
|
export const contentTypeRemoteAttachment: () => any;
|
|
61
|
-
export const contentTypeText: () => any;
|
|
62
72
|
export const contentTypeWalletSendCalls: () => any;
|
|
63
73
|
export const conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
64
74
|
export const conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
65
|
-
export const
|
|
75
|
+
export const conversation_addMembersByIdentity: (a: number, b: number, c: number) => any;
|
|
66
76
|
export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
67
77
|
export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
68
78
|
export const conversation_adminList: (a: number) => [number, number, number, number];
|
|
69
79
|
export const conversation_appData: (a: number) => [number, number, number, number];
|
|
70
|
-
export const conversation_consentState: (a: number) => [number, number, number];
|
|
71
80
|
export const conversation_countMessages: (a: number, b: number) => any;
|
|
72
81
|
export const conversation_createdAtNs: (a: number) => bigint;
|
|
73
82
|
export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
@@ -98,7 +107,7 @@ export const conversation_publishMessages: (a: number) => any;
|
|
|
98
107
|
export const conversation_publishStoredMessage: (a: number, b: number, c: number) => any;
|
|
99
108
|
export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
100
109
|
export const conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
101
|
-
export const
|
|
110
|
+
export const conversation_removeMembersByIdentity: (a: number, b: number, c: number) => any;
|
|
102
111
|
export const conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
103
112
|
export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
104
113
|
export const conversation_send: (a: number, b: any, c: any) => any;
|
|
@@ -118,7 +127,6 @@ export const conversation_stream: (a: number, b: any) => [number, number, number
|
|
|
118
127
|
export const conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
119
128
|
export const conversation_sync: (a: number) => any;
|
|
120
129
|
export const conversation_updateAppData: (a: number, b: number, c: number) => any;
|
|
121
|
-
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
122
130
|
export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
123
131
|
export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
124
132
|
export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
@@ -145,18 +153,24 @@ export const conversations_streamMessageDeletions: (a: number, b: any) => [numbe
|
|
|
145
153
|
export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
146
154
|
export const conversations_sync: (a: number) => any;
|
|
147
155
|
export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
156
|
+
export const createClient: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: bigint, t: number, u: number, v: number) => any;
|
|
148
157
|
export const decryptAttachment: (a: number, b: number, c: any) => [number, number, number];
|
|
158
|
+
export const devicesync_archiveMetadata: (a: number, b: any, c: any) => any;
|
|
159
|
+
export const devicesync_createArchive: (a: number, b: any, c: any) => any;
|
|
160
|
+
export const devicesync_importArchive: (a: number, b: any, c: any) => any;
|
|
161
|
+
export const devicesync_listAvailableArchives: (a: number, b: bigint) => [number, number, number, number];
|
|
162
|
+
export const devicesync_processSyncArchive: (a: number, b: number, c: number) => any;
|
|
163
|
+
export const devicesync_sendSyncArchive: (a: number, b: any, c: number, d: number, e: number, f: number) => any;
|
|
164
|
+
export const devicesync_sendSyncRequest: (a: number) => any;
|
|
165
|
+
export const devicesync_syncAllDeviceSyncGroups: (a: number) => any;
|
|
149
166
|
export const encodeActions: (a: any) => [number, number, number];
|
|
150
167
|
export const encodeAttachment: (a: any) => [number, number, number];
|
|
151
168
|
export const encodeIntent: (a: any) => [number, number, number];
|
|
152
|
-
export const encodeMarkdown: (a: number, b: number) => [number, number, number];
|
|
153
169
|
export const encodeReaction: (a: any) => [number, number, number];
|
|
170
|
+
export const encodeReadReceipt: (a: any) => [number, number, number];
|
|
154
171
|
export const encodeRemoteAttachment: (a: any) => [number, number, number];
|
|
155
|
-
export const encodeText: (a: number, b: number) => [number, number, number];
|
|
156
172
|
export const encodeWalletSendCalls: (a: any) => [number, number, number];
|
|
157
173
|
export const encryptAttachment: (a: any) => [number, number, number];
|
|
158
|
-
export const generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
|
|
159
|
-
export const getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: number, f: any) => any;
|
|
160
174
|
export const revokeInstallationsSignatureRequest: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number) => [number, number, number];
|
|
161
175
|
export const signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
162
176
|
export const signaturerequesthandle_addPasskeySignature: (a: number, b: any) => any;
|
|
@@ -167,25 +181,22 @@ export const streamcloser_endAndWait: (a: number) => any;
|
|
|
167
181
|
export const streamcloser_isClosed: (a: number) => number;
|
|
168
182
|
export const streamcloser_waitForReady: (a: number) => any;
|
|
169
183
|
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
170
|
-
export const
|
|
171
|
-
export const
|
|
172
|
-
export const
|
|
173
|
-
export const
|
|
174
|
-
export const
|
|
175
|
-
export const
|
|
176
|
-
export const
|
|
177
|
-
export const
|
|
178
|
-
export const
|
|
179
|
-
export const
|
|
180
|
-
export const
|
|
181
|
-
export const
|
|
182
|
-
export const
|
|
183
|
-
export const
|
|
184
|
-
export const
|
|
185
|
-
export const
|
|
186
|
-
export const client_sendSyncRequest: (a: number) => any;
|
|
187
|
-
export const client_syncPreferences: (a: number) => any;
|
|
188
|
-
export const createClient: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: bigint, t: number, u: number, v: number) => any;
|
|
184
|
+
export const client_fetchLatestInboxUpdatesCount: (a: number, b: number, c: number, d: number) => any;
|
|
185
|
+
export const client_fetchOwnInboxUpdatesCount: (a: number, b: number) => any;
|
|
186
|
+
export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
187
|
+
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
188
|
+
export const client_inboxState: (a: number, b: number) => any;
|
|
189
|
+
export const contentTypeLeaveRequest: () => any;
|
|
190
|
+
export const contentTypeMarkdown: () => any;
|
|
191
|
+
export const contentTypeMultiRemoteAttachment: () => any;
|
|
192
|
+
export const contentTypeText: () => any;
|
|
193
|
+
export const encodeMarkdown: (a: number, b: number) => [number, number, number];
|
|
194
|
+
export const encodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
195
|
+
export const encodeText: (a: number, b: number) => [number, number, number];
|
|
196
|
+
export const generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
|
|
197
|
+
export const getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: number, f: any) => any;
|
|
198
|
+
export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
199
|
+
export const metadataFieldName: (a: number) => [number, number];
|
|
189
200
|
export const rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
|
|
190
201
|
export const rust_zstd_wasm_shim_free: (a: number) => void;
|
|
191
202
|
export const rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
@@ -205,33 +216,49 @@ export const rust_sqlite_wasm_realloc: (a: number, b: number) => number;
|
|
|
205
216
|
export const sqlite3_os_end: () => number;
|
|
206
217
|
export const sqlite3_os_init: () => number;
|
|
207
218
|
export const task_worker_entry_point: (a: number) => [number, number];
|
|
208
|
-
export const
|
|
209
|
-
export const
|
|
210
|
-
export const
|
|
219
|
+
export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
220
|
+
export const intounderlyingsink_abort: (a: number, b: any) => any;
|
|
221
|
+
export const intounderlyingsink_close: (a: number) => any;
|
|
222
|
+
export const intounderlyingsink_write: (a: number, b: any) => any;
|
|
211
223
|
export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
224
|
+
export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
212
225
|
export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
213
226
|
export const intounderlyingbytesource_cancel: (a: number) => void;
|
|
214
227
|
export const intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
215
228
|
export const intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
216
229
|
export const intounderlyingbytesource_type: (a: number) => number;
|
|
217
|
-
export const
|
|
218
|
-
export const
|
|
219
|
-
export const
|
|
220
|
-
export const
|
|
221
|
-
export const
|
|
222
|
-
export const
|
|
223
|
-
export const
|
|
224
|
-
export const
|
|
225
|
-
export const
|
|
226
|
-
export const
|
|
227
|
-
export const
|
|
228
|
-
export const
|
|
229
|
-
export const
|
|
230
|
+
export const intounderlyingsource_cancel: (a: number) => void;
|
|
231
|
+
export const intounderlyingsource_pull: (a: number, b: any) => any;
|
|
232
|
+
export const __wbg_wasmbindgentestcontext_free: (a: number, b: number) => void;
|
|
233
|
+
export const __wbgtest_console_debug: (a: any) => void;
|
|
234
|
+
export const __wbgtest_console_error: (a: any) => void;
|
|
235
|
+
export const __wbgtest_console_info: (a: any) => void;
|
|
236
|
+
export const __wbgtest_console_log: (a: any) => void;
|
|
237
|
+
export const __wbgtest_console_warn: (a: any) => void;
|
|
238
|
+
export const wasmbindgentestcontext_filtered_count: (a: number, b: number) => void;
|
|
239
|
+
export const wasmbindgentestcontext_include_ignored: (a: number, b: number) => void;
|
|
240
|
+
export const wasmbindgentestcontext_new: (a: number) => number;
|
|
241
|
+
export const wasmbindgentestcontext_run: (a: number, b: number, c: number) => any;
|
|
242
|
+
export const __wbgtest_cov_dump: () => [number, number];
|
|
243
|
+
export const __wbgtest_module_signature: () => [number, bigint];
|
|
244
|
+
export const __wbgbench_dump: () => [number, number];
|
|
245
|
+
export const __wbgbench_import: (a: number, b: number) => void;
|
|
246
|
+
export const __wbgtest_coverage_path: (a: number, b: number, c: number, d: number, e: number, f: bigint) => [number, number];
|
|
247
|
+
export const wasm_bindgen__closure__destroy__h3ec8903c455e551f: (a: number, b: number) => void;
|
|
248
|
+
export const wasm_bindgen__closure__destroy__h213ec6c0cfaa8daa: (a: number, b: number) => void;
|
|
249
|
+
export const wasm_bindgen__closure__destroy__hcd0ff49535f2a590: (a: number, b: number) => void;
|
|
250
|
+
export const wasm_bindgen__closure__destroy__hd56fbfc240f3eed8: (a: number, b: number) => void;
|
|
251
|
+
export const wasm_bindgen__convert__closures_____invoke__h4761911dc2bcd4ab: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
252
|
+
export const wasm_bindgen__convert__closures_____invoke__h93371d492ea6dccf: (a: number, b: number, c: any, d: any) => void;
|
|
253
|
+
export const wasm_bindgen__convert__closures_____invoke__h01ab1ec45c07a95b: (a: number, b: number, c: any) => void;
|
|
254
|
+
export const wasm_bindgen__convert__closures_____invoke__h1f53cb1d4e32acc1: (a: number, b: number) => void;
|
|
255
|
+
export const wasm_bindgen__convert__closures_____invoke__h7d2ee1dee7ec118b: (a: number, b: number) => void;
|
|
256
|
+
export const wasm_bindgen__convert__closures_____invoke__hacdd4f3cd0d8d764: (a: number, b: number) => void;
|
|
257
|
+
export const __externref_table_alloc: () => number;
|
|
258
|
+
export const __wbindgen_externrefs: WebAssembly.Table;
|
|
230
259
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
231
260
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
232
261
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
233
|
-
export const __externref_table_alloc: () => number;
|
|
234
|
-
export const __wbindgen_externrefs: WebAssembly.Table;
|
|
235
262
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
236
263
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
237
264
|
export const __externref_table_dealloc: (a: number) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmtp/wasm-bindings",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0-dev.11bbf9f",
|
|
4
4
|
"description": "WASM bindings for the libXMTP rust library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xmtp",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
21
|
-
"url": "git+https://
|
|
22
|
-
"directory": "
|
|
21
|
+
"url": "git+https://github.com/xmtp/libxmtp.git",
|
|
22
|
+
"directory": "bindings/wasm"
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"type": "module",
|
|
@@ -68,12 +68,12 @@
|
|
|
68
68
|
"binaryen": "^125.0.0",
|
|
69
69
|
"playwright": "^1.56.1",
|
|
70
70
|
"prettier": "^3.7.4",
|
|
71
|
-
"prettier-plugin-packagejson": "^
|
|
71
|
+
"prettier-plugin-packagejson": "^3.0.0",
|
|
72
72
|
"tsx": "^4.20.6",
|
|
73
73
|
"typescript": "^5.9.3",
|
|
74
74
|
"viem": "^2.31.3",
|
|
75
75
|
"vitest": "^4.0.8",
|
|
76
|
-
"wasm-pack": "^0.
|
|
76
|
+
"wasm-pack": "^0.14.0"
|
|
77
77
|
},
|
|
78
78
|
"packageManager": "yarn@4.11.0",
|
|
79
79
|
"engines": {
|