@xmtp/wasm-bindings 1.2.0-dev.bed98df → 1.2.0-dev.cae98b4
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 +203 -196
- package/dist/bindings_wasm.js +193 -99
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +195 -191
- package/dist/version.json +3 -3
- package/package.json +2 -2
|
@@ -1,6 +1,141 @@
|
|
|
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_consentStates: (a: number) => [number, number];
|
|
6
|
+
export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
7
|
+
export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
8
|
+
export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
9
|
+
export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
10
|
+
export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
11
|
+
export const __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
12
|
+
export const __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => 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: bigint, e: number, f: bigint, g: number, h: number, i: bigint) => number;
|
|
16
|
+
export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
17
|
+
export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
18
|
+
export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
19
|
+
export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
20
|
+
export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
21
|
+
export const __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
22
|
+
export const __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
23
|
+
export const __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
24
|
+
export const __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
25
|
+
export const __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
26
|
+
export const __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
27
|
+
export const __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
28
|
+
export const __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
29
|
+
export const __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
30
|
+
export const __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
31
|
+
export const creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
32
|
+
export const __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
33
|
+
export const __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
34
|
+
export const __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
35
|
+
export const createdmoptions_new: (a: number) => number;
|
|
36
|
+
export const __wbg_hmackey_free: (a: number, b: number) => void;
|
|
37
|
+
export const __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
38
|
+
export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
39
|
+
export const __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
40
|
+
export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
41
|
+
export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
42
|
+
export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
43
|
+
export const __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
44
|
+
export const __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
45
|
+
export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
46
|
+
export const conversationlistitem_new: (a: number, b: number) => number;
|
|
47
|
+
export const __wbg_conversations_free: (a: number, b: number) => void;
|
|
48
|
+
export const conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
49
|
+
export const conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
50
|
+
export const conversations_createDm: (a: number, b: any, c: number) => any;
|
|
51
|
+
export const conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
52
|
+
export const conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
53
|
+
export const conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
54
|
+
export const conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
55
|
+
export const conversations_sync: (a: number) => any;
|
|
56
|
+
export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
57
|
+
export const conversations_list: (a: number, b: number) => [number, number, number];
|
|
58
|
+
export const conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
59
|
+
export const conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
60
|
+
export const conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
61
|
+
export const conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
62
|
+
export const conversations_streamGroups: (a: number, b: any) => [number, number, number];
|
|
63
|
+
export const conversations_streamDms: (a: number, b: any) => [number, number, number];
|
|
64
|
+
export const conversations_streamAllMessages: (a: number, b: any, c: number) => [number, number, number];
|
|
65
|
+
export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
66
|
+
export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
67
|
+
export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
68
|
+
export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
69
|
+
export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
70
|
+
export const __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
71
|
+
export const __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
72
|
+
export const __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
73
|
+
export const __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
74
|
+
export const listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigint, e: number, f: bigint, g: number, h: number, i: number, j: number) => number;
|
|
75
|
+
export const __wbg_message_free: (a: number, b: number) => void;
|
|
76
|
+
export const __wbg_get_message_id: (a: number) => [number, number];
|
|
77
|
+
export const __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
78
|
+
export const __wbg_get_message_convoId: (a: number) => [number, number];
|
|
79
|
+
export const __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
80
|
+
export const __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
81
|
+
export const __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
82
|
+
export const __wbg_get_message_content: (a: number) => number;
|
|
83
|
+
export const __wbg_set_message_content: (a: number, b: number) => void;
|
|
84
|
+
export const __wbg_get_message_kind: (a: number) => number;
|
|
85
|
+
export const __wbg_set_message_kind: (a: number, b: number) => void;
|
|
86
|
+
export const __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
87
|
+
export const __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
88
|
+
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;
|
|
89
|
+
export const __wbg_messagewithreactions_free: (a: number, b: number) => void;
|
|
90
|
+
export const __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
91
|
+
export const __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
92
|
+
export const __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
93
|
+
export const __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
94
|
+
export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
95
|
+
export const __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
96
|
+
export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
97
|
+
export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
98
|
+
export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
99
|
+
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
100
|
+
export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
101
|
+
export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
102
|
+
export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
103
|
+
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
104
|
+
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
105
|
+
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
106
|
+
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
107
|
+
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
108
|
+
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
109
|
+
export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
110
|
+
export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
111
|
+
export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
112
|
+
export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
113
|
+
export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
114
|
+
export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
115
|
+
export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
116
|
+
export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
117
|
+
export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
118
|
+
export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
119
|
+
export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
120
|
+
export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
121
|
+
export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
122
|
+
export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
123
|
+
export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
124
|
+
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
125
|
+
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
126
|
+
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
127
|
+
export const __wbg_consent_free: (a: number, b: number) => void;
|
|
128
|
+
export const __wbg_get_consent_entityType: (a: number) => number;
|
|
129
|
+
export const __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
130
|
+
export const __wbg_get_consent_state: (a: number) => number;
|
|
131
|
+
export const __wbg_set_consent_state: (a: number, b: number) => void;
|
|
132
|
+
export const __wbg_get_consent_entity: (a: number) => [number, number];
|
|
133
|
+
export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
134
|
+
export const consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
135
|
+
export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
136
|
+
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
137
|
+
export const conversation_consentState: (a: number) => [number, number, number];
|
|
138
|
+
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
4
139
|
export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
5
140
|
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
6
141
|
export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
@@ -41,8 +176,6 @@ export const __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
|
41
176
|
export const groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
42
177
|
export const groupmetadata_conversationType: (a: number) => [number, number];
|
|
43
178
|
export const __wbg_groupmember_free: (a: number, b: number) => void;
|
|
44
|
-
export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
45
|
-
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
46
179
|
export const __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
47
180
|
export const __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
48
181
|
export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
@@ -108,83 +241,40 @@ export const client_applySignatureRequests: (a: number) => any;
|
|
|
108
241
|
export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
109
242
|
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
110
243
|
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
244
|
+
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
111
245
|
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
112
|
-
export const
|
|
113
|
-
export const
|
|
114
|
-
export const
|
|
115
|
-
export const
|
|
116
|
-
export const
|
|
117
|
-
export const
|
|
118
|
-
export const
|
|
119
|
-
export const
|
|
120
|
-
export const
|
|
121
|
-
export const
|
|
122
|
-
export const
|
|
123
|
-
export const
|
|
124
|
-
export const
|
|
125
|
-
export const
|
|
126
|
-
export const
|
|
127
|
-
export const
|
|
128
|
-
export const
|
|
129
|
-
export const
|
|
130
|
-
export const
|
|
131
|
-
export const
|
|
132
|
-
export const
|
|
133
|
-
export const
|
|
134
|
-
export const
|
|
135
|
-
export const
|
|
136
|
-
export const
|
|
137
|
-
export const
|
|
138
|
-
export const
|
|
139
|
-
export const
|
|
140
|
-
export const
|
|
141
|
-
export const __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
142
|
-
export const __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
143
|
-
export const __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
144
|
-
export const __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
145
|
-
export const __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
146
|
-
export const __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
147
|
-
export const __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
148
|
-
export const __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
149
|
-
export const __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
150
|
-
export const __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
151
|
-
export const creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
152
|
-
export const __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
153
|
-
export const __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
154
|
-
export const __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
155
|
-
export const createdmoptions_new: (a: number) => number;
|
|
156
|
-
export const __wbg_hmackey_free: (a: number, b: number) => void;
|
|
157
|
-
export const __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
158
|
-
export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
159
|
-
export const __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
160
|
-
export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
161
|
-
export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
162
|
-
export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
163
|
-
export const __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
164
|
-
export const __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
165
|
-
export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
166
|
-
export const conversationlistitem_new: (a: number, b: number) => number;
|
|
167
|
-
export const __wbg_conversations_free: (a: number, b: number) => void;
|
|
168
|
-
export const conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
169
|
-
export const conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
170
|
-
export const conversations_createDm: (a: number, b: any, c: number) => any;
|
|
171
|
-
export const conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
172
|
-
export const conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
173
|
-
export const conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
174
|
-
export const conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
175
|
-
export const conversations_sync: (a: number) => any;
|
|
176
|
-
export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
177
|
-
export const conversations_list: (a: number, b: number) => [number, number, number];
|
|
178
|
-
export const conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
179
|
-
export const conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
180
|
-
export const conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
181
|
-
export const conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
182
|
-
export const conversations_streamGroups: (a: number, b: any) => [number, number, number];
|
|
183
|
-
export const conversations_streamDms: (a: number, b: any) => [number, number, number];
|
|
184
|
-
export const conversations_streamAllMessages: (a: number, b: any, c: number) => [number, number, number];
|
|
185
|
-
export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
186
|
-
export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
246
|
+
export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
247
|
+
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
248
|
+
export const streamcloser_end: (a: number) => void;
|
|
249
|
+
export const streamcloser_endAndWait: (a: number) => any;
|
|
250
|
+
export const streamcloser_waitForReady: (a: number) => any;
|
|
251
|
+
export const streamcloser_isClosed: (a: number) => number;
|
|
252
|
+
export const __wbg_client_free: (a: number, b: number) => void;
|
|
253
|
+
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
254
|
+
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
255
|
+
export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
256
|
+
export const __wbg_get_logoptions_performance: (a: number) => number;
|
|
257
|
+
export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
258
|
+
export const __wbg_get_logoptions_level: (a: number) => number;
|
|
259
|
+
export const __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
260
|
+
export const logoptions_new: (a: number, b: number, c: number) => number;
|
|
261
|
+
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;
|
|
262
|
+
export const client_accountIdentifier: (a: number) => any;
|
|
263
|
+
export const client_inboxId: (a: number) => [number, number];
|
|
264
|
+
export const client_isRegistered: (a: number) => number;
|
|
265
|
+
export const client_installationId: (a: number) => [number, number];
|
|
266
|
+
export const client_installationIdBytes: (a: number) => any;
|
|
267
|
+
export const client_canMessage: (a: number, b: number, c: number) => any;
|
|
268
|
+
export const client_registerIdentity: (a: number) => any;
|
|
269
|
+
export const client_sendHistorySyncRequest: (a: number) => any;
|
|
270
|
+
export const client_sendConsentSyncRequest: (a: number) => any;
|
|
271
|
+
export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
272
|
+
export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
273
|
+
export const client_conversations: (a: number) => number;
|
|
274
|
+
export const client_syncPreferences: (a: number) => any;
|
|
187
275
|
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
276
|
+
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
277
|
+
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
188
278
|
export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
189
279
|
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
190
280
|
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
@@ -206,81 +296,6 @@ export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
|
206
296
|
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
207
297
|
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
208
298
|
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
209
|
-
export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
210
|
-
export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
211
|
-
export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
212
|
-
export const __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
213
|
-
export const __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
214
|
-
export const __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
215
|
-
export const __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
216
|
-
export const listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigint, e: number, f: bigint, g: number, h: number, i: number, j: number) => number;
|
|
217
|
-
export const __wbg_message_free: (a: number, b: number) => void;
|
|
218
|
-
export const __wbg_get_message_id: (a: number) => [number, number];
|
|
219
|
-
export const __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
220
|
-
export const __wbg_get_message_convoId: (a: number) => [number, number];
|
|
221
|
-
export const __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
222
|
-
export const __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
223
|
-
export const __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
224
|
-
export const __wbg_get_message_content: (a: number) => number;
|
|
225
|
-
export const __wbg_set_message_content: (a: number, b: number) => void;
|
|
226
|
-
export const __wbg_get_message_kind: (a: number) => number;
|
|
227
|
-
export const __wbg_set_message_kind: (a: number, b: number) => void;
|
|
228
|
-
export const __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
229
|
-
export const __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
230
|
-
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;
|
|
231
|
-
export const __wbg_messagewithreactions_free: (a: number, b: number) => void;
|
|
232
|
-
export const __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
233
|
-
export const __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
234
|
-
export const __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
235
|
-
export const __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
236
|
-
export const __wbg_opfs_free: (a: number, b: number) => void;
|
|
237
|
-
export const opfs_exists: () => number;
|
|
238
|
-
export const opfs_error: () => [number, number];
|
|
239
|
-
export const opfs_wipeFiles: () => any;
|
|
240
|
-
export const opfs_rm: (a: number, b: number) => [number, number, number];
|
|
241
|
-
export const opfs_getFileNames: () => [number, number];
|
|
242
|
-
export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
243
|
-
export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
244
|
-
export const opfs_getFileCount: () => number;
|
|
245
|
-
export const opfs_getCapacity: () => number;
|
|
246
|
-
export const opfs_addCapacity: (a: number) => any;
|
|
247
|
-
export const opfs_reduceCapacity: (a: number) => any;
|
|
248
|
-
export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
249
|
-
export const __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
250
|
-
export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
251
|
-
export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
252
|
-
export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
253
|
-
export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
254
|
-
export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
255
|
-
export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
256
|
-
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
257
|
-
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
258
|
-
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
259
|
-
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
260
|
-
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
261
|
-
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
262
|
-
export const __wbg_client_free: (a: number, b: number) => void;
|
|
263
|
-
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
264
|
-
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
265
|
-
export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
266
|
-
export const __wbg_get_logoptions_performance: (a: number) => number;
|
|
267
|
-
export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
268
|
-
export const __wbg_get_logoptions_level: (a: number) => number;
|
|
269
|
-
export const __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
270
|
-
export const logoptions_new: (a: number, b: number, c: number) => number;
|
|
271
|
-
export const createClient: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number) => any;
|
|
272
|
-
export const client_accountIdentifier: (a: number) => any;
|
|
273
|
-
export const client_inboxId: (a: number) => [number, number];
|
|
274
|
-
export const client_isRegistered: (a: number) => number;
|
|
275
|
-
export const client_installationId: (a: number) => [number, number];
|
|
276
|
-
export const client_installationIdBytes: (a: number) => any;
|
|
277
|
-
export const client_canMessage: (a: number, b: number, c: number) => any;
|
|
278
|
-
export const client_registerIdentity: (a: number) => any;
|
|
279
|
-
export const client_sendHistorySyncRequest: (a: number) => any;
|
|
280
|
-
export const client_sendConsentSyncRequest: (a: number) => any;
|
|
281
|
-
export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
282
|
-
export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
283
|
-
export const client_conversations: (a: number) => number;
|
|
284
299
|
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
285
300
|
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
286
301
|
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
@@ -290,8 +305,6 @@ export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, b
|
|
|
290
305
|
export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
291
306
|
export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
292
307
|
export const __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
293
|
-
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
294
|
-
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
295
308
|
export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
296
309
|
export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
297
310
|
export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
@@ -312,39 +325,34 @@ export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
|
312
325
|
export const client_inboxState: (a: number, b: number) => any;
|
|
313
326
|
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
314
327
|
export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
315
|
-
export const
|
|
316
|
-
export const
|
|
317
|
-
export const
|
|
318
|
-
export const
|
|
319
|
-
export const
|
|
320
|
-
export const
|
|
321
|
-
export const
|
|
322
|
-
export const
|
|
323
|
-
export const
|
|
324
|
-
export const
|
|
325
|
-
export const
|
|
326
|
-
export const
|
|
327
|
-
export const
|
|
328
|
-
export const
|
|
329
|
-
export const
|
|
330
|
-
export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
331
|
-
export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
332
|
-
export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
333
|
-
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
334
|
-
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
335
|
-
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
336
|
-
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
337
|
-
export const streamcloser_end: (a: number) => void;
|
|
338
|
-
export const streamcloser_endAndWait: (a: number) => any;
|
|
339
|
-
export const streamcloser_waitForReady: (a: number) => any;
|
|
340
|
-
export const streamcloser_isClosed: (a: number) => number;
|
|
328
|
+
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
329
|
+
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
330
|
+
export const __wbg_opfs_free: (a: number, b: number) => void;
|
|
331
|
+
export const opfs_init_sqlite_opfs: () => any;
|
|
332
|
+
export const opfs_exists: () => number;
|
|
333
|
+
export const opfs_error: () => [number, number];
|
|
334
|
+
export const opfs_wipeFiles: () => any;
|
|
335
|
+
export const opfs_rm: (a: number, b: number) => [number, number, number];
|
|
336
|
+
export const opfs_getFileNames: () => [number, number];
|
|
337
|
+
export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
338
|
+
export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
339
|
+
export const opfs_getFileCount: () => number;
|
|
340
|
+
export const opfs_getCapacity: () => number;
|
|
341
|
+
export const opfs_addCapacity: (a: number) => any;
|
|
342
|
+
export const opfs_reduceCapacity: (a: number) => any;
|
|
341
343
|
export const rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
342
344
|
export const rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
343
345
|
export const rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
344
|
-
export const sqlite3_os_init: () => number;
|
|
345
346
|
export const rust_sqlite_wasm_shim_malloc: (a: number) => number;
|
|
346
347
|
export const rust_sqlite_wasm_shim_free: (a: number) => void;
|
|
347
348
|
export const rust_sqlite_wasm_shim_realloc: (a: number, b: number) => number;
|
|
349
|
+
export const sqlite3_os_init: () => number;
|
|
350
|
+
export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
351
|
+
export const intounderlyingbytesource_type: (a: number) => number;
|
|
352
|
+
export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
353
|
+
export const intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
354
|
+
export const intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
355
|
+
export const intounderlyingbytesource_cancel: (a: number) => void;
|
|
348
356
|
export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
349
357
|
export const intounderlyingsource_pull: (a: number, b: any) => any;
|
|
350
358
|
export const intounderlyingsource_cancel: (a: number) => void;
|
|
@@ -352,12 +360,6 @@ export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
|
352
360
|
export const intounderlyingsink_write: (a: number, b: any) => any;
|
|
353
361
|
export const intounderlyingsink_close: (a: number) => any;
|
|
354
362
|
export const intounderlyingsink_abort: (a: number, b: any) => any;
|
|
355
|
-
export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
356
|
-
export const intounderlyingbytesource_type: (a: number) => number;
|
|
357
|
-
export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
358
|
-
export const intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
359
|
-
export const intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
360
|
-
export const intounderlyingbytesource_cancel: (a: number) => void;
|
|
361
363
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
362
364
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
363
365
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
@@ -367,8 +369,10 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
|
367
369
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
368
370
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
369
371
|
export const __externref_table_dealloc: (a: number) => void;
|
|
370
|
-
export const
|
|
371
|
-
export const
|
|
372
|
-
export const
|
|
373
|
-
export const
|
|
372
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215: (a: number, b: number) => void;
|
|
373
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h89dafc0baf46c12b: (a: number, b: number) => void;
|
|
374
|
+
export const closure3980_externref_shim: (a: number, b: number, c: any) => void;
|
|
375
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a: (a: number, b: number) => void;
|
|
376
|
+
export const closure5011_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
377
|
+
export const closure5010_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
374
378
|
export const __wbindgen_start: () => void;
|
package/dist/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmtp/wasm-bindings",
|
|
3
|
-
"version": "1.2.0-dev.
|
|
3
|
+
"version": "1.2.0-dev.cae98b4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "WASM bindings for the libXMTP rust library",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "yarn clean && yarn build:web && yarn clean:release",
|
|
28
28
|
"build:macos": "yarn clean && yarn build:web:macos && yarn clean:release",
|
|
29
|
-
"build:web": "RUSTFLAGS=\"-Ctarget-feature=+bulk-memory,+mutable-globals\" wasm-pack build --target web --out-dir ./dist --no-pack --release",
|
|
29
|
+
"build:web": "RUSTFLAGS=\"-Ctarget-feature=+bulk-memory,+mutable-globals --cfg getrandom_backend=\\\"wasm_js\\\"\" wasm-pack build --target web --out-dir ./dist --no-pack --release",
|
|
30
30
|
"build:web:macos": "CC_wasm32_unknown_unknown=/opt/homebrew/opt/llvm/bin/clang RUSTFLAGS=\"-Ctarget-feature=+bulk-memory,+mutable-globals\" wasm-pack build --target web --out-dir ./dist --no-pack --release",
|
|
31
31
|
"check": "cargo check --target wasm32-unknown-unknown",
|
|
32
32
|
"check:macos": "CC_wasm32_unknown_unknown=/opt/homebrew/opt/llvm/bin/clang cargo check --target wasm32-unknown-unknown",
|