@xmtp/wasm-bindings 0.0.11 → 0.0.12

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.
Binary file
@@ -1,6 +1,60 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
+ export const __wbg_client_free: (a: number, b: number) => void;
5
+ export const __wbg_logoptions_free: (a: number, b: number) => void;
6
+ export const __wbg_get_logoptions_structured: (a: number) => number;
7
+ export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
8
+ export const __wbg_get_logoptions_performance: (a: number) => number;
9
+ export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
10
+ export const __wbg_get_logoptions_level: (a: number) => number;
11
+ export const __wbg_set_logoptions_level: (a: number, b: number) => void;
12
+ export const logoptions_new: (a: number, b: number, c: number) => number;
13
+ export const createClient: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => any;
14
+ export const client_accountAddress: (a: number) => [number, number];
15
+ export const client_inboxId: (a: number) => [number, number];
16
+ export const client_isRegistered: (a: number) => number;
17
+ export const client_installationId: (a: number) => [number, number];
18
+ export const client_installationIdBytes: (a: number) => any;
19
+ export const client_canMessage: (a: number, b: number, c: number) => any;
20
+ export const client_registerIdentity: (a: number) => any;
21
+ export const client_sendHistorySyncRequest: (a: number) => any;
22
+ export const client_sendConsentSyncRequest: (a: number) => any;
23
+ export const client_findInboxIdByAddress: (a: number, b: number, c: number) => any;
24
+ export const client_conversations: (a: number) => number;
25
+ export const getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
26
+ export const generateInboxId: (a: number, b: number) => [number, number, number, number];
27
+ export const __wbg_installation_free: (a: number, b: number) => void;
28
+ export const __wbg_get_installation_bytes: (a: number) => any;
29
+ export const __wbg_set_installation_bytes: (a: number, b: any) => void;
30
+ export const __wbg_get_installation_id: (a: number) => [number, number];
31
+ export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
32
+ export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
33
+ export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
34
+ export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
35
+ export const __wbg_inboxstate_free: (a: number, b: number) => void;
36
+ export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
37
+ export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
38
+ export const __wbg_get_inboxstate_recoveryAddress: (a: number) => [number, number];
39
+ export const __wbg_set_inboxstate_recoveryAddress: (a: number, b: number, c: number) => void;
40
+ export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
41
+ export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
42
+ export const __wbg_get_inboxstate_accountAddresses: (a: number) => [number, number];
43
+ export const __wbg_set_inboxstate_accountAddresses: (a: number, b: number, c: number) => void;
44
+ export const inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
45
+ export const client_inboxState: (a: number, b: number) => any;
46
+ export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
47
+ export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
48
+ export const client_createInboxSignatureText: (a: number) => any;
49
+ export const client_addWalletSignatureText: (a: number, b: number, c: number) => any;
50
+ export const client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
51
+ export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
52
+ export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
53
+ export const client_addSignature: (a: number, b: number, c: any) => any;
54
+ export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
55
+ export const client_applySignatureRequests: (a: number) => any;
56
+ export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
57
+ export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
4
58
  export const __wbg_consent_free: (a: number, b: number) => void;
5
59
  export const __wbg_get_consent_entityType: (a: number) => number;
6
60
  export const __wbg_set_consent_entityType: (a: number, b: number) => void;
@@ -13,15 +67,84 @@ export const client_setConsentStates: (a: number, b: number, c: number) => any;
13
67
  export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
14
68
  export const conversation_consentState: (a: number) => [number, number, number];
15
69
  export const conversation_updateConsentState: (a: number, b: number) => [number, number];
