@xmtp/wasm-bindings 1.7.0-rc1 → 1.7.0-rc2

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,29 +1,92 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
+ export const __wbg_authhandle_free: (a: number, b: number) => void;
4
5
  export const __wbg_client_free: (a: number, b: number) => void;
5
- export const __wbg_conversation_free: (a: number, b: number) => void;
6
+ export const __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
6
7
  export const actionsContentType: () => any;
8
+ export const applySignatureRequest: (a: number, b: number, c: number, d: number, e: number) => any;
7
9
  export const attachmentContentType: () => any;
10
+ export const authhandle_id: (a: number) => number;
11
+ export const authhandle_new: () => number;
12
+ export const authhandle_set: (a: number, b: any) => any;
8
13
  export const client_accountIdentifier: (a: number) => any;
14
+ export const client_addWalletSignatureRequest: (a: number, b: any) => any;
9
15
  export const client_apiAggregateStatistics: (a: number) => [number, number];
10
16
  export const client_apiIdentityStatistics: (a: number) => any;
11
17
  export const client_apiStatistics: (a: number) => any;
12
18
  export const client_appVersion: (a: number) => [number, number];
19
+ export const client_applySignatureRequest: (a: number, b: number) => any;
13
20
  export const client_canMessage: (a: number, b: number, c: number) => any;
21
+ export const client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
14
22
  export const client_clearAllStatistics: (a: number) => void;
15
23
  export const client_conversations: (a: number) => number;
24
+ export const client_createInboxSignatureRequest: (a: number) => [number, number, number];
16
25
  export const client_findInboxIdByIdentifier: (a: number, b: any) => any;
17
- export const client_getConsentState: (a: number, b: any, c: number, d: number) => any;
18
26
  export const client_inboxId: (a: number) => [number, number];
19
27
  export const client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
20
28
  export const client_installationId: (a: number) => [number, number];
21
29
  export const client_installationIdBytes: (a: number) => any;
22
30
  export const client_isRegistered: (a: number) => number;
23
31
  export const client_libxmtpVersion: (a: number) => [number, number];
32
+ export const client_registerIdentity: (a: number, b: number) => any;
33
+ export const client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
34
+ export const client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
35
+ export const client_revokeWalletSignatureRequest: (a: number, b: any) => any;
24
36
  export const client_sendSyncRequest: (a: number) => any;
25
- export const client_setConsentStates: (a: number, b: number, c: number) => any;
37
+ export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
26
38
  export const client_syncPreferences: (a: number) => any;
39
+ export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
40
+ 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, m: number, n: number, o: number, p: number, q: number, r: number, s: bigint, t: number, u: number, v: number) => any;
41
+ export const decryptAttachment: (a: number, b: number, c: any) => [number, number, number];
42
+ export const encodeActions: (a: any) => [number, number, number];
43
+ export const encodeAttachment: (a: any) => [number, number, number];
44
+ export const encodeIntent: (a: any) => [number, number, number];
45
+ export const encodeMarkdown: (a: number, b: number) => [number, number, number];
46
+ export const encodeMultiRemoteAttachment: (a: any) => [number, number, number];
47
+ export const encodeReaction: (a: any) => [number, number, number];
48
+ export const encodeReadReceipt: (a: any) => [number, number, number];
49
+ export const encodeRemoteAttachment: (a: any) => [number, number, number];
50
+ export const encodeText: (a: number, b: number) => [number, number, number];
51
+ export const encodeTransactionReference: (a: any) => [number, number, number];
52
+ export const encodeWalletSendCalls: (a: any) => [number, number, number];
53
+ export const encryptAttachment: (a: any) => [number, number, number];
54
+ export const generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
55
+ export const getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: any) => any;
56
+ export const groupUpdatedContentType: () => any;
57
+ export const intentContentType: () => any;
58
+ export const leaveRequestContentType: () => any;
59
+ export const markdownContentType: () => any;
60
+ export const multiRemoteAttachmentContentType: () => any;
61
+ export const reactionContentType: () => any;
62
+ export const readReceiptContentType: () => any;
63
+ export const remoteAttachmentContentType: () => any;
64
+ export const replyContentType: () => any;
65
+ export const revokeInstallationsSignatureRequest: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number) => [number, number, number];
66
+ export const signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
67
+ export const signaturerequesthandle_addPasskeySignature: (a: number, b: any) => any;
68
+ export const signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
69
+ export const signaturerequesthandle_signatureText: (a: number) => any;
70
+ export const textContentType: () => any;
71
+ export const transactionReferenceContentType: () => any;
72
+ export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
73
+ export const walletSendCallsContentType: () => any;
74
+ export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
75
+ export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
76
+ export const client_inboxState: (a: number, b: number) => any;
77
+ export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
78
+ export const __wbg_conversation_free: (a: number, b: number) => void;
79
+ export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
80
+ export const __wbg_conversations_free: (a: number, b: number) => void;
81
+ export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
82
+ export const __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
83
+ export const __wbg_get_conversationlistitem_lastMessage: (a: number) => any;
84
+ export const __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
85
+ export const __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
86
+ export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
87
+ export const __wbg_streamcloser_free: (a: number, b: number) => void;
88
+ export const client_getConsentState: (a: number, b: any, c: number, d: number) => any;
89
+ export const client_setConsentStates: (a: number, b: number, c: number) => any;
27
90
  export const conversation_addAdmin: (a: number, b: number, c: number) => any;
