@xmtp/wasm-bindings 1.2.0-dev.125e5bf → 1.2.0-dev.b600c5c
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 +156 -154
- package/dist/bindings_wasm.js +269 -222
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +139 -137
- package/dist/version.json +3 -3
- package/package.json +2 -2
|
@@ -1,6 +1,78 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
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_client_free: (a: number, b: number) => void;
|
|
10
|
+
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
11
|
+
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
12
|
+
export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
13
|
+
export const __wbg_get_logoptions_performance: (a: number) => number;
|
|
14
|
+
export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
15
|
+
export const __wbg_get_logoptions_level: (a: number) => number;
|
|
16
|
+
export const __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
17
|
+
export const logoptions_new: (a: number, b: number, c: number) => number;
|
|
18
|
+
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;
|
|
19
|
+
export const client_accountIdentifier: (a: number) => any;
|
|
20
|
+
export const client_inboxId: (a: number) => [number, number];
|
|
21
|
+
export const client_isRegistered: (a: number) => number;
|
|
22
|
+
export const client_installationId: (a: number) => [number, number];
|
|
23
|
+
export const client_installationIdBytes: (a: number) => any;
|
|
24
|
+
export const client_canMessage: (a: number, b: number, c: number) => any;
|
|
25
|
+
export const client_registerIdentity: (a: number) => any;
|
|
26
|
+
export const client_sendHistorySyncRequest: (a: number) => any;
|
|
27
|
+
export const client_sendConsentSyncRequest: (a: number) => any;
|
|
28
|
+
export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
29
|
+
export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
30
|
+
export const client_conversations: (a: number) => number;
|
|
31
|
+
export const __wbg_reaction_free: (a: number, b: number) => void;
|
|
32
|
+
export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
33
|
+
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
34
|
+
export const __wbg_get_reaction_action: (a: number) => number;
|
|
35
|
+
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
36
|
+
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
37
|
+
export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
38
|
+
export const __wbg_get_reaction_schema: (a: number) => number;
|
|
39
|
+
export const __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
40
|
+
export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
41
|
+
export const encodeReaction: (a: number) => [number, number, number];
|
|
42
|
+
export const decodeReaction: (a: any) => [number, number, number];
|
|
43
|
+
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
44
|
+
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
45
|
+
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
46
|
+
export const __wbg_get_installation_id: (a: number) => [number, number];
|
|
47
|
+
export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
48
|
+
export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
49
|
+
export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
50
|
+
export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
51
|
+
export const __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
52
|
+
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
53
|
+
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
54
|
+
export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
55
|
+
export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
56
|
+
export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
57
|
+
export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
58
|
+
export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
59
|
+
export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
60
|
+
export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
61
|
+
export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
62
|
+
export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
63
|
+
export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
64
|
+
export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
65
|
+
export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
66
|
+
export const __wbg_lifetime_free: (a: number, b: number) => void;
|
|
67
|
+
export const __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
68
|
+
export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
69
|
+
export const __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
70
|
+
export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
71
|
+
export const client_inboxState: (a: number, b: number) => any;
|
|
72
|
+
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
73
|
+
export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
74
|
+
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
75
|
+
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
4
76
|
export const __wbg_consent_free: (a: number, b: number) => void;
|
|
5
77
|
export const __wbg_get_consent_entityType: (a: number) => number;
|
|
6
78
|
export const __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
@@ -67,6 +139,62 @@ export const conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
|
67
139
|
export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
68
140
|
export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
69
141
|
export const conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
142
|
+
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
143
|
+
export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
144
|
+
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
145
|
+
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
146
|
+
export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
147
|
+
export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
148
|
+
export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
149
|
+
export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
150
|
+
export const __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
151
|
+
export const __wbg_get_encodedcontent_type: (a: number) => number;
|
|
152
|
+
export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
153
|
+
export const __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
154
|
+
export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
155
|
+
export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
156
|
+
export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
157
|
+
export const __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
158
|
+
export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
159
|
+
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
160
|
+
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
161
|
+
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
162
|
+
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
163
|
+
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
164
|
+
export const __wbg_opfs_free: (a: number, b: number) => void;
|
|
165
|
+
export const opfs_init_sqlite_opfs: () => any;
|
|
166
|
+
export const opfs_exists: () => number;
|
|
167
|
+
export const opfs_error: () => [number, number];
|
|
168
|
+
export const opfs_wipeFiles: () => any;
|
|
169
|
+
export const opfs_rm: (a: number, b: number) => [number, number, number];
|
|
170
|
+
export const opfs_getFileNames: () => [number, number];
|
|
171
|
+
export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
172
|
+
export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
173
|
+
export const opfs_getFileCount: () => number;
|
|
174
|
+
export const opfs_getCapacity: () => number;
|
|
175
|
+
export const opfs_addCapacity: (a: number) => any;
|
|
176
|
+
export const opfs_reduceCapacity: (a: number) => any;
|
|
177
|
+
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
178
|
+
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
179
|
+
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
180
|
+
export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
181
|
+
export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
182
|
+
export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
183
|
+
export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
184
|
+
export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
185
|
+
export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
186
|
+
export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
187
|
+
export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
188
|
+
export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
189
|
+
export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
190
|
+
export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
191
|
+
export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
192
|
+
export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
193
|
+
export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
194
|
+
export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
195
|
+
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
196
|
+
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
197
|
+
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
70
198
|
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
71
199
|
export const __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
72
200
|
export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
@@ -82,34 +210,9 @@ export const client_applySignatureRequests: (a: number) => any;
|
|
|
82
210
|
export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
83
211
|
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
84
212
|
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
213
|
+
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
85
214
|
export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
86
|
-
export const
|
|
87
|
-
export const streamcloser_end: (a: number) => void;
|
|
88
|
-
export const streamcloser_endAndWait: (a: number) => any;
|
|
89
|
-
export const streamcloser_waitForReady: (a: number) => any;
|
|
90
|
-
export const streamcloser_isClosed: (a: number) => number;
|
|
91
|
-
export const __wbg_client_free: (a: number, b: number) => void;
|
|
92
|
-
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
93
|
-
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
94
|
-
export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
95
|
-
export const __wbg_get_logoptions_performance: (a: number) => number;
|
|
96
|
-
export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
97
|
-
export const __wbg_get_logoptions_level: (a: number) => number;
|
|
98
|
-
export const __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
99
|
-
export const logoptions_new: (a: number, b: number, c: number) => number;
|
|
100
|
-
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;
|
|
101
|
-
export const client_accountIdentifier: (a: number) => any;
|
|
102
|
-
export const client_inboxId: (a: number) => [number, number];
|
|
103
|
-
export const client_isRegistered: (a: number) => number;
|
|
104
|
-
export const client_installationId: (a: number) => [number, number];
|
|
105
|
-
export const client_installationIdBytes: (a: number) => any;
|
|
106
|
-
export const client_canMessage: (a: number, b: number, c: number) => any;
|
|
107
|
-
export const client_registerIdentity: (a: number) => any;
|
|
108
|
-
export const client_sendHistorySyncRequest: (a: number) => any;
|
|
109
|
-
export const client_sendConsentSyncRequest: (a: number) => any;
|
|
110
|
-
export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
111
|
-
export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
112
|
-
export const client_conversations: (a: number) => number;
|
|
215
|
+
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
113
216
|
export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
114
217
|
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
115
218
|
export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
@@ -117,6 +220,7 @@ export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [numbe
|
|
|
117
220
|
export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
118
221
|
export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
119
222
|
export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
223
|
+
export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
120
224
|
export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
121
225
|
export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
122
226
|
export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
@@ -133,73 +237,6 @@ export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number,
|
|
|
133
237
|
export const multiremoteattachment_new: (a: number, b: number) => number;
|
|
134
238
|
export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
135
239
|
export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
136
|
-
export const __wbg_reaction_free: (a: number, b: number) => void;
|
|
137
|
-
export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
138
|
-
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
139
|
-
export const __wbg_get_reaction_action: (a: number) => number;
|
|
140
|
-
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
141
|
-
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
142
|
-
export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
143
|
-
export const __wbg_get_reaction_schema: (a: number) => number;
|
|
144
|
-
export const __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
145
|
-
export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
146
|
-
export const encodeReaction: (a: number) => [number, number, number];
|
|
147
|
-
export const decodeReaction: (a: any) => [number, number, number];
|
|
148
|
-
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
149
|
-
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
150
|
-
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
151
|
-
export const __wbg_get_installation_id: (a: number) => [number, number];
|
|
152
|
-
export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
153
|
-
export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
154
|
-
export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
155
|
-
export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
156
|
-
export const __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
157
|
-
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
158
|
-
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
159
|
-
export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
160
|
-
export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
161
|
-
export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
162
|
-
export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
163
|
-
export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
164
|
-
export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
165
|
-
export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
166
|
-
export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
167
|
-
export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
168
|
-
export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
169
|
-
export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
170
|
-
export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
171
|
-
export const __wbg_lifetime_free: (a: number, b: number) => void;
|
|
172
|
-
export const __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
173
|
-
export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
174
|
-
export const __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
175
|
-
export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
176
|
-
export const client_inboxState: (a: number, b: number) => any;
|
|
177
|
-
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
178
|
-
export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
179
|
-
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
180
|
-
export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
181
|
-
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
182
|
-
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
183
|
-
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
184
|
-
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
185
|
-
export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
186
|
-
export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
187
|
-
export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
188
|
-
export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
189
|
-
export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
190
|
-
export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
191
|
-
export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
192
|
-
export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
193
|
-
export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
194
|
-
export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
195
|
-
export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
196
|
-
export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
197
|
-
export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
198
|
-
export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
199
|
-
export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
200
|
-
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
201
|
-
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
202
|
-
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
203
240
|
export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
204
241
|
export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
205
242
|
export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -263,30 +300,6 @@ export const conversations_streamDms: (a: number, b: any) => [number, number, nu
|
|
|
263
300
|
export const conversations_streamAllMessages: (a: number, b: any, c: number) => [number, number, number];
|
|
264
301
|
export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
265
302
|
export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
266
|
-
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
267
|
-
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
268
|
-
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
269
|
-
export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
270
|
-
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
271
|
-
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
272
|
-
export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
273
|
-
export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
274
|
-
export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
275
|
-
export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
276
|
-
export const __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
277
|
-
export const __wbg_get_encodedcontent_type: (a: number) => number;
|
|
278
|
-
export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
279
|
-
export const __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
280
|
-
export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
281
|
-
export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
282
|
-
export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
283
|
-
export const __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
284
|
-
export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
285
|
-
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
286
|
-
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
287
|
-
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
288
|
-
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
289
|
-
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
290
303
|
export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
291
304
|
export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
292
305
|
export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -314,38 +327,25 @@ export const __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
|
314
327
|
export const __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
315
328
|
export const __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
316
329
|
export const __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
317
|
-
export const __wbg_opfs_free: (a: number, b: number) => void;
|
|
318
|
-
export const opfs_init_sqlite_opfs: () => any;
|
|
319
|
-
export const opfs_exists: () => number;
|
|
320
|
-
export const opfs_error: () => [number, number];
|
|
321
|
-
export const opfs_wipeFiles: () => any;
|
|
322
|
-
export const opfs_rm: (a: number, b: number) => [number, number, number];
|
|
323
|
-
export const opfs_getFileNames: () => [number, number];
|
|
324
|
-
export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
325
|
-
export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
326
|
-
export const opfs_getFileCount: () => number;
|
|
327
|
-
export const opfs_getCapacity: () => number;
|
|
328
|
-
export const opfs_addCapacity: (a: number) => any;
|
|
329
|
-
export const opfs_reduceCapacity: (a: number) => any;
|
|
330
330
|
export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
331
331
|
export const __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
332
332
|
export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
333
333
|
export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
334
334
|
export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
335
|
+
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
335
336
|
export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
336
337
|
export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
337
338
|
export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
338
|
-
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
339
339
|
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
340
340
|
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
341
341
|
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
342
342
|
export const rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
343
343
|
export const rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
344
344
|
export const rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
345
|
-
export const sqlite3_os_init: () => number;
|
|
346
345
|
export const rust_sqlite_wasm_shim_malloc: (a: number) => number;
|
|
347
346
|
export const rust_sqlite_wasm_shim_free: (a: number) => void;
|
|
348
347
|
export const rust_sqlite_wasm_shim_realloc: (a: number, b: number) => number;
|
|
348
|
+
export const sqlite3_os_init: () => number;
|
|
349
349
|
export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
350
350
|
export const intounderlyingbytesource_type: (a: number) => number;
|
|
351
351
|
export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
@@ -368,8 +368,10 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
|
368
368
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
369
369
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
370
370
|
export const __externref_table_dealloc: (a: number) => void;
|
|
371
|
-
export const
|
|
372
|
-
export const
|
|
373
|
-
export const
|
|
374
|
-
export const
|
|
371
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215: (a: number, b: number) => void;
|
|
372
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9b134efb6b08a208: (a: number, b: number) => void;
|
|
373
|
+
export const closure4006_externref_shim: (a: number, b: number, c: any) => void;
|
|
374
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a: (a: number, b: number) => void;
|
|
375
|
+
export const closure4899_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
376
|
+
export const closure4898_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
375
377
|
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-dev.
|
|
3
|
+
"version": "1.2.0-dev.b600c5c",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "WASM bindings for the libXMTP rust library",
|
|
@@ -26,7 +26,7 @@
|
|
|
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",
|
|
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
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",
|
|
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",
|