70
+ export const __wbg_groupmetadata_free: (a: number, b: number) => void;
71
+ export const groupmetadata_creatorInboxId: (a: number) => [number, number];
72
+ export const groupmetadata_conversationType: (a: number) => [number, number];
73
+ export const __wbg_groupmember_free: (a: number, b: number) => void;
74
+ export const __wbg_get_groupmember_accountAddresses: (a: number) => [number, number];
75
+ export const __wbg_set_groupmember_accountAddresses: (a: number, b: number, c: number) => void;
76
+ export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
77
+ export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
78
+ export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
79
+ export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
80
+ export const __wbg_get_groupmember_consentState: (a: number) => number;
81
+ export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
82
+ export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
83
+ export const __wbg_conversation_free: (a: number, b: number) => void;
84
+ export const conversation_id: (a: number) => [number, number];
85
+ export const conversation_send: (a: number, b: number) => any;
86
+ export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
87
+ export const conversation_publishMessages: (a: number) => any;
88
+ export const conversation_sync: (a: number) => any;
89
+ export const conversation_findMessages: (a: number, b: number) => any;
90
+ export const conversation_listMembers: (a: number) => any;
91
+ export const conversation_adminList: (a: number) => [number, number, number, number];
92
+ export const conversation_superAdminList: (a: number) => [number, number, number, number];
93
+ export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
94
+ export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
95
+ export const conversation_addMembers: (a: number, b: number, c: number) => any;
96
+ export const conversation_addAdmin: (a: number, b: number, c: number) => any;
97
+ export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
98
+ export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
99
+ export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
100
+ export const conversation_groupPermissions: (a: number) => [number, number, number];
101
+ export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
102
+ export const conversation_removeMembers: (a: number, b: number, c: number) => any;
103
+ export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
104
+ export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
105
+ export const conversation_groupName: (a: number) => [number, number, number, number];
106
+ export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
107
+ export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
108
+ export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
109
+ export const conversation_groupDescription: (a: number) => [number, number, number, number];
110
+ export const conversation_updateGroupPinnedFrameUrl: (a: number, b: number, c: number) => any;
111
+ export const conversation_groupPinnedFrameUrl: (a: number) => [number, number, number, number];
112
+ export const conversation_createdAtNs: (a: number) => bigint;
113
+ export const conversation_isActive: (a: number) => [number, number, number];
114
+ export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
115
+ export const conversation_groupMetadata: (a: number) => any;
116
+ export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
117
+ export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
118
+ export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
119
+ export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
120
+ export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
121
+ export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
122
+ export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
123
+ export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
124
+ export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
125
+ export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
126
+ export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
127
+ export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
128
+ export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
129
+ export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
130
+ export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
131
+ export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
132
+ export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
133
+ export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
134
+ export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
135
+ export const __wbg_get_permissionpolicyset_updateGroupPinnedFrameUrlPolicy: (a: number) => number;
136
+ export const __wbg_set_permissionpolicyset_updateGroupPinnedFrameUrlPolicy: (a: number, b: number) => void;
137
+ export const __wbg_get_permissionpolicyset_updateMessageExpirationPolicy: (a: number) => number;
138
+ export const __wbg_set_permissionpolicyset_updateMessageExpirationPolicy: (a: number, b: number) => void;
139
+ export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
140
+ export const __wbg_grouppermissions_free: (a: number, b: number) => void;
141
+ export const grouppermissions_policyType: (a: number) => [number, number, number];
142
+ export const grouppermissions_policySet: (a: number) => [number, number, number];
16
143
  export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
17
144
  export const __wbg_get_listconversationsoptions_allowedStates: (a: number) => [number, number];
18
145
  export const __wbg_set_listconversationsoptions_allowedStates: (a: number, b: number, c: number) => void;
19
146
  export const __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
20
147
  export const __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
21
- export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
22
- export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
23
- export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
24
- export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
25
148
  export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
26
149
  export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
27
150
  export const listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: bigint) => number;
