@xmtp/wasm-bindings 1.9.0-rc2 → 1.9.0-rc3

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,20 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
+ export const contentTypeAttachment: () => any;
5
+ export const contentTypeMarkdown: () => any;
6
+ export const contentTypeMultiRemoteAttachment: () => any;
7
+ export const contentTypeReadReceipt: () => any;
8
+ export const contentTypeReply: () => any;
9
+ export const contentTypeText: () => any;
10
+ export const contentTypeTransactionReference: () => any;
11
+ export const encodeAttachment: (a: any) => [number, number, number];
12
+ export const encodeMarkdown: (a: number, b: number) => [number, number, number];
13
+ export const encodeMultiRemoteAttachment: (a: any) => [number, number, number];
14
+ export const encodeReadReceipt: (a: any) => [number, number, number];
15
+ export const encodeText: (a: number, b: number) => [number, number, number];
16
+ export const encodeTransactionReference: (a: any) => [number, number, number];
17
+ export const __wbg_client_free: (a: number, b: number) => void;
4
18
  export const __wbg_conversation_free: (a: number, b: number) => void;
5
19
  export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
6
20
  export const __wbg_conversations_free: (a: number, b: number) => void;
@@ -18,26 +32,45 @@ export const __wbg_set_deletedmessage_deletedBy: (a: number, b: number) => void;
18
32
  export const __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
19
33
  export const __wbg_streamcloser_free: (a: number, b: number) => void;
20
34
  export const applySignatureRequest: (a: number, b: number, c: number, d: number, e: number) => any;
35
+ export const client_accountIdentifier: (a: number) => any;
21
36
  export const client_addWalletSignatureRequest: (a: number, b: any) => any;
37
+ export const client_apiAggregateStatistics: (a: number) => [number, number];
38
+ export const client_apiIdentityStatistics: (a: number) => any;
39
+ export const client_apiStatistics: (a: number) => any;
40
+ export const client_appVersion: (a: number) => [number, number];
22
41
  export const client_applySignatureRequest: (a: number, b: number) => any;
42
+ export const client_canMessage: (a: number, b: number, c: number) => any;
23
43
  export const client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
44
+ export const client_clearAllStatistics: (a: number) => void;
45
+ export const client_conversations: (a: number) => number;
24
46
  export const client_createInboxSignatureRequest: (a: number) => [number, number, number];
47
+ export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
25
48
  export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
49
+ export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
50
+ export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
51
+ export const client_inboxId: (a: number) => [number, number];
52
+ export const client_inboxState: (a: number, b: number) => any;
53
+ export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
54
+ export const client_installationId: (a: number) => [number, number];
55
+ export const client_installationIdBytes: (a: number) => any;
56
+ export const client_isRegistered: (a: number) => number;
57
+ export const client_libxmtpVersion: (a: number) => [number, number];
26
58
  export const client_registerIdentity: (a: number, b: number) => any;
27
59
  export const client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
28
60
  export const client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
29
61
  export const client_revokeWalletSignatureRequest: (a: number, b: any) => any;
62
+ export const client_sendSyncRequest: (a: number) => any;
30
63
  export const client_setConsentStates: (a: number, b: number, c: number) => any;
31
64
  export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
65
+ export const client_syncPreferences: (a: number) => any;
32
66
  export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
33
- export const contentTypeAttachment: () => any;
67
+ export const contentTypeActions: () => any;
34
68
  export const contentTypeGroupUpdated: () => any;
35
69
  export const contentTypeIntent: () => any;
36
70
  export const contentTypeLeaveRequest: () => any;
37
- export const contentTypeMarkdown: () => any;
38
- export const contentTypeMultiRemoteAttachment: () => any;
39
71
  export const contentTypeReaction: () => any;
40
- export const contentTypeText: () => any;
72
+ export const contentTypeRemoteAttachment: () => any;
73
+ export const contentTypeWalletSendCalls: () => any;
41
74
  export const conversation_addAdmin: (a: number, b: number, c: number) => any;
42
75
  export const conversation_addMembers: (a: number, b: number, c: number) => any;
43
76
  export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
