@xmtp/wasm-bindings 1.10.0-dev.8b07a37 → 1.10.0-dev.a2bdd0a

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,62 +1,64 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const contentTypeLeaveRequest: () => any;
5
- export const contentTypeMultiRemoteAttachment: () => any;
6
- export const contentTypeTransactionReference: () => any;
7
- export const encodeMultiRemoteAttachment: (a: any) => [number, number, number];
8
- export const encodeTransactionReference: (a: any) => [number, number, number];
9
4
  export const __wbg_authhandle_free: (a: number, b: number) => void;
10
5
  export const authhandle_id: (a: number) => number;
11
6
  export const authhandle_new: () => number;
12
7
  export const authhandle_set: (a: number, b: any) => any;
13
- export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
14
- export const client_setConsentStates: (a: number, b: number, c: number) => any;
15
- export const contentTypeAttachment: () => any;
16
- export const contentTypeMarkdown: () => any;
17
- export const contentTypeText: () => any;
18
- export const conversation_consentState: (a: number) => [number, number, number];
19
- export const conversation_updateConsentState: (a: number, b: number) => [number, number];
20
- export const encodeAttachment: (a: any) => [number, number, number];
21
- export const encodeMarkdown: (a: number, b: number) => [number, number, number];
22
- export const encodeText: (a: number, b: number) => [number, number, number];
23
8
  export const client_fetchLatestInboxUpdatesCount: (a: number, b: number, c: number, d: number) => any;
24
9
  export const client_fetchOwnInboxUpdatesCount: (a: number, b: number) => any;
25
10
  export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
26
11
  export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
27
12
  export const client_inboxState: (a: number, b: number) => any;
28
- export const contentTypeGroupUpdated: () => any;
29
- export const generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
30
- export const getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: number, f: any) => any;
31
- export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
32
- export const metadataFieldName: (a: number) => [number, number];
13
+ export const inboxStateFromInboxIds: (a: number, b: number, c: number) => any;
14
+ export const __wbg_backend_free: (a: number, b: number) => void;
15
+ export const __wbg_backendbuilder_free: (a: number, b: number) => void;
16
+ export const __wbg_get_backendbuilder_env: (a: number) => number;
17
+ export const __wbg_get_backendbuilder_readonly: (a: number) => number;
18
+ export const __wbg_set_backendbuilder_env: (a: number, b: number) => void;
19
+ export const __wbg_set_backendbuilder_readonly: (a: number, b: number) => void;
20
+ export const __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
21
+ export const applySignatureRequest: (a: number, b: number) => any;
22
+ export const backend_appVersion: (a: number) => [number, number];
23
+ export const backend_env: (a: number) => number;
24
+ export const backend_gatewayHost: (a: number) => [number, number];
25
+ export const backend_v3Host: (a: number) => [number, number];
26
+ export const backendbuilder_authCallback: (a: number, b: any) => void;
27
+ export const backendbuilder_authHandle: (a: number, b: number) => void;
28
+ export const backendbuilder_build: (a: number) => [number, number, number];
29
+ export const backendbuilder_new: (a: number) => number;
30
+ export const backendbuilder_setApiUrl: (a: number, b: number, c: number) => number;
31
+ export const backendbuilder_setAppVersion: (a: number, b: number, c: number) => number;
32
+ export const backendbuilder_setGatewayHost: (a: number, b: number, c: number) => number;
33
+ export const backendbuilder_setReadonly: (a: number, b: number) => number;
34
+ export const client_addWalletSignatureRequest: (a: number, b: any) => any;
35
+ export const client_applySignatureRequest: (a: number, b: number) => any;
36
+ export const client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
37
+ export const client_createInboxSignatureRequest: (a: number) => [number, number, number];
38
+ export const client_registerIdentity: (a: number, b: number) => any;
39
+ export const client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
40
+ export const client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
41
+ export const client_revokeWalletSignatureRequest: (a: number, b: any) => any;
42
+ export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
43
+ export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
44
+ export const createClientWithBackend: (a: number, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: bigint) => any;
45
+ export const revokeInstallationsSignatureRequest: (a: number, b: any, c: number, d: number, e: number, f: number) => [number, number, number];
46
+ export const signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
47
+ export const signaturerequesthandle_addPasskeySignature: (a: number, b: any) => any;
48
+ export const signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
49
+ export const signaturerequesthandle_signatureText: (a: number) => any;
50
+ export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
33
51
  export const contentTypeReply: () => any;
34
52
  export const __wbg_client_free: (a: number, b: number) => void;
35
- export const __wbg_conversation_free: (a: number, b: number) => void;
36
- export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
37
- export const __wbg_conversations_free: (a: number, b: number) => void;
38
53
  export const __wbg_devicesync_free: (a: number, b: number) => void;