@@ -38,7 +161,16 @@ export const __wbg_get_creategroupoptions_groupPinnedFrameUrl: (a: number) => [n
38
161
  export const __wbg_set_creategroupoptions_groupPinnedFrameUrl: (a: number, b: number, c: number) => void;
39
162
  export const __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
40
163
  export const __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
41
- export const creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
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;
42
174
  export const __wbg_conversations_free: (a: number, b: number) => void;
43
175
  export const conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
44
176
  export const conversations_createDm: (a: number, b: number, c: number) => any;
@@ -50,7 +182,10 @@ export const conversations_syncAllConversations: (a: number) => any;
50
182
  export const conversations_list: (a: number, b: number) => [number, number, number];
51
183
  export const conversations_listGroups: (a: number, b: number) => [number, number, number];
52
184
  export const conversations_listDms: (a: number, b: number) => [number, number, number];
185
+ export const conversations_getHmacKeys: (a: number) => [number, number, number];
53
186
  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;
54
189
  export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
55
190
  export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
56
191
  export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
@@ -70,8 +205,6 @@ export const __wbg_set_encodedcontent_compression: (a: number, b: number) => voi
70
205
  export const __wbg_get_encodedcontent_content: (a: number) => any;
71
206
  export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
72
207
  export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
73
- export const getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
74
- export const generateInboxId: (a: number, b: number) => [number, number, number, number];
75
208
  export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
76
209
  export const __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
77
210
  export const __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
@@ -81,8 +214,6 @@ export const listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigin
81
214
  export const __wbg_message_free: (a: number, b: number) => void;
82
215
  export const __wbg_get_message_id: (a: number) => [number, number];
83
216
  export const __wbg_set_message_id: (a: number, b: number, c: number) => void;
84
- export const __wbg_get_message_sentAtNs: (a: number) => bigint;
85
- export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
86
217
  export const __wbg_get_message_convoId: (a: number) => [number, number];
87
218
  export const __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
88
219
  export const __wbg_get_message_senderInboxId: (a: number) => [number, number];
@@ -94,151 +225,32 @@ export const __wbg_set_message_kind: (a: number, b: number) => void;
94
225
  export const __wbg_get_message_deliveryStatus: (a: number) => number;
95
226
  export const __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
96
227
  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;
97
- export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
98
- export const client_createInboxSignatureText: (a: number) => any;
99
- export const client_addWalletSignatureText: (a: number, b: number, c: number) => any;
100
- export const client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
101
- export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
102
- export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
103
- export const client_addSignature: (a: number, b: number, c: any) => any;
104
- export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
105
- export const client_applySignatureRequests: (a: number) => any;
106
- export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
107
- export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
108
- export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
109
- export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
110
- export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
111
- export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
112
- export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
228
+ export const __wbg_get_message_sentAtNs: (a: number) => bigint;
229
+ export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
230
+ export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
113
231
  export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
114
232
  export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
115
233
  export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
116
- export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
117
- export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
118
- export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
119
- export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
120
- export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
121
- export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
122
- export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
123
- export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
124
- export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
125
- export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
126
- export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
127
- export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
128
- export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
129
- export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
130
- export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
131
- export const __wbg_get_permissionpolicyset_updateGroupPinnedFrameUrlPolicy: (a: number) => number;
132
- export const __wbg_set_permissionpolicyset_updateGroupPinnedFrameUrlPolicy: (a: number, b: number) => void;
133
- export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
134
- export const __wbg_grouppermissions_free: (a: number, b: number) => void;
135
- export const grouppermissions_policyType: (a: number) => [number, number, number];
136
- export const grouppermissions_policySet: (a: number) => [number, number, number];
137
- export const __wbg_groupmetadata_free: (a: number, b: number) => void;
138
- export const groupmetadata_creatorInboxId: (a: number) => [number, number];
139
- export const groupmetadata_conversationType: (a: number) => [number, number];
140
- export const __wbg_groupmember_free: (a: number, b: number) => void;
141
- export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
142
- export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
143
- export const __wbg_get_groupmember_accountAddresses: (a: number) => [number, number];
144
- export const __wbg_set_groupmember_accountAddresses: (a: number, b: number, c: number) => void;
145
- export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
146
- export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
147
- export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
148
- export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
149
- export const __wbg_get_groupmember_consentState: (a: number) => number;
150
- export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
151
- export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
152
- export const __wbg_conversation_free: (a: number, b: number) => void;
153
- export const conversation_id: (a: number) => [number, number];
154
- export const conversation_send: (a: number, b: number) => any;
155
- export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
156
- export const conversation_publishMessages: (a: number) => any;
157
- export const conversation_sync: (a: number) => any;
158
- export const conversation_findMessages: (a: number, b: number) => any;
159
- export const conversation_listMembers: (a: number) => any;
160
- export const conversation_adminList: (a: number) => [number, number, number, number];
161
- export const conversation_superAdminList: (a: number) => [number, number, number, number];
162
- export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
163
- export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
164
- export const conversation_addMembers: (a: number, b: number, c: number) => any;
165
- export const conversation_addAdmin: (a: number, b: number, c: number) => any;
166
- export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
167
- export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
168
- export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
169
- export const conversation_groupPermissions: (a: number) => [number, number, number];
170
- export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
171
- export const conversation_removeMembers: (a: number, b: number, c: number) => any;
172
- export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
173
- export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
174
- export const conversation_groupName: (a: number) => [number, number, number, number];
175
- export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
176
- export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
177
- export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
178
- export const conversation_groupDescription: (a: number) => [number, number, number, number];
179
- export const conversation_updateGroupPinnedFrameUrl: (a: number, b: number, c: number) => any;
180
- export const conversation_groupPinnedFrameUrl: (a: number) => [number, number, number, number];
181
- export const conversation_createdAtNs: (a: number) => bigint;
182
- export const conversation_isActive: (a: number) => [number, number, number];
183
- export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
184
- export const conversation_groupMetadata: (a: number) => any;
185
- export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
186
- export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
187
- export const __wbg_installation_free: (a: number, b: number) => void;
188
- export const __wbg_get_installation_bytes: (a: number) => any;
189
- export const __wbg_set_installation_bytes: (a: number, b: any) => void;
190
- export const __wbg_get_installation_id: (a: number) => [number, number];
191
- export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
192
- export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
193
- export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
194
- export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
195
- export const __wbg_inboxstate_free: (a: number, b: number) => void;
196
- export const __wbg_get_inboxstate_recoveryAddress: (a: number) => [number, number];
197
- export const __wbg_set_inboxstate_recoveryAddress: (a: number, b: number, c: number) => void;
198
- export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
199
- export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
200
- export const __wbg_get_inboxstate_accountAddresses: (a: number) => [number, number];
201
- export const __wbg_set_inboxstate_accountAddresses: (a: number, b: number, c: number) => void;
202
- export const inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
203
- export const client_inboxState: (a: number, b: number) => any;
204
- export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
205
- export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
206
- export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
207
- export const __wbg_client_free: (a: number, b: number) => void;
208
- export const __wbg_logoptions_free: (a: number, b: number) => void;
209
- export const __wbg_get_logoptions_structured: (a: number) => number;
210
- export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
211
- export const __wbg_get_logoptions_performance: (a: number) => number;
212
- export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
213
- export const __wbg_get_logoptions_level: (a: number) => number;
214
- export const __wbg_set_logoptions_level: (a: number, b: number) => void;
215
- export const logoptions_new: (a: number, b: number, c: number) => number;
216
- 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;
217
- export const client_accountAddress: (a: number) => [number, number];
218
- export const client_inboxId: (a: number) => [number, number];
219
- export const client_isRegistered: (a: number) => number;
220
- export const client_installationId: (a: number) => [number, number];
221
- export const client_installationIdBytes: (a: number) => any;
222
- export const client_canMessage: (a: number, b: number, c: number) => any;
223
- export const client_registerIdentity: (a: number) => any;
224
- export const client_sendHistorySyncRequest: (a: number) => any;
225
- export const client_sendConsentSyncRequest: (a: number) => any;
226
- export const client_findInboxIdByAddress: (a: number, b: number, c: number) => any;
227
- export const client_conversations: (a: number) => number;
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];
228
240
  export const __wbg_version_free: (a: number, b: number) => void;