28
91
  export const conversation_addMembers: (a: number, b: number, c: number) => any;
29
92
  export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
@@ -68,6 +131,7 @@ export const conversation_send: (a: number, b: any, c: any) => any;
68
131
  export const conversation_sendActions: (a: number, b: any, c: number) => any;
69
132
  export const conversation_sendAttachment: (a: number, b: any, c: number) => any;
70
133
  export const conversation_sendIntent: (a: number, b: any, c: number) => any;
134
+ export const conversation_sendMarkdown: (a: number, b: number, c: number, d: number) => any;
71
135
  export const conversation_sendMultiRemoteAttachment: (a: number, b: any, c: number) => any;
72
136
  export const conversation_sendOptimistic: (a: number, b: any, c: any) => [number, number, number, number];
73
137
  export const conversation_sendReaction: (a: number, b: any, c: number) => any;
@@ -87,62 +151,6 @@ export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: n
87
151
  export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
88
152
  export const conversation_updateMessageDisappearingSettings: (a: number, b: any) => any;
89
153
  export const conversation_updatePermissionPolicy: (a: number, b: any, c: any, d: number) => any;
90
- 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, m: number, n: number, o: number, p: number, q: number, r: number, s: bigint, t: number, u: number, v: number) => any;
91
- export const encodeActions: (a: any) => [number, number, number];
92
- export const encodeAttachment: (a: any) => [number, number, number];
93
- export const encodeIntent: (a: any) => [number, number, number];
94
- export const encodeMultiRemoteAttachment: (a: any) => [number, number, number];
95
- export const encodeReaction: (a: any) => [number, number, number];
96
- export const encodeReadReceipt: (a: any) => [number, number, number];
97
- export const encodeRemoteAttachment: (a: any) => [number, number, number];
98
- export const encodeText: (a: number, b: number) => [number, number, number];
99
- export const encodeTransactionReference: (a: any) => [number, number, number];
100
- export const encodeWalletSendCalls: (a: any) => [number, number, number];
101
- export const groupUpdatedContentType: () => any;
102
- export const intentContentType: () => any;
103
- export const leaveRequestContentType: () => any;
104
- export const multiRemoteAttachmentContentType: () => any;
105
- export const reactionContentType: () => any;
106
- export const readReceiptContentType: () => any;
107
- export const remoteAttachmentContentType: () => any;
108
- export const replyContentType: () => any;
109
- export const textContentType: () => any;
110
- export const transactionReferenceContentType: () => any;
111
- export const walletSendCallsContentType: () => any;
112
- export const __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
113
- export const applySignatureRequest: (a: number, b: number, c: number, d: number, e: number) => any;
114
- export const client_addWalletSignatureRequest: (a: number, b: any) => any;
115
- export const client_applySignatureRequest: (a: number, b: number) => any;
116
- export const client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
117
- export const client_createInboxSignatureRequest: (a: number) => [number, number, number];
118
- export const client_registerIdentity: (a: number, b: number) => any;
119
- export const client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
120
- export const client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
121
- export const client_revokeWalletSignatureRequest: (a: number, b: any) => any;
122
- export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
123
- export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
124
- export const revokeInstallationsSignatureRequest: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number) => [number, number, number];
125
- export const signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
126
- export const signaturerequesthandle_addPasskeySignature: (a: number, b: any) => any;
127
- export const signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
128
- export const signaturerequesthandle_signatureText: (a: number) => any;
129
- export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
130
- export const __wbg_authhandle_free: (a: number, b: number) => void;
131
- export const __wbg_conversationlistitem_free: (a: number, b: number) => void;
132
- export const __wbg_conversations_free: (a: number, b: number) => void;
133
- export const __wbg_get_conversationlistitem_conversation: (a: number) => number;
134
- export const __wbg_get_conversationlistitem_isCommitLogForked: (a: number) => number;
135
- export const __wbg_get_conversationlistitem_lastMessage: (a: number) => any;
136
- export const __wbg_set_conversationlistitem_conversation: (a: number, b: number) => void;
137
- export const __wbg_set_conversationlistitem_isCommitLogForked: (a: number, b: number) => void;
138
- export const __wbg_set_conversationlistitem_lastMessage: (a: number, b: number) => void;
139
- export const __wbg_streamcloser_free: (a: number, b: number) => void;
140
- export const authhandle_id: (a: number) => number;
141
- export const authhandle_new: () => number;
142
- export const authhandle_set: (a: number, b: any) => any;
143
- export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
144
- export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
145
- export const client_inboxState: (a: number, b: number) => any;
146
154
  export const conversationlistitem_new: (a: number, b: number, c: number) => number;
