@xmtp/wasm-bindings 1.2.0-rc1 → 1.2.0-rc3

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,11 +1,197 @@
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;
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_conversationType: (a: number) => number;
8
+ export const __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
9
+ export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
10
+ export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
11
+ export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
12
+ export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
13
+ export const __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
14
+ export const __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
15
+ export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
16
+ export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
17
+ export const listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
18
+ export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
19
+ export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
20
+ export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
21
+ export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
22
+ export const __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
23
+ export const __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
24
+ export const __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
25
+ export const __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
26
+ export const __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
27
+ export const __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
28
+ export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
29
+ export const __wbg_get_creategroupoptions_permissions: (a: number) => number;
30
+ export const __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
31
+ export const __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
32
+ export const __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
33
+ export const __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
34
+ export const __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
35
+ export const __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
36
+ export const __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
37
+ export const __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
38
+ export const __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
39
+ export const creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
40
+ export const __wbg_createdmoptions_free: (a: number, b: number) => void;
41
+ export const __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
42
+ export const __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
43
+ export const createdmoptions_new: (a: number) => number;
44
+ export const __wbg_hmackey_free: (a: number, b: number) => void;
45
+ export const __wbg_get_hmackey_key: (a: number) => [number, number];
46
+ export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
47
+ export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
48
+ export const __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
49
+ export const __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
50
+ export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
51
+ export const conversationlistitem_new: (a: number, b: number) => number;
52
+ export const __wbg_conversations_free: (a: number, b: number) => void;
53
+ export const conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
54
+ export const conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
55
+ export const conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
56
+ export const conversations_createDm: (a: number, b: any, c: number) => any;
57
+ export const conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
58
+ export const conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
59
+ export const conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
60
+ export const conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
61
+ export const conversations_sync: (a: number) => any;
62
+ export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
63
+ export const conversations_syncDeviceSync: (a: number) => any;
64
+ export const conversations_list: (a: number, b: number) => [number, number, number];
65
+ export const conversations_getHmacKeys: (a: number) => [number, number, number];
66
+ export const conversations_stream: (a: number, b: any, c: number) => [number, number, number];
67
+ export const conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
68
+ export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
69
+ export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
70
+ export const __wbg_contenttypeid_free: (a: number, b: number) => void;
71
+ export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
72
+ export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
73
+ export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
74
+ export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
75
+ export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
76
+ export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
77
+ export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
78
+ export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
79
+ export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
80
+ export const __wbg_encodedcontent_free: (a: number, b: number) => void;
81
+ export const __wbg_get_encodedcontent_type: (a: number) => number;
82
+ export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
83
+ export const __wbg_get_encodedcontent_parameters: (a: number) => any;
84
+ export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
85
+ export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
86
+ export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
87
+ export const __wbg_get_encodedcontent_compression: (a: number) => number;
88
+ export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
89
+ export const __wbg_get_encodedcontent_content: (a: number) => any;
90
+ export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
91
+ export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
92
+ export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
93
+ export const __wbg_get_hmackey_epoch: (a: number) => bigint;
94
+ export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
95
+ export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
96
+ export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
97
+ export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
98
+ export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
99
+ export const __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
100
+ export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
101
+ export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
102
+ export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
103
+ export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
104
+ export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
105
+ export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
106
+ export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
107
+ export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
108
+ export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
109
+ export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
110
+ export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
111
+ export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
112
+ export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
113
+ export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
114
+ export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
115
+ export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
116
+ export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
117
+ export const remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
118
+ export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
119
+ export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
120
+ export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
121
+ export const multiremoteattachment_new: (a: number, b: number) => number;
122
+ export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
123
+ export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
124
+ export const __wbg_reaction_free: (a: number, b: number) => void;
125
+ export const __wbg_get_reaction_reference: (a: number) => [number, number];
126
+ export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
127
+ export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
128
+ export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
129
+ export const __wbg_get_reaction_action: (a: number) => number;
130
+ export const __wbg_set_reaction_action: (a: number, b: number) => void;
131
+ export const __wbg_get_reaction_content: (a: number) => [number, number];
132
+ export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
133
+ export const __wbg_get_reaction_schema: (a: number) => number;
134
+ export const __wbg_set_reaction_schema: (a: number, b: number) => void;
135
+ export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
136
+ export const encodeReaction: (a: number) => [number, number, number];
137
+ export const decodeReaction: (a: any) => [number, number, number];
138
+ export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
139
+ export const __wbg_passkeysignature_free: (a: number, b: number) => void;
140
+ export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
141
+ export const client_addWalletSignatureText: (a: number, b: any) => any;
142
+ export const client_revokeWalletSignatureText: (a: number, b: any) => any;
143
+ export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
144
+ export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
145
+ export const client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
146
+ export const client_addEcdsaSignature: (a: number, b: number, c: any) => any;
147
+ export const client_addPasskeySignature: (a: number, b: number, c: number) => any;
148
+ export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
149
+ export const client_applySignatureRequests: (a: number) => any;
150
+ export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
151
+ export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
152
+ export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
153
+ export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
154
+ export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
155
+ export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
156
+ export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
157
+ export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
158
+ export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
159
+ export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
160
+ export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
161
+ export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
162
+ export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
163
+ export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
164
+ export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
165
+ export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
166
+ export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
167
+ export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
168
+ export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
169
+ export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
170
+ export const __wbg_grouppermissions_free: (a: number, b: number) => void;
171
+ export const grouppermissions_policyType: (a: number) => [number, number, number];
172
+ export const grouppermissions_policySet: (a: number) => [number, number, number];
173
+ export const __wbg_client_free: (a: number, b: number) => void;
174
+ export const __wbg_logoptions_free: (a: number, b: number) => void;
175
+ export const __wbg_get_logoptions_structured: (a: number) => number;
176
+ export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
177
+ export const __wbg_get_logoptions_performance: (a: number) => number;
178
+ export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
179
+ export const __wbg_get_logoptions_level: (a: number) => number;
180
+ export const __wbg_set_logoptions_level: (a: number, b: number) => void;
181
+ export const logoptions_new: (a: number, b: number, c: number) => number;
182
+ 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;
183
+ export const client_accountIdentifier: (a: number) => any;
184
+ export const client_inboxId: (a: number) => [number, number];
185
+ export const client_isRegistered: (a: number) => number;
186
+ export const client_installationId: (a: number) => [number, number];
187
+ export const client_installationIdBytes: (a: number) => any;
188
+ export const client_canMessage: (a: number, b: number, c: number) => any;
189
+ export const client_registerIdentity: (a: number) => any;
190
+ export const client_sendSyncRequest: (a: number) => any;
191
+ export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
192
+ export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
193
+ export const client_conversations: (a: number) => number;
194
+ export const client_syncPreferences: (a: number) => any;
9
195
  export const __wbg_consent_free: (a: number, b: number) => void;