@@ -123,24 +156,17 @@ export const conversations_streamMessageDeletions: (a: number, b: any) => [numbe
123
156
  export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
124
157
  export const conversations_sync: (a: number) => any;
125
158
  export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
126
- export const encodeAttachment: (a: any) => [number, number, number];
159
+ 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;
160
+ export const decryptAttachment: (a: number, b: number, c: any) => [number, number, number];
161
+ export const encodeActions: (a: any) => [number, number, number];
127
162
  export const encodeIntent: (a: any) => [number, number, number];
128
- export const encodeMarkdown: (a: number, b: number) => [number, number, number];
129
- export const encodeMultiRemoteAttachment: (a: any) => [number, number, number];
130
163
  export const encodeReaction: (a: any) => [number, number, number];
131
- export const encodeText: (a: number, b: number) => [number, number, number];
164
+ export const encodeRemoteAttachment: (a: any) => [number, number, number];
165
+ export const encodeWalletSendCalls: (a: any) => [number, number, number];
166
+ export const encryptAttachment: (a: any) => [number, number, number];
132
167
  export const generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
133
168
  export const getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: number, f: any) => any;
134
- export const metadataFieldName: (a: number) => [number, number];
135
- export const opfsClearAll: () => any;
136
- export const opfsDeleteFile: (a: number, b: number) => any;
137
- export const opfsExportDb: (a: number, b: number) => any;
138
- export const opfsFileCount: () => any;
139
- export const opfsFileExists: (a: number, b: number) => any;
140
- export const opfsImportDb: (a: number, b: number, c: any) => any;
141
- export const opfsInit: () => any;
142
- export const opfsListFiles: () => any;
143
- export const opfsPoolCapacity: () => any;
169
+ export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
144
170
  export const revokeInstallationsSignatureRequest: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number) => [number, number, number];
145
171
  export const signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
146
172
  export const signaturerequesthandle_addPasskeySignature: (a: number, b: any) => any;
@@ -155,42 +181,16 @@ export const __wbg_authhandle_free: (a: number, b: number) => void;
155
181
  export const authhandle_id: (a: number) => number;
156
182
  export const authhandle_new: () => number;
157
183
  export const authhandle_set: (a: number, b: any) => any;
158
- export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
159
- export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
160
- export const client_inboxState: (a: number, b: number) => any;
161
- export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
162
- export const __wbg_client_free: (a: number, b: number) => void;
163
- export const client_accountIdentifier: (a: number) => any;
164
- export const client_apiAggregateStatistics: (a: number) => [number, number];
165
- export const client_apiIdentityStatistics: (a: number) => any;
166
- export const client_apiStatistics: (a: number) => any;
167
- export const client_appVersion: (a: number) => [number, number];
168
- export const client_canMessage: (a: number, b: number, c: number) => any;
169
- export const client_clearAllStatistics: (a: number) => void;
170
- export const client_conversations: (a: number) => number;
171
- export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
172
- export const client_inboxId: (a: number) => [number, number];
173
- export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
174
- export const client_installationId: (a: number) => [number, number];
175
- export const client_installationIdBytes: (a: number) => any;
176
- export const client_isRegistered: (a: number) => number;
177
- export const client_libxmtpVersion: (a: number) => [number, number];
178
- export const client_sendSyncRequest: (a: number) => any;
179
- export const client_syncPreferences: (a: number) => any;
180
- 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;
181
- export const contentTypeActions: () => any;
182
- export const contentTypeReadReceipt: () => any;
183
- export const contentTypeRemoteAttachment: () => any;
184
- export const contentTypeReply: () => any;
185
- export const contentTypeTransactionReference: () => any;
186
- export const contentTypeWalletSendCalls: () => any;
187
- export const decryptAttachment: (a: number, b: number, c: any) => [number, number, number];
188
- export const encodeActions: (a: any) => [number, number, number];
189
- export const encodeReadReceipt: (a: any) => [number, number, number];
190
- export const encodeRemoteAttachment: (a: any) => [number, number, number];
191
- export const encodeTransactionReference: (a: any) => [number, number, number];
192
- export const encodeWalletSendCalls: (a: any) => [number, number, number];
193
- export const encryptAttachment: (a: any) => [number, number, number];
184
+ export const metadataFieldName: (a: number) => [number, number];
185
+ export const opfsClearAll: () => any;
186
+ export const opfsDeleteFile: (a: number, b: number) => any;
187
+ export const opfsExportDb: (a: number, b: number) => any;
188
+ export const opfsFileCount: () => any;
189
+ export const opfsFileExists: (a: number, b: number) => any;
190
+ export const opfsImportDb: (a: number, b: number, c: any) => any;
191
+ export const opfsInit: () => any;
192
+ export const opfsListFiles: () => any;
193
+ export const opfsPoolCapacity: () => any;
194
194
  export const rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