147
155
  export const conversations_createDm: (a: number, b: any, c: number) => any;
148
156
  export const conversations_createDmByInboxId: (a: number, b: number, c: number, d: number) => any;
@@ -164,9 +172,6 @@ export const conversations_streamMessageDeletions: (a: number, b: any) => [numbe
164
172
  export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
165
173
  export const conversations_sync: (a: number) => any;
166
174
  export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
167
- export const generateInboxId: (a: any, b: number, c: bigint) => [number, number, number, number];
168
- export const getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: any) => any;
169
- export const inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
170
175
  export const streamcloser_end: (a: number) => void;
171
176
  export const streamcloser_endAndWait: (a: number) => any;
172
177
  export const streamcloser_isClosed: (a: number) => number;
@@ -203,12 +208,12 @@ export const intounderlyingbytesource_cancel: (a: number) => void;
203
208
  export const intounderlyingbytesource_pull: (a: number, b: any) => any;
204
209
  export const intounderlyingbytesource_start: (a: number, b: any) => void;
205
210
  export const intounderlyingbytesource_type: (a: number) => number;
206
- export const wasm_bindgen__convert__closures_____invoke__hceddd2b8fc291040: (a: number, b: number) => void;
207
- export const wasm_bindgen__closure__destroy__hfbd660e60d498df9: (a: number, b: number) => void;
208
- export const wasm_bindgen__convert__closures_____invoke__hdff293b41f2cecc6: (a: number, b: number, c: any) => void;
209
- export const wasm_bindgen__closure__destroy__hed8af60076250245: (a: number, b: number) => void;
210
211
  export const wasm_bindgen__convert__closures_____invoke__h956b60152b2cf005: (a: number, b: number) => void;
211
212
  export const wasm_bindgen__closure__destroy__h3c5639ee43c80f22: (a: number, b: number) => void;
213
+ export const wasm_bindgen__convert__closures_____invoke__hdff293b41f2cecc6: (a: number, b: number, c: any) => void;
214
+ export const wasm_bindgen__closure__destroy__hed8af60076250245: (a: number, b: number) => void;
215
+ export const wasm_bindgen__convert__closures_____invoke__hceddd2b8fc291040: (a: number, b: number) => void;
216
+ export const wasm_bindgen__closure__destroy__hfbd660e60d498df9: (a: number, b: number) => void;
212
217
  export const wasm_bindgen__convert__closures_____invoke__h6af3cd86eb56f4b1: (a: number, b: number) => void;
213
218
  export const wasm_bindgen__closure__destroy__he7b712e0eb1b5ac1: (a: number, b: number) => void;
214
219
  export const wasm_bindgen__convert__closures_____invoke__h47a8fb56fc48c5fb: (a: number, b: number, c: any, d: any) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/wasm-bindings",
3
- "version": "1.7.0-rc1",
3
+ "version": "1.7.0-rc2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "WASM bindings for the libXMTP rust library",