10
196
  export const __wbg_get_consent_entityType: (a: number) => number;
11
197
  export const __wbg_set_consent_entityType: (a: number, b: number) => void;
@@ -105,82 +291,24 @@ export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
105
291
  export const client_inboxState: (a: number, b: number) => any;
106
292
  export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
107
293
  export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
294
+ export const __wbg_streamcloser_free: (a: number, b: number) => void;
295
+ export const streamcloser_end: (a: number) => void;
296
+ export const streamcloser_endAndWait: (a: number) => any;
297
+ export const streamcloser_waitForReady: (a: number) => any;
298
+ export const streamcloser_isClosed: (a: number) => number;
108
299
  export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
109
300
  export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
110
301
  export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
111
302
  export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
112
- export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
113
- export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
114
- export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
115
- export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
116
- export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
117
- export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
118
- export const __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
119
- export const __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
120
- export const __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
121
- export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
122
- export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
123
- export const listconversationsoptions_new: (a: number, b: number, c: number, d: bigint, e: number, f: bigint, g: number, h: number, i: bigint) => number;
124
- export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
125
- export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
126
- export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
127
- export const messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
128
- export const __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
129
- export const __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
130
- export const __wbg_set_conversationdebuginfo_epoch: (a: number, b: bigint) => void;
131
- export const __wbg_get_conversationdebuginfo_maybeForked: (a: number) => number;
132
- export const __wbg_set_conversationdebuginfo_maybeForked: (a: number, b: number) => void;
133
- export const __wbg_get_conversationdebuginfo_forkDetails: (a: number) => [number, number];
134
- export const __wbg_set_conversationdebuginfo_forkDetails: (a: number, b: number, c: number) => void;
135
- export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
136
- export const __wbg_get_creategroupoptions_permissions: (a: number) => number;
137
- export const __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
138
- export const __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
139
- export const __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
140
- export const __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
141
- export const __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
142
- export const __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
143
- export const __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
144
- export const __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
145
- export const __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
146
- export const creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
147
- export const __wbg_createdmoptions_free: (a: number, b: number) => void;
148
- export const __wbg_get_createdmoptions_messageDisappearingSettings: (a: number) => number;
149
- export const __wbg_set_createdmoptions_messageDisappearingSettings: (a: number, b: number) => void;
150
- export const createdmoptions_new: (a: number) => number;
151
- export const __wbg_hmackey_free: (a: number, b: number) => void;
152
- export const __wbg_get_hmackey_key: (a: number) => [number, number];
153
- export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
154
- export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
155
- export const __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
156
- export const __wbg_get_conversationlistitem_lastMessage: (a: number) => number;
157
- export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
158
- export const conversationlistitem_new: (a: number, b: number) => number;
159
- export const __wbg_conversations_free: (a: number, b: number) => void;
160
- export const conversations_createGroupOptimistic: (a: number, b: number) => [number, number, number];
161
- export const conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
162
- export const conversations_createGroupByInboxIds: (a: number, b: number, c: number, d: number) => any;
163
- export const conversations_createDm: (a: number, b: any, c: number) => any;
164
- export const conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
165
- export const conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
166
- export const conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
167
- export const conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
168
- export const conversations_sync: (a: number) => any;
169
- export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
170
- export const conversations_syncDeviceSync: (a: number) => any;
171
- export const conversations_list: (a: number, b: number) => [number, number, number];
172
- export const conversations_listGroups: (a: number, b: number) => [number, number, number];
173
- export const conversations_listDms: (a: number, b: number) => [number, number, number];
174
- export const conversations_getHmacKeys: (a: number) => [number, number, number];
175
- export const conversations_stream: (a: number, b: any, c: number) => [number, number, number];
176
- export const conversations_streamGroups: (a: number, b: any) => [number, number, number];
177
- export const conversations_streamDms: (a: number, b: any) => [number, number, number];
178
- export const conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
179
- export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
180
- export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
181
303
  export const __wbg_listmessagesoptions_free: (a: number, b: number) => void;
