@xmtp/wasm-bindings 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bindings_wasm.d.ts +264 -606
- package/dist/bindings_wasm.js +1176 -1036
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +247 -245
- package/package.json +1 -1
- /package/dist/snippets/{diesel-wasm-sqlite-36e85657e47f3be3 → sqlite-web-90f8afa7b0cd2303}/src/js/sqlite3-diesel.js +0 -0
- /package/dist/snippets/{diesel-wasm-sqlite-36e85657e47f3be3 → sqlite-web-90f8afa7b0cd2303}/src/js/sqlite3-opfs-async-proxy.js +0 -0
- /package/dist/snippets/{diesel-wasm-sqlite-36e85657e47f3be3 → sqlite-web-90f8afa7b0cd2303}/src/js/sqlite3.wasm +0 -0
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,27 +1,9 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
|
|
4
|
-
* @param {string} host
|
|
5
|
-
* @param {string} inbox_id
|
|
6
|
-
* @param {string} account_address
|
|
7
|
-
* @param {string} db_path
|
|
8
|
-
* @param {Uint8Array | undefined} [encryption_key]
|
|
9
|
-
* @param {string | undefined} [history_sync_url]
|
|
10
|
-
* @param {LogOptions | undefined} [log_options]
|
|
11
|
-
* @returns {Promise<Client>}
|
|
12
|
-
*/
|
|
13
|
-
export function createClient(host: string, inbox_id: string, account_address: string, db_path: string, encryption_key?: Uint8Array, history_sync_url?: string, log_options?: LogOptions): Promise<Client>;
|
|
14
|
-
/**
|
|
15
|
-
* @param {string} host
|
|
16
|
-
* @param {string} account_address
|
|
17
|
-
* @returns {Promise<string | undefined>}
|
|
18
|
-
*/
|
|
3
|
+
export function createClient(host: string, inbox_id: string, account_address: string, db_path?: string, encryption_key?: Uint8Array, history_sync_url?: string, log_options?: LogOptions): Promise<Client>;
|
|
19
4
|
export function getInboxIdForAddress(host: string, account_address: string): Promise<string | undefined>;
|
|
20
|
-
/**
|
|
21
|
-
* @param {string} account_address
|
|
22
|
-
* @returns {string}
|
|
23
|
-
*/
|
|
24
5
|
export function generateInboxId(account_address: string): string;
|
|
6
|
+
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
25
7
|
export enum ConsentEntityType {
|
|
26
8
|
GroupId = 0,
|
|
27
9
|
InboxId = 1,
|
|
@@ -56,6 +38,12 @@ export enum GroupPermissionsOptions {
|
|
|
56
38
|
AdminOnly = 1,
|
|
57
39
|
CustomPolicy = 2,
|
|
58
40
|
}
|
|
41
|
+
export enum MetadataField {
|
|
42
|
+
GroupName = 0,
|
|
43
|
+
Description = 1,
|
|
44
|
+
ImageUrlSquare = 2,
|
|
45
|
+
PinnedFrameUrl = 3,
|
|
46
|
+
}
|
|
59
47
|
export enum PermissionLevel {
|
|
60
48
|
Member = 0,
|
|
61
49
|
Admin = 1,
|
|
@@ -86,140 +74,58 @@ export enum SortDirection {
|
|
|
86
74
|
Ascending = 0,
|
|
87
75
|
Descending = 1,
|
|
88
76
|
}
|
|
77
|
+
type LogLevel = "off" | "error" | "warn" | "info" | "debug" | "trace";
|
|
78
|
+
/**
|
|
79
|
+
* The `ReadableStreamType` enum.
|
|
80
|
+
*
|
|
81
|
+
* *This API requires the following crate features to be activated: `ReadableStreamType`*
|
|
82
|
+
*/
|
|
83
|
+
type ReadableStreamType = "bytes";
|
|
89
84
|
export class Client {
|
|
85
|
+
private constructor();
|
|
90
86
|
free(): void;
|
|
91
87
|
/**
|
|
92
|
-
*
|
|
93
|
-
*
|
|
88
|
+
*
|
|
89
|
+
* * Get the client's inbox state.
|
|
90
|
+
* *
|
|
91
|
+
* * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
|
|
92
|
+
* * Otherwise, the state will be read from the local database.
|
|
93
|
+
*
|
|
94
94
|
*/
|
|
95
|
+
inboxState(refresh_from_network: boolean): Promise<InboxState>;
|
|
96
|
+
getLatestInboxState(inbox_id: string): Promise<InboxState>;
|
|
95
97
|
canMessage(account_addresses: (string)[]): Promise<any>;
|
|
96
|
-
/**
|
|
97
|
-
* @returns {Promise<void>}
|
|
98
|
-
*/
|
|
99
98
|
registerIdentity(): Promise<void>;
|
|
100
|
-
/**
|
|
101
|
-
* @returns {Promise<void>}
|
|
102
|
-
*/
|
|
103
99
|
sendHistorySyncRequest(): Promise<void>;
|
|
104
|
-
/**
|
|
105
|
-
* @returns {Promise<void>}
|
|
106
|
-
*/
|
|
107
100
|
sendConsentSyncRequest(): Promise<void>;
|
|
108
|
-
/**
|
|
109
|
-
* @param {string} address
|
|
110
|
-
* @returns {Promise<string | undefined>}
|
|
111
|
-
*/
|
|
112
101
|
findInboxIdByAddress(address: string): Promise<string | undefined>;
|
|
113
|
-
/**
|
|
114
|
-
* @returns {Conversations}
|
|
115
|
-
*/
|
|
116
102
|
conversations(): Conversations;
|
|
117
|
-
/**
|
|
118
|
-
* @param {string} signature_text
|
|
119
|
-
* @returns {Uint8Array}
|
|
120
|
-
*/
|
|
121
|
-
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
122
|
-
/**
|
|
123
|
-
* @param {string} signature_text
|
|
124
|
-
* @param {Uint8Array} signature_bytes
|
|
125
|
-
*/
|
|
126
|
-
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
127
|
-
/**
|
|
128
|
-
* @param {string} signature_text
|
|
129
|
-
* @param {Uint8Array} signature_bytes
|
|
130
|
-
* @param {Uint8Array} public_key
|
|
131
|
-
*/
|
|
132
|
-
verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
133
|
-
/**
|
|
134
|
-
* @param {(Consent)[]} records
|
|
135
|
-
* @returns {Promise<void>}
|
|
136
|
-
*/
|
|
137
103
|
setConsentStates(records: (Consent)[]): Promise<void>;
|
|
138
|
-
/**
|
|
139
|
-
* @param {ConsentEntityType} entity_type
|
|
140
|
-
* @param {string} entity
|
|
141
|
-
* @returns {Promise<ConsentState>}
|
|
142
|
-
*/
|
|
143
104
|
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
144
|
-
/**
|
|
145
|
-
* @returns {Promise<string | undefined>}
|
|
146
|
-
*/
|
|
147
105
|
createInboxSignatureText(): Promise<string | undefined>;
|
|
148
|
-
|
|
149
|
-
* @param {string} existing_wallet_address
|
|
150
|
-
* @param {string} new_wallet_address
|
|
151
|
-
* @returns {Promise<string>}
|
|
152
|
-
*/
|
|
153
|
-
addWalletSignatureText(existing_wallet_address: string, new_wallet_address: string): Promise<string>;
|
|
154
|
-
/**
|
|
155
|
-
* @param {string} wallet_address
|
|
156
|
-
* @returns {Promise<string>}
|
|
157
|
-
*/
|
|
106
|
+
addWalletSignatureText(new_wallet_address: string): Promise<string>;
|
|
158
107
|
revokeWalletSignatureText(wallet_address: string): Promise<string>;
|
|
159
|
-
/**
|
|
160
|
-
* @returns {Promise<string>}
|
|
161
|
-
*/
|
|
162
108
|
revokeInstallationsSignatureText(): Promise<string>;
|
|
163
|
-
/**
|
|
164
|
-
* @param {SignatureRequestType} signature_type
|
|
165
|
-
* @param {Uint8Array} signature_bytes
|
|
166
|
-
* @returns {Promise<void>}
|
|
167
|
-
*/
|
|
168
109
|
addSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array): Promise<void>;
|
|
169
|
-
/**
|
|
170
|
-
* @param {SignatureRequestType} signature_type
|
|
171
|
-
* @param {Uint8Array} signature_bytes
|
|
172
|
-
* @param {bigint} chain_id
|
|
173
|
-
* @param {bigint | undefined} [block_number]
|
|
174
|
-
* @returns {Promise<void>}
|
|
175
|
-
*/
|
|
176
110
|
addScwSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array, chain_id: bigint, block_number?: bigint): Promise<void>;
|
|
177
|
-
/**
|
|
178
|
-
* @returns {Promise<void>}
|
|
179
|
-
*/
|
|
180
111
|
applySignatureRequests(): Promise<void>;
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
* * Get the client's inbox state.
|
|
184
|
-
* *
|
|
185
|
-
* * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
|
|
186
|
-
* * Otherwise, the state will be read from the local database.
|
|
187
|
-
*
|
|
188
|
-
* @param {boolean} refresh_from_network
|
|
189
|
-
* @returns {Promise<InboxState>}
|
|
190
|
-
*/
|
|
191
|
-
inboxState(refresh_from_network: boolean): Promise<InboxState>;
|
|
192
|
-
/**
|
|
193
|
-
* @param {string} inbox_id
|
|
194
|
-
* @returns {Promise<InboxState>}
|
|
195
|
-
*/
|
|
196
|
-
getLatestInboxState(inbox_id: string): Promise<InboxState>;
|
|
112
|
+
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
113
|
+
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
197
114
|
readonly accountAddress: string;
|
|
198
115
|
readonly inboxId: string;
|
|
116
|
+
readonly isRegistered: boolean;
|
|
199
117
|
readonly installationId: string;
|
|
200
118
|
readonly installationIdBytes: Uint8Array;
|
|
201
|
-
readonly isRegistered: boolean;
|
|
202
119
|
}
|
|
203
120
|
export class Consent {
|
|
204
121
|
free(): void;
|
|
205
|
-
/**
|
|
206
|
-
* @param {ConsentEntityType} entity_type
|
|
207
|
-
* @param {ConsentState} state
|
|
208
|
-
* @param {string} entity
|
|
209
|
-
*/
|
|
210
122
|
constructor(entity_type: ConsentEntityType, state: ConsentState, entity: string);
|
|
211
|
-
entity: string;
|
|
212
123
|
entityType: ConsentEntityType;
|
|
213
124
|
state: ConsentState;
|
|
125
|
+
entity: string;
|
|
214
126
|
}
|
|
215
127
|
export class ContentTypeId {
|
|
216
128
|
free(): void;
|
|
217
|
-
/**
|
|
218
|
-
* @param {string} authority_id
|
|
219
|
-
* @param {string} type_id
|
|
220
|
-
* @param {number} version_major
|
|
221
|
-
* @param {number} version_minor
|
|
222
|
-
*/
|
|
223
129
|
constructor(authority_id: string, type_id: string, version_major: number, version_minor: number);
|
|
224
130
|
authorityId: string;
|
|
225
131
|
typeId: string;
|
|
@@ -227,363 +133,143 @@ export class ContentTypeId {
|
|
|
227
133
|
versionMinor: number;
|
|
228
134
|
}
|
|
229
135
|
export class Conversation {
|
|
136
|
+
private constructor();
|
|
230
137
|
free(): void;
|
|
231
|
-
/**
|
|
232
|
-
* @returns {ConsentState}
|
|
233
|
-
*/
|
|
234
|
-
consentState(): ConsentState;
|
|
235
|
-
/**
|
|
236
|
-
* @param {ConsentState} state
|
|
237
|
-
*/
|
|
238
|
-
updateConsentState(state: ConsentState): void;
|
|
239
|
-
/**
|
|
240
|
-
* @returns {string}
|
|
241
|
-
*/
|
|
242
138
|
id(): string;
|
|
243
|
-
/**
|
|
244
|
-
* @param {EncodedContent} encoded_content
|
|
245
|
-
* @returns {Promise<string>}
|
|
246
|
-
*/
|
|
247
139
|
send(encoded_content: EncodedContent): Promise<string>;
|
|
248
140
|
/**
|
|
249
141
|
* send a message without immediately publishing to the delivery service.
|
|
250
|
-
* @param {EncodedContent} encoded_content
|
|
251
|
-
* @returns {string}
|
|
252
142
|
*/
|
|
253
143
|
sendOptimistic(encoded_content: EncodedContent): string;
|
|
254
144
|
/**
|
|
255
145
|
* Publish all unpublished messages
|
|
256
|
-
* @returns {Promise<void>}
|
|
257
146
|
*/
|
|
258
147
|
publishMessages(): Promise<void>;
|
|
259
|
-
/**
|
|
260
|
-
* @returns {Promise<void>}
|
|
261
|
-
*/
|
|
262
148
|
sync(): Promise<void>;
|
|
263
|
-
/**
|
|
264
|
-
* @param {ListMessagesOptions | undefined} [opts]
|
|
265
|
-
* @returns {(Message)[]}
|
|
266
|
-
*/
|
|
267
149
|
findMessages(opts?: ListMessagesOptions): (Message)[];
|
|
268
|
-
/**
|
|
269
|
-
* @returns {Promise<any>}
|
|
270
|
-
*/
|
|
271
150
|
listMembers(): Promise<any>;
|
|
272
|
-
/**
|
|
273
|
-
* @returns {(string)[]}
|
|
274
|
-
*/
|
|
275
151
|
adminList(): (string)[];
|
|
276
|
-
/**
|
|
277
|
-
* @returns {(string)[]}
|
|
278
|
-
*/
|
|
279
152
|
superAdminList(): (string)[];
|
|
280
|
-
/**
|
|
281
|
-
* @param {string} inbox_id
|
|
282
|
-
* @returns {boolean}
|
|
283
|
-
*/
|
|
284
153
|
isAdmin(inbox_id: string): boolean;
|
|
285
|
-
/**
|
|
286
|
-
* @param {string} inbox_id
|
|
287
|
-
* @returns {boolean}
|
|
288
|
-
*/
|
|
289
154
|
isSuperAdmin(inbox_id: string): boolean;
|
|
290
|
-
/**
|
|
291
|
-
* @param {(string)[]} account_addresses
|
|
292
|
-
* @returns {Promise<void>}
|
|
293
|
-
*/
|
|
294
155
|
addMembers(account_addresses: (string)[]): Promise<void>;
|
|
295
|
-
/**
|
|
296
|
-
* @param {string} inbox_id
|
|
297
|
-
* @returns {Promise<void>}
|
|
298
|
-
*/
|
|
299
156
|
addAdmin(inbox_id: string): Promise<void>;
|
|
300
|
-
/**
|
|
301
|
-
* @param {string} inbox_id
|
|
302
|
-
* @returns {Promise<void>}
|
|
303
|
-
*/
|
|
304
157
|
removeAdmin(inbox_id: string): Promise<void>;
|
|
305
|
-
/**
|
|
306
|
-
* @param {string} inbox_id
|
|
307
|
-
* @returns {Promise<void>}
|
|
308
|
-
*/
|
|
309
158
|
addSuperAdmin(inbox_id: string): Promise<void>;
|
|
310
|
-
/**
|
|
311
|
-
* @param {string} inbox_id
|
|
312
|
-
* @returns {Promise<void>}
|
|
313
|
-
*/
|
|
314
159
|
removeSuperAdmin(inbox_id: string): Promise<void>;
|
|
315
|
-
/**
|
|
316
|
-
* @returns {GroupPermissions}
|
|
317
|
-
*/
|
|
318
160
|
groupPermissions(): GroupPermissions;
|
|
319
|
-
/**
|
|
320
|
-
* @param {(string)[]} inbox_ids
|
|
321
|
-
* @returns {Promise<void>}
|
|
322
|
-
*/
|
|
323
161
|
addMembersByInboxId(inbox_ids: (string)[]): Promise<void>;
|
|
324
|
-
/**
|
|
325
|
-
* @param {(string)[]} account_addresses
|
|
326
|
-
* @returns {Promise<void>}
|
|
327
|
-
*/
|
|
328
162
|
removeMembers(account_addresses: (string)[]): Promise<void>;
|
|
329
|
-
/**
|
|
330
|
-
* @param {(string)[]} inbox_ids
|
|
331
|
-
* @returns {Promise<void>}
|
|
332
|
-
*/
|
|
333
163
|
removeMembersByInboxId(inbox_ids: (string)[]): Promise<void>;
|
|
334
|
-
/**
|
|
335
|
-
* @param {string} group_name
|
|
336
|
-
* @returns {Promise<void>}
|
|
337
|
-
*/
|
|
338
164
|
updateGroupName(group_name: string): Promise<void>;
|
|
339
|
-
/**
|
|
340
|
-
* @returns {string}
|
|
341
|
-
*/
|
|
342
165
|
groupName(): string;
|
|
343
|
-
/**
|
|
344
|
-
* @param {string} group_image_url_square
|
|
345
|
-
* @returns {Promise<void>}
|
|
346
|
-
*/
|
|
347
166
|
updateGroupImageUrlSquare(group_image_url_square: string): Promise<void>;
|
|
348
|
-
/**
|
|
349
|
-
* @returns {string}
|
|
350
|
-
*/
|
|
351
167
|
groupImageUrlSquare(): string;
|
|
352
|
-
/**
|
|
353
|
-
* @param {string} group_description
|
|
354
|
-
* @returns {Promise<void>}
|
|
355
|
-
*/
|
|
356
168
|
updateGroupDescription(group_description: string): Promise<void>;
|
|
357
|
-
/**
|
|
358
|
-
* @returns {string}
|
|
359
|
-
*/
|
|
360
169
|
groupDescription(): string;
|
|
361
|
-
/**
|
|
362
|
-
* @param {string} pinned_frame_url
|
|
363
|
-
* @returns {Promise<void>}
|
|
364
|
-
*/
|
|
365
170
|
updateGroupPinnedFrameUrl(pinned_frame_url: string): Promise<void>;
|
|
366
|
-
/**
|
|
367
|
-
* @returns {string}
|
|
368
|
-
*/
|
|
369
171
|
groupPinnedFrameUrl(): string;
|
|
370
|
-
/**
|
|
371
|
-
* @returns {bigint}
|
|
372
|
-
*/
|
|
373
172
|
createdAtNs(): bigint;
|
|
374
|
-
/**
|
|
375
|
-
* @returns {boolean}
|
|
376
|
-
*/
|
|
377
173
|
isActive(): boolean;
|
|
378
|
-
/**
|
|
379
|
-
* @returns {string}
|
|
380
|
-
*/
|
|
381
174
|
addedByInboxId(): string;
|
|
382
|
-
/**
|
|
383
|
-
* @returns {GroupMetadata}
|
|
384
|
-
*/
|
|
385
175
|
groupMetadata(): GroupMetadata;
|
|
386
|
-
/**
|
|
387
|
-
* @returns {string}
|
|
388
|
-
*/
|
|
389
176
|
dmPeerInboxId(): string;
|
|
177
|
+
updatePermissionPolicy(permission_update_type: PermissionUpdateType, permission_policy_option: PermissionPolicy, metadata_field?: MetadataField): Promise<void>;
|
|
178
|
+
consentState(): ConsentState;
|
|
179
|
+
updateConsentState(state: ConsentState): void;
|
|
390
180
|
}
|
|
391
181
|
export class Conversations {
|
|
182
|
+
private constructor();
|
|
392
183
|
free(): void;
|
|
393
|
-
/**
|
|
394
|
-
* @param {(string)[]} account_addresses
|
|
395
|
-
* @param {CreateGroupOptions | undefined} [options]
|
|
396
|
-
* @returns {Promise<Conversation>}
|
|
397
|
-
*/
|
|
398
184
|
createGroup(account_addresses: (string)[], options?: CreateGroupOptions): Promise<Conversation>;
|
|
399
|
-
/**
|
|
400
|
-
* @param {string} account_address
|
|
401
|
-
* @returns {Promise<Conversation>}
|
|
402
|
-
*/
|
|
403
185
|
createDm(account_address: string): Promise<Conversation>;
|
|
404
|
-
/**
|
|
405
|
-
* @param {string} group_id
|
|
406
|
-
* @returns {Conversation}
|
|
407
|
-
*/
|
|
408
186
|
findGroupById(group_id: string): Conversation;
|
|
409
|
-
/**
|
|
410
|
-
* @param {string} target_inbox_id
|
|
411
|
-
* @returns {Conversation}
|
|
412
|
-
*/
|
|
413
187
|
findDmByTargetInboxId(target_inbox_id: string): Conversation;
|
|
414
|
-
/**
|
|
415
|
-
* @param {string} message_id
|
|
416
|
-
* @returns {Message}
|
|
417
|
-
*/
|
|
418
188
|
findMessageById(message_id: string): Message;
|
|
419
|
-
/**
|
|
420
|
-
* @returns {Promise<void>}
|
|
421
|
-
*/
|
|
422
189
|
sync(): Promise<void>;
|
|
423
|
-
/**
|
|
424
|
-
* @returns {Promise<number>}
|
|
425
|
-
*/
|
|
426
190
|
syncAllConversations(): Promise<number>;
|
|
427
|
-
/**
|
|
428
|
-
* @param {ListConversationsOptions | undefined} [opts]
|
|
429
|
-
* @returns {Promise<Array<any>>}
|
|
430
|
-
*/
|
|
431
191
|
list(opts?: ListConversationsOptions): Promise<Array<any>>;
|
|
432
|
-
/**
|
|
433
|
-
* @param {ListConversationsOptions | undefined} [opts]
|
|
434
|
-
* @returns {Promise<Array<any>>}
|
|
435
|
-
*/
|
|
436
192
|
listGroups(opts?: ListConversationsOptions): Promise<Array<any>>;
|
|
437
|
-
/**
|
|
438
|
-
* @param {ListConversationsOptions | undefined} [opts]
|
|
439
|
-
* @returns {Promise<Array<any>>}
|
|
440
|
-
*/
|
|
441
193
|
listDms(opts?: ListConversationsOptions): Promise<Array<any>>;
|
|
442
194
|
}
|
|
443
195
|
export class CreateGroupOptions {
|
|
444
196
|
free(): void;
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
* @param {string | undefined} [group_name]
|
|
448
|
-
* @param {string | undefined} [group_image_url_square]
|
|
449
|
-
* @param {string | undefined} [group_description]
|
|
450
|
-
* @param {string | undefined} [group_pinned_frame_url]
|
|
451
|
-
*/
|
|
452
|
-
constructor(permissions?: GroupPermissionsOptions, group_name?: string, group_image_url_square?: string, group_description?: string, group_pinned_frame_url?: string);
|
|
453
|
-
groupDescription?: string;
|
|
454
|
-
groupImageUrlSquare?: string;
|
|
197
|
+
constructor(permissions?: GroupPermissionsOptions, group_name?: string, group_image_url_square?: string, group_description?: string, group_pinned_frame_url?: string, custom_permission_policy_set?: PermissionPolicySet);
|
|
198
|
+
permissions?: GroupPermissionsOptions;
|
|
455
199
|
groupName?: string;
|
|
200
|
+
groupImageUrlSquare?: string;
|
|
201
|
+
groupDescription?: string;
|
|
456
202
|
groupPinnedFrameUrl?: string;
|
|
457
|
-
|
|
203
|
+
customPermissionPolicySet?: PermissionPolicySet;
|
|
458
204
|
}
|
|
459
205
|
export class EncodedContent {
|
|
460
206
|
free(): void;
|
|
461
|
-
/**
|
|
462
|
-
* @param {ContentTypeId | undefined} type
|
|
463
|
-
* @param {any} parameters
|
|
464
|
-
* @param {string | undefined} fallback
|
|
465
|
-
* @param {number | undefined} compression
|
|
466
|
-
* @param {Uint8Array} content
|
|
467
|
-
*/
|
|
468
207
|
constructor(type: ContentTypeId | undefined, parameters: any, fallback: string | undefined, compression: number | undefined, content: Uint8Array);
|
|
208
|
+
type?: ContentTypeId;
|
|
209
|
+
parameters: any;
|
|
210
|
+
fallback?: string;
|
|
469
211
|
compression?: number;
|
|
470
212
|
content: Uint8Array;
|
|
471
|
-
fallback?: string;
|
|
472
|
-
parameters: any;
|
|
473
|
-
type?: ContentTypeId;
|
|
474
213
|
}
|
|
475
214
|
export class GroupMember {
|
|
476
215
|
free(): void;
|
|
477
|
-
/**
|
|
478
|
-
* @param {string} inbox_id
|
|
479
|
-
* @param {(string)[]} account_addresses
|
|
480
|
-
* @param {(string)[]} installation_ids
|
|
481
|
-
* @param {PermissionLevel} permission_level
|
|
482
|
-
* @param {ConsentState} consent_state
|
|
483
|
-
*/
|
|
484
216
|
constructor(inbox_id: string, account_addresses: (string)[], installation_ids: (string)[], permission_level: PermissionLevel, consent_state: ConsentState);
|
|
485
|
-
accountAddresses: (string)[];
|
|
486
|
-
consentState: ConsentState;
|
|
487
217
|
inboxId: string;
|
|
218
|
+
accountAddresses: (string)[];
|
|
488
219
|
installationIds: (string)[];
|
|
489
220
|
permissionLevel: PermissionLevel;
|
|
221
|
+
consentState: ConsentState;
|
|
490
222
|
}
|
|
491
223
|
export class GroupMetadata {
|
|
224
|
+
private constructor();
|
|
492
225
|
free(): void;
|
|
493
|
-
/**
|
|
494
|
-
* @returns {string}
|
|
495
|
-
*/
|
|
496
226
|
creatorInboxId(): string;
|
|
497
|
-
/**
|
|
498
|
-
* @returns {string}
|
|
499
|
-
*/
|
|
500
227
|
conversationType(): string;
|
|
501
228
|
}
|
|
502
229
|
export class GroupPermissions {
|
|
230
|
+
private constructor();
|
|
503
231
|
free(): void;
|
|
504
|
-
/**
|
|
505
|
-
* @returns {GroupPermissionsOptions}
|
|
506
|
-
*/
|
|
507
232
|
policyType(): GroupPermissionsOptions;
|
|
508
|
-
/**
|
|
509
|
-
* @returns {PermissionPolicySet}
|
|
510
|
-
*/
|
|
511
233
|
policySet(): PermissionPolicySet;
|
|
512
234
|
}
|
|
513
235
|
export class InboxState {
|
|
514
236
|
free(): void;
|
|
515
|
-
/**
|
|
516
|
-
* @param {string} inbox_id
|
|
517
|
-
* @param {string} recovery_address
|
|
518
|
-
* @param {(Installation)[]} installations
|
|
519
|
-
* @param {(string)[]} account_addresses
|
|
520
|
-
*/
|
|
521
237
|
constructor(inbox_id: string, recovery_address: string, installations: (Installation)[], account_addresses: (string)[]);
|
|
522
|
-
accountAddresses: (string)[];
|
|
523
238
|
inboxId: string;
|
|
524
|
-
installations: (Installation)[];
|
|
525
239
|
recoveryAddress: string;
|
|
240
|
+
installations: (Installation)[];
|
|
241
|
+
accountAddresses: (string)[];
|
|
526
242
|
}
|
|
527
243
|
export class Installation {
|
|
528
244
|
free(): void;
|
|
529
|
-
/**
|
|
530
|
-
* @param {string} id
|
|
531
|
-
* @param {bigint | undefined} [client_timestamp_ns]
|
|
532
|
-
*/
|
|
533
245
|
constructor(id: string, client_timestamp_ns?: bigint);
|
|
534
|
-
clientTimestampNs?: bigint;
|
|
535
246
|
id: string;
|
|
247
|
+
clientTimestampNs?: bigint;
|
|
536
248
|
}
|
|
537
249
|
export class IntoUnderlyingByteSource {
|
|
250
|
+
private constructor();
|
|
538
251
|
free(): void;
|
|
539
|
-
/**
|
|
540
|
-
* @param {ReadableByteStreamController} controller
|
|
541
|
-
*/
|
|
542
252
|
start(controller: ReadableByteStreamController): void;
|
|
543
|
-
/**
|
|
544
|
-
* @param {ReadableByteStreamController} controller
|
|
545
|
-
* @returns {Promise<any>}
|
|
546
|
-
*/
|
|
547
253
|
pull(controller: ReadableByteStreamController): Promise<any>;
|
|
548
254
|
cancel(): void;
|
|
255
|
+
readonly type: ReadableStreamType;
|
|
549
256
|
readonly autoAllocateChunkSize: number;
|
|
550
|
-
readonly type: any;
|
|
551
257
|
}
|
|
552
258
|
export class IntoUnderlyingSink {
|
|
259
|
+
private constructor();
|
|
553
260
|
free(): void;
|
|
554
|
-
/**
|
|
555
|
-
* @param {any} chunk
|
|
556
|
-
* @returns {Promise<any>}
|
|
557
|
-
*/
|
|
558
261
|
write(chunk: any): Promise<any>;
|
|
559
|
-
/**
|
|
560
|
-
* @returns {Promise<any>}
|
|
561
|
-
*/
|
|
562
262
|
close(): Promise<any>;
|
|
563
|
-
/**
|
|
564
|
-
* @param {any} reason
|
|
565
|
-
* @returns {Promise<any>}
|
|
566
|
-
*/
|
|
567
263
|
abort(reason: any): Promise<any>;
|
|
568
264
|
}
|
|
569
265
|
export class IntoUnderlyingSource {
|
|
266
|
+
private constructor();
|
|
570
267
|
free(): void;
|
|
571
|
-
/**
|
|
572
|
-
* @param {ReadableStreamDefaultController} controller
|
|
573
|
-
* @returns {Promise<any>}
|
|
574
|
-
*/
|
|
575
268
|
pull(controller: ReadableStreamDefaultController): Promise<any>;
|
|
576
269
|
cancel(): void;
|
|
577
270
|
}
|
|
578
271
|
export class ListConversationsOptions {
|
|
579
272
|
free(): void;
|
|
580
|
-
/**
|
|
581
|
-
* @param {any[] | undefined} [allowed_states]
|
|
582
|
-
* @param {ConversationType | undefined} [conversation_type]
|
|
583
|
-
* @param {bigint | undefined} [created_after_ns]
|
|
584
|
-
* @param {bigint | undefined} [created_before_ns]
|
|
585
|
-
* @param {bigint | undefined} [limit]
|
|
586
|
-
*/
|
|
587
273
|
constructor(allowed_states?: any[], conversation_type?: ConversationType, created_after_ns?: bigint, created_before_ns?: bigint, limit?: bigint);
|
|
588
274
|
allowedStates?: any[];
|
|
589
275
|
conversationType?: ConversationType;
|
|
@@ -593,87 +279,57 @@ export class ListConversationsOptions {
|
|
|
593
279
|
}
|
|
594
280
|
export class ListMessagesOptions {
|
|
595
281
|
free(): void;
|
|
596
|
-
/**
|
|
597
|
-
* @param {bigint | undefined} [sent_before_ns]
|
|
598
|
-
* @param {bigint | undefined} [sent_after_ns]
|
|
599
|
-
* @param {bigint | undefined} [limit]
|
|
600
|
-
* @param {DeliveryStatus | undefined} [delivery_status]
|
|
601
|
-
* @param {SortDirection | undefined} [direction]
|
|
602
|
-
*/
|
|
603
282
|
constructor(sent_before_ns?: bigint, sent_after_ns?: bigint, limit?: bigint, delivery_status?: DeliveryStatus, direction?: SortDirection);
|
|
283
|
+
sentBeforeNs?: bigint;
|
|
284
|
+
sentAfterNs?: bigint;
|
|
285
|
+
limit?: bigint;
|
|
604
286
|
deliveryStatus?: DeliveryStatus;
|
|
605
287
|
direction?: SortDirection;
|
|
606
|
-
limit?: bigint;
|
|
607
|
-
sentAfterNs?: bigint;
|
|
608
|
-
sentBeforeNs?: bigint;
|
|
609
288
|
}
|
|
610
289
|
/**
|
|
611
290
|
* Specify options for the logger
|
|
612
291
|
*/
|
|
613
292
|
export class LogOptions {
|
|
614
293
|
free(): void;
|
|
294
|
+
constructor(structured: boolean, performance: boolean, level?: LogLevel);
|
|
615
295
|
/**
|
|
616
|
-
*
|
|
617
|
-
* @param {boolean} performance
|
|
618
|
-
* @param {any | undefined} [level]
|
|
296
|
+
* enable structured JSON logging to stdout.Useful for third-party log viewers
|
|
619
297
|
*/
|
|
620
|
-
constructor(structured: boolean, performance: boolean, level?: any);
|
|
621
|
-
/**
|
|
622
|
-
* filter for logs
|
|
623
|
-
*/
|
|
624
|
-
level?: any;
|
|
625
|
-
/**
|
|
626
|
-
* enable performance metrics for libxmtp in the `performance` tab
|
|
627
|
-
*/
|
|
628
|
-
performance: boolean;
|
|
629
|
-
/**
|
|
630
|
-
* enable structured JSON logging to stdout.Useful for third-party log viewers
|
|
631
|
-
*/
|
|
632
298
|
structured: boolean;
|
|
299
|
+
/**
|
|
300
|
+
* enable performance metrics for libxmtp in the `performance` tab
|
|
301
|
+
*/
|
|
302
|
+
performance: boolean;
|
|
303
|
+
/**
|
|
304
|
+
* filter for logs
|
|
305
|
+
*/
|
|
306
|
+
level?: LogLevel;
|
|
633
307
|
}
|
|
634
308
|
export class Message {
|
|
635
309
|
free(): void;
|
|
636
|
-
/**
|
|
637
|
-
* @param {string} id
|
|
638
|
-
* @param {bigint} sent_at_ns
|
|
639
|
-
* @param {string} convo_id
|
|
640
|
-
* @param {string} sender_inbox_id
|
|
641
|
-
* @param {EncodedContent} content
|
|
642
|
-
* @param {GroupMessageKind} kind
|
|
643
|
-
* @param {DeliveryStatus} delivery_status
|
|
644
|
-
*/
|
|
645
310
|
constructor(id: string, sent_at_ns: bigint, convo_id: string, sender_inbox_id: string, content: EncodedContent, kind: GroupMessageKind, delivery_status: DeliveryStatus);
|
|
646
|
-
content: EncodedContent;
|
|
647
|
-
convoId: string;
|
|
648
|
-
deliveryStatus: DeliveryStatus;
|
|
649
311
|
id: string;
|
|
650
|
-
kind: GroupMessageKind;
|
|
651
|
-
senderInboxId: string;
|
|
652
312
|
sentAtNs: bigint;
|
|
313
|
+
convoId: string;
|
|
314
|
+
senderInboxId: string;
|
|
315
|
+
content: EncodedContent;
|
|
316
|
+
kind: GroupMessageKind;
|
|
317
|
+
deliveryStatus: DeliveryStatus;
|
|
653
318
|
}
|
|
654
319
|
export class PermissionPolicySet {
|
|
655
320
|
free(): void;
|
|
656
|
-
/**
|
|
657
|
-
* @param {PermissionPolicy} add_member_policy
|
|
658
|
-
* @param {PermissionPolicy} remove_member_policy
|
|
659
|
-
* @param {PermissionPolicy} add_admin_policy
|
|
660
|
-
* @param {PermissionPolicy} remove_admin_policy
|
|
661
|
-
* @param {PermissionPolicy} update_group_name_policy
|
|
662
|
-
* @param {PermissionPolicy} update_group_description_policy
|
|
663
|
-
* @param {PermissionPolicy} update_group_image_url_square_policy
|
|
664
|
-
* @param {PermissionPolicy} update_group_pinned_frame_url_policy
|
|
665
|
-
*/
|
|
666
321
|
constructor(add_member_policy: PermissionPolicy, remove_member_policy: PermissionPolicy, add_admin_policy: PermissionPolicy, remove_admin_policy: PermissionPolicy, update_group_name_policy: PermissionPolicy, update_group_description_policy: PermissionPolicy, update_group_image_url_square_policy: PermissionPolicy, update_group_pinned_frame_url_policy: PermissionPolicy);
|
|
667
|
-
addAdminPolicy: PermissionPolicy;
|
|
668
322
|
addMemberPolicy: PermissionPolicy;
|
|
669
|
-
removeAdminPolicy: PermissionPolicy;
|
|
670
323
|
removeMemberPolicy: PermissionPolicy;
|
|
324
|
+
addAdminPolicy: PermissionPolicy;
|
|
325
|
+
removeAdminPolicy: PermissionPolicy;
|
|
326
|
+
updateGroupNamePolicy: PermissionPolicy;
|
|
671
327
|
updateGroupDescriptionPolicy: PermissionPolicy;
|
|
672
328
|
updateGroupImageUrlSquarePolicy: PermissionPolicy;
|
|
673
|
-
updateGroupNamePolicy: PermissionPolicy;
|
|
674
329
|
updateGroupPinnedFrameUrlPolicy: PermissionPolicy;
|
|
675
330
|
}
|
|
676
331
|
export class Version {
|
|
332
|
+
private constructor();
|
|
677
333
|
free(): void;
|
|
678
334
|
}
|
|
679
335
|
|
|
@@ -681,6 +337,74 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
681
337
|
|
|
682
338
|
export interface InitOutput {
|
|
683
339
|
readonly memory: WebAssembly.Memory;
|
|
340
|
+
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
341
|
+
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
342
|
+
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
343
|
+
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
344
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
345
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
346
|
+
readonly __wbg_get_groupmember_accountAddresses: (a: number) => [number, number];
|
|
347
|
+
readonly __wbg_set_groupmember_accountAddresses: (a: number, b: number, c: number) => void;
|
|
348
|
+
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
349
|
+
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
350
|
+
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
351
|
+
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
352
|
+
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
353
|
+
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
354
|
+
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
355
|
+
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
356
|
+
readonly conversation_id: (a: number) => [number, number];
|
|
357
|
+
readonly conversation_send: (a: number, b: number) => any;
|
|
358
|
+
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
359
|
+
readonly conversation_publishMessages: (a: number) => any;
|
|
360
|
+
readonly conversation_sync: (a: number) => any;
|
|
361
|
+
readonly conversation_findMessages: (a: number, b: number) => [number, number, number, number];
|
|
362
|
+
readonly conversation_listMembers: (a: number) => any;
|
|
363
|
+
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
364
|
+
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
365
|
+
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
366
|
+
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
367
|
+
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
368
|
+
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
369
|
+
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
370
|
+
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
371
|
+
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
372
|
+
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
373
|
+
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
374
|
+
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
375
|
+
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
376
|
+
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
377
|
+
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
378
|
+
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
379
|
+
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
380
|
+
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
381
|
+
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
382
|
+
readonly conversation_updateGroupPinnedFrameUrl: (a: number, b: number, c: number) => any;
|
|
383
|
+
readonly conversation_groupPinnedFrameUrl: (a: number) => [number, number, number, number];
|
|
384
|
+
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
385
|
+
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
386
|
+
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
387
|
+
readonly conversation_groupMetadata: (a: number) => [number, number, number];
|
|
388
|
+
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
389
|
+
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
390
|
+
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
391
|
+
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
392
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
393
|
+
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
394
|
+
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
395
|
+
readonly installation_new: (a: number, b: number, c: number, d: bigint) => number;
|
|
396
|
+
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
397
|
+
readonly __wbg_get_inboxstate_recoveryAddress: (a: number) => [number, number];
|
|
398
|
+
readonly __wbg_set_inboxstate_recoveryAddress: (a: number, b: number, c: number) => void;
|
|
399
|
+
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
400
|
+
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
401
|
+
readonly __wbg_get_inboxstate_accountAddresses: (a: number) => [number, number];
|
|
402
|
+
readonly __wbg_set_inboxstate_accountAddresses: (a: number, b: number, c: number) => void;
|
|
403
|
+
readonly inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
404
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
405
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
406
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
407
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
684
408
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
685
409
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
686
410
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -690,91 +414,32 @@ export interface InitOutput {
|
|
|
690
414
|
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
691
415
|
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
692
416
|
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
693
|
-
readonly 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) =>
|
|
694
|
-
readonly client_accountAddress: (a: number) =>
|
|
695
|
-
readonly client_inboxId: (a: number) =>
|
|
417
|
+
readonly 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;
|
|
418
|
+
readonly client_accountAddress: (a: number) => [number, number];
|
|
419
|
+
readonly client_inboxId: (a: number) => [number, number];
|
|
696
420
|
readonly client_isRegistered: (a: number) => number;
|
|
697
|
-
readonly client_installationId: (a: number) =>
|
|
698
|
-
readonly client_installationIdBytes: (a: number) =>
|
|
699
|
-
readonly client_canMessage: (a: number, b: number, c: number) =>
|
|
700
|
-
readonly client_registerIdentity: (a: number) =>
|
|
701
|
-
readonly client_sendHistorySyncRequest: (a: number) =>
|
|
702
|
-
readonly client_sendConsentSyncRequest: (a: number) =>
|
|
703
|
-
readonly client_findInboxIdByAddress: (a: number, b: number, c: number) =>
|
|
421
|
+
readonly client_installationId: (a: number) => [number, number];
|
|
422
|
+
readonly client_installationIdBytes: (a: number) => any;
|
|
423
|
+
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
424
|
+
readonly client_registerIdentity: (a: number) => any;
|
|
425
|
+
readonly client_sendHistorySyncRequest: (a: number) => any;
|
|
426
|
+
readonly client_sendConsentSyncRequest: (a: number) => any;
|
|
427
|
+
readonly client_findInboxIdByAddress: (a: number, b: number, c: number) => any;
|
|
704
428
|
readonly client_conversations: (a: number) => number;
|
|
705
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => Array;
|
|
706
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: number) => Array;
|
|
707
|
-
readonly client_verifySignedWithPublicKey: (a: number, b: number, c: number, d: number, e: number) => Array;
|
|
708
|
-
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
709
|
-
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
710
|
-
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
711
|
-
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
712
|
-
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
713
|
-
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
714
|
-
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
715
|
-
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
716
|
-
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
717
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
718
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
719
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
720
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
721
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
722
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
723
|
-
readonly __wbg_get_permissionpolicyset_updateGroupPinnedFrameUrlPolicy: (a: number) => number;
|
|
724
|
-
readonly __wbg_set_permissionpolicyset_updateGroupPinnedFrameUrlPolicy: (a: number, b: number) => void;
|
|
725
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
726
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
727
|
-
readonly grouppermissions_policyType: (a: number) => Array;
|
|
728
|
-
readonly grouppermissions_policySet: (a: number) => Array;
|
|
729
429
|
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
730
430
|
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
731
431
|
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
732
432
|
readonly __wbg_get_consent_state: (a: number) => number;
|
|
733
433
|
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
734
|
-
readonly __wbg_get_consent_entity: (a: number) =>
|
|
434
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
735
435
|
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
736
436
|
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
737
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) =>
|
|
738
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) =>
|
|
739
|
-
readonly conversation_consentState: (a: number) =>
|
|
740
|
-
readonly conversation_updateConsentState: (a: number, b: number) =>
|
|
741
|
-
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
742
|
-
readonly __wbg_get_listconversationsoptions_allowedStates: (a: number) => Array;
|
|
743
|
-
readonly __wbg_set_listconversationsoptions_allowedStates: (a: number, b: number, c: number) => void;
|
|
744
|
-
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
745
|
-
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
746
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => Array;
|
|
747
|
-
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: number) => void;
|
|
748
|
-
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => Array;
|
|
749
|
-
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: number) => void;
|
|
750
|
-
readonly __wbg_get_listconversationsoptions_limit: (a: number) => Array;
|
|
751
|
-
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: number) => void;
|
|
752
|
-
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
753
|
-
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
754
|
-
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
755
|
-
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
756
|
-
readonly __wbg_get_creategroupoptions_groupName: (a: number) => Array;
|
|
757
|
-
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
758
|
-
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => Array;
|
|
759
|
-
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
760
|
-
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => Array;
|
|
761
|
-
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
762
|
-
readonly __wbg_get_creategroupoptions_groupPinnedFrameUrl: (a: number) => Array;
|
|
763
|
-
readonly __wbg_set_creategroupoptions_groupPinnedFrameUrl: (a: number, b: number, c: number) => void;
|
|
764
|
-
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
765
|
-
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
766
|
-
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => number;
|
|
767
|
-
readonly conversations_createDm: (a: number, b: number, c: number) => number;
|
|
768
|
-
readonly conversations_findGroupById: (a: number, b: number, c: number) => Array;
|
|
769
|
-
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => Array;
|
|
770
|
-
readonly conversations_findMessageById: (a: number, b: number, c: number) => Array;
|
|
771
|
-
readonly conversations_sync: (a: number) => number;
|
|
772
|
-
readonly conversations_syncAllConversations: (a: number) => number;
|
|
773
|
-
readonly conversations_list: (a: number, b: number) => number;
|
|
774
|
-
readonly conversations_listGroups: (a: number, b: number) => number;
|
|
775
|
-
readonly conversations_listDms: (a: number, b: number) => number;
|
|
437
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
438
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
439
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
440
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
776
441
|
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
777
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) =>
|
|
442
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
778
443
|
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
779
444
|
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
780
445
|
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
@@ -784,29 +449,37 @@ export interface InitOutput {
|
|
|
784
449
|
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
785
450
|
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
786
451
|
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
787
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) =>
|
|
788
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b:
|
|
789
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) =>
|
|
452
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
453
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
454
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
790
455
|
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
791
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) =>
|
|
792
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number
|
|
793
|
-
readonly __wbg_get_encodedcontent_content: (a: number) =>
|
|
794
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b:
|
|
795
|
-
readonly encodedcontent_new: (a: number, b:
|
|
456
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
457
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
458
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
459
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
460
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
461
|
+
readonly getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
|
|
462
|
+
readonly generateInboxId: (a: number, b: number) => [number, number, number, number];
|
|
796
463
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
464
|
+
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
465
|
+
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
466
|
+
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
467
|
+
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
468
|
+
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
469
|
+
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
797
470
|
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
798
471
|
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
799
472
|
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
800
473
|
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
801
|
-
readonly listmessagesoptions_new: (a: number, b:
|
|
474
|
+
readonly listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigint, e: number, f: bigint, g: number, h: number) => number;
|
|
802
475
|
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
803
|
-
readonly __wbg_get_message_id: (a: number) =>
|
|
476
|
+
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
804
477
|
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
805
|
-
readonly __wbg_get_message_sentAtNs: (a: number) =>
|
|
806
|
-
readonly __wbg_set_message_sentAtNs: (a: number, b:
|
|
807
|
-
readonly __wbg_get_message_convoId: (a: number) =>
|
|
478
|
+
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
479
|
+
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
480
|
+
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
808
481
|
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
809
|
-
readonly __wbg_get_message_senderInboxId: (a: number) =>
|
|
482
|
+
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
810
483
|
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
811
484
|
readonly __wbg_get_message_content: (a: number) => number;
|
|
812
485
|
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
@@ -814,117 +487,102 @@ export interface InitOutput {
|
|
|
814
487
|
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
815
488
|
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
816
489
|
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
817
|
-
readonly message_new: (a: number, b: number, c:
|
|
818
|
-
readonly
|
|
819
|
-
readonly
|
|
820
|
-
readonly
|
|
821
|
-
readonly
|
|
822
|
-
readonly
|
|
823
|
-
readonly
|
|
824
|
-
readonly
|
|
490
|
+
readonly message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
491
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
492
|
+
readonly client_createInboxSignatureText: (a: number) => any;
|
|
493
|
+
readonly client_addWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
494
|
+
readonly client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
495
|
+
readonly client_revokeInstallationsSignatureText: (a: number) => any;
|
|
496
|
+
readonly client_addSignature: (a: number, b: number, c: any) => any;
|
|
497
|
+
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
498
|
+
readonly client_applySignatureRequests: (a: number) => any;
|
|
499
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
500
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
825
501
|
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
826
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) =>
|
|
827
|
-
readonly
|
|
828
|
-
readonly
|
|
829
|
-
readonly
|
|
830
|
-
readonly
|
|
831
|
-
readonly
|
|
832
|
-
readonly
|
|
833
|
-
readonly
|
|
834
|
-
readonly
|
|
835
|
-
readonly
|
|
836
|
-
readonly
|
|
837
|
-
readonly
|
|
838
|
-
readonly
|
|
839
|
-
readonly
|
|
840
|
-
readonly
|
|
841
|
-
readonly
|
|
842
|
-
readonly
|
|
843
|
-
readonly
|
|
844
|
-
readonly
|
|
845
|
-
readonly
|
|
846
|
-
readonly
|
|
847
|
-
readonly
|
|
848
|
-
readonly
|
|
849
|
-
readonly
|
|
850
|
-
readonly
|
|
851
|
-
readonly
|
|
852
|
-
readonly
|
|
853
|
-
readonly
|
|
854
|
-
readonly
|
|
855
|
-
readonly
|
|
856
|
-
readonly
|
|
857
|
-
readonly
|
|
858
|
-
readonly
|
|
859
|
-
readonly
|
|
860
|
-
readonly
|
|
861
|
-
readonly
|
|
862
|
-
readonly
|
|
863
|
-
readonly
|
|
864
|
-
readonly
|
|
865
|
-
readonly
|
|
866
|
-
readonly
|
|
867
|
-
readonly
|
|
868
|
-
readonly
|
|
869
|
-
readonly
|
|
870
|
-
readonly
|
|
871
|
-
readonly
|
|
872
|
-
readonly
|
|
873
|
-
readonly
|
|
874
|
-
readonly
|
|
875
|
-
readonly
|
|
876
|
-
readonly
|
|
877
|
-
readonly
|
|
878
|
-
readonly
|
|
879
|
-
readonly
|
|
880
|
-
readonly
|
|
881
|
-
readonly
|
|
882
|
-
readonly
|
|
883
|
-
readonly
|
|
884
|
-
readonly
|
|
885
|
-
readonly __wbg_get_installation_id: (a: number) => Array;
|
|
886
|
-
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
887
|
-
readonly __wbg_get_installation_clientTimestampNs: (a: number) => Array;
|
|
888
|
-
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: number) => void;
|
|
889
|
-
readonly installation_new: (a: number, b: number, c: number, d: number) => number;
|
|
890
|
-
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
891
|
-
readonly __wbg_get_inboxstate_recoveryAddress: (a: number) => Array;
|
|
892
|
-
readonly __wbg_set_inboxstate_recoveryAddress: (a: number, b: number, c: number) => void;
|
|
893
|
-
readonly __wbg_get_inboxstate_installations: (a: number) => Array;
|
|
894
|
-
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
895
|
-
readonly __wbg_get_inboxstate_accountAddresses: (a: number) => Array;
|
|
896
|
-
readonly __wbg_set_inboxstate_accountAddresses: (a: number, b: number, c: number) => void;
|
|
897
|
-
readonly inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
898
|
-
readonly client_inboxState: (a: number, b: number) => number;
|
|
899
|
-
readonly client_getLatestInboxState: (a: number, b: number, c: number) => number;
|
|
900
|
-
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
901
|
-
readonly __wbg_get_inboxstate_inboxId: (a: number) => Array;
|
|
502
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
503
|
+
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
504
|
+
readonly __wbg_get_listconversationsoptions_allowedStates: (a: number) => [number, number];
|
|
505
|
+
readonly __wbg_set_listconversationsoptions_allowedStates: (a: number, b: number, c: number) => void;
|
|
506
|
+
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
507
|
+
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
508
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
509
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
510
|
+
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
511
|
+
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
512
|
+
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
513
|
+
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
514
|
+
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: bigint) => number;
|
|
515
|
+
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
516
|
+
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
517
|
+
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
518
|
+
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
519
|
+
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
520
|
+
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
521
|
+
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
522
|
+
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
523
|
+
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
524
|
+
readonly __wbg_get_creategroupoptions_groupPinnedFrameUrl: (a: number) => [number, number];
|
|
525
|
+
readonly __wbg_set_creategroupoptions_groupPinnedFrameUrl: (a: number, b: number, c: number) => void;
|
|
526
|
+
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
527
|
+
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
528
|
+
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
529
|
+
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
530
|
+
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
531
|
+
readonly conversations_createDm: (a: number, b: number, c: number) => any;
|
|
532
|
+
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
533
|
+
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
534
|
+
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
535
|
+
readonly conversations_sync: (a: number) => any;
|
|
536
|
+
readonly conversations_syncAllConversations: (a: number) => any;
|
|
537
|
+
readonly conversations_list: (a: number, b: number) => any;
|
|
538
|
+
readonly conversations_listGroups: (a: number, b: number) => any;
|
|
539
|
+
readonly conversations_listDms: (a: number, b: number) => any;
|
|
540
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
541
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
542
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
543
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
544
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
545
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
546
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
547
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
548
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
549
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
550
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
551
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
552
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
553
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
554
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
555
|
+
readonly __wbg_get_permissionpolicyset_updateGroupPinnedFrameUrlPolicy: (a: number) => number;
|
|
556
|
+
readonly __wbg_set_permissionpolicyset_updateGroupPinnedFrameUrlPolicy: (a: number, b: number) => void;
|
|
557
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
558
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
559
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
560
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
902
561
|
readonly __wbg_version_free: (a: number, b: number) => void;
|
|
903
562
|
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
904
|
-
readonly intounderlyingsource_pull: (a: number, b:
|
|
563
|
+
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
905
564
|
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
906
565
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
907
566
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
908
567
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
909
|
-
readonly intounderlyingbytesource_start: (a: number, b:
|
|
910
|
-
readonly intounderlyingbytesource_pull: (a: number, b:
|
|
568
|
+
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
569
|
+
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
911
570
|
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
912
571
|
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
913
|
-
readonly intounderlyingsink_write: (a: number, b:
|
|
914
|
-
readonly intounderlyingsink_close: (a: number) =>
|
|
915
|
-
readonly intounderlyingsink_abort: (a: number, b:
|
|
572
|
+
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
573
|
+
readonly intounderlyingsink_close: (a: number) => any;
|
|
574
|
+
readonly intounderlyingsink_abort: (a: number, b: any) => any;
|
|
916
575
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
917
576
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
918
|
-
readonly __wbindgen_export_2: WebAssembly.Table;
|
|
919
|
-
readonly __wbindgen_export_3: WebAssembly.Table;
|
|
920
|
-
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha602f13c6f6f57bd: (a: number, b: number) => void;
|
|
921
|
-
readonly closure2320_externref_shim: (a: number, b: number, c: number) => void;
|
|
922
|
-
readonly __externref_table_alloc: () => number;
|
|
923
577
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
924
|
-
readonly __externref_table_dealloc: (a: number) => void;
|
|
925
|
-
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
926
578
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
927
|
-
readonly
|
|
579
|
+
readonly __externref_table_alloc: () => number;
|
|
580
|
+
readonly __wbindgen_export_5: WebAssembly.Table;
|
|
581
|
+
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
582
|
+
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
583
|
+
readonly __externref_table_dealloc: (a: number) => void;
|
|
584
|
+
readonly closure2502_externref_shim: (a: number, b: number, c: any) => void;
|
|
585
|
+
readonly closure3596_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
928
586
|
readonly __wbindgen_start: () => void;
|
|
929
587
|
}
|
|
930
588
|
|