39
- export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
40
- export const __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
41
- export const __wbg_get_conversationlistitem_lastMessage: (a: number) => any;
42
- export const __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
43
- export const __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
44
- export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
45
- export const __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
46
- export const __wbg_streamcloser_free: (a: number, b: number) => void;
47
- export const applySignatureRequest: (a: number, b: number, c: number, d: number, e: number) => any;
48
54
  export const client_accountIdentifier: (a: number) => any;
49
- export const client_addWalletSignatureRequest: (a: number, b: any) => any;
50
55
  export const client_apiAggregateStatistics: (a: number) => [number, number];
51
56
  export const client_apiIdentityStatistics: (a: number) => any;
52
57
  export const client_apiStatistics: (a: number) => any;
53
58
  export const client_appVersion: (a: number) => [number, number];
54
- export const client_applySignatureRequest: (a: number, b: number) => any;
55
59
  export const client_canMessage: (a: number, b: number, c: number) => any;
56
- export const client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
57
60
  export const client_clearAllStatistics: (a: number) => void;
58
61
  export const client_conversations: (a: number) => number;
59
- export const client_createInboxSignatureRequest: (a: number) => [number, number, number];
60
62
  export const client_device_sync: (a: number) => number;
61
63
  export const client_findInboxIdByIdentity: (a: number, b: any) => any;
62
64
  export const client_inboxId: (a: number) => [number, number];
@@ -65,19 +67,57 @@ export const client_installationId: (a: number) => [number, number];
65
67
  export const client_installationIdBytes: (a: number) => any;
66
68
  export const client_isRegistered: (a: number) => number;
67
69
  export const client_libxmtpVersion: (a: number) => [number, number];
68
- export const client_registerIdentity: (a: number, b: number) => any;
69
- export const client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
70
- export const client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
71
- export const client_revokeWalletSignatureRequest: (a: number, b: any) => any;
72
- export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
73
70
  export const client_syncPreferences: (a: number) => any;
74
- export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
75
- export const contentTypeActions: () => any;
71
+ export const contentTypeAttachment: () => any;
76
72
  export const contentTypeIntent: () => any;
77
- export const contentTypeReaction: () => any;
73
+ export const contentTypeLeaveRequest: () => any;
74
+ export const contentTypeMarkdown: () => any;
78
75
  export const contentTypeReadReceipt: () => any;
79
- export const contentTypeRemoteAttachment: () => any;
76
+ export const contentTypeText: () => any;
77
+ 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: bigint, r: number, s: number, t: number) => any;
78
+ export const devicesync_archiveMetadata: (a: number, b: any, c: any) => any;
79
+ export const devicesync_createArchive: (a: number, b: any, c: any) => any;
80
+ export const devicesync_importArchive: (a: number, b: any, c: any) => any;
81
+ export const devicesync_listAvailableArchives: (a: number, b: bigint) => [number, number, number, number];
82
+ export const devicesync_processSyncArchive: (a: number, b: number, c: number) => any;
83
+ export const devicesync_sendSyncArchive: (a: number, b: any, c: number, d: number, e: number, f: number) => any;
84
+ export const devicesync_sendSyncRequest: (a: number, b: any, c: number, d: number) => any;
85
+ export const devicesync_syncAllDeviceSyncGroups: (a: number) => any;
86
+ export const encodeAttachment: (a: any) => [number, number, number];
87
+ export const encodeIntent: (a: any) => [number, number, number];
88
+ export const encodeMarkdown: (a: number, b: number) => [number, number, number];
89
+ export const encodeReadReceipt: (a: any) => [number, number, number];
90
+ export const encodeText: (a: number, b: number) => [number, number, number];
91
+ export const generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
92
+ export const getInboxIdForIdentifier: (a: number, b: any) => any;
93
+ export const __wbg_streamcloser_free: (a: number, b: number) => void;
94
+ export const contentTypeActions: () => any;
95
+ export const contentTypeGroupUpdated: () => any;
96
+ export const contentTypeMultiRemoteAttachment: () => any;
97
+ export const contentTypeReaction: () => any;
98
+ export const contentTypeTransactionReference: () => any;
80
99
  export const contentTypeWalletSendCalls: () => any;