182
304
  export const __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
183
305
  export const __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
306
+ export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
307
+ export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
308
+ export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
309
+ export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
310
+ export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
311
+ export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
184
312
  export const __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
185
313
  export const __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
186
314
  export const __wbg_get_listmessagesoptions_direction: (a: number) => number;
@@ -191,6 +319,8 @@ export const listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigin
191
319
  export const __wbg_message_free: (a: number, b: number) => void;
192
320
  export const __wbg_get_message_id: (a: number) => [number, number];
193
321
  export const __wbg_set_message_id: (a: number, b: number, c: number) => void;
322
+ export const __wbg_get_message_sentAtNs: (a: number) => bigint;
323
+ export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
194
324
  export const __wbg_get_message_convoId: (a: number) => [number, number];
195
325
  export const __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
196
326
  export const __wbg_get_message_senderInboxId: (a: number) => [number, number];
@@ -207,97 +337,6 @@ export const __wbg_get_messagewithreactions_message: (a: number) => number;
207
337
  export const __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
208
338
  export const __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
209
339
  export const __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
210
- export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
211
- export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
212
- export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
213
- export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
214
- export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
215
- export const __wbg_get_hmackey_epoch: (a: number) => bigint;
216
- export const __wbg_get_message_sentAtNs: (a: number) => bigint;
217
- export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
218
- export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
219
- export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
220
- export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
221
- export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
222
- export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
223
- export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
224
- export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
225
- export const __wbg_client_free: (a: number, b: number) => void;
226
- export const __wbg_logoptions_free: (a: number, b: number) => void;
227
- export const __wbg_get_logoptions_structured: (a: number) => number;
228
- export const __wbg_set_logoptions_structured: (a: number, b: number) => void;
229
- export const __wbg_get_logoptions_performance: (a: number) => number;
230
- export const __wbg_set_logoptions_performance: (a: number, b: number) => void;
231
- export const __wbg_get_logoptions_level: (a: number) => number;
232
- export const __wbg_set_logoptions_level: (a: number, b: number) => void;
233
- export const logoptions_new: (a: number, b: number, c: number) => number;
234
- 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;
235
- export const client_accountIdentifier: (a: number) => any;
236
- export const client_inboxId: (a: number) => [number, number];
237
- export const client_isRegistered: (a: number) => number;
238
- export const client_installationId: (a: number) => [number, number];
239
- export const client_installationIdBytes: (a: number) => any;
240
- export const client_canMessage: (a: number, b: number, c: number) => any;
241
- export const client_registerIdentity: (a: number) => any;
242
- export const client_sendSyncRequest: (a: number) => any;
243
- export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
244
- export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
245
- export const client_conversations: (a: number) => number;
246
- export const client_syncPreferences: (a: number) => any;
247
- export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
248
- export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
249
- export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
250
- export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
251
- export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
252
- export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
253
- export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
254
- export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
255
- export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
256
- export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
257
- export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
258
- export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
259
- export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
260
- export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
261
- export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
262
- export const remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
263
- export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
264
- export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
265
- export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
266
- export const multiremoteattachment_new: (a: number, b: number) => number;
267
- export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
268
- export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
269
- export const __wbg_reaction_free: (a: number, b: number) => void;
270
- export const __wbg_get_reaction_action: (a: number) => number;
271
- export const __wbg_set_reaction_action: (a: number, b: number) => void;
272
- export const __wbg_get_reaction_content: (a: number) => [number, number];
273
- export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
274
- export const __wbg_get_reaction_schema: (a: number) => number;
275
- export const __wbg_set_reaction_schema: (a: number, b: number) => void;
276
- export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
277
- export const encodeReaction: (a: number) => [number, number, number];
278
- export const decodeReaction: (a: any) => [number, number, number];
279
- export const __wbg_contenttypeid_free: (a: number, b: number) => void;
280
- export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
281
- export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
282
- export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
283
- export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
284
- export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
285
- export const __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
286
- export const __wbg_get_contenttypeid_versionMinor: (a: number) => number;
287
- export const __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
288
- export const contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
289
- export const __wbg_encodedcontent_free: (a: number, b: number) => void;
290
- export const __wbg_get_encodedcontent_type: (a: number) => number;
291
- export const __wbg_set_encodedcontent_type: (a: number, b: number) => void;
292
- export const __wbg_get_encodedcontent_parameters: (a: number) => any;
293
- export const __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
294
- export const __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
295
- export const __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
296
- export const __wbg_get_encodedcontent_compression: (a: number) => number;
297
- export const __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
298
- export const __wbg_get_encodedcontent_content: (a: number) => any;
299
- export const __wbg_set_encodedcontent_content: (a: number, b: any) => void;
300
- export const encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
301
340
  export const __wbg_opfs_free: (a: number, b: number) => void;
