@xmtp/wasm-bindings 0.0.13 → 0.0.15
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 +220 -149
- package/dist/bindings_wasm.js +706 -306
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +149 -122
- package/package.json +3 -3
|
Binary file
|
|
@@ -1,6 +1,98 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
5
|
+
export const streamcloser_end: (a: number) => void;
|
|
6
|
+
export const streamcloser_endAndWait: (a: number) => any;
|
|
7
|
+
export const streamcloser_waitForReady: (a: number) => any;
|
|
8
|
+
export const streamcloser_isClosed: (a: number) => number;
|
|
9
|
+
export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
10
|
+
export const __wbg_get_listconversationsoptions_allowedStates: (a: number) => [number, number];
|
|
11
|
+
export const __wbg_set_listconversationsoptions_allowedStates: (a: number, b: number, c: number) => void;
|
|
12
|
+
export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
13
|
+
export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
14
|
+
export const __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
15
|
+
export const __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
16
|
+
export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
17
|
+
export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
18
|
+
export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
19
|
+
export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
20
|
+
export const __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
21
|
+
export const __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
22
|
+
export const __wbg_get_listconversationsoptions_includeSyncGroups: (a: number) => number;
|
|
23
|
+
export const __wbg_set_listconversationsoptions_includeSyncGroups: (a: number, b: number) => void;
|
|
24
|
+
export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
25
|
+
export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
26
|
+
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
|
+
export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
28
|
+
export const __wbg_get_messagedisappearingsettings_in_ns: (a: number) => bigint;
|
|
29
|
+
export const __wbg_set_messagedisappearingsettings_in_ns: (a: number, b: bigint) => void;
|
|
30
|
+
export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
31
|
+
export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
32
|
+
export const __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
33
|
+
export const __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
34
|
+
export const __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
35
|
+
export const __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
36
|
+
export const __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
37
|
+
export const __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
38
|
+
export const __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
39
|
+
export const __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
40
|
+
export const __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
41
|
+
export const __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
42
|
+
export const creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
43
|
+
export const __wbg_createdmoptions_free: (a: number, b: number) => void;
|
|
44
|
+
export const __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
|
|
45
|
+
export const __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
46
|
+
export const createdmoptions_new: (a: number) => number;
|
|
47
|
+
export const __wbg_hmackey_free: (a: number, b: number) => void;
|
|
48
|
+
export const __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
49
|
+
export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
50
|
+
export const __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
51
|
+
export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
52
|
+
export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
|
|
53
|
+
export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
|
|
54
|
+
export const __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
|
|
55
|
+
export const __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
|
|
56
|
+
export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
|
|
57
|
+
export const conversationlistitem_new: (a: number, b: number) => number;
|
|
58
|
+
export const __wbg_conversations_free: (a: number, b: number) => void;
|
|
59
|
+
export const conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
60
|
+
export const conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
61
|
+
export const conversations_createDm: (a: number, b: number, c: number, d: number) => any;
|
|
62
|
+
export const conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
|
|
63
|
+
export const conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
64
|
+
export const conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
65
|
+
export const conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
66
|
+
export const conversations_sync: (a: number) => any;
|
|
67
|
+
export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
68
|
+
export const conversations_list: (a: number, b: number) => [number, number, number];
|
|
69
|
+
export const conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
70
|
+
export const conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
71
|
+
export const conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
72
|
+
export const conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
73
|
+
export const conversations_streamGroups: (a: number, b: any) => [number, number, number];
|
|
74
|
+
export const conversations_streamDms: (a: number, b: any) => [number, number, number];
|
|
75
|
+
export const conversations_streamAllMessages: (a: number, b: any, c: number) => [number, number, number];
|
|
76
|
+
export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
77
|
+
export const __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
78
|
+
export const __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
79
|
+
export const __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
80
|
+
export const __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
81
|
+
export const listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigint, e: number, f: bigint, g: number, h: number) => number;
|
|
82
|
+
export const __wbg_message_free: (a: number, b: number) => void;
|
|
83
|
+
export const __wbg_get_message_id: (a: number) => [number, number];
|
|
84
|
+
export const __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
85
|
+
export const __wbg_get_message_convoId: (a: number) => [number, number];
|
|
86
|
+
export const __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
87
|
+
export const __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
88
|
+
export const __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
89
|
+
export const __wbg_get_message_content: (a: number) => number;
|
|
90
|
+
export const __wbg_set_message_content: (a: number, b: number) => void;
|
|
91
|
+
export const __wbg_get_message_kind: (a: number) => number;
|
|
92
|
+
export const __wbg_set_message_kind: (a: number, b: number) => void;
|
|
93
|
+
export const __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
94
|
+
export const __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
95
|
+
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;
|
|
4
96
|
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
5
97
|
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
6
98
|
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -16,14 +108,37 @@ export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: num
|
|
|
16
108
|
export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
17
109
|
export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
18
110
|
export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
19
|
-
export const
|
|
20
|
-
export const
|
|
21
|
-
export const
|
|
22
|
-
export const __wbg_set_permissionpolicyset_updateMessageExpirationPolicy: (a: number, b: number) => void;
|
|
23
|
-
export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
111
|
+
export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
112
|
+
export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
113
|
+
export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
24
114
|
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
25
115
|
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
26
116
|
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
117
|
+
export const __wbg_get_messagedisappearingsettings_from_ns: (a: number) => bigint;
|
|
118
|
+
export const __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
119
|
+
export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
120
|
+
export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
121
|
+
export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
122
|
+
export const __wbg_set_messagedisappearingsettings_from_ns: (a: number, b: bigint) => void;
|
|
123
|
+
export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
124
|
+
export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
125
|
+
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
126
|
+
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
127
|
+
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
128
|
+
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];
|
|
27
142
|
export const __wbg_client_free: (a: number, b: number) => void;
|
|
28
143
|
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
29
144
|
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -97,95 +212,14 @@ export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: n
|
|
|
97
212
|
export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
98
213
|
export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
99
214
|
export const conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
100
|
-
export const
|
|
101
|
-
export const conversation_groupPinnedFrameUrl: (a: number) => [number, number, number, number];
|
|
215
|
+
export const conversation_stream: (a: number, b: any) => [number, number, number];
|
|
102
216
|
export const conversation_createdAtNs: (a: number) => bigint;
|
|
103
217
|
export const conversation_isActive: (a: number) => [number, number, number];
|
|
104
218
|
export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
105
219
|
export const conversation_groupMetadata: (a: number) => any;
|
|
106
220
|
export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
107
221
|
export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
108
|
-
export const getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
|
|
109
|
-
export const generateInboxId: (a: number, b: number) => [number, number, number, number];
|
|
110
|
-
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
111
|
-
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
112
|
-
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
113
|
-
export const __wbg_get_installation_id: (a: number) => [number, number];
|
|
114
|
-
export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
115
|
-
export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
116
|
-
export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
117
|
-
export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
118
|
-
export const __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
119
|
-
export const __wbg_get_inboxstate_recoveryAddress: (a: number) => [number, number];
|
|
120
|
-
export const __wbg_set_inboxstate_recoveryAddress: (a: number, b: number, c: number) => void;
|
|
121
|
-
export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
122
|
-
export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
123
|
-
export const __wbg_get_inboxstate_accountAddresses: (a: number) => [number, number];
|
|
124
|
-
export const __wbg_set_inboxstate_accountAddresses: (a: number, b: number, c: number) => void;
|
|
125
|
-
export const inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
126
|
-
export const client_inboxState: (a: number, b: number) => any;
|
|
127
|
-
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
128
|
-
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
129
|
-
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
130
|
-
export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
131
|
-
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
132
|
-
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
133
|
-
export const client_createInboxSignatureText: (a: number) => any;
|
|
134
|
-
export const client_addWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
135
|
-
export const client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
136
|
-
export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
137
|
-
export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
138
|
-
export const client_addSignature: (a: number, b: number, c: any) => any;
|
|
139
|
-
export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
140
|
-
export const client_applySignatureRequests: (a: number) => any;
|
|
141
|
-
export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
142
|
-
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
143
|
-
export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
144
|
-
export const __wbg_get_listconversationsoptions_allowedStates: (a: number) => [number, number];
|
|
145
|
-
export const __wbg_set_listconversationsoptions_allowedStates: (a: number, b: number, c: number) => void;
|
|
146
|
-
export const __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
147
|
-
export const __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
148
|
-
export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
149
|
-
export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
150
|
-
export const listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: bigint) => number;
|
|
151
|
-
export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
152
|
-
export const __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
153
|
-
export const __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
154
|
-
export const __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
155
|
-
export const __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
156
|
-
export const __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
157
|
-
export const __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
158
|
-
export const __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
159
|
-
export const __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
160
|
-
export const __wbg_get_creategroupoptions_groupPinnedFrameUrl: (a: number) => [number, number];
|
|
161
|
-
export const __wbg_set_creategroupoptions_groupPinnedFrameUrl: (a: number, b: number, c: number) => void;
|
|
162
|
-
export const __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
163
|
-
export const __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
164
|
-
export const __wbg_get_creategroupoptions_messageExpirationFromMillis: (a: number) => [number, bigint];
|
|
165
|
-
export const __wbg_set_creategroupoptions_messageExpirationFromMillis: (a: number, b: number, c: bigint) => void;
|
|
166
|
-
export const __wbg_get_creategroupoptions_messageExpirationMillis: (a: number) => [number, bigint];
|
|
167
|
-
export const __wbg_set_creategroupoptions_messageExpirationMillis: (a: number, b: number, c: bigint) => void;
|
|
168
|
-
export const creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: bigint, m: number, n: bigint) => number;
|
|
169
|
-
export const __wbg_hmackey_free: (a: number, b: number) => void;
|
|
170
|
-
export const __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
171
|
-
export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
172
|
-
export const __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
173
|
-
export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
174
|
-
export const __wbg_conversations_free: (a: number, b: number) => void;
|
|
175
|
-
export const conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
176
|
-
export const conversations_createDm: (a: number, b: number, c: number) => any;
|
|
177
|
-
export const conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
178
|
-
export const conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
179
|
-
export const conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
180
|
-
export const conversations_sync: (a: number) => any;
|
|
181
|
-
export const conversations_syncAllConversations: (a: number) => any;
|
|
182
|
-
export const conversations_list: (a: number, b: number) => [number, number, number];
|
|
183
|
-
export const conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
184
|
-
export const conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
185
|
-
export const conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
186
222
|
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
187
|
-
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
188
|
-
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
189
223
|
export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
190
224
|
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
191
225
|
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
@@ -205,38 +239,30 @@ export const __wbg_set_encodedcontent_compression: (a: number, b: number) => voi
|
|
|
205
239
|
export const __wbg_get_encodedcontent_content: (a: number) => any;
|
|
206
240
|
export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
207
241
|
export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
208
|
-
export const
|
|
209
|
-
export const
|
|
210
|
-
export const
|
|
211
|
-
export const
|
|
212
|
-
export const
|
|
213
|
-
export const
|
|
214
|
-
export const
|
|
215
|
-
export const
|
|
216
|
-
export const
|
|
217
|
-
export const
|
|
218
|
-
export const
|
|
219
|
-
export const
|
|
220
|
-
export const
|
|
221
|
-
export const
|
|
222
|
-
export const
|
|
223
|
-
export const
|
|
224
|
-
export const
|
|
225
|
-
export const
|
|
226
|
-
export const
|
|
227
|
-
export const
|
|
228
|
-
export const
|
|
229
|
-
export const
|
|
230
|
-
export const
|
|
231
|
-
export const
|
|
232
|
-
export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
233
|
-
export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
234
|
-
export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
235
|
-
export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
236
|
-
export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
237
|
-
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
238
|
-
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
239
|
-
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
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];
|
|
240
266
|
export const __wbg_version_free: (a: number, b: number) => void;
|
|
241
267
|
export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
242
268
|
export const intounderlyingsource_pull: (a: number, b: any) => any;
|
|
@@ -258,8 +284,9 @@ export const __wbindgen_exn_store: (a: number) => void;
|
|
|
258
284
|
export const __externref_table_alloc: () => number;
|
|
259
285
|
export const __wbindgen_export_5: WebAssembly.Table;
|
|
260
286
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
261
|
-
export const __externref_table_dealloc: (a: number) => void;
|
|
262
287
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
263
|
-
export const
|
|
264
|
-
export const
|
|
288
|
+
export const __externref_table_dealloc: (a: number) => void;
|
|
289
|
+
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 closure2971_externref_shim: (a: number, b: number, c: any) => void;
|
|
291
|
+
export const closure3993_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
265
292
|
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.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "WASM bindings for the libXMTP rust library",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"clean:release": "rm -f ./dist/package.json",
|
|
31
31
|
"clean": "rm -rf ./dist",
|
|
32
32
|
"lint": "yarn lint:clippy && yarn lint:fmt",
|
|
33
|
-
"lint:clippy": "cargo clippy --all-features --target wasm32-unknown-unknown --no-deps -- -
|
|
33
|
+
"lint:clippy": "cargo clippy --locked --all-features --target wasm32-unknown-unknown --no-deps -- -D warnings",
|
|
34
34
|
"lint:fmt": "cargo fmt --check",
|
|
35
35
|
"prepublishOnly": "yarn build",
|
|
36
36
|
"test": "wasm-pack test --chrome --headless"
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@sqlite.org/sqlite-wasm": "^3.47.0-build1",
|
|
59
|
-
"binaryen": "^
|
|
59
|
+
"binaryen": "^122.0.0",
|
|
60
60
|
"wasm-pack": "^0.13.1"
|
|
61
61
|
},
|
|
62
62
|
"packageManager": "yarn@4.5.1"
|