100
+ export const encodeActions: (a: any) => [number, number, number];
101
+ export const encodeMultiRemoteAttachment: (a: any) => [number, number, number];
102
+ export const encodeReaction: (a: any) => [number, number, number];
103
+ export const encodeTransactionReference: (a: any) => [number, number, number];
104
+ export const encodeWalletSendCalls: (a: any) => [number, number, number];
105
+ export const streamcloser_end: (a: number) => void;
106
+ export const streamcloser_endAndWait: (a: number) => any;
107
+ export const streamcloser_isClosed: (a: number) => number;
108
+ export const streamcloser_waitForReady: (a: number) => any;
109
+ export const __wbg_conversation_free: (a: number, b: number) => void;
110
+ export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
111
+ export const __wbg_conversations_free: (a: number, b: number) => void;
112
+ export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
113
+ export const __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
114
+ export const __wbg_get_conversationlistitem_lastMessage: (a: number) => any;
115
+ export const __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
116
+ export const __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
117
+ export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
118
+ export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
119
+ export const client_setConsentStates: (a: number, b: number, c: number) => any;
120
+ export const contentTypeRemoteAttachment: () => any;
81
121
  export const conversation_addAdmin: (a: number, b: number, c: number) => any;
82
122
  export const conversation_addMembers: (a: number, b: number, c: number) => any;
83
123
  export const conversation_addMembersByIdentity: (a: number, b: number, c: number) => any;
@@ -85,6 +125,7 @@ export const conversation_addSuperAdmin: (a: number, b: number, c: number) => an
85
125
  export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
86
126
  export const conversation_adminList: (a: number) => [number, number, number, number];
87
127
  export const conversation_appData: (a: number) => [number, number, number, number];
128
+ export const conversation_consentState: (a: number) => [number, number, number];
88
129
  export const conversation_countMessages: (a: number, b: number) => any;
89
130
  export const conversation_createdAtNs: (a: number) => bigint;
90
131
  export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
