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