@xmtp/wasm-bindings 1.2.0 → 1.2.2
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 +233 -226
- package/dist/bindings_wasm.js +271 -245
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +212 -210
- package/dist/snippets/wasm-array-cp-201e2a98f0e691f7/copy.min.js +1 -0
- package/dist/version.json +2 -2
- package/package.json +6 -2
- package/dist/snippets/sqlite-wasm-rs-7363ec544fce135b/src/vfs/utils.js +0 -11
|
Binary file
|
|
@@ -1,6 +1,73 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_client_free: (a: number, b: number) => void;
|
|
5
|
+
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
6
|
+
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
7
|
+
export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
8
|
+
export const __wbg_get_logoptions_performance: (a: number) => number;
|
|
9
|
+
export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
10
|
+
export const __wbg_get_logoptions_level: (a: number) => number;
|
|
11
|
+
export const __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
12
|
+
export const logoptions_new: (a: number, b: number, c: number) => number;
|
|
13
|
+
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) => any;
|
|
14
|
+
export const client_accountIdentifier: (a: number) => any;
|
|
15
|
+
export const client_inboxId: (a: number) => [number, number];
|
|
16
|
+
export const client_isRegistered: (a: number) => number;
|
|
17
|
+
export const client_installationId: (a: number) => [number, number];
|
|
18
|
+
export const client_installationIdBytes: (a: number) => any;
|
|
19
|
+
export const client_canMessage: (a: number, b: number, c: number) => any;
|
|
20
|
+
export const client_registerIdentity: (a: number) => any;
|
|
21
|
+
export const client_sendSyncRequest: (a: number) => any;
|
|
22
|
+
export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
23
|
+
export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
24
|
+
export const client_conversations: (a: number) => number;
|
|
25
|
+
export const client_syncPreferences: (a: number) => any;
|
|
26
|
+
export const client_apiStatistics: (a: number) => number;
|
|
27
|
+
export const client_apiIdentityStatistics: (a: number) => number;
|
|
28
|
+
export const client_apiAggregateStatistics: (a: number) => [number, number];
|
|
29
|
+
export const client_clearAllStatistics: (a: number) => void;
|
|
30
|
+
export const client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
31
|
+
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
32
|
+
export const __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
33
|
+
export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
34
|
+
export const client_addWalletSignatureText: (a: number, b: any) => any;
|
|
35
|
+
export const client_revokeWalletSignatureText: (a: number, b: any) => any;
|
|
36
|
+
export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
37
|
+
export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
38
|
+
export const client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
|
|
39
|
+
export const client_addEcdsaSignature: (a: number, b: number, c: any) => any;
|
|
40
|
+
export const client_addPasskeySignature: (a: number, b: number, c: number) => any;
|
|
41
|
+
export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
42
|
+
export const client_applySignatureRequests: (a: number) => any;
|
|
43
|
+
export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
44
|
+
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
45
|
+
export const __wbg_apistats_free: (a: number, b: number) => void;
|
|
46
|
+
export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
47
|
+
export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
48
|
+
export const __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
49
|
+
export const __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
50
|
+
export const __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
51
|
+
export const __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
52
|
+
export const __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
53
|
+
export const __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
54
|
+
export const __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
55
|
+
export const __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
56
|
+
export const __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
57
|
+
export const __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
58
|
+
export const __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
59
|
+
export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
60
|
+
export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
61
|
+
export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
62
|
+
export const __wbg_identitystats_free: (a: number, b: number) => void;
|
|
63
|
+
export const __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
64
|
+
export const __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
65
|
+
export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
66
|
+
export const __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
67
|
+
export const __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
68
|
+
export const __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
69
|
+
export const __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
70
|
+
export const __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
4
71
|
export const __wbg_consent_free: (a: number, b: number) => void;
|
|
5
72
|
export const __wbg_get_consent_entityType: (a: number) => number;
|
|
6
73
|
export const __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
@@ -13,13 +80,98 @@ export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
|
13
80
|
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
14
81
|
export const conversation_consentState: (a: number) => [number, number, number];
|
|
15
82
|
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
83
|
+
export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
84
|
+
export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
85
|
+
export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
86
|
+
export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
87
|
+
export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
88
|
+
export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
89
|
+
export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
90
|
+
export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
91
|
+
export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
92
|
+
export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
93
|
+
export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
94
|
+
export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
95
|
+
export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
96
|
+
export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
97
|
+
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;
|
|
98
|
+
export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
99
|
+
export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
100
|
+
export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
101
|
+
export const multiremoteattachment_new: (a: number, b: number) => number;
|
|
102
|
+
export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
103
|
+
export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
104
|
+
export const __wbg_reaction_free: (a: number, b: number) => void;
|
|
105
|
+
export const __wbg_get_reaction_action: (a: number) => number;
|
|
106
|
+
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
107
|
+
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
108
|
+
export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
109
|
+
export const __wbg_get_reaction_schema: (a: number) => number;
|
|
110
|
+
export const __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
111
|
+
export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
112
|
+
export const encodeReaction: (a: number) => [number, number, number];
|
|
113
|
+
export const decodeReaction: (a: any) => [number, number, number];
|
|
114
|
+
export const __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
115
|
+
export const groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
116
|
+
export const groupmetadata_conversationType: (a: number) => [number, number];
|
|
117
|
+
export const __wbg_groupmember_free: (a: number, b: number) => void;
|
|
118
|
+
export const __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
119
|
+
export const __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
120
|
+
export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
121
|
+
export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
122
|
+
export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
123
|
+
export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
124
|
+
export const __wbg_get_groupmember_consentState: (a: number) => number;
|
|
125
|
+
export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
126
|
+
export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
127
|
+
export const __wbg_conversation_free: (a: number, b: number) => void;
|
|
128
|
+
export const conversation_id: (a: number) => [number, number];
|
|
129
|
+
export const conversation_send: (a: number, b: number) => any;
|
|
130
|
+
export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
131
|
+
export const conversation_publishMessages: (a: number) => any;
|
|
132
|
+
export const conversation_sync: (a: number) => any;
|
|
133
|
+
export const conversation_findMessages: (a: number, b: number) => any;
|
|
134
|
+
export const conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
135
|
+
export const conversation_listMembers: (a: number) => any;
|
|
136
|
+
export const conversation_adminList: (a: number) => [number, number, number, number];
|
|
137
|
+
export const conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
138
|
+
export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
139
|
+
export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
140
|
+
export const conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
141
|
+
export const conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
142
|
+
export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
143
|
+
export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
144
|
+
export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
145
|
+
export const conversation_groupPermissions: (a: number) => [number, number, number];
|
|
146
|
+
export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
147
|
+
export const conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
148
|
+
export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
149
|
+
export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
150
|
+
export const conversation_groupName: (a: number) => [number, number, number, number];
|
|
151
|
+
export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
152
|
+
export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
153
|
+
export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
154
|
+
export const conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
155
|
+
export const conversation_stream: (a: number, b: any) => [number, number, number];
|
|
156
|
+
export const conversation_createdAtNs: (a: number) => bigint;
|
|
157
|
+
export const conversation_isActive: (a: number) => [number, number, number];
|
|
158
|
+
export const conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
159
|
+
export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
160
|
+
export const conversation_groupMetadata: (a: number) => any;
|
|
161
|
+
export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
162
|
+
export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
163
|
+
export const conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
164
|
+
export const conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
165
|
+
export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
166
|
+
export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
167
|
+
export const conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
168
|
+
export const conversation_getDebugInfo: (a: number) => any;
|
|
169
|
+
export const conversation_findDuplicateDms: (a: number) => any;
|
|
16
170
|
export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
17
171
|
export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
18
172
|
export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
19
173
|
export const __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
20
174
|
export const __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
21
|
-
export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
22
|
-
export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
23
175
|
export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
24
176
|
export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
25
177
|
export const __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
@@ -28,8 +180,6 @@ export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, b
|
|
|
28
180
|
export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
29
181
|
export const listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
30
182
|
export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
31
|
-
export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
32
|
-
export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
33
183
|
export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
34
184
|
export const __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
35
185
|
export const __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
@@ -74,6 +224,7 @@ export const conversations_sync: (a: number) => any;
|
|
|
74
224
|
export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
75
225
|
export const conversations_list: (a: number, b: number) => [number, number, number];
|
|
76
226
|
export const conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
227
|
+
export const conversations_streamLocal: (a: number, b: number) => any;
|
|
77
228
|
export const conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
78
229
|
export const conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
79
230
|
export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
@@ -98,6 +249,34 @@ export const __wbg_set_encodedcontent_compression: (a: number, b: number) => voi
|
|
|
98
249
|
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
99
250
|
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
100
251
|
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
252
|
+
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
253
|
+
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
254
|
+
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
255
|
+
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
256
|
+
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
257
|
+
export const __wbg_get_installation_id: (a: number) => [number, number];
|
|
258
|
+
export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
259
|
+
export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
260
|
+
export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
261
|
+
export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
262
|
+
export const __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
263
|
+
export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
264
|
+
export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
265
|
+
export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
266
|
+
export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
267
|
+
export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
268
|
+
export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
269
|
+
export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
270
|
+
export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
271
|
+
export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
272
|
+
export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
273
|
+
export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
274
|
+
export const __wbg_lifetime_free: (a: number, b: number) => void;
|
|
275
|
+
export const __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
276
|
+
export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
277
|
+
export const client_inboxState: (a: number, b: number) => any;
|
|
278
|
+
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
279
|
+
export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
101
280
|
export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
102
281
|
export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
103
282
|
export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -140,224 +319,47 @@ export const opfs_getFileCount: () => number;
|
|
|
140
319
|
export const opfs_getCapacity: () => number;
|
|
141
320
|
export const opfs_addCapacity: (a: number) => any;
|
|
142
321
|
export const opfs_reduceCapacity: (a: number) => any;
|
|
322
|
+
export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
323
|
+
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
324
|
+
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
325
|
+
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
326
|
+
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
327
|
+
export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
328
|
+
export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
329
|
+
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
330
|
+
export const __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
331
|
+
export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
332
|
+
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
333
|
+
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
334
|
+
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
143
335
|
export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
144
336
|
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
337
|
+
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
338
|
+
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
145
339
|
export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
146
340
|
export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
341
|
+
export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
342
|
+
export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
147
343
|
export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
148
|
-
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
149
|
-
export const __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
|
|
150
|
-
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
151
|
-
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
152
|
-
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
153
344
|
export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
154
345
|
export const __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
346
|
+
export const __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
347
|
+
export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
155
348
|
export const __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
349
|
+
export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
350
|
+
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
351
|
+
export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
352
|
+
export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
156
353
|
export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
157
354
|
export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
158
355
|
export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
159
356
|
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
160
|
-
export const
|
|
357
|
+
export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
161
358
|
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
162
359
|
export const streamcloser_end: (a: number) => void;
|
|
163
360
|
export const streamcloser_endAndWait: (a: number) => any;
|
|
164
361
|
export const streamcloser_waitForReady: (a: number) => any;
|
|
165
362
|
export const streamcloser_isClosed: (a: number) => number;
|
|
166
|
-
export const __wbg_apistats_free: (a: number, b: number) => void;
|
|
167
|
-
export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
168
|
-
export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
169
|
-
export const __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
170
|
-
export const __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
171
|
-
export const __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
172
|
-
export const __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
173
|
-
export const __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
174
|
-
export const __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
175
|
-
export const __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
176
|
-
export const __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
177
|
-
export const __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
178
|
-
export const __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
179
|
-
export const __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
180
|
-
export const __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
181
|
-
export const __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
182
|
-
export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
183
|
-
export const __wbg_identitystats_free: (a: number, b: number) => void;
|
|
184
|
-
export const __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
185
|
-
export const __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
186
|
-
export const __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
187
|
-
export const __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
188
|
-
export const __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
189
|
-
export const __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
190
|
-
export const __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
191
|
-
export const __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
192
|
-
export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
193
|
-
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
194
|
-
export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
195
|
-
export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
196
|
-
export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
197
|
-
export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
198
|
-
export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
199
|
-
export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
200
|
-
export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
201
|
-
export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
202
|
-
export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
203
|
-
export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
204
|
-
export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
205
|
-
export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
206
|
-
export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
207
|
-
export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
208
|
-
export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
209
|
-
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;
|
|
210
|
-
export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
211
|
-
export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
212
|
-
export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
213
|
-
export const multiremoteattachment_new: (a: number, b: number) => number;
|
|
214
|
-
export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
215
|
-
export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
216
|
-
export const __wbg_reaction_free: (a: number, b: number) => void;
|
|
217
|
-
export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
218
|
-
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
219
|
-
export const __wbg_get_reaction_action: (a: number) => number;
|
|
220
|
-
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
221
|
-
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
222
|
-
export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
223
|
-
export const __wbg_get_reaction_schema: (a: number) => number;
|
|
224
|
-
export const __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
225
|
-
export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
226
|
-
export const encodeReaction: (a: number) => [number, number, number];
|
|
227
|
-
export const decodeReaction: (a: any) => [number, number, number];
|
|
228
|
-
export const __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
229
|
-
export const groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
230
|
-
export const groupmetadata_conversationType: (a: number) => [number, number];
|
|
231
|
-
export const __wbg_groupmember_free: (a: number, b: number) => void;
|
|
232
|
-
export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
233
|
-
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
234
|
-
export const __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
235
|
-
export const __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
236
|
-
export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
237
|
-
export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
238
|
-
export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
239
|
-
export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
240
|
-
export const __wbg_get_groupmember_consentState: (a: number) => number;
|
|
241
|
-
export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
242
|
-
export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
243
|
-
export const __wbg_conversation_free: (a: number, b: number) => void;
|
|
244
|
-
export const conversation_id: (a: number) => [number, number];
|
|
245
|
-
export const conversation_send: (a: number, b: number) => any;
|
|
246
|
-
export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
247
|
-
export const conversation_publishMessages: (a: number) => any;
|
|
248
|
-
export const conversation_sync: (a: number) => any;
|
|
249
|
-
export const conversation_findMessages: (a: number, b: number) => any;
|
|
250
|
-
export const conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
251
|
-
export const conversation_listMembers: (a: number) => any;
|
|
252
|
-
export const conversation_adminList: (a: number) => [number, number, number, number];
|
|
253
|
-
export const conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
254
|
-
export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
255
|
-
export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
256
|
-
export const conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
257
|
-
export const conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
258
|
-
export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
259
|
-
export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
260
|
-
export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
261
|
-
export const conversation_groupPermissions: (a: number) => [number, number, number];
|
|
262
|
-
export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
263
|
-
export const conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
264
|
-
export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
265
|
-
export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
266
|
-
export const conversation_groupName: (a: number) => [number, number, number, number];
|
|
267
|
-
export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
268
|
-
export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
269
|
-
export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
270
|
-
export const conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
271
|
-
export const conversation_stream: (a: number, b: any) => [number, number, number];
|
|
272
|
-
export const conversation_createdAtNs: (a: number) => bigint;
|
|
273
|
-
export const conversation_isActive: (a: number) => [number, number, number];
|
|
274
|
-
export const conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
275
|
-
export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
276
|
-
export const conversation_groupMetadata: (a: number) => any;
|
|
277
|
-
export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
278
|
-
export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
279
|
-
export const conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
280
|
-
export const conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
281
|
-
export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
282
|
-
export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
283
|
-
export const conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
284
|
-
export const conversation_getDebugInfo: (a: number) => any;
|
|
285
|
-
export const conversation_findDuplicateDms: (a: number) => any;
|
|
286
|
-
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
287
|
-
export const __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
288
|
-
export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
289
|
-
export const client_addWalletSignatureText: (a: number, b: any) => any;
|
|
290
|
-
export const client_revokeWalletSignatureText: (a: number, b: any) => any;
|
|
291
|
-
export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
292
|
-
export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
293
|
-
export const client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
|
|
294
|
-
export const client_addEcdsaSignature: (a: number, b: number, c: any) => any;
|
|
295
|
-
export const client_addPasskeySignature: (a: number, b: number, c: number) => any;
|
|
296
|
-
export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
297
|
-
export const client_applySignatureRequests: (a: number) => any;
|
|
298
|
-
export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
299
|
-
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
300
|
-
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
301
|
-
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
302
|
-
export const __wbg_client_free: (a: number, b: number) => void;
|
|
303
|
-
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
304
|
-
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
305
|
-
export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
306
|
-
export const __wbg_get_logoptions_performance: (a: number) => number;
|
|
307
|
-
export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
308
|
-
export const __wbg_get_logoptions_level: (a: number) => number;
|
|
309
|
-
export const __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
310
|
-
export const logoptions_new: (a: number, b: number, c: number) => number;
|
|
311
|
-
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;
|
|
312
|
-
export const client_accountIdentifier: (a: number) => any;
|
|
313
|
-
export const client_inboxId: (a: number) => [number, number];
|
|
314
|
-
export const client_isRegistered: (a: number) => number;
|
|
315
|
-
export const client_installationId: (a: number) => [number, number];
|
|
316
|
-
export const client_installationIdBytes: (a: number) => any;
|
|
317
|
-
export const client_canMessage: (a: number, b: number, c: number) => any;
|
|
318
|
-
export const client_registerIdentity: (a: number) => any;
|
|
319
|
-
export const client_sendSyncRequest: (a: number) => any;
|
|
320
|
-
export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
321
|
-
export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
322
|
-
export const client_conversations: (a: number) => number;
|
|
323
|
-
export const client_syncPreferences: (a: number) => any;
|
|
324
|
-
export const client_apiStatistics: (a: number) => number;
|
|
325
|
-
export const client_apiIdentityStatistics: (a: number) => number;
|
|
326
|
-
export const client_apiAggregateStatistics: (a: number) => [number, number];
|
|
327
|
-
export const client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
328
|
-
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
329
|
-
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
330
|
-
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
331
|
-
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
332
|
-
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
333
|
-
export const __wbg_get_installation_id: (a: number) => [number, number];
|
|
334
|
-
export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
335
|
-
export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
336
|
-
export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
337
|
-
export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
338
|
-
export const __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
339
|
-
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
340
|
-
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
341
|
-
export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
342
|
-
export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
343
|
-
export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
344
|
-
export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
345
|
-
export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
346
|
-
export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
347
|
-
export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
348
|
-
export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
349
|
-
export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
350
|
-
export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
351
|
-
export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
352
|
-
export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
353
|
-
export const __wbg_lifetime_free: (a: number, b: number) => void;
|
|
354
|
-
export const __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
355
|
-
export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
356
|
-
export const __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
357
|
-
export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
358
|
-
export const client_inboxState: (a: number, b: number) => any;
|
|
359
|
-
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
360
|
-
export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
361
363
|
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
362
364
|
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
363
365
|
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -420,9 +422,9 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
|
420
422
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
421
423
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
422
424
|
export const __externref_table_dealloc: (a: number) => void;
|
|
423
|
-
export const
|
|
424
|
-
export const
|
|
425
|
-
export const
|
|
426
|
-
export const
|
|
427
|
-
export const
|
|
425
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc094ec3bdf8c16b7: (a: number, b: number) => void;
|
|
426
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0eb99f8c2f057fcc: (a: number, b: number) => void;
|
|
427
|
+
export const closure4569_externref_shim: (a: number, b: number, c: any) => void;
|
|
428
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h232599d7dcf89d52: (a: number, b: number) => void;
|
|
429
|
+
export const closure5545_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
428
430
|
export const __wbindgen_start: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
class t{static toI8Slice(t,r,e,a){new Int8Array(t.buffer,e,a).set(r,0)}static toI8Array(t,r,e,a){const s=new Int8Array(t.buffer,r,e);a.set(s,0)}static toI16Slice(t,r,e,a){new Int16Array(t.buffer,e,a).set(r,0)}static toI16Array(t,r,e,a){const s=new Int16Array(t.buffer,r,e);a.set(s,0)}static toI32Slice(t,r,e,a){new Int32Array(t.buffer,e,a).set(r,0)}static toI32Array(t,r,e,a){const s=new Int32Array(t.buffer,r,e);a.set(s,0)}static toU8Slice(t,r,e,a){new Uint8Array(t.buffer,e,a).set(r,0)}static toU8Array(t,r,e,a){const s=new Uint8Array(t.buffer,r,e);a.set(s,0)}static toU8CSlice(t,r,e,a){new Uint8ClampedArray(t.buffer,e,a).set(r,0)}static toU8CArray(t,r,e,a){const s=new Uint8ClampedArray(t.buffer,r,e);a.set(s,0)}static toU16Slice(t,r,e,a){new Uint16Array(t.buffer,e,a).set(r,0)}static toU16Array(t,r,e,a){const s=new Uint16Array(t.buffer,r,e);a.set(s,0)}static toU32Slice(t,r,e,a){new Uint32Array(t.buffer,e,a).set(r,0)}static toU32Array(t,r,e,a){const s=new Uint32Array(t.buffer,r,e);a.set(s,0)}static toF32Slice(t,r,e,a){new Float32Array(t.buffer,e,a).set(r,0)}static toF32Array(t,r,e,a){const s=new Float32Array(t.buffer,r,e);a.set(s,0)}static toF64Slice(t,r,e,a){new Float64Array(t.buffer,e,a).set(r,0)}static toF64Array(t,r,e,a){const s=new Float64Array(t.buffer,r,e);a.set(s,0)}static toBigInt64Slice(t,r,e,a){new BigInt64Array(t.buffer,e,a).set(r,0)}static toBigInt64Array(t,r,e,a){const s=new BigInt64Array(t.buffer,r,e);a.set(s,0)}static toBigUint64Slice(t,r,e,a){new BigUint64Array(t.buffer,e,a).set(r,0)}static toBigUint64Array(t,r,e,a){const s=new BigUint64Array(t.buffer,r,e);a.set(s,0)}}export{t as JSArrayBufferCopy};
|
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.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "WASM bindings for the libXMTP rust library",
|
|
@@ -27,6 +27,7 @@
|
|
|
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
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:test": "RUSTFLAGS=\"-Ctarget-feature=+bulk-memory,+mutable-globals --cfg getrandom_backend=\\\"wasm_js\\\"\" wasm-pack build --no-opt --target web --out-dir ./dist --no-pack --release -- --features test-utils",
|
|
30
31
|
"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
32
|
"check": "cargo check --target wasm32-unknown-unknown",
|
|
32
33
|
"check:macos": "CC_wasm32_unknown_unknown=/opt/homebrew/opt/llvm/bin/clang cargo check --target wasm32-unknown-unknown",
|
|
@@ -67,5 +68,8 @@
|
|
|
67
68
|
"wasm-pack": "^0.13.1",
|
|
68
69
|
"zx": "^8.4.0"
|
|
69
70
|
},
|
|
70
|
-
"packageManager": "yarn@4.5.1"
|
|
71
|
+
"packageManager": "yarn@4.5.1",
|
|
72
|
+
"workspaces": [
|
|
73
|
+
"tests/integration/**"
|
|
74
|
+
]
|
|
71
75
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export class JSUtils {
|
|
2
|
-
static toSlice(mem, src, dst, len) {
|
|
3
|
-
const slice = new Uint8Array(mem.buffer, dst, len);
|
|
4
|
-
slice.set(src, 0);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
static toUint8Array(mem, src, len, dst) {
|
|
8
|
-
const slice = new Uint8Array(mem.buffer, src, len);
|
|
9
|
-
dst.set(slice, 0);
|
|
10
|
-
}
|
|
11
|
-
}
|