@xmtp/wasm-bindings 0.0.15 → 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 +171 -163
- package/dist/bindings_wasm.js +217 -181
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +148 -144
- package/package.json +2 -1
|
@@ -1,6 +1,147 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_consent_free: (a: number, b: number) => void;
|
|
5
|
+
export const __wbg_get_consent_entityType: (a: number) => number;
|
|
6
|
+
export const __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
7
|
+
export const __wbg_get_consent_state: (a: number) => number;
|
|
8
|
+
export const __wbg_set_consent_state: (a: number, b: number) => void;
|
|
9
|
+
export const __wbg_get_consent_entity: (a: number) => [number, number];
|
|
10
|
+
export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
11
|
+
export const consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
12
|
+
export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
13
|
+
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
14
|
+
export const conversation_consentState: (a: number) => [number, number, number];
|
|
15
|
+
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
16
|
+
export const __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
17
|
+
export const groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
18
|
+
export const groupmetadata_conversationType: (a: number) => [number, number];
|
|
19
|
+
export const __wbg_groupmember_free: (a: number, b: number) => void;
|
|
20
|
+
export const __wbg_get_groupmember_accountAddresses: (a: number) => [number, number];
|
|
21
|
+
export const __wbg_set_groupmember_accountAddresses: (a: number, b: number, c: number) => void;
|
|
22
|
+
export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
23
|
+
export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
24
|
+
export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
25
|
+
export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
26
|
+
export const __wbg_get_groupmember_consentState: (a: number) => number;
|
|
27
|
+
export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
28
|
+
export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
29
|
+
export const __wbg_conversation_free: (a: number, b: number) => void;
|
|
30
|
+
export const conversation_id: (a: number) => [number, number];
|
|
31
|
+
export const conversation_send: (a: number, b: number) => any;
|
|
32
|
+
export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
33
|
+
export const conversation_publishMessages: (a: number) => any;
|
|
34
|
+
export const conversation_sync: (a: number) => any;
|
|
35
|
+
export const conversation_findMessages: (a: number, b: number) => any;
|
|
36
|
+
export const conversation_listMembers: (a: number) => any;
|
|
37
|
+
export const conversation_adminList: (a: number) => [number, number, number, number];
|
|
38
|
+
export const conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
39
|
+
export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
40
|
+
export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
41
|
+
export const conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
42
|
+
export const conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
43
|
+
export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
44
|
+
export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
45
|
+
export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
46
|
+
export const conversation_groupPermissions: (a: number) => [number, number, number];
|
|
47
|
+
export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
48
|
+
export const conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
49
|
+
export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
50
|
+
export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
51
|
+
export const conversation_groupName: (a: number) => [number, number, number, number];
|
|
52
|
+
export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
53
|
+
export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
54
|
+
export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
55
|
+
export const conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
56
|
+
export const conversation_stream: (a: number, b: any) => [number, number, number];
|
|
57
|
+
export const conversation_createdAtNs: (a: number) => bigint;
|
|
58
|
+
export const conversation_isActive: (a: number) => [number, number, number];
|
|
59
|
+
export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
60
|
+
export const conversation_groupMetadata: (a: number) => any;
|
|
61
|
+
export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
62
|
+
export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
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;
|
|
85
|
+
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
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];
|
|
89
|
+
export const __wbg_client_free: (a: number, b: number) => void;
|
|
90
|
+
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
91
|
+
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
92
|
+
export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
93
|
+
export const __wbg_get_logoptions_performance: (a: number) => number;
|
|
94
|
+
export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
95
|
+
export const __wbg_get_logoptions_level: (a: number) => number;
|
|
96
|
+
export const __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
97
|
+
export const logoptions_new: (a: number, b: number, c: number) => number;
|
|
98
|
+
export const createClient: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => any;
|
|
99
|
+
export const client_accountAddress: (a: number) => [number, number];
|
|
100
|
+
export const client_inboxId: (a: number) => [number, number];
|
|
101
|
+
export const client_isRegistered: (a: number) => number;
|
|
102
|
+
export const client_installationId: (a: number) => [number, number];
|
|
103
|
+
export const client_installationIdBytes: (a: number) => any;
|
|
104
|
+
export const client_canMessage: (a: number, b: number, c: number) => any;
|
|
105
|
+
export const client_registerIdentity: (a: number) => any;
|
|
106
|
+
export const client_sendHistorySyncRequest: (a: number) => any;
|
|
107
|
+
export const client_sendConsentSyncRequest: (a: number) => any;
|
|
108
|
+
export const client_findInboxIdByAddress: (a: number, b: number, c: number) => any;
|
|
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];
|
|
123
|
+
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
124
|
+
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
125
|
+
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
126
|
+
export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
127
|
+
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
128
|
+
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
129
|
+
export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
130
|
+
export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
131
|
+
export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
132
|
+
export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
133
|
+
export const __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
134
|
+
export const __wbg_get_encodedcontent_type: (a: number) => number;
|
|
135
|
+
export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
136
|
+
export const __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
137
|
+
export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
138
|
+
export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
139
|
+
export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
140
|
+
export const __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
141
|
+
export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
142
|
+
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
143
|
+
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
144
|
+
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
4
145
|
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
5
146
|
export const streamcloser_end: (a: number) => void;
|
|
6
147
|
export const streamcloser_endAndWait: (a: number) => any;
|
|
@@ -25,8 +166,8 @@ export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, b
|
|
|
25
166
|
export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
26
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;
|
|
27
168
|
export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
28
|
-
export const
|
|
29
|
-
export const
|
|
169
|
+
export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
170
|
+
export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
30
171
|
export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
31
172
|
export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
32
173
|
export const __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
@@ -114,155 +255,18 @@ export const permissionpolicyset_new: (a: number, b: number, c: number, d: numbe
|
|
|
114
255
|
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
115
256
|
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
116
257
|
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
117
|
-
export const
|
|
258
|
+
export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
118
259
|
export const __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
119
260
|
export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
120
261
|
export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
121
262
|
export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
122
|
-
export const
|
|
263
|
+
export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
123
264
|
export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
124
265
|
export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
125
266
|
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
126
267
|
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
127
268
|
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
128
269
|
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
129
|
-
export const getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
|
|
130
|
-
export const generateInboxId: (a: number, b: number) => [number, number, number, number];
|
|
131
|
-
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
132
|
-
export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
133
|
-
export const client_addWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
134
|
-
export const client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
135
|
-
export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
136
|
-
export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
137
|
-
export const client_addSignature: (a: number, b: number, c: any) => any;
|
|
138
|
-
export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
139
|
-
export const client_applySignatureRequests: (a: number) => any;
|
|
140
|
-
export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
141
|
-
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
142
|
-
export const __wbg_client_free: (a: number, b: number) => void;
|
|
143
|
-
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
144
|
-
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
145
|
-
export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
146
|
-
export const __wbg_get_logoptions_performance: (a: number) => number;
|
|
147
|
-
export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
148
|
-
export const __wbg_get_logoptions_level: (a: number) => number;
|
|
149
|
-
export const __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
150
|
-
export const logoptions_new: (a: number, b: number, c: number) => number;
|
|
151
|
-
export const createClient: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => any;
|
|
152
|
-
export const client_accountAddress: (a: number) => [number, number];
|
|
153
|
-
export const client_inboxId: (a: number) => [number, number];
|
|
154
|
-
export const client_isRegistered: (a: number) => number;
|
|
155
|
-
export const client_installationId: (a: number) => [number, number];
|
|
156
|
-
export const client_installationIdBytes: (a: number) => any;
|
|
157
|
-
export const client_canMessage: (a: number, b: number, c: number) => any;
|
|
158
|
-
export const client_registerIdentity: (a: number) => any;
|
|
159
|
-
export const client_sendHistorySyncRequest: (a: number) => any;
|
|
160
|
-
export const client_sendConsentSyncRequest: (a: number) => any;
|
|
161
|
-
export const client_findInboxIdByAddress: (a: number, b: number, c: number) => any;
|
|
162
|
-
export const client_conversations: (a: number) => number;
|
|
163
|
-
export const __wbg_consent_free: (a: number, b: number) => void;
|
|
164
|
-
export const __wbg_get_consent_entityType: (a: number) => number;
|
|
165
|
-
export const __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
166
|
-
export const __wbg_get_consent_state: (a: number) => number;
|
|
167
|
-
export const __wbg_set_consent_state: (a: number, b: number) => void;
|
|
168
|
-
export const __wbg_get_consent_entity: (a: number) => [number, number];
|
|
169
|
-
export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
170
|
-
export const consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
171
|
-
export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
172
|
-
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
173
|
-
export const conversation_consentState: (a: number) => [number, number, number];
|
|
174
|
-
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
175
|
-
export const __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
176
|
-
export const groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
177
|
-
export const groupmetadata_conversationType: (a: number) => [number, number];
|
|
178
|
-
export const __wbg_groupmember_free: (a: number, b: number) => void;
|
|
179
|
-
export const __wbg_get_groupmember_accountAddresses: (a: number) => [number, number];
|
|
180
|
-
export const __wbg_set_groupmember_accountAddresses: (a: number, b: number, c: number) => void;
|
|
181
|
-
export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
182
|
-
export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
183
|
-
export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
184
|
-
export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
185
|
-
export const __wbg_get_groupmember_consentState: (a: number) => number;
|
|
186
|
-
export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
187
|
-
export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
188
|
-
export const __wbg_conversation_free: (a: number, b: number) => void;
|
|
189
|
-
export const conversation_id: (a: number) => [number, number];
|
|
190
|
-
export const conversation_send: (a: number, b: number) => any;
|
|
191
|
-
export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
192
|
-
export const conversation_publishMessages: (a: number) => any;
|
|
193
|
-
export const conversation_sync: (a: number) => any;
|
|
194
|
-
export const conversation_findMessages: (a: number, b: number) => any;
|
|
195
|
-
export const conversation_listMembers: (a: number) => any;
|
|
196
|
-
export const conversation_adminList: (a: number) => [number, number, number, number];
|
|
197
|
-
export const conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
198
|
-
export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
199
|
-
export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
200
|
-
export const conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
201
|
-
export const conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
202
|
-
export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
203
|
-
export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
204
|
-
export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
205
|
-
export const conversation_groupPermissions: (a: number) => [number, number, number];
|
|
206
|
-
export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
207
|
-
export const conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
208
|
-
export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
209
|
-
export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
210
|
-
export const conversation_groupName: (a: number) => [number, number, number, number];
|
|
211
|
-
export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
212
|
-
export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
213
|
-
export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
214
|
-
export const conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
215
|
-
export const conversation_stream: (a: number, b: any) => [number, number, number];
|
|
216
|
-
export const conversation_createdAtNs: (a: number) => bigint;
|
|
217
|
-
export const conversation_isActive: (a: number) => [number, number, number];
|
|
218
|
-
export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
219
|
-
export const conversation_groupMetadata: (a: number) => any;
|
|
220
|
-
export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
221
|
-
export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
222
|
-
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
223
|
-
export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
224
|
-
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
225
|
-
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
226
|
-
export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
227
|
-
export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
228
|
-
export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
229
|
-
export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
230
|
-
export const __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
231
|
-
export const __wbg_get_encodedcontent_type: (a: number) => number;
|
|
232
|
-
export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
233
|
-
export const __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
234
|
-
export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
235
|
-
export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
236
|
-
export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
237
|
-
export const __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
238
|
-
export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
239
|
-
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
240
|
-
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
241
|
-
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
242
|
-
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
243
|
-
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
244
|
-
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
245
|
-
export const __wbg_get_installation_id: (a: number) => [number, number];
|
|
246
|
-
export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
247
|
-
export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
248
|
-
export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
249
|
-
export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
250
|
-
export const __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
251
|
-
export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
252
|
-
export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
253
|
-
export const __wbg_get_inboxstate_accountAddresses: (a: number) => [number, number];
|
|
254
|
-
export const __wbg_set_inboxstate_accountAddresses: (a: number, b: number, c: number) => void;
|
|
255
|
-
export const inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
256
|
-
export const client_inboxState: (a: number, b: number) => any;
|
|
257
|
-
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
258
|
-
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
259
|
-
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
260
|
-
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
261
|
-
export const __wbg_set_inboxstate_recoveryAddress: (a: number, b: number, c: number) => void;
|
|
262
|
-
export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
263
|
-
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
264
|
-
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
265
|
-
export const __wbg_get_inboxstate_recoveryAddress: (a: number) => [number, number];
|
|
266
270
|
export const __wbg_version_free: (a: number, b: number) => void;
|
|
267
271
|
export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
268
272
|
export const intounderlyingsource_pull: (a: number, b: any) => any;
|
|
@@ -284,9 +288,9 @@ export const __wbindgen_exn_store: (a: number) => void;
|
|
|
284
288
|
export const __externref_table_alloc: () => number;
|
|
285
289
|
export const __wbindgen_export_5: WebAssembly.Table;
|
|
286
290
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
287
|
-
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
288
291
|
export const __externref_table_dealloc: (a: number) => void;
|
|
292
|
+
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
289
293
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb21f8cddfb9e179d: (a: number, b: number) => void;
|
|
290
|
-
export const
|
|
291
|
-
export const
|
|
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;
|
|
292
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,6 +27,7 @@
|
|
|
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",
|