302
341
  export const opfs_init_sqlite_opfs: () => any;
303
342
  export const opfs_exists: () => number;
@@ -311,47 +350,6 @@ export const opfs_getFileCount: () => number;
311
350
  export const opfs_getCapacity: () => number;
312
351
  export const opfs_addCapacity: (a: number) => any;
313
352
  export const opfs_reduceCapacity: (a: number) => any;
314
- export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
315
- export const __wbg_passkeysignature_free: (a: number, b: number) => void;
316
- export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
317
- export const client_addWalletSignatureText: (a: number, b: any) => any;
318
- export const client_revokeWalletSignatureText: (a: number, b: any) => any;
319
- export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
320
- export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
321
- export const client_changeRecoveryIdentifierSignatureText: (a: number, b: any) => any;
322
- export const client_addEcdsaSignature: (a: number, b: number, c: any) => any;
323
- export const client_addPasskeySignature: (a: number, b: number, c: number) => any;
324
- export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
325
- export const client_applySignatureRequests: (a: number) => any;
326
- export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
327
- export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
328
- export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
329
- export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
330
- export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
331
- export const __wbg_get_reaction_reference: (a: number) => [number, number];
332
- export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
333
- export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
334
- export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
335
- export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
336
- export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
337
- export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
338
- export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
339
- export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
340
- export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
341
- export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
342
- export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
343
- export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
344
- export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
345
- export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
346
- export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
347
- export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
348
- export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
349
- export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
350
- export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
351
- export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
352
- export const __wbg_grouppermissions_free: (a: number, b: number) => void;
353
- export const grouppermissions_policyType: (a: number) => [number, number, number];
354
- export const grouppermissions_policySet: (a: number) => [number, number, number];
355
353
  export const rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
356
354
  export const rust_zstd_wasm_shim_malloc: (a: number) => number;
357
355
  export const rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
@@ -391,8 +389,8 @@ export const __wbindgen_export_7: WebAssembly.Table;
391
389
  export const __externref_table_dealloc: (a: number) => void;
392
390
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215: (a: number, b: number) => void;
393
391
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h89dafc0baf46c12b: (a: number, b: number) => void;
394
- export const closure4460_externref_shim: (a: number, b: number, c: any) => void;
392
+ export const closure4459_externref_shim: (a: number, b: number, c: any) => void;
395
393
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a: (a: number, b: number) => void;
396
- export const closure5467_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
397
- export const closure5466_externref_shim: (a: number, b: number, c: any, d: any) => void;
394
+ export const closure5466_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
395
+ export const closure5465_externref_shim: (a: number, b: number, c: any, d: any) => void;
398
396
  export const __wbindgen_start: () => void;
package/dist/version.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "branch": "HEAD",
3
- "version": "9ce24d1",
4
- "date": "2025-05-07 17:45:18 +0000"
2
+ "branch": "release/v1.2",
3
+ "version": "b4e982c",
4
+ "date": "2025-05-09 18:12:27 +0000"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/wasm-bindings",
3
- "version": "1.2.0-rc1",
3
+ "version": "1.2.0-rc3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "WASM bindings for the libXMTP rust library",