@xmtp/wasm-bindings 1.2.0-dev.bed98df → 1.2.0-rc1
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 +232 -192
- package/dist/bindings_wasm.js +499 -290
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +186 -162
- package/dist/version.json +3 -3
- package/package.json +3 -3
|
Binary file
|
|
@@ -1,48 +1,27 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const
|
|
5
|
-
export const
|
|
6
|
-
export const
|
|
7
|
-
export const
|
|
8
|
-
export const
|
|
9
|
-
export const
|
|
10
|
-
export const
|
|
11
|
-
export const
|
|
12
|
-
export const
|
|
13
|
-
export const
|
|
14
|
-
export const
|
|
15
|
-
export const
|
|
16
|
-
export const
|
|
17
|
-
export const
|
|
18
|
-
export const
|
|
19
|
-
export const
|
|
20
|
-
export const
|
|
21
|
-
export const remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
|
|
22
|
-
export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
23
|
-
export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
24
|
-
export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
25
|
-
export const multiremoteattachment_new: (a: number, b: number) => number;
|
|
26
|
-
export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
27
|
-
export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
28
|
-
export const __wbg_reaction_free: (a: number, b: number) => void;
|
|
29
|
-
export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
30
|
-
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
31
|
-
export const __wbg_get_reaction_action: (a: number) => number;
|
|
32
|
-
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
33
|
-
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
34
|
-
export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
35
|
-
export const __wbg_get_reaction_schema: (a: number) => number;
|
|
36
|
-
export const __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
37
|
-
export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
38
|
-
export const encodeReaction: (a: number) => [number, number, number];
|
|
39
|
-
export const decodeReaction: (a: any) => [number, number, number];
|
|
4
|
+
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
5
|
+
export const streamcloser_end: (a: number) => void;
|
|
6
|
+
export const streamcloser_endAndWait: (a: number) => any;
|
|
7
|
+
export const streamcloser_waitForReady: (a: number) => any;
|
|
8
|
+
export const streamcloser_isClosed: (a: number) => number;
|
|
9
|
+
export const __wbg_consent_free: (a: number, b: number) => void;
|
|
10
|
+
export const __wbg_get_consent_entityType: (a: number) => number;
|
|
11
|
+
export const __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
12
|
+
export const __wbg_get_consent_state: (a: number) => number;
|
|
13
|
+
export const __wbg_set_consent_state: (a: number, b: number) => void;
|
|
14
|
+
export const __wbg_get_consent_entity: (a: number) => [number, number];
|
|
15
|
+
export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
16
|
+
export const consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
17
|
+
export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
18
|
+
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
19
|
+
export const conversation_consentState: (a: number) => [number, number, number];
|
|
20
|
+
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
40
21
|
export const __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
41
22
|
export const groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
42
23
|
export const groupmetadata_conversationType: (a: number) => [number, number];
|
|
43
24
|
export const __wbg_groupmember_free: (a: number, b: number) => void;
|
|
44
|
-
export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
45
|
-
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
46
25
|
export const __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
47
26
|
export const __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
48
27
|
export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
@@ -93,34 +72,43 @@ export const conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
|
93
72
|
export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
94
73
|
export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
95
74
|
export const conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
96
|
-
export const
|
|
97
|
-
export const
|
|
98
|
-
export const
|
|
99
|
-
export const
|
|
100
|
-
export const
|
|
101
|
-
export const
|
|
102
|
-
export const
|
|
103
|
-
export const
|
|
104
|
-
export const
|
|
105
|
-
export const
|
|
106
|
-
export const
|
|
107
|
-
export const
|
|
108
|
-
export const
|
|
109
|
-
export const
|
|
110
|
-
export const
|
|
111
|
-
export const
|
|
112
|
-
export const
|
|
113
|
-
export const
|
|
114
|
-
export const
|
|
115
|
-
export const
|
|
116
|
-
export const
|
|
117
|
-
export const
|
|
118
|
-
export const
|
|
119
|
-
export const
|
|
120
|
-
export const
|
|
121
|
-
export const
|
|
122
|
-
export const
|
|
123
|
-
export const
|
|
75
|
+
export const conversation_getDebugInfo: (a: number) => any;
|
|
76
|
+
export const conversation_findDuplicateDms: (a: number) => any;
|
|
77
|
+
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
78
|
+
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
79
|
+
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
80
|
+
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
81
|
+
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
82
|
+
export const __wbg_get_installation_id: (a: number) => [number, number];
|
|
83
|
+
export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
84
|
+
export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
85
|
+
export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
86
|
+
export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
87
|
+
export const __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
88
|
+
export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
89
|
+
export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
90
|
+
export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
91
|
+
export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
92
|
+
export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
93
|
+
export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
94
|
+
export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
95
|
+
export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
96
|
+
export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
97
|
+
export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
98
|
+
export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
99
|
+
export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
100
|
+
export const __wbg_lifetime_free: (a: number, b: number) => void;
|
|
101
|
+
export const __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
102
|
+
export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
103
|
+
export const __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
104
|
+
export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
105
|
+
export const client_inboxState: (a: number, b: number) => any;
|
|
106
|
+
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
107
|
+
export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
108
|
+
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
109
|
+
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
110
|
+
export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
111
|
+
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
124
112
|
export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
125
113
|
export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
126
114
|
export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -137,6 +125,13 @@ export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => v
|
|
|
137
125
|
export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
138
126
|
export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
139
127
|
export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
128
|
+
export const __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
129
|
+
export const __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
130
|
+
export const __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
|
|
131
|
+
export const __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
|
|
132
|
+
export const __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
|
|
133
|
+
export const __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
134
|
+
export const __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
|
|
140
135
|
export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
141
136
|
export const __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
142
137
|
export const __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
@@ -155,9 +150,6 @@ export const __wbg_set_createdmoptions_messageDisappearingSettings: (a: number,
|
|
|
155
150
|
export const createdmoptions_new: (a: number) => number;
|
|
156
151
|
export const __wbg_hmackey_free: (a: number, b: number) => void;
|
|
157
152
|
export const __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
158
|
-
export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
159
|
-
export const __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
160
|
-
export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
161
153
|
export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
162
154
|
export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
163
155
|
export const __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
@@ -165,6 +157,7 @@ export const __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
|
165
157
|
export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
166
158
|
export const conversationlistitem_new: (a: number, b: number) => number;
|
|
167
159
|
export const __wbg_conversations_free: (a: number, b: number) => void;
|
|
160
|
+
export const conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
|
|
168
161
|
export const conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
169
162
|
export const conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
170
163
|
export const conversations_createDm: (a: number, b: any, c: number) => any;
|
|
@@ -174,6 +167,7 @@ export const conversations_findDmByTargetInboxId: (a: number, b: number, c: numb
|
|
|
174
167
|
export const conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
175
168
|
export const conversations_sync: (a: number) => any;
|
|
176
169
|
export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
170
|
+
export const conversations_syncDeviceSync: (a: number) => any;
|
|
177
171
|
export const conversations_list: (a: number, b: number) => [number, number, number];
|
|
178
172
|
export const conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
179
173
|
export const conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
@@ -181,31 +175,9 @@ export const conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
|
181
175
|
export const conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
182
176
|
export const conversations_streamGroups: (a: number, b: any) => [number, number, number];
|
|
183
177
|
export const conversations_streamDms: (a: number, b: any) => [number, number, number];
|
|
184
|
-
export const conversations_streamAllMessages: (a: number, b: any, c: number) => [number, number, number];
|
|
178
|
+
export const conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
185
179
|
export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
186
180
|
export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
187
|
-
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
188
|
-
export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
189
|
-
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
190
|
-
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
191
|
-
export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
192
|
-
export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
193
|
-
export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
194
|
-
export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
195
|
-
export const __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
196
|
-
export const __wbg_get_encodedcontent_type: (a: number) => number;
|
|
197
|
-
export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
198
|
-
export const __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
199
|
-
export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
200
|
-
export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
201
|
-
export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
202
|
-
export const __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
203
|
-
export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
204
|
-
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
205
|
-
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
206
|
-
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
207
|
-
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
208
|
-
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
209
181
|
export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
210
182
|
export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
211
183
|
export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -213,7 +185,9 @@ export const __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number
|
|
|
213
185
|
export const __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
214
186
|
export const __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
215
187
|
export const __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
216
|
-
export const
|
|
188
|
+
export const __wbg_get_listmessagesoptions_kind: (a: number) => number;
|
|
189
|
+
export const __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
|
|
190
|
+
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;
|
|
217
191
|
export const __wbg_message_free: (a: number, b: number) => void;
|
|
218
192
|
export const __wbg_get_message_id: (a: number) => [number, number];
|
|
219
193
|
export const __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
@@ -233,32 +207,21 @@ export const __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
|
233
207
|
export const __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
234
208
|
export const __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
235
209
|
export const __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
236
|
-
export const
|
|
237
|
-
export const
|
|
238
|
-
export const
|
|
239
|
-
export const
|
|
240
|
-
export const opfs_rm: (a: number, b: number) => [number, number, number];
|
|
241
|
-
export const opfs_getFileNames: () => [number, number];
|
|
242
|
-
export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
243
|
-
export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
244
|
-
export const opfs_getFileCount: () => number;
|
|
245
|
-
export const opfs_getCapacity: () => number;
|
|
246
|
-
export const opfs_addCapacity: (a: number) => any;
|
|
247
|
-
export const opfs_reduceCapacity: (a: number) => any;
|
|
210
|
+
export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
211
|
+
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
212
|
+
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
213
|
+
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
248
214
|
export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
215
|
+
export const __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
249
216
|
export const __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
217
|
+
export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
218
|
+
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
250
219
|
export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
251
220
|
export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
252
221
|
export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
253
222
|
export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
223
|
+
export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
254
224
|
export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
255
|
-
export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
256
|
-
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
257
|
-
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
258
|
-
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
259
|
-
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
260
|
-
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
261
|
-
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
262
225
|
export const __wbg_client_free: (a: number, b: number) => void;
|
|
263
226
|
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
264
227
|
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -268,7 +231,7 @@ export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
|
268
231
|
export const __wbg_get_logoptions_level: (a: number) => number;
|
|
269
232
|
export const __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
270
233
|
export const logoptions_new: (a: number, b: number, c: number) => number;
|
|
271
|
-
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) => any;
|
|
234
|
+
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;
|
|
272
235
|
export const client_accountIdentifier: (a: number) => any;
|
|
273
236
|
export const client_inboxId: (a: number) => [number, number];
|
|
274
237
|
export const client_isRegistered: (a: number) => number;
|
|
@@ -276,42 +239,98 @@ export const client_installationId: (a: number) => [number, number];
|
|
|
276
239
|
export const client_installationIdBytes: (a: number) => any;
|
|
277
240
|
export const client_canMessage: (a: number, b: number, c: number) => any;
|
|
278
241
|
export const client_registerIdentity: (a: number) => any;
|
|
279
|
-
export const
|
|
280
|
-
export const client_sendConsentSyncRequest: (a: number) => any;
|
|
242
|
+
export const client_sendSyncRequest: (a: number) => any;
|
|
281
243
|
export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
282
244
|
export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
283
245
|
export const client_conversations: (a: number) => number;
|
|
284
|
-
export const
|
|
285
|
-
export const
|
|
286
|
-
export const
|
|
287
|
-
export const
|
|
288
|
-
export const
|
|
289
|
-
export const
|
|
290
|
-
export const
|
|
291
|
-
export const
|
|
292
|
-
export const
|
|
293
|
-
export const
|
|
294
|
-
export const
|
|
295
|
-
export const
|
|
296
|
-
export const
|
|
297
|
-
export const
|
|
298
|
-
export const
|
|
299
|
-
export const
|
|
300
|
-
export const
|
|
301
|
-
export const
|
|
302
|
-
export const
|
|
303
|
-
export const
|
|
304
|
-
export const
|
|
305
|
-
export const
|
|
306
|
-
export const
|
|
307
|
-
export const
|
|
308
|
-
export const
|
|
309
|
-
export const
|
|
310
|
-
export const
|
|
311
|
-
export const
|
|
312
|
-
export const
|
|
313
|
-
export const
|
|
314
|
-
export const
|
|
246
|
+
export const client_syncPreferences: (a: number) => any;
|
|
247
|
+
export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
248
|
+
export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
249
|
+
export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
250
|
+
export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
251
|
+
export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
252
|
+
export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
253
|
+
export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
254
|
+
export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
255
|
+
export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
256
|
+
export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
257
|
+
export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
258
|
+
export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
259
|
+
export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
260
|
+
export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
261
|
+
export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
262
|
+
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;
|
|
263
|
+
export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
264
|
+
export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
265
|
+
export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
266
|
+
export const multiremoteattachment_new: (a: number, b: number) => number;
|
|
267
|
+
export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
268
|
+
export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
269
|
+
export const __wbg_reaction_free: (a: number, b: number) => void;
|
|
270
|
+
export const __wbg_get_reaction_action: (a: number) => number;
|
|
271
|
+
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
272
|
+
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
273
|
+
export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
274
|
+
export const __wbg_get_reaction_schema: (a: number) => number;
|
|
275
|
+
export const __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
276
|
+
export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
277
|
+
export const encodeReaction: (a: number) => [number, number, number];
|
|
278
|
+
export const decodeReaction: (a: any) => [number, number, number];
|
|
279
|
+
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
280
|
+
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
281
|
+
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
282
|
+
export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
283
|
+
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
284
|
+
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
285
|
+
export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
286
|
+
export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
287
|
+
export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
288
|
+
export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
289
|
+
export const __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
290
|
+
export const __wbg_get_encodedcontent_type: (a: number) => number;
|
|
291
|
+
export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
292
|
+
export const __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
293
|
+
export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
294
|
+
export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
295
|
+
export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
296
|
+
export const __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
297
|
+
export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
298
|
+
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
299
|
+
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
300
|
+
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
301
|
+
export const __wbg_opfs_free: (a: number, b: number) => void;
|
|
302
|
+
export const opfs_init_sqlite_opfs: () => any;
|
|
303
|
+
export const opfs_exists: () => number;
|
|
304
|
+
export const opfs_error: () => [number, number];
|
|
305
|
+
export const opfs_wipeFiles: () => any;
|
|
306
|
+
export const opfs_rm: (a: number, b: number) => [number, number, number];
|
|
307
|
+
export const opfs_getFileNames: () => [number, number];
|
|
308
|
+
export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
309
|
+
export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
310
|
+
export const opfs_getFileCount: () => number;
|
|
311
|
+
export const opfs_getCapacity: () => number;
|
|
312
|
+
export const opfs_addCapacity: (a: number) => any;
|
|
313
|
+
export const opfs_reduceCapacity: (a: number) => any;
|
|
314
|
+
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
315
|
+
export const __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
316
|
+
export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
317
|
+
export const client_addWalletSignatureText: (a: number, b: any) => any;
|
|
318
|
+
export const client_revokeWalletSignatureText: (a: number, b: any) => any;
|
|
319
|
+
export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
320
|
+
export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
321
|
+
export const client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
|
|
322
|
+
export const client_addEcdsaSignature: (a: number, b: number, c: any) => any;
|
|
323
|
+
export const client_addPasskeySignature: (a: number, b: number, c: number) => any;
|
|
324
|
+
export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
325
|
+
export const client_applySignatureRequests: (a: number) => any;
|
|
326
|
+
export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
327
|
+
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
328
|
+
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
329
|
+
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
330
|
+
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
331
|
+
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
332
|
+
export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
333
|
+
export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
315
334
|
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
316
335
|
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
317
336
|
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -333,18 +352,27 @@ export const permissionpolicyset_new: (a: number, b: number, c: number, d: numbe
|
|
|
333
352
|
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
334
353
|
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
335
354
|
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
336
|
-
export const
|
|
337
|
-
export const
|
|
338
|
-
export const
|
|
339
|
-
export const
|
|
340
|
-
export const
|
|
355
|
+
export const rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
356
|
+
export const rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
357
|
+
export const rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
358
|
+
export const rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
|
|
359
|
+
export const rust_zstd_wasm_shim_free: (a: number) => void;
|
|
360
|
+
export const rust_zstd_wasm_shim_memcpy: (a: number, b: number, c: number) => number;
|
|
361
|
+
export const rust_zstd_wasm_shim_memmove: (a: number, b: number, c: number) => number;
|
|
362
|
+
export const rust_zstd_wasm_shim_memset: (a: number, b: number, c: number) => number;
|
|
341
363
|
export const rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
342
364
|
export const rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
343
365
|
export const rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
344
|
-
export const sqlite3_os_init: () => number;
|
|
345
366
|
export const rust_sqlite_wasm_shim_malloc: (a: number) => number;
|
|
346
367
|
export const rust_sqlite_wasm_shim_free: (a: number) => void;
|
|
347
368
|
export const rust_sqlite_wasm_shim_realloc: (a: number, b: number) => number;
|
|
369
|
+
export const sqlite3_os_init: () => number;
|
|
370
|
+
export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
371
|
+
export const intounderlyingbytesource_type: (a: number) => number;
|
|
372
|
+
export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
373
|
+
export const intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
374
|
+
export const intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
375
|
+
export const intounderlyingbytesource_cancel: (a: number) => void;
|
|
348
376
|
export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
349
377
|
export const intounderlyingsource_pull: (a: number, b: any) => any;
|
|
350
378
|
export const intounderlyingsource_cancel: (a: number) => void;
|
|
@@ -352,12 +380,6 @@ export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
|
352
380
|
export const intounderlyingsink_write: (a: number, b: any) => any;
|
|
353
381
|
export const intounderlyingsink_close: (a: number) => any;
|
|
354
382
|
export const intounderlyingsink_abort: (a: number, b: any) => any;
|
|
355
|
-
export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
356
|
-
export const intounderlyingbytesource_type: (a: number) => number;
|
|
357
|
-
export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
358
|
-
export const intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
359
|
-
export const intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
360
|
-
export const intounderlyingbytesource_cancel: (a: number) => void;
|
|
361
383
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
362
384
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
363
385
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
@@ -367,8 +389,10 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
|
367
389
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
368
390
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
369
391
|
export const __externref_table_dealloc: (a: number) => void;
|
|
370
|
-
export const
|
|
371
|
-
export const
|
|
372
|
-
export const
|
|
373
|
-
export const
|
|
392
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215: (a: number, b: number) => void;
|
|
393
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h89dafc0baf46c12b: (a: number, b: number) => void;
|
|
394
|
+
export const closure4460_externref_shim: (a: number, b: number, c: any) => void;
|
|
395
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a: (a: number, b: number) => void;
|
|
396
|
+
export const closure5467_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
397
|
+
export const closure5466_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
374
398
|
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-rc1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "WASM bindings for the libXMTP rust library",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"scripts": {
|
|
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
|
-
"build:web": "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\" wasm-pack build --target web --out-dir ./dist --no-pack --release",
|
|
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 --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",
|