229
241
  export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
230
242
  export const intounderlyingsource_pull: (a: number, b: any) => any;
231
243
  export const intounderlyingsource_cancel: (a: number) => void;
244
+ export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
245
+ export const intounderlyingsink_write: (a: number, b: any) => any;
246
+ export const intounderlyingsink_close: (a: number) => any;
247
+ export const intounderlyingsink_abort: (a: number, b: any) => any;
232
248
  export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
233
249
  export const intounderlyingbytesource_type: (a: number) => number;
234
250
  export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
235
251
  export const intounderlyingbytesource_start: (a: number, b: any) => void;
236
252
  export const intounderlyingbytesource_pull: (a: number, b: any) => any;
237
253
  export const intounderlyingbytesource_cancel: (a: number) => void;
238
- export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
239
- export const intounderlyingsink_write: (a: number, b: any) => any;
240
- export const intounderlyingsink_close: (a: number) => any;
241
- export const intounderlyingsink_abort: (a: number, b: any) => any;
242
254
  export const __wbindgen_malloc: (a: number, b: number) => number;
243
255
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
244
256
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
@@ -248,6 +260,6 @@ export const __wbindgen_export_5: WebAssembly.Table;
248
260
  export const __wbindgen_export_6: WebAssembly.Table;
249
261
  export const __externref_table_dealloc: (a: number) => void;
250
262
  export const __externref_drop_slice: (a: number, b: number) => void;
251
- export const closure2584_externref_shim: (a: number, b: number, c: any) => void;
252
- export const closure3678_externref_shim: (a: number, b: number, c: any, d: any) => void;
263
+ export const closure2568_externref_shim: (a: number, b: number, c: any) => void;
264
+ export const closure3670_externref_shim: (a: number, b: number, c: any, d: any) => void;
253
265
  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.11",
3
+ "version": "0.0.12",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "WASM bindings for the libXMTP rust library",