195
195
  export const rust_zstd_wasm_shim_free: (a: number) => void;
196
196
  export const rust_zstd_wasm_shim_malloc: (a: number) => number;
@@ -213,25 +213,25 @@ export const task_worker_entry_point: (a: number) => [number, number];
213
213
  export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
214
214
  export const intounderlyingsource_cancel: (a: number) => void;
215
215
  export const intounderlyingsource_pull: (a: number, b: any) => any;
216
- export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
217
- export const intounderlyingsink_abort: (a: number, b: any) => any;
218
- export const intounderlyingsink_close: (a: number) => any;
219
- export const intounderlyingsink_write: (a: number, b: any) => any;
220
216
  export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
221
217
  export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
222
218
  export const intounderlyingbytesource_cancel: (a: number) => void;
223
219
  export const intounderlyingbytesource_pull: (a: number, b: any) => any;
224
220
  export const intounderlyingbytesource_start: (a: number, b: any) => void;
225
221
  export const intounderlyingbytesource_type: (a: number) => number;
226
- export const wasm_bindgen__convert__closures_____invoke__h956b60152b2cf005: (a: number, b: number) => void;
227
- export const wasm_bindgen__closure__destroy__h3c5639ee43c80f22: (a: number, b: number) => void;
228
- export const wasm_bindgen__convert__closures_____invoke__hceddd2b8fc291040: (a: number, b: number) => void;
229
- export const wasm_bindgen__closure__destroy__hfbd660e60d498df9: (a: number, b: number) => void;
230
- export const wasm_bindgen__convert__closures_____invoke__hdff293b41f2cecc6: (a: number, b: number, c: any) => void;
231
- export const wasm_bindgen__closure__destroy__hed8af60076250245: (a: number, b: number) => void;
232
- export const wasm_bindgen__convert__closures_____invoke__h6af3cd86eb56f4b1: (a: number, b: number) => void;
233
- export const wasm_bindgen__closure__destroy__he7b712e0eb1b5ac1: (a: number, b: number) => void;
234
- export const wasm_bindgen__convert__closures_____invoke__h47a8fb56fc48c5fb: (a: number, b: number, c: any, d: any) => void;
222
+ export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
223
+ export const intounderlyingsink_abort: (a: number, b: any) => any;
224
+ export const intounderlyingsink_close: (a: number) => any;
225
+ export const intounderlyingsink_write: (a: number, b: any) => any;
226
+ export const wasm_bindgen__convert__closures_____invoke__ha66b59b58c7b6e14: (a: number, b: number) => void;
227
+ export const wasm_bindgen__closure__destroy__h43bd69f6f2f23fdf: (a: number, b: number) => void;
228
+ export const wasm_bindgen__convert__closures_____invoke__hb3ea4cec5b2a99b4: (a: number, b: number) => void;
229
+ export const wasm_bindgen__closure__destroy__h3dd912ac8e2d6083: (a: number, b: number) => void;
230
+ export const wasm_bindgen__convert__closures_____invoke__h989c99c207fff0d8: (a: number, b: number, c: any) => void;
231
+ export const wasm_bindgen__closure__destroy__hab695a3e04b8e88a: (a: number, b: number) => void;
232
+ export const wasm_bindgen__convert__closures_____invoke__h57fa53c0b5bdcaf1: (a: number, b: number) => void;
233
+ export const wasm_bindgen__closure__destroy__hdc965c5deda6531b: (a: number, b: number) => void;
234
+ export const wasm_bindgen__convert__closures_____invoke__h09c21df9c40da302: (a: number, b: number, c: any, d: any) => void;
235
235
  export const __wbindgen_malloc: (a: number, b: number) => number;
236
236
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
237
237
  export const __wbindgen_exn_store: (a: number) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/wasm-bindings",
3
- "version": "1.9.0-rc2",
3
+ "version": "1.9.0-rc3",
4
4
  "description": "WASM bindings for the libXMTP rust library",
5
5
  "keywords": [
6
6
  "xmtp",