@@ -135,6 +176,7 @@ export const conversation_stream: (a: number, b: any) => [number, number, number
135
176
  export const conversation_superAdminList: (a: number) => [number, number, number, number];
136
177
  export const conversation_sync: (a: number) => any;
137
178
  export const conversation_updateAppData: (a: number, b: number, c: number) => any;
179
+ export const conversation_updateConsentState: (a: number, b: number) => [number, number];
138
180
  export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
139
181
  export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
140
182
  export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
@@ -161,33 +203,10 @@ export const conversations_streamMessageDeletions: (a: number, b: any) => [numbe
161
203
  export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
162
204
  export const conversations_sync: (a: number) => any;
163
205
  export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
164
- 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;
165
206
  export const decryptAttachment: (a: number, b: number, c: any) => [number, number, number];
166
- export const devicesync_archiveMetadata: (a: number, b: any, c: any) => any;
167
- export const devicesync_createArchive: (a: number, b: any, c: any) => any;
168
- export const devicesync_importArchive: (a: number, b: any, c: any) => any;
169
- export const devicesync_listAvailableArchives: (a: number, b: bigint) => [number, number, number, number];
170
- export const devicesync_processSyncArchive: (a: number, b: number, c: number) => any;
171
- export const devicesync_sendSyncArchive: (a: number, b: any, c: number, d: number, e: number, f: number) => any;
172
- export const devicesync_sendSyncRequest: (a: number) => any;
173
- export const devicesync_syncAllDeviceSyncGroups: (a: number) => any;
174
- export const encodeActions: (a: any) => [number, number, number];
175
- export const encodeIntent: (a: any) => [number, number, number];
176
- export const encodeReaction: (a: any) => [number, number, number];
177
- export const encodeReadReceipt: (a: any) => [number, number, number];
178
207
  export const encodeRemoteAttachment: (a: any) => [number, number, number];
179
- export const encodeWalletSendCalls: (a: any) => [number, number, number];
180
208
  export const encryptAttachment: (a: any) => [number, number, number];
181
- export const revokeInstallationsSignatureRequest: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number) => [number, number, number];
182
- export const signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
183
- export const signaturerequesthandle_addPasskeySignature: (a: number, b: any) => any;
184
- export const signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
185
- export const signaturerequesthandle_signatureText: (a: number) => any;
186
- export const streamcloser_end: (a: number) => void;
187
- export const streamcloser_endAndWait: (a: number) => any;
188
- export const streamcloser_isClosed: (a: number) => number;
189
- export const streamcloser_waitForReady: (a: number) => any;
190
- export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
209
+ export const metadataFieldName: (a: number) => [number, number];
191
210
  export const opfsClearAll: () => any;
192
211
  export const opfsDeleteFile: (a: number, b: number) => any;
193
212
  export const opfsExportDb: (a: number, b: number) => any;
@@ -229,20 +248,36 @@ export const intounderlyingbytesource_start: (a: number, b: any) => void;
229
248
  export const intounderlyingbytesource_type: (a: number) => number;
230
249
  export const intounderlyingsource_cancel: (a: number) => void;
231
250
  export const intounderlyingsource_pull: (a: number, b: any) => any;
232
- export const wasm_bindgen__closure__destroy__h3780b9cea27d1b0e: (a: number, b: number) => void;
233
- export const wasm_bindgen__closure__destroy__ha0e8fabffbde5a75: (a: number, b: number) => void;
234
- export const wasm_bindgen__closure__destroy__h580b2c22888073c1: (a: number, b: number) => void;
235
- export const wasm_bindgen__closure__destroy__h8818735ce6b8834b: (a: number, b: number) => void;
236
- export const wasm_bindgen__convert__closures_____invoke__h9946670875dab85b: (a: number, b: number, c: any, d: any) => void;
237
- export const wasm_bindgen__convert__closures_____invoke__hcc62c9bf57b4ac74: (a: number, b: number, c: any) => void;
238
- export const wasm_bindgen__convert__closures_____invoke__h2c56f933a1e2701a: (a: number, b: number) => void;
239
- export const wasm_bindgen__convert__closures_____invoke__hc7cbde6e4b659782: (a: number, b: number) => void;
240
- export const wasm_bindgen__convert__closures_____invoke__hb319faf0153cb912: (a: number, b: number) => void;
251
+ export const __wbg_wasmbindgentestcontext_free: (a: number, b: number) => void;
252
+ export const __wbgtest_console_debug: (a: any) => void;
253
+ export const __wbgtest_console_error: (a: any) => void;
254
+ export const __wbgtest_console_info: (a: any) => void;
255
+ export const __wbgtest_console_log: (a: any) => void;
256
+ export const __wbgtest_console_warn: (a: any) => void;
257
+ export const wasmbindgentestcontext_filtered_count: (a: number, b: number) => void;
258
+ export const wasmbindgentestcontext_include_ignored: (a: number, b: number) => void;
259
+ export const wasmbindgentestcontext_new: (a: number) => number;
260
+ export const wasmbindgentestcontext_run: (a: number, b: number, c: number) => any;
261
+ export const __wbgtest_cov_dump: () => [number, number];
262
+ export const __wbgtest_module_signature: () => [number, bigint];
263
+ export const __wbgbench_dump: () => [number, number];
264
+ export const __wbgbench_import: (a: number, b: number) => void;
265
+ export const __wbgtest_coverage_path: (a: number, b: number, c: number, d: number, e: number, f: bigint) => [number, number];
266
+ export const wasm_bindgen__closure__destroy__he86c9d9bb368f43f: (a: number, b: number) => void;
267
+ export const wasm_bindgen__closure__destroy__h213ec6c0cfaa8daa: (a: number, b: number) => void;
268
+ export const wasm_bindgen__closure__destroy__h006fa4718e4400fc: (a: number, b: number) => void;
269
+ export const wasm_bindgen__closure__destroy__hd56fbfc240f3eed8: (a: number, b: number) => void;
270
+ export const wasm_bindgen__convert__closures_____invoke__h4761911dc2bcd4ab: (a: number, b: number, c: any, d: number, e: any) => void;
271
+ export const wasm_bindgen__convert__closures_____invoke__h93371d492ea6dccf: (a: number, b: number, c: any, d: any) => void;
272
+ export const wasm_bindgen__convert__closures_____invoke__h01ab1ec45c07a95b: (a: number, b: number, c: any) => void;
273
+ export const wasm_bindgen__convert__closures_____invoke__h7478175f8808d1fa: (a: number, b: number) => void;
274
+ export const wasm_bindgen__convert__closures_____invoke__h7d2ee1dee7ec118b: (a: number, b: number) => void;
275
+ export const wasm_bindgen__convert__closures_____invoke__h48de3f26adb3eb8d: (a: number, b: number) => void;
276
+ export const __externref_table_alloc: () => number;
277
+ export const __wbindgen_externrefs: WebAssembly.Table;
241
278
  export const __wbindgen_malloc: (a: number, b: number) => number;
242
279
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
243
280
  export const __wbindgen_exn_store: (a: number) => void;
244
- export const __externref_table_alloc: () => number;
245
- export const __wbindgen_externrefs: WebAssembly.Table;
246
281
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
247
282
  export const __externref_drop_slice: (a: number, b: number) => void;
248
283
  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.10.0-dev.8b07a37",
3
+ "version": "1.10.0-dev.a2bdd0a",
4
4
  "description": "WASM bindings for the libXMTP rust library",
5
5
  "keywords": [
6
6
  "xmtp",
@@ -66,7 +66,7 @@
66
66
  "@vitest/browser-playwright": "^4.0.8",
67
67
  "@xmtp/content-type-remote-attachment": "^2.0.3",
68
68
  "binaryen": "^125.0.0",
69
- "playwright": "^1.56.1",
69
+ "playwright": "=1.57",
70
70
  "prettier": "^3.7.4",
71
71
  "prettier-plugin-packagejson": "^3.0.0",
72
72
  "tsx": "^4.20.6",