@xmtp/wasm-bindings 0.0.14 → 0.0.16
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 +5 -0
- package/dist/bindings_wasm.d.ts +197 -144
- package/dist/bindings_wasm.js +865 -383
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +146 -118
- package/package.json +3 -2
|
Binary file
|
|
@@ -1,55 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
5
|
-
export const __wbg_get_listconversationsoptions_allowedStates: (a: number) => [number, number];
|
|
6
|
-
export const __wbg_set_listconversationsoptions_allowedStates: (a: number, b: number, c: number) => void;
|
|
7
|
-
export const __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
8
|
-
export const __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
9
|
-
export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
10
|
-
export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
11
|
-
export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
12
|
-
export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
13
|
-
export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
14
|
-
export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
15
|
-
export const listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: bigint) => number;
|
|
16
|
-
export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
17
|
-
export const __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
18
|
-
export const __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
19
|
-
export const __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
20
|
-
export const __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
21
|
-
export const __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
22
|
-
export const __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
23
|
-
export const __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
24
|
-
export const __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
25
|
-
export const __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
26
|
-
export const __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
27
|
-
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
28
|
-
export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
29
|
-
export const creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
30
|
-
export const __wbg_hmackey_free: (a: number, b: number) => void;
|
|
31
|
-
export const __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
32
|
-
export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
33
|
-
export const __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
34
|
-
export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
35
|
-
export const __wbg_conversations_free: (a: number, b: number) => void;
|
|
36
|
-
export const conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
37
|
-
export const conversations_createDm: (a: number, b: number, c: number) => any;
|
|
38
|
-
export const conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
39
|
-
export const conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
40
|
-
export const conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
41
|
-
export const conversations_sync: (a: number) => any;
|
|
42
|
-
export const conversations_syncAllConversations: (a: number) => any;
|
|
43
|
-
export const conversations_list: (a: number, b: number) => [number, number, number];
|
|
44
|
-
export const conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
45
|
-
export const conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
46
|
-
export const conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
47
|
-
export const conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
48
|
-
export const conversations_streamGroups: (a: number, b: any) => [number, number, number];
|
|
49
|
-
export const conversations_streamDms: (a: number, b: any) => [number, number, number];
|
|
50
|
-
export const conversations_streamAllMessages: (a: number, b: any, c: number) => [number, number, number];
|
|
51
|
-
export const getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
|
|
52
|
-
export const generateInboxId: (a: number, b: number) => [number, number, number, number];
|
|
53
4
|
export const __wbg_consent_free: (a: number, b: number) => void;
|
|
54
5
|
export const __wbg_get_consent_entityType: (a: number) => number;
|
|
55
6
|
export const __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
@@ -63,7 +14,6 @@ export const client_getConsentState: (a: number, b: number, c: number, d: number
|
|
|
63
14
|
export const conversation_consentState: (a: number) => [number, number, number];
|
|
64
15
|
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
65
16
|
export const __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
66
|
-
export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
67
17
|
export const groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
68
18
|
export const groupmetadata_conversationType: (a: number) => [number, number];
|
|
69
19
|
export const __wbg_groupmember_free: (a: number, b: number) => void;
|
|
@@ -110,45 +60,32 @@ export const conversation_addedByInboxId: (a: number) => [number, number, number
|
|
|
110
60
|
export const conversation_groupMetadata: (a: number) => any;
|
|
111
61
|
export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
112
62
|
export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
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
|
|
124
|
-
export const
|
|
63
|
+
export const conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
64
|
+
export const conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
65
|
+
export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
66
|
+
export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
67
|
+
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
68
|
+
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
69
|
+
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
70
|
+
export const __wbg_get_installation_id: (a: number) => [number, number];
|
|
71
|
+
export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
72
|
+
export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
73
|
+
export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
74
|
+
export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
75
|
+
export const __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
76
|
+
export const __wbg_get_inboxstate_recoveryAddress: (a: number) => [number, number];
|
|
77
|
+
export const __wbg_set_inboxstate_recoveryAddress: (a: number, b: number, c: number) => void;
|
|
78
|
+
export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
79
|
+
export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
80
|
+
export const __wbg_get_inboxstate_accountAddresses: (a: number) => [number, number];
|
|
81
|
+
export const __wbg_set_inboxstate_accountAddresses: (a: number, b: number, c: number) => void;
|
|
82
|
+
export const inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
83
|
+
export const client_inboxState: (a: number, b: number) => any;
|
|
84
|
+
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
125
85
|
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
126
|
-
export const
|
|
127
|
-
export const
|
|
128
|
-
export const
|
|
129
|
-
export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
130
|
-
export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
131
|
-
export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
132
|
-
export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
133
|
-
export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
134
|
-
export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
135
|
-
export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
136
|
-
export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
137
|
-
export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
138
|
-
export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
139
|
-
export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
140
|
-
export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
141
|
-
export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
142
|
-
export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
143
|
-
export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
144
|
-
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
145
|
-
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
146
|
-
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
147
|
-
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
148
|
-
export const streamcloser_end: (a: number) => void;
|
|
149
|
-
export const streamcloser_endAndWait: (a: number) => any;
|
|
150
|
-
export const streamcloser_waitForReady: (a: number) => any;
|
|
151
|
-
export const streamcloser_isClosed: (a: number) => number;
|
|
86
|
+
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
87
|
+
export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
88
|
+
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
152
89
|
export const __wbg_client_free: (a: number, b: number) => void;
|
|
153
90
|
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
154
91
|
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -170,6 +107,19 @@ export const client_sendHistorySyncRequest: (a: number) => any;
|
|
|
170
107
|
export const client_sendConsentSyncRequest: (a: number) => any;
|
|
171
108
|
export const client_findInboxIdByAddress: (a: number, b: number, c: number) => any;
|
|
172
109
|
export const client_conversations: (a: number) => number;
|
|
110
|
+
export const getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
|
|
111
|
+
export const generateInboxId: (a: number, b: number) => [number, number, number, number];
|
|
112
|
+
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
113
|
+
export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
114
|
+
export const client_addWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
115
|
+
export const client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
116
|
+
export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
117
|
+
export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
118
|
+
export const client_addSignature: (a: number, b: number, c: any) => any;
|
|
119
|
+
export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
120
|
+
export const client_applySignatureRequests: (a: number) => any;
|
|
121
|
+
export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
122
|
+
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
173
123
|
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
174
124
|
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
175
125
|
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
@@ -192,27 +142,79 @@ export const __wbg_set_encodedcontent_compression: (a: number, b: number) => voi
|
|
|
192
142
|
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
193
143
|
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
194
144
|
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
195
|
-
export const
|
|
196
|
-
export const
|
|
197
|
-
export const
|
|
198
|
-
export const
|
|
199
|
-
export const
|
|
200
|
-
export const
|
|
201
|
-
export const
|
|
202
|
-
export const
|
|
203
|
-
export const
|
|
204
|
-
export const
|
|
205
|
-
export const
|
|
206
|
-
export const
|
|
207
|
-
export const
|
|
208
|
-
export const
|
|
209
|
-
export const
|
|
210
|
-
export const
|
|
145
|
+
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
146
|
+
export const streamcloser_end: (a: number) => void;
|
|
147
|
+
export const streamcloser_endAndWait: (a: number) => any;
|
|
148
|
+
export const streamcloser_waitForReady: (a: number) => any;
|
|
149
|
+
export const streamcloser_isClosed: (a: number) => number;
|
|
150
|
+
export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
151
|
+
export const __wbg_get_listconversationsoptions_allowedStates: (a: number) => [number, number];
|
|
152
|
+
export const __wbg_set_listconversationsoptions_allowedStates: (a: number, b: number, c: number) => void;
|
|
153
|
+
export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
154
|
+
export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
155
|
+
export const __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
156
|
+
export const __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
157
|
+
export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
158
|
+
export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
159
|
+
export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
160
|
+
export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
161
|
+
export const __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
162
|
+
export const __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
163
|
+
export const __wbg_get_listconversationsoptions_includeSyncGroups: (a: number) => number;
|
|
164
|
+
export const __wbg_set_listconversationsoptions_includeSyncGroups: (a: number, b: number) => void;
|
|
165
|
+
export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
166
|
+
export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
167
|
+
export const listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint, h: number, i: bigint, j: number, k: number, l: number, m: bigint) => number;
|
|
168
|
+
export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
169
|
+
export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
170
|
+
export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
171
|
+
export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
172
|
+
export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
173
|
+
export const __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
174
|
+
export const __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
175
|
+
export const __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
176
|
+
export const __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
177
|
+
export const __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
178
|
+
export const __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
179
|
+
export const __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
180
|
+
export const __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
181
|
+
export const __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
182
|
+
export const __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
183
|
+
export const creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
184
|
+
export const __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
185
|
+
export const __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
186
|
+
export const __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
187
|
+
export const createdmoptions_new: (a: number) => number;
|
|
188
|
+
export const __wbg_hmackey_free: (a: number, b: number) => void;
|
|
189
|
+
export const __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
190
|
+
export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
191
|
+
export const __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
192
|
+
export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
193
|
+
export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
194
|
+
export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
195
|
+
export const __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
196
|
+
export const __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
197
|
+
export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
198
|
+
export const conversationlistitem_new: (a: number, b: number) => number;
|
|
199
|
+
export const __wbg_conversations_free: (a: number, b: number) => void;
|
|
200
|
+
export const conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
201
|
+
export const conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
202
|
+
export const conversations_createDm: (a: number, b: number, c: number, d: number) => any;
|
|
203
|
+
export const conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
204
|
+
export const conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
205
|
+
export const conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
206
|
+
export const conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
207
|
+
export const conversations_sync: (a: number) => any;
|
|
208
|
+
export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
209
|
+
export const conversations_list: (a: number, b: number) => [number, number, number];
|
|
210
|
+
export const conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
211
|
+
export const conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
212
|
+
export const conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
213
|
+
export const conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
214
|
+
export const conversations_streamGroups: (a: number, b: any) => [number, number, number];
|
|
215
|
+
export const conversations_streamDms: (a: number, b: any) => [number, number, number];
|
|
216
|
+
export const conversations_streamAllMessages: (a: number, b: any, c: number) => [number, number, number];
|
|
211
217
|
export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
212
|
-
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
213
|
-
export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
214
|
-
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
215
|
-
export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
216
218
|
export const __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
217
219
|
export const __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
218
220
|
export const __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
@@ -221,8 +223,6 @@ export const listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigin
|
|
|
221
223
|
export const __wbg_message_free: (a: number, b: number) => void;
|
|
222
224
|
export const __wbg_get_message_id: (a: number) => [number, number];
|
|
223
225
|
export const __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
224
|
-
export const __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
225
|
-
export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
226
226
|
export const __wbg_get_message_convoId: (a: number) => [number, number];
|
|
227
227
|
export const __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
228
228
|
export const __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
@@ -234,12 +234,39 @@ export const __wbg_set_message_kind: (a: number, b: number) => void;
|
|
|
234
234
|
export const __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
235
235
|
export const __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
236
236
|
export const message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
237
|
+
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
238
|
+
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
239
|
+
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
240
|
+
export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
241
|
+
export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
242
|
+
export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
243
|
+
export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
244
|
+
export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
245
|
+
export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
246
|
+
export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
247
|
+
export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
248
|
+
export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
249
|
+
export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
250
|
+
export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
251
|
+
export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
252
|
+
export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
253
|
+
export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
254
|
+
export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
255
|
+
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
256
|
+
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
257
|
+
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
258
|
+
export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
259
|
+
export const __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
237
260
|
export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
238
|
-
export const
|
|
239
|
-
export const
|
|
261
|
+
export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
262
|
+
export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
263
|
+
export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
264
|
+
export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
265
|
+
export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
266
|
+
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
240
267
|
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
241
|
-
export const
|
|
242
|
-
export const
|
|
268
|
+
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
269
|
+
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
243
270
|
export const __wbg_version_free: (a: number, b: number) => void;
|
|
244
271
|
export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
245
272
|
export const intounderlyingsource_pull: (a: number, b: any) => any;
|
|
@@ -256,13 +283,14 @@ export const intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
|
256
283
|
export const intounderlyingbytesource_cancel: (a: number) => void;
|
|
257
284
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
258
285
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
259
|
-
export const __wbindgen_export_2: WebAssembly.Table;
|
|
260
286
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
261
287
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
262
288
|
export const __externref_table_alloc: () => number;
|
|
289
|
+
export const __wbindgen_export_5: WebAssembly.Table;
|
|
263
290
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
264
|
-
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
265
291
|
export const __externref_table_dealloc: (a: number) => void;
|
|
266
|
-
export const
|
|
267
|
-
export const
|
|
292
|
+
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
293
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb21f8cddfb9e179d: (a: number, b: number) => void;
|
|
294
|
+
export const closure2991_externref_shim: (a: number, b: number, c: any) => void;
|
|
295
|
+
export const closure4013_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
268
296
|
export const __wbindgen_start: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmtp/wasm-bindings",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "WASM bindings for the libXMTP rust library",
|
|
@@ -27,10 +27,11 @@
|
|
|
27
27
|
"build": "yarn clean && yarn build:web && yarn build:copy && yarn clean:release",
|
|
28
28
|
"build:web": "cargo xtask build BindingsWasm --out-dir ./dist --plain -- --release",
|
|
29
29
|
"build:copy": "node scripts/copyFiles.js",
|
|
30
|
+
"check:macos": "CC_wasm32_unknown_unknown=/opt/homebrew/opt/llvm/bin/clang cargo check --target wasm32-unknown-unknown",
|
|
30
31
|
"clean:release": "rm -f ./dist/package.json",
|
|
31
32
|
"clean": "rm -rf ./dist",
|
|
32
33
|
"lint": "yarn lint:clippy && yarn lint:fmt",
|
|
33
|
-
"lint:clippy": "cargo clippy --all-features --target wasm32-unknown-unknown --no-deps -- -
|
|
34
|
+
"lint:clippy": "cargo clippy --locked --all-features --target wasm32-unknown-unknown --no-deps -- -D warnings",
|
|
34
35
|
"lint:fmt": "cargo fmt --check",
|
|
35
36
|
"prepublishOnly": "yarn build",
|
|
36
37
|
"test": "wasm-pack test --chrome --headless"
|