@xmtp/wasm-bindings 1.6.0-dev.399ac31 → 1.6.0-dev.419b6dc
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 +536 -190
- package/dist/bindings_wasm.js +3556 -1887
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +297 -163
- package/dist/version.json +3 -3
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
4
|
+
export function revokeInstallationsSignatureRequest(v3_host: string, gateway_host: string | null | undefined, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): SignatureRequestHandle;
|
|
5
|
+
export function applySignatureRequest(v3_host: string, gateway_host: string | null | undefined, signature_request: SignatureRequestHandle): Promise<void>;
|
|
3
6
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
4
7
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
5
8
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
6
9
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
7
|
-
export function
|
|
8
|
-
export function revokeInstallationsSignatureRequest(host: string, payer_host: string | null | undefined, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
9
|
-
export function applySignatureRequest(host: string, payer_host: string | null | undefined, signature_request: SignatureRequestHandle): Promise<void>;
|
|
10
|
-
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null, allow_offline?: boolean | null, disable_events?: boolean | null, app_version?: string | null, payer_host?: string | null): Promise<Client>;
|
|
11
|
-
export function getInboxIdForIdentifier(host: string, payer_host: string | null | undefined, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
10
|
+
export function getInboxIdForIdentifier(v3_host: string, gateway_host: string | null | undefined, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
12
11
|
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
13
|
-
export function inboxStateFromInboxIds(
|
|
12
|
+
export function inboxStateFromInboxIds(v3_host: string, gateway_host: string | null | undefined, inbox_ids: string[]): Promise<InboxState[]>;
|
|
13
|
+
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null, allow_offline?: boolean | null, disable_events?: boolean | null, app_version?: string | null, gateway_host?: string | null): Promise<Client>;
|
|
14
14
|
/**
|
|
15
15
|
* Entry point invoked by JavaScript in a worker.
|
|
16
16
|
*/
|
|
@@ -52,6 +52,7 @@ export enum GroupMembershipState {
|
|
|
52
52
|
Rejected = 1,
|
|
53
53
|
Pending = 2,
|
|
54
54
|
Restored = 3,
|
|
55
|
+
PendingRemove = 4,
|
|
55
56
|
}
|
|
56
57
|
export enum GroupMessageKind {
|
|
57
58
|
Application = 0,
|
|
@@ -69,6 +70,19 @@ export enum MetadataField {
|
|
|
69
70
|
MessageExpirationFromMS = 3,
|
|
70
71
|
MessageExpirationMS = 4,
|
|
71
72
|
}
|
|
73
|
+
export enum PayloadType {
|
|
74
|
+
Text = 0,
|
|
75
|
+
Reply = 1,
|
|
76
|
+
Reaction = 2,
|
|
77
|
+
Attachment = 3,
|
|
78
|
+
RemoteAttachment = 4,
|
|
79
|
+
MultiRemoteAttachment = 5,
|
|
80
|
+
TransactionReference = 6,
|
|
81
|
+
GroupUpdated = 7,
|
|
82
|
+
ReadReceipt = 8,
|
|
83
|
+
WalletSendCalls = 9,
|
|
84
|
+
Custom = 10,
|
|
85
|
+
}
|
|
72
86
|
export enum PermissionLevel {
|
|
73
87
|
Member = 0,
|
|
74
88
|
Admin = 1,
|
|
@@ -94,12 +108,23 @@ export enum ReactionAction {
|
|
|
94
108
|
Added = 1,
|
|
95
109
|
Removed = 2,
|
|
96
110
|
}
|
|
111
|
+
export enum ReactionActionPayload {
|
|
112
|
+
Added = 0,
|
|
113
|
+
Removed = 1,
|
|
114
|
+
Unknown = 2,
|
|
115
|
+
}
|
|
97
116
|
export enum ReactionSchema {
|
|
98
117
|
Unknown = 0,
|
|
99
118
|
Unicode = 1,
|
|
100
119
|
Shortcode = 2,
|
|
101
120
|
Custom = 3,
|
|
102
121
|
}
|
|
122
|
+
export enum ReactionSchemaPayload {
|
|
123
|
+
Unicode = 0,
|
|
124
|
+
Shortcode = 1,
|
|
125
|
+
Custom = 2,
|
|
126
|
+
Unknown = 3,
|
|
127
|
+
}
|
|
103
128
|
export enum SortDirection {
|
|
104
129
|
Ascending = 0,
|
|
105
130
|
Descending = 1,
|
|
@@ -112,6 +137,8 @@ type LogLevel = "off" | "error" | "warn" | "info" | "debug" | "trace";
|
|
|
112
137
|
* *This API requires the following crate features to be activated: `ReadableStreamType`*
|
|
113
138
|
*/
|
|
114
139
|
type ReadableStreamType = "bytes";
|
|
140
|
+
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
141
|
+
|
|
115
142
|
export interface Identifier {
|
|
116
143
|
identifier: string;
|
|
117
144
|
identifierKind: IdentifierKind;
|
|
@@ -119,11 +146,10 @@ export interface Identifier {
|
|
|
119
146
|
|
|
120
147
|
export type IdentifierKind = "Ethereum" | "Passkey";
|
|
121
148
|
|
|
122
|
-
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
123
|
-
|
|
124
149
|
export class ApiStats {
|
|
125
150
|
private constructor();
|
|
126
151
|
free(): void;
|
|
152
|
+
[Symbol.dispose](): void;
|
|
127
153
|
upload_key_package: bigint;
|
|
128
154
|
fetch_key_package: bigint;
|
|
129
155
|
send_group_messages: bigint;
|
|
@@ -133,11 +159,19 @@ export class ApiStats {
|
|
|
133
159
|
subscribe_messages: bigint;
|
|
134
160
|
subscribe_welcomes: bigint;
|
|
135
161
|
}
|
|
162
|
+
export class Attachment {
|
|
163
|
+
private constructor();
|
|
164
|
+
free(): void;
|
|
165
|
+
[Symbol.dispose](): void;
|
|
166
|
+
get filename(): string | undefined;
|
|
167
|
+
set filename(value: string | null | undefined);
|
|
168
|
+
mimeType: string;
|
|
169
|
+
content: Uint8Array;
|
|
170
|
+
}
|
|
136
171
|
export class Client {
|
|
137
172
|
private constructor();
|
|
138
173
|
free(): void;
|
|
139
|
-
|
|
140
|
-
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
174
|
+
[Symbol.dispose](): void;
|
|
141
175
|
createInboxSignatureRequest(): SignatureRequestHandle | undefined;
|
|
142
176
|
addWalletSignatureRequest(new_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
143
177
|
revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
@@ -148,20 +182,8 @@ export class Client {
|
|
|
148
182
|
registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
|
|
149
183
|
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
150
184
|
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
*/
|
|
154
|
-
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
155
|
-
sendSyncRequest(): Promise<void>;
|
|
156
|
-
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
157
|
-
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
158
|
-
conversations(): Conversations;
|
|
159
|
-
syncPreferences(): Promise<number>;
|
|
160
|
-
apiStatistics(): ApiStats;
|
|
161
|
-
apiIdentityStatistics(): IdentityStats;
|
|
162
|
-
apiAggregateStatistics(): string;
|
|
163
|
-
clearAllStatistics(): void;
|
|
164
|
-
uploadDebugArchive(server_url: string): Promise<string>;
|
|
185
|
+
setConsentStates(records: Consent[]): Promise<void>;
|
|
186
|
+
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
165
187
|
/**
|
|
166
188
|
*
|
|
167
189
|
* * Get the client's inbox state.
|
|
@@ -180,6 +202,22 @@ export class Client {
|
|
|
180
202
|
*
|
|
181
203
|
*/
|
|
182
204
|
getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
|
|
205
|
+
/**
|
|
206
|
+
* Output booleans should be zipped with the index of input identifiers
|
|
207
|
+
*/
|
|
208
|
+
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
209
|
+
sendSyncRequest(): Promise<void>;
|
|
210
|
+
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
211
|
+
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
212
|
+
conversations(): Conversations;
|
|
213
|
+
syncPreferences(): Promise<number>;
|
|
214
|
+
apiStatistics(): ApiStats;
|
|
215
|
+
apiIdentityStatistics(): IdentityStats;
|
|
216
|
+
apiAggregateStatistics(): string;
|
|
217
|
+
clearAllStatistics(): void;
|
|
218
|
+
uploadDebugArchive(server_url: string): Promise<string>;
|
|
219
|
+
deleteMessage(message_id: Uint8Array): number;
|
|
220
|
+
messageV2(message_id: Uint8Array): Promise<DecodedMessage>;
|
|
183
221
|
readonly accountIdentifier: Identifier;
|
|
184
222
|
readonly inboxId: string;
|
|
185
223
|
readonly isRegistered: boolean;
|
|
@@ -190,6 +228,7 @@ export class Client {
|
|
|
190
228
|
}
|
|
191
229
|
export class Consent {
|
|
192
230
|
free(): void;
|
|
231
|
+
[Symbol.dispose](): void;
|
|
193
232
|
constructor(entity_type: ConsentEntityType, state: ConsentState, entity: string);
|
|
194
233
|
entityType: ConsentEntityType;
|
|
195
234
|
state: ConsentState;
|
|
@@ -197,6 +236,7 @@ export class Consent {
|
|
|
197
236
|
}
|
|
198
237
|
export class ContentTypeId {
|
|
199
238
|
free(): void;
|
|
239
|
+
[Symbol.dispose](): void;
|
|
200
240
|
constructor(authority_id: string, type_id: string, version_major: number, version_minor: number);
|
|
201
241
|
authorityId: string;
|
|
202
242
|
typeId: string;
|
|
@@ -206,20 +246,22 @@ export class ContentTypeId {
|
|
|
206
246
|
export class Conversation {
|
|
207
247
|
private constructor();
|
|
208
248
|
free(): void;
|
|
249
|
+
[Symbol.dispose](): void;
|
|
209
250
|
consentState(): ConsentState;
|
|
210
251
|
updateConsentState(state: ConsentState): void;
|
|
211
252
|
id(): string;
|
|
212
|
-
send(encoded_content: EncodedContent): Promise<string>;
|
|
253
|
+
send(encoded_content: EncodedContent, opts: SendMessageOpts): Promise<string>;
|
|
213
254
|
/**
|
|
214
255
|
* send a message without immediately publishing to the delivery service.
|
|
215
256
|
*/
|
|
216
|
-
sendOptimistic(encoded_content: EncodedContent): string;
|
|
257
|
+
sendOptimistic(encoded_content: EncodedContent, opts: SendMessageOpts): string;
|
|
217
258
|
/**
|
|
218
259
|
* Publish all unpublished messages
|
|
219
260
|
*/
|
|
220
261
|
publishMessages(): Promise<void>;
|
|
221
262
|
sync(): Promise<void>;
|
|
222
263
|
findMessages(opts?: ListMessagesOptions | null): Promise<Message[]>;
|
|
264
|
+
countMessages(opts?: ListMessagesOptions | null): Promise<bigint>;
|
|
223
265
|
findMessagesWithReactions(opts?: ListMessagesOptions | null): Promise<MessageWithReactions[]>;
|
|
224
266
|
listMembers(): Promise<any>;
|
|
225
267
|
adminList(): string[];
|
|
@@ -256,10 +298,13 @@ export class Conversation {
|
|
|
256
298
|
getHmacKeys(): any;
|
|
257
299
|
getDebugInfo(): Promise<any>;
|
|
258
300
|
findDuplicateDms(): Promise<Conversation[]>;
|
|
301
|
+
findMessagesV2(opts?: ListMessagesOptions | null): Promise<DecodedMessage[]>;
|
|
302
|
+
getLastReadTimes(): Promise<any>;
|
|
259
303
|
}
|
|
260
304
|
export class ConversationDebugInfo {
|
|
261
305
|
private constructor();
|
|
262
306
|
free(): void;
|
|
307
|
+
[Symbol.dispose](): void;
|
|
263
308
|
epoch: bigint;
|
|
264
309
|
maybeForked: boolean;
|
|
265
310
|
forkDetails: string;
|
|
@@ -271,6 +316,7 @@ export class ConversationDebugInfo {
|
|
|
271
316
|
}
|
|
272
317
|
export class ConversationListItem {
|
|
273
318
|
free(): void;
|
|
319
|
+
[Symbol.dispose](): void;
|
|
274
320
|
constructor(conversation: Conversation, last_message?: Message | null, is_commit_log_forked?: boolean | null);
|
|
275
321
|
conversation: Conversation;
|
|
276
322
|
get lastMessage(): Message | undefined;
|
|
@@ -281,6 +327,7 @@ export class ConversationListItem {
|
|
|
281
327
|
export class Conversations {
|
|
282
328
|
private constructor();
|
|
283
329
|
free(): void;
|
|
330
|
+
[Symbol.dispose](): void;
|
|
284
331
|
createGroupOptimistic(options?: CreateGroupOptions | null): Conversation;
|
|
285
332
|
createGroup(account_identifiers: Identifier[], options?: CreateGroupOptions | null): Promise<Conversation>;
|
|
286
333
|
createGroupByInboxIds(inbox_ids: string[], options?: CreateGroupOptions | null): Promise<Conversation>;
|
|
@@ -304,12 +351,14 @@ export class Conversations {
|
|
|
304
351
|
}
|
|
305
352
|
export class CreateDMOptions {
|
|
306
353
|
free(): void;
|
|
354
|
+
[Symbol.dispose](): void;
|
|
307
355
|
constructor(message_disappearing_settings?: MessageDisappearingSettings | null);
|
|
308
356
|
get messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
309
357
|
set messageDisappearingSettings(value: MessageDisappearingSettings | null | undefined);
|
|
310
358
|
}
|
|
311
359
|
export class CreateGroupOptions {
|
|
312
360
|
free(): void;
|
|
361
|
+
[Symbol.dispose](): void;
|
|
313
362
|
constructor(permissions?: GroupPermissionsOptions | null, group_name?: string | null, group_image_url_square?: string | null, group_description?: string | null, custom_permission_policy_set?: PermissionPolicySet | null, message_disappearing_settings?: MessageDisappearingSettings | null);
|
|
314
363
|
get permissions(): GroupPermissionsOptions | undefined;
|
|
315
364
|
set permissions(value: GroupPermissionsOptions | null | undefined);
|
|
@@ -324,8 +373,44 @@ export class CreateGroupOptions {
|
|
|
324
373
|
get messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
325
374
|
set messageDisappearingSettings(value: MessageDisappearingSettings | null | undefined);
|
|
326
375
|
}
|
|
376
|
+
export class DecodedMessage {
|
|
377
|
+
private constructor();
|
|
378
|
+
free(): void;
|
|
379
|
+
[Symbol.dispose](): void;
|
|
380
|
+
id: Uint8Array;
|
|
381
|
+
sent_at_ns: bigint;
|
|
382
|
+
kind: GroupMessageKind;
|
|
383
|
+
sender_installation_id: Uint8Array;
|
|
384
|
+
sender_inbox_id: string;
|
|
385
|
+
content_type: ContentTypeId;
|
|
386
|
+
conversation_id: Uint8Array;
|
|
387
|
+
content: DecodedMessageContent;
|
|
388
|
+
get fallback_text(): string | undefined;
|
|
389
|
+
set fallback_text(value: string | null | undefined);
|
|
390
|
+
reactions: DecodedMessage[];
|
|
391
|
+
delivery_status: DeliveryStatus;
|
|
392
|
+
num_replies: bigint;
|
|
393
|
+
}
|
|
394
|
+
export class DecodedMessageContent {
|
|
395
|
+
private constructor();
|
|
396
|
+
free(): void;
|
|
397
|
+
[Symbol.dispose](): void;
|
|
398
|
+
asText(): TextContent | undefined;
|
|
399
|
+
asReply(): EnrichedReply | undefined;
|
|
400
|
+
asReaction(): ReactionPayload | undefined;
|
|
401
|
+
asAttachment(): Attachment | undefined;
|
|
402
|
+
asRemoteAttachment(): RemoteAttachment | undefined;
|
|
403
|
+
asMultiRemoteAttachment(): MultiRemoteAttachment | undefined;
|
|
404
|
+
asTransactionReference(): TransactionReference | undefined;
|
|
405
|
+
asGroupUpdated(): GroupUpdated | undefined;
|
|
406
|
+
asReadReceipt(): ReadReceipt | undefined;
|
|
407
|
+
asWalletSendCalls(): any;
|
|
408
|
+
asCustom(): EncodedContent | undefined;
|
|
409
|
+
readonly payloadType: PayloadType;
|
|
410
|
+
}
|
|
327
411
|
export class EncodedContent {
|
|
328
412
|
free(): void;
|
|
413
|
+
[Symbol.dispose](): void;
|
|
329
414
|
constructor(type: ContentTypeId | null | undefined, parameters: any, fallback: string | null | undefined, compression: number | null | undefined, content: Uint8Array);
|
|
330
415
|
get type(): ContentTypeId | undefined;
|
|
331
416
|
set type(value: ContentTypeId | null | undefined);
|
|
@@ -336,8 +421,17 @@ export class EncodedContent {
|
|
|
336
421
|
set compression(value: number | null | undefined);
|
|
337
422
|
content: Uint8Array;
|
|
338
423
|
}
|
|
424
|
+
export class EnrichedReply {
|
|
425
|
+
private constructor();
|
|
426
|
+
free(): void;
|
|
427
|
+
[Symbol.dispose](): void;
|
|
428
|
+
readonly referenceId: string;
|
|
429
|
+
readonly content: DecodedMessageContent;
|
|
430
|
+
readonly inReplyTo: DecodedMessage | undefined;
|
|
431
|
+
}
|
|
339
432
|
export class GroupMember {
|
|
340
433
|
free(): void;
|
|
434
|
+
[Symbol.dispose](): void;
|
|
341
435
|
constructor(inboxId: string, accountIdentifiers: Identifier[], installationIds: string[], permissionLevel: PermissionLevel, consentState: ConsentState);
|
|
342
436
|
inboxId: string;
|
|
343
437
|
accountIdentifiers: Identifier[];
|
|
@@ -348,31 +442,51 @@ export class GroupMember {
|
|
|
348
442
|
export class GroupMetadata {
|
|
349
443
|
private constructor();
|
|
350
444
|
free(): void;
|
|
445
|
+
[Symbol.dispose](): void;
|
|
351
446
|
creatorInboxId(): string;
|
|
352
447
|
conversationType(): string;
|
|
353
448
|
}
|
|
354
449
|
export class GroupPermissions {
|
|
355
450
|
private constructor();
|
|
356
451
|
free(): void;
|
|
452
|
+
[Symbol.dispose](): void;
|
|
357
453
|
policyType(): GroupPermissionsOptions;
|
|
358
454
|
policySet(): PermissionPolicySet;
|
|
359
455
|
}
|
|
456
|
+
export class GroupUpdated {
|
|
457
|
+
private constructor();
|
|
458
|
+
free(): void;
|
|
459
|
+
[Symbol.dispose](): void;
|
|
460
|
+
initiatedByInboxId: string;
|
|
461
|
+
addedInboxes: Inbox[];
|
|
462
|
+
removedInboxes: Inbox[];
|
|
463
|
+
metadataFieldChanges: MetadataFieldChange[];
|
|
464
|
+
}
|
|
360
465
|
export class HmacKey {
|
|
361
466
|
private constructor();
|
|
362
467
|
free(): void;
|
|
468
|
+
[Symbol.dispose](): void;
|
|
363
469
|
key: Uint8Array;
|
|
364
470
|
epoch: bigint;
|
|
365
471
|
}
|
|
366
472
|
export class IdentityStats {
|
|
367
473
|
private constructor();
|
|
368
474
|
free(): void;
|
|
475
|
+
[Symbol.dispose](): void;
|
|
369
476
|
publish_identity_update: bigint;
|
|
370
477
|
get_identity_updates_v2: bigint;
|
|
371
478
|
get_inbox_ids: bigint;
|
|
372
479
|
verify_smart_contract_wallet_signature: bigint;
|
|
373
480
|
}
|
|
481
|
+
export class Inbox {
|
|
482
|
+
private constructor();
|
|
483
|
+
free(): void;
|
|
484
|
+
[Symbol.dispose](): void;
|
|
485
|
+
inboxId: string;
|
|
486
|
+
}
|
|
374
487
|
export class InboxState {
|
|
375
488
|
free(): void;
|
|
489
|
+
[Symbol.dispose](): void;
|
|
376
490
|
constructor(inbox_id: string, recovery_identifier: Identifier, installations: Installation[], account_identifiers: Identifier[]);
|
|
377
491
|
inboxId: string;
|
|
378
492
|
recoveryIdentifier: Identifier;
|
|
@@ -381,6 +495,7 @@ export class InboxState {
|
|
|
381
495
|
}
|
|
382
496
|
export class Installation {
|
|
383
497
|
free(): void;
|
|
498
|
+
[Symbol.dispose](): void;
|
|
384
499
|
constructor(bytes: Uint8Array, id: string, client_timestamp_ns?: bigint | null);
|
|
385
500
|
bytes: Uint8Array;
|
|
386
501
|
id: string;
|
|
@@ -390,6 +505,7 @@ export class Installation {
|
|
|
390
505
|
export class IntoUnderlyingByteSource {
|
|
391
506
|
private constructor();
|
|
392
507
|
free(): void;
|
|
508
|
+
[Symbol.dispose](): void;
|
|
393
509
|
start(controller: ReadableByteStreamController): void;
|
|
394
510
|
pull(controller: ReadableByteStreamController): Promise<any>;
|
|
395
511
|
cancel(): void;
|
|
@@ -399,6 +515,7 @@ export class IntoUnderlyingByteSource {
|
|
|
399
515
|
export class IntoUnderlyingSink {
|
|
400
516
|
private constructor();
|
|
401
517
|
free(): void;
|
|
518
|
+
[Symbol.dispose](): void;
|
|
402
519
|
write(chunk: any): Promise<any>;
|
|
403
520
|
close(): Promise<any>;
|
|
404
521
|
abort(reason: any): Promise<any>;
|
|
@@ -406,12 +523,14 @@ export class IntoUnderlyingSink {
|
|
|
406
523
|
export class IntoUnderlyingSource {
|
|
407
524
|
private constructor();
|
|
408
525
|
free(): void;
|
|
526
|
+
[Symbol.dispose](): void;
|
|
409
527
|
pull(controller: ReadableStreamDefaultController): Promise<any>;
|
|
410
528
|
cancel(): void;
|
|
411
529
|
}
|
|
412
530
|
export class KeyPackageStatus {
|
|
413
531
|
private constructor();
|
|
414
532
|
free(): void;
|
|
533
|
+
[Symbol.dispose](): void;
|
|
415
534
|
get lifetime(): Lifetime | undefined;
|
|
416
535
|
set lifetime(value: Lifetime | null | undefined);
|
|
417
536
|
get validationError(): string | undefined;
|
|
@@ -420,11 +539,13 @@ export class KeyPackageStatus {
|
|
|
420
539
|
export class Lifetime {
|
|
421
540
|
private constructor();
|
|
422
541
|
free(): void;
|
|
542
|
+
[Symbol.dispose](): void;
|
|
423
543
|
not_before: bigint;
|
|
424
544
|
not_after: bigint;
|
|
425
545
|
}
|
|
426
546
|
export class ListConversationsOptions {
|
|
427
547
|
free(): void;
|
|
548
|
+
[Symbol.dispose](): void;
|
|
428
549
|
constructor(consent_states?: any[] | null, conversation_type?: ConversationType | null, created_after_ns?: bigint | null, created_before_ns?: bigint | null, include_duplicate_dms?: boolean | null, limit?: bigint | null);
|
|
429
550
|
get consentStates(): any[] | undefined;
|
|
430
551
|
set consentStates(value: any[] | null | undefined);
|
|
@@ -441,9 +562,12 @@ export class ListConversationsOptions {
|
|
|
441
562
|
}
|
|
442
563
|
export class ListMessagesOptions {
|
|
443
564
|
free(): void;
|
|
444
|
-
|
|
565
|
+
[Symbol.dispose](): void;
|
|
566
|
+
constructor(sent_before_ns?: bigint | null, sent_after_ns?: bigint | null, limit?: bigint | null, delivery_status?: DeliveryStatus | null, direction?: SortDirection | null, content_types?: any[] | null, exclude_content_types?: any[] | null, kind?: GroupMessageKind | null, exclude_sender_inbox_ids?: string[] | null);
|
|
445
567
|
get contentTypes(): any[] | undefined;
|
|
446
568
|
set contentTypes(value: any[] | null | undefined);
|
|
569
|
+
get excludeContentTypes(): any[] | undefined;
|
|
570
|
+
set excludeContentTypes(value: any[] | null | undefined);
|
|
447
571
|
get sentBeforeNs(): bigint | undefined;
|
|
448
572
|
set sentBeforeNs(value: bigint | null | undefined);
|
|
449
573
|
get sentAfterNs(): bigint | undefined;
|
|
@@ -456,12 +580,15 @@ export class ListMessagesOptions {
|
|
|
456
580
|
set direction(value: SortDirection | null | undefined);
|
|
457
581
|
get kind(): GroupMessageKind | undefined;
|
|
458
582
|
set kind(value: GroupMessageKind | null | undefined);
|
|
583
|
+
get excludeSenderInboxIds(): string[] | undefined;
|
|
584
|
+
set excludeSenderInboxIds(value: string[] | null | undefined);
|
|
459
585
|
}
|
|
460
586
|
/**
|
|
461
587
|
* Specify options for the logger
|
|
462
588
|
*/
|
|
463
589
|
export class LogOptions {
|
|
464
590
|
free(): void;
|
|
591
|
+
[Symbol.dispose](): void;
|
|
465
592
|
constructor(structured: boolean, performance: boolean, level?: LogLevel | null);
|
|
466
593
|
/**
|
|
467
594
|
* enable structured JSON logging to stdout.Useful for third-party log viewers
|
|
@@ -482,6 +609,7 @@ export class LogOptions {
|
|
|
482
609
|
}
|
|
483
610
|
export class Message {
|
|
484
611
|
free(): void;
|
|
612
|
+
[Symbol.dispose](): void;
|
|
485
613
|
constructor(id: string, sent_at_ns: bigint, convo_id: string, sender_inbox_id: string, content: EncodedContent, kind: GroupMessageKind, delivery_status: DeliveryStatus);
|
|
486
614
|
id: string;
|
|
487
615
|
sentAtNs: bigint;
|
|
@@ -493,6 +621,7 @@ export class Message {
|
|
|
493
621
|
}
|
|
494
622
|
export class MessageDisappearingSettings {
|
|
495
623
|
free(): void;
|
|
624
|
+
[Symbol.dispose](): void;
|
|
496
625
|
constructor(from_ns: bigint, in_ns: bigint);
|
|
497
626
|
fromNs: bigint;
|
|
498
627
|
inNs: bigint;
|
|
@@ -500,17 +629,30 @@ export class MessageDisappearingSettings {
|
|
|
500
629
|
export class MessageWithReactions {
|
|
501
630
|
private constructor();
|
|
502
631
|
free(): void;
|
|
632
|
+
[Symbol.dispose](): void;
|
|
503
633
|
message: Message;
|
|
504
634
|
reactions: Message[];
|
|
505
635
|
}
|
|
636
|
+
export class MetadataFieldChange {
|
|
637
|
+
private constructor();
|
|
638
|
+
free(): void;
|
|
639
|
+
[Symbol.dispose](): void;
|
|
640
|
+
fieldName: string;
|
|
641
|
+
get oldValue(): string | undefined;
|
|
642
|
+
set oldValue(value: string | null | undefined);
|
|
643
|
+
get newValue(): string | undefined;
|
|
644
|
+
set newValue(value: string | null | undefined);
|
|
645
|
+
}
|
|
506
646
|
export class MultiRemoteAttachment {
|
|
507
647
|
free(): void;
|
|
648
|
+
[Symbol.dispose](): void;
|
|
508
649
|
constructor(attachments: RemoteAttachmentInfo[]);
|
|
509
650
|
attachments: RemoteAttachmentInfo[];
|
|
510
651
|
}
|
|
511
652
|
export class Opfs {
|
|
512
653
|
private constructor();
|
|
513
654
|
free(): void;
|
|
655
|
+
[Symbol.dispose](): void;
|
|
514
656
|
static init_sqlite_opfs(): Promise<void>;
|
|
515
657
|
/**
|
|
516
658
|
* Check if the global OPFS object has been initialized
|
|
@@ -554,9 +696,11 @@ export class Opfs {
|
|
|
554
696
|
export class PasskeySignature {
|
|
555
697
|
private constructor();
|
|
556
698
|
free(): void;
|
|
699
|
+
[Symbol.dispose](): void;
|
|
557
700
|
}
|
|
558
701
|
export class PermissionPolicySet {
|
|
559
702
|
free(): void;
|
|
703
|
+
[Symbol.dispose](): void;
|
|
560
704
|
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_message_disappearing_policy: PermissionPolicy);
|
|
561
705
|
addMemberPolicy: PermissionPolicy;
|
|
562
706
|
removeMemberPolicy: PermissionPolicy;
|
|
@@ -569,6 +713,7 @@ export class PermissionPolicySet {
|
|
|
569
713
|
}
|
|
570
714
|
export class Reaction {
|
|
571
715
|
free(): void;
|
|
716
|
+
[Symbol.dispose](): void;
|
|
572
717
|
constructor(reference: string, referenceInboxId: string, action: ReactionAction, content: string, schema: ReactionSchema);
|
|
573
718
|
reference: string;
|
|
574
719
|
referenceInboxId: string;
|
|
@@ -576,8 +721,38 @@ export class Reaction {
|
|
|
576
721
|
content: string;
|
|
577
722
|
schema: ReactionSchema;
|
|
578
723
|
}
|
|
724
|
+
export class ReactionPayload {
|
|
725
|
+
private constructor();
|
|
726
|
+
free(): void;
|
|
727
|
+
[Symbol.dispose](): void;
|
|
728
|
+
reference: string;
|
|
729
|
+
referenceInboxId: string;
|
|
730
|
+
action: ReactionActionPayload;
|
|
731
|
+
content: string;
|
|
732
|
+
schema: ReactionSchemaPayload;
|
|
733
|
+
}
|
|
734
|
+
export class ReadReceipt {
|
|
735
|
+
private constructor();
|
|
736
|
+
free(): void;
|
|
737
|
+
[Symbol.dispose](): void;
|
|
738
|
+
}
|
|
739
|
+
export class RemoteAttachment {
|
|
740
|
+
private constructor();
|
|
741
|
+
free(): void;
|
|
742
|
+
[Symbol.dispose](): void;
|
|
743
|
+
url: string;
|
|
744
|
+
contentDigest: string;
|
|
745
|
+
secret: Uint8Array;
|
|
746
|
+
salt: Uint8Array;
|
|
747
|
+
nonce: Uint8Array;
|
|
748
|
+
scheme: string;
|
|
749
|
+
contentLength: bigint;
|
|
750
|
+
get filename(): string | undefined;
|
|
751
|
+
set filename(value: string | null | undefined);
|
|
752
|
+
}
|
|
579
753
|
export class RemoteAttachmentInfo {
|
|
580
754
|
free(): void;
|
|
755
|
+
[Symbol.dispose](): void;
|
|
581
756
|
constructor(secret: Uint8Array, contentDigest: string, nonce: Uint8Array, scheme: string, url: string, salt: Uint8Array, contentLength?: number | null, filename?: string | null);
|
|
582
757
|
secret: Uint8Array;
|
|
583
758
|
contentDigest: string;
|
|
@@ -590,9 +765,16 @@ export class RemoteAttachmentInfo {
|
|
|
590
765
|
get filename(): string | undefined;
|
|
591
766
|
set filename(value: string | null | undefined);
|
|
592
767
|
}
|
|
768
|
+
export class SendMessageOpts {
|
|
769
|
+
private constructor();
|
|
770
|
+
free(): void;
|
|
771
|
+
[Symbol.dispose](): void;
|
|
772
|
+
shouldPush: boolean;
|
|
773
|
+
}
|
|
593
774
|
export class SignatureRequestHandle {
|
|
594
775
|
private constructor();
|
|
595
776
|
free(): void;
|
|
777
|
+
[Symbol.dispose](): void;
|
|
596
778
|
signatureText(): Promise<string>;
|
|
597
779
|
addEcdsaSignature(signature_bytes: Uint8Array): Promise<void>;
|
|
598
780
|
addPasskeySignature(signature: PasskeySignature): Promise<void>;
|
|
@@ -601,6 +783,7 @@ export class SignatureRequestHandle {
|
|
|
601
783
|
export class StreamCloser {
|
|
602
784
|
private constructor();
|
|
603
785
|
free(): void;
|
|
786
|
+
[Symbol.dispose](): void;
|
|
604
787
|
/**
|
|
605
788
|
* Signal the stream to end
|
|
606
789
|
* Does not wait for the stream to end.
|
|
@@ -618,9 +801,38 @@ export class StreamCloser {
|
|
|
618
801
|
*/
|
|
619
802
|
isClosed(): boolean;
|
|
620
803
|
}
|
|
804
|
+
export class TextContent {
|
|
805
|
+
private constructor();
|
|
806
|
+
free(): void;
|
|
807
|
+
[Symbol.dispose](): void;
|
|
808
|
+
content: string;
|
|
809
|
+
}
|
|
810
|
+
export class TransactionMetadata {
|
|
811
|
+
private constructor();
|
|
812
|
+
free(): void;
|
|
813
|
+
[Symbol.dispose](): void;
|
|
814
|
+
transactionType: string;
|
|
815
|
+
currency: string;
|
|
816
|
+
amount: number;
|
|
817
|
+
decimals: number;
|
|
818
|
+
fromAddress: string;
|
|
819
|
+
toAddress: string;
|
|
820
|
+
}
|
|
821
|
+
export class TransactionReference {
|
|
822
|
+
private constructor();
|
|
823
|
+
free(): void;
|
|
824
|
+
[Symbol.dispose](): void;
|
|
825
|
+
get namespace(): string | undefined;
|
|
826
|
+
set namespace(value: string | null | undefined);
|
|
827
|
+
networkId: string;
|
|
828
|
+
reference: string;
|
|
829
|
+
get metadata(): TransactionMetadata | undefined;
|
|
830
|
+
set metadata(value: TransactionMetadata | null | undefined);
|
|
831
|
+
}
|
|
621
832
|
export class XmtpCursor {
|
|
622
833
|
private constructor();
|
|
623
834
|
free(): void;
|
|
835
|
+
[Symbol.dispose](): void;
|
|
624
836
|
originator_id: number;
|
|
625
837
|
sequence_id: bigint;
|
|
626
838
|
}
|
|
@@ -629,32 +841,67 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
629
841
|
|
|
630
842
|
export interface InitOutput {
|
|
631
843
|
readonly memory: WebAssembly.Memory;
|
|
632
|
-
readonly
|
|
633
|
-
readonly
|
|
634
|
-
readonly
|
|
635
|
-
readonly
|
|
636
|
-
readonly
|
|
637
|
-
readonly
|
|
638
|
-
readonly
|
|
639
|
-
readonly
|
|
640
|
-
readonly
|
|
641
|
-
readonly
|
|
642
|
-
readonly
|
|
643
|
-
readonly
|
|
644
|
-
readonly
|
|
645
|
-
readonly
|
|
646
|
-
readonly
|
|
647
|
-
readonly
|
|
648
|
-
readonly
|
|
649
|
-
readonly
|
|
650
|
-
readonly
|
|
651
|
-
readonly
|
|
652
|
-
readonly
|
|
653
|
-
readonly
|
|
654
|
-
readonly
|
|
655
|
-
readonly
|
|
656
|
-
readonly
|
|
657
|
-
readonly
|
|
844
|
+
readonly __wbg_decodedmessagecontent_free: (a: number, b: number) => void;
|
|
845
|
+
readonly decodedmessagecontent_payloadType: (a: number) => number;
|
|
846
|
+
readonly decodedmessagecontent_asText: (a: number) => number;
|
|
847
|
+
readonly decodedmessagecontent_asReply: (a: number) => number;
|
|
848
|
+
readonly decodedmessagecontent_asReaction: (a: number) => number;
|
|
849
|
+
readonly decodedmessagecontent_asAttachment: (a: number) => number;
|
|
850
|
+
readonly decodedmessagecontent_asRemoteAttachment: (a: number) => number;
|
|
851
|
+
readonly decodedmessagecontent_asMultiRemoteAttachment: (a: number) => number;
|
|
852
|
+
readonly decodedmessagecontent_asTransactionReference: (a: number) => number;
|
|
853
|
+
readonly decodedmessagecontent_asGroupUpdated: (a: number) => number;
|
|
854
|
+
readonly decodedmessagecontent_asReadReceipt: (a: number) => number;
|
|
855
|
+
readonly decodedmessagecontent_asWalletSendCalls: (a: number) => [number, number, number];
|
|
856
|
+
readonly decodedmessagecontent_asCustom: (a: number) => number;
|
|
857
|
+
readonly __wbg_enrichedreply_free: (a: number, b: number) => void;
|
|
858
|
+
readonly enrichedreply_referenceId: (a: number) => [number, number];
|
|
859
|
+
readonly enrichedreply_content: (a: number) => number;
|
|
860
|
+
readonly enrichedreply_inReplyTo: (a: number) => number;
|
|
861
|
+
readonly __wbg_decodedmessage_free: (a: number, b: number) => void;
|
|
862
|
+
readonly __wbg_get_decodedmessage_id: (a: number) => [number, number];
|
|
863
|
+
readonly __wbg_set_decodedmessage_id: (a: number, b: number, c: number) => void;
|
|
864
|
+
readonly __wbg_get_decodedmessage_sent_at_ns: (a: number) => bigint;
|
|
865
|
+
readonly __wbg_set_decodedmessage_sent_at_ns: (a: number, b: bigint) => void;
|
|
866
|
+
readonly __wbg_get_decodedmessage_kind: (a: number) => number;
|
|
867
|
+
readonly __wbg_set_decodedmessage_kind: (a: number, b: number) => void;
|
|
868
|
+
readonly __wbg_get_decodedmessage_sender_installation_id: (a: number) => [number, number];
|
|
869
|
+
readonly __wbg_set_decodedmessage_sender_installation_id: (a: number, b: number, c: number) => void;
|
|
870
|
+
readonly __wbg_get_decodedmessage_sender_inbox_id: (a: number) => [number, number];
|
|
871
|
+
readonly __wbg_set_decodedmessage_sender_inbox_id: (a: number, b: number, c: number) => void;
|
|
872
|
+
readonly __wbg_get_decodedmessage_content_type: (a: number) => number;
|
|
873
|
+
readonly __wbg_set_decodedmessage_content_type: (a: number, b: number) => void;
|
|
874
|
+
readonly __wbg_get_decodedmessage_conversation_id: (a: number) => [number, number];
|
|
875
|
+
readonly __wbg_set_decodedmessage_conversation_id: (a: number, b: number, c: number) => void;
|
|
876
|
+
readonly __wbg_get_decodedmessage_content: (a: number) => number;
|
|
877
|
+
readonly __wbg_set_decodedmessage_content: (a: number, b: number) => void;
|
|
878
|
+
readonly __wbg_get_decodedmessage_fallback_text: (a: number) => [number, number];
|
|
879
|
+
readonly __wbg_set_decodedmessage_fallback_text: (a: number, b: number, c: number) => void;
|
|
880
|
+
readonly __wbg_get_decodedmessage_reactions: (a: number) => [number, number];
|
|
881
|
+
readonly __wbg_set_decodedmessage_reactions: (a: number, b: number, c: number) => void;
|
|
882
|
+
readonly __wbg_get_decodedmessage_delivery_status: (a: number) => number;
|
|
883
|
+
readonly __wbg_set_decodedmessage_delivery_status: (a: number, b: number) => void;
|
|
884
|
+
readonly __wbg_get_decodedmessage_num_replies: (a: number) => bigint;
|
|
885
|
+
readonly __wbg_set_decodedmessage_num_replies: (a: number, b: bigint) => void;
|
|
886
|
+
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
887
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
888
|
+
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number) => [number, number, number];
|
|
889
|
+
readonly applySignatureRequest: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
890
|
+
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
891
|
+
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
892
|
+
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
893
|
+
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
|
|
894
|
+
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
895
|
+
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
896
|
+
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
897
|
+
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
898
|
+
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
899
|
+
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
900
|
+
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
901
|
+
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
902
|
+
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
903
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
904
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
658
905
|
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
659
906
|
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
660
907
|
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
@@ -668,6 +915,8 @@ export interface InitOutput {
|
|
|
668
915
|
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
669
916
|
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
670
917
|
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
918
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
919
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
671
920
|
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
672
921
|
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
673
922
|
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
@@ -689,18 +938,9 @@ export interface InitOutput {
|
|
|
689
938
|
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
690
939
|
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
691
940
|
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
692
|
-
readonly
|
|
693
|
-
readonly
|
|
694
|
-
readonly
|
|
695
|
-
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
696
|
-
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
697
|
-
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
698
|
-
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
699
|
-
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
700
|
-
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
701
|
-
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
702
|
-
readonly encodeReaction: (a: number) => [number, number, number];
|
|
703
|
-
readonly decodeReaction: (a: any) => [number, number, number];
|
|
941
|
+
readonly __wbg_sendmessageopts_free: (a: number, b: number) => void;
|
|
942
|
+
readonly __wbg_get_sendmessageopts_shouldPush: (a: number) => number;
|
|
943
|
+
readonly __wbg_set_sendmessageopts_shouldPush: (a: number, b: number) => void;
|
|
704
944
|
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
705
945
|
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
706
946
|
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
@@ -717,11 +957,12 @@ export interface InitOutput {
|
|
|
717
957
|
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
718
958
|
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
719
959
|
readonly conversation_id: (a: number) => [number, number];
|
|
720
|
-
readonly conversation_send: (a: number, b: number) => any;
|
|
721
|
-
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
960
|
+
readonly conversation_send: (a: number, b: number, c: number) => any;
|
|
961
|
+
readonly conversation_sendOptimistic: (a: number, b: number, c: number) => [number, number, number, number];
|
|
722
962
|
readonly conversation_publishMessages: (a: number) => any;
|
|
723
963
|
readonly conversation_sync: (a: number) => any;
|
|
724
964
|
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
965
|
+
readonly conversation_countMessages: (a: number, b: number) => any;
|
|
725
966
|
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
726
967
|
readonly conversation_listMembers: (a: number) => any;
|
|
727
968
|
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
@@ -758,27 +999,26 @@ export interface InitOutput {
|
|
|
758
999
|
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
759
1000
|
readonly conversation_getDebugInfo: (a: number) => any;
|
|
760
1001
|
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
761
|
-
readonly
|
|
762
|
-
readonly
|
|
763
|
-
readonly
|
|
764
|
-
readonly
|
|
765
|
-
readonly
|
|
766
|
-
readonly
|
|
767
|
-
readonly
|
|
768
|
-
readonly
|
|
769
|
-
readonly
|
|
770
|
-
readonly
|
|
771
|
-
readonly
|
|
772
|
-
readonly
|
|
773
|
-
readonly
|
|
774
|
-
readonly
|
|
775
|
-
readonly
|
|
776
|
-
readonly
|
|
777
|
-
readonly
|
|
778
|
-
readonly
|
|
779
|
-
readonly
|
|
780
|
-
readonly
|
|
781
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
1002
|
+
readonly conversation_findMessagesV2: (a: number, b: number) => any;
|
|
1003
|
+
readonly conversation_getLastReadTimes: (a: number) => any;
|
|
1004
|
+
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
1005
|
+
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
1006
|
+
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
1007
|
+
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
1008
|
+
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
1009
|
+
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
1010
|
+
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
1011
|
+
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
1012
|
+
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
1013
|
+
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
1014
|
+
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
1015
|
+
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
1016
|
+
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
1017
|
+
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
1018
|
+
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
1019
|
+
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
1020
|
+
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
1021
|
+
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
782
1022
|
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
783
1023
|
readonly opfs_init_sqlite_opfs: () => any;
|
|
784
1024
|
readonly opfs_exists: () => number;
|
|
@@ -792,38 +1032,61 @@ export interface InitOutput {
|
|
|
792
1032
|
readonly opfs_getCapacity: () => number;
|
|
793
1033
|
readonly opfs_addCapacity: (a: number) => any;
|
|
794
1034
|
readonly opfs_reduceCapacity: (a: number) => any;
|
|
795
|
-
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
796
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
797
|
-
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number) => any;
|
|
798
|
-
readonly applySignatureRequest: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
799
|
-
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
800
|
-
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
801
|
-
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
802
|
-
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
|
|
803
|
-
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
804
|
-
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
805
|
-
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
806
|
-
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
807
|
-
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
808
|
-
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
809
|
-
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
810
|
-
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
811
|
-
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
812
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
813
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
814
|
-
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
815
1035
|
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
816
|
-
readonly
|
|
817
|
-
readonly
|
|
818
|
-
readonly
|
|
819
|
-
readonly
|
|
1036
|
+
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
1037
|
+
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
1038
|
+
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
1039
|
+
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
1040
|
+
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
1041
|
+
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
1042
|
+
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
1043
|
+
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
1044
|
+
readonly __wbg_attachment_free: (a: number, b: number) => void;
|
|
1045
|
+
readonly __wbg_get_attachment_filename: (a: number) => [number, number];
|
|
1046
|
+
readonly __wbg_set_attachment_filename: (a: number, b: number, c: number) => void;
|
|
1047
|
+
readonly __wbg_get_attachment_mimeType: (a: number) => [number, number];
|
|
1048
|
+
readonly __wbg_set_attachment_mimeType: (a: number, b: number, c: number) => void;
|
|
1049
|
+
readonly __wbg_get_attachment_content: (a: number) => [number, number];
|
|
1050
|
+
readonly __wbg_set_attachment_content: (a: number, b: number, c: number) => void;
|
|
1051
|
+
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
1052
|
+
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
1053
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
1054
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
1055
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
1056
|
+
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
1057
|
+
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
1058
|
+
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
1059
|
+
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1060
|
+
readonly encodeReaction: (a: number) => [number, number, number];
|
|
1061
|
+
readonly decodeReaction: (a: any) => [number, number, number];
|
|
1062
|
+
readonly __wbg_reactionpayload_free: (a: number, b: number) => void;
|
|
1063
|
+
readonly __wbg_get_reactionpayload_reference: (a: number) => [number, number];
|
|
1064
|
+
readonly __wbg_get_reactionpayload_referenceInboxId: (a: number) => [number, number];
|
|
1065
|
+
readonly __wbg_get_reactionpayload_content: (a: number) => [number, number];
|
|
1066
|
+
readonly __wbg_transactionreference_free: (a: number, b: number) => void;
|
|
1067
|
+
readonly __wbg_get_transactionreference_namespace: (a: number) => [number, number];
|
|
1068
|
+
readonly __wbg_set_transactionreference_namespace: (a: number, b: number, c: number) => void;
|
|
1069
|
+
readonly __wbg_get_transactionreference_networkId: (a: number) => [number, number];
|
|
1070
|
+
readonly __wbg_set_transactionreference_networkId: (a: number, b: number, c: number) => void;
|
|
1071
|
+
readonly __wbg_get_transactionreference_reference: (a: number) => [number, number];
|
|
1072
|
+
readonly __wbg_set_transactionreference_reference: (a: number, b: number, c: number) => void;
|
|
1073
|
+
readonly __wbg_get_transactionreference_metadata: (a: number) => number;
|
|
1074
|
+
readonly __wbg_set_transactionreference_metadata: (a: number, b: number) => void;
|
|
1075
|
+
readonly __wbg_transactionmetadata_free: (a: number, b: number) => void;
|
|
1076
|
+
readonly __wbg_get_transactionmetadata_transactionType: (a: number) => [number, number];
|
|
1077
|
+
readonly __wbg_get_transactionmetadata_currency: (a: number) => [number, number];
|
|
1078
|
+
readonly __wbg_get_transactionmetadata_amount: (a: number) => number;
|
|
1079
|
+
readonly __wbg_set_transactionmetadata_amount: (a: number, b: number) => void;
|
|
1080
|
+
readonly __wbg_get_transactionmetadata_decimals: (a: number) => number;
|
|
1081
|
+
readonly __wbg_set_transactionmetadata_decimals: (a: number, b: number) => void;
|
|
1082
|
+
readonly __wbg_get_transactionmetadata_fromAddress: (a: number) => [number, number];
|
|
1083
|
+
readonly __wbg_get_transactionmetadata_toAddress: (a: number) => [number, number];
|
|
1084
|
+
readonly __wbg_set_transactionmetadata_toAddress: (a: number, b: number, c: number) => void;
|
|
820
1085
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
821
1086
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
822
1087
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
823
1088
|
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
824
1089
|
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
825
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
826
|
-
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
827
1090
|
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
828
1091
|
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
829
1092
|
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
@@ -832,8 +1095,6 @@ export interface InitOutput {
|
|
|
832
1095
|
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
833
1096
|
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
834
1097
|
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
835
|
-
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
836
|
-
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
837
1098
|
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
838
1099
|
readonly __wbg_xmtpcursor_free: (a: number, b: number) => void;
|
|
839
1100
|
readonly __wbg_get_xmtpcursor_originator_id: (a: number) => number;
|
|
@@ -897,16 +1158,70 @@ export interface InitOutput {
|
|
|
897
1158
|
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
898
1159
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
899
1160
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
1161
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
1162
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
1163
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
1164
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
1165
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
1166
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
1167
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
1168
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
1169
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
1170
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
1171
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
1172
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
1173
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
1174
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
1175
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
1176
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
1177
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
1178
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
1179
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
1180
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
1181
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: any) => any;
|
|
1182
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
1183
|
+
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
1184
|
+
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
1185
|
+
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
1186
|
+
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
1187
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
1188
|
+
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
1189
|
+
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
1190
|
+
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
1191
|
+
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
1192
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
1193
|
+
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
1194
|
+
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
1195
|
+
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
1196
|
+
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
1197
|
+
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
1198
|
+
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
1199
|
+
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
1200
|
+
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
1201
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
1202
|
+
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
1203
|
+
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
1204
|
+
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
1205
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
1206
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
1207
|
+
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
1208
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
1209
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
1210
|
+
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
900
1211
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
901
1212
|
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
902
1213
|
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
1214
|
+
readonly __wbg_get_listmessagesoptions_excludeContentTypes: (a: number) => [number, number];
|
|
1215
|
+
readonly __wbg_set_listmessagesoptions_excludeContentTypes: (a: number, b: number, c: number) => void;
|
|
903
1216
|
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
904
1217
|
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
905
1218
|
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
906
1219
|
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
907
1220
|
readonly __wbg_get_listmessagesoptions_kind: (a: number) => number;
|
|
908
1221
|
readonly __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
|
|
909
|
-
readonly
|
|
1222
|
+
readonly __wbg_get_listmessagesoptions_excludeSenderInboxIds: (a: number) => [number, number];
|
|
1223
|
+
readonly __wbg_set_listmessagesoptions_excludeSenderInboxIds: (a: number, b: number, c: number) => void;
|
|
1224
|
+
readonly listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigint, e: number, f: bigint, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => number;
|
|
910
1225
|
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
911
1226
|
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
912
1227
|
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
@@ -926,23 +1241,73 @@ export interface InitOutput {
|
|
|
926
1241
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
927
1242
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
928
1243
|
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
1244
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
1245
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
1246
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
1247
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
1248
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
1249
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
1250
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
1251
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
1252
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
1253
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
1254
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
1255
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
1256
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
1257
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
1258
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
1259
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
1260
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
1261
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1262
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
1263
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
1264
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
1265
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
1266
|
+
readonly streamcloser_end: (a: number) => void;
|
|
1267
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
1268
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
1269
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
1270
|
+
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
1271
|
+
readonly __wbg_get_reactionpayload_action: (a: number) => number;
|
|
1272
|
+
readonly __wbg_get_reactionpayload_schema: (a: number) => number;
|
|
1273
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
1274
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
1275
|
+
readonly __wbg_set_reactionpayload_reference: (a: number, b: number, c: number) => void;
|
|
1276
|
+
readonly __wbg_set_reactionpayload_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
1277
|
+
readonly __wbg_set_reactionpayload_content: (a: number, b: number, c: number) => void;
|
|
1278
|
+
readonly __wbg_set_transactionmetadata_currency: (a: number, b: number, c: number) => void;
|
|
1279
|
+
readonly __wbg_set_transactionmetadata_transactionType: (a: number, b: number, c: number) => void;
|
|
1280
|
+
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
1281
|
+
readonly __wbg_set_transactionmetadata_fromAddress: (a: number, b: number, c: number) => void;
|
|
929
1282
|
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
1283
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
1284
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
1285
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
930
1286
|
readonly __wbg_set_xmtpcursor_sequence_id: (a: number, b: bigint) => void;
|
|
931
1287
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
932
1288
|
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
1289
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
1290
|
+
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
933
1291
|
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
1292
|
+
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
1293
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
934
1294
|
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
935
1295
|
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
936
1296
|
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
937
|
-
readonly
|
|
938
|
-
readonly
|
|
939
|
-
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
940
|
-
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
1297
|
+
readonly __wbg_set_reactionpayload_action: (a: number, b: number) => void;
|
|
1298
|
+
readonly __wbg_set_reactionpayload_schema: (a: number, b: number) => void;
|
|
941
1299
|
readonly __wbg_get_xmtpcursor_sequence_id: (a: number) => bigint;
|
|
942
1300
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
943
1301
|
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
1302
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
1303
|
+
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
944
1304
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
945
|
-
readonly
|
|
1305
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
1306
|
+
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
1307
|
+
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
1308
|
+
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
1309
|
+
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
1310
|
+
readonly __wbg_readreceipt_free: (a: number, b: number) => void;
|
|
946
1311
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
947
1312
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
948
1313
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -971,66 +1336,47 @@ export interface InitOutput {
|
|
|
971
1336
|
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
972
1337
|
readonly client_clearAllStatistics: (a: number) => void;
|
|
973
1338
|
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
974
|
-
readonly
|
|
975
|
-
readonly
|
|
976
|
-
readonly
|
|
977
|
-
readonly
|
|
978
|
-
readonly
|
|
979
|
-
readonly
|
|
980
|
-
readonly
|
|
981
|
-
readonly
|
|
982
|
-
readonly
|
|
983
|
-
readonly
|
|
984
|
-
readonly
|
|
985
|
-
readonly
|
|
986
|
-
readonly
|
|
987
|
-
readonly
|
|
988
|
-
readonly
|
|
989
|
-
readonly
|
|
990
|
-
readonly
|
|
991
|
-
readonly
|
|
992
|
-
readonly
|
|
993
|
-
readonly
|
|
994
|
-
readonly
|
|
995
|
-
readonly
|
|
996
|
-
readonly
|
|
997
|
-
readonly
|
|
998
|
-
readonly
|
|
999
|
-
readonly
|
|
1000
|
-
readonly
|
|
1001
|
-
readonly
|
|
1002
|
-
readonly
|
|
1003
|
-
readonly
|
|
1004
|
-
readonly
|
|
1005
|
-
readonly
|
|
1006
|
-
readonly
|
|
1007
|
-
readonly
|
|
1008
|
-
readonly
|
|
1009
|
-
readonly
|
|
1010
|
-
readonly
|
|
1011
|
-
readonly
|
|
1012
|
-
readonly
|
|
1013
|
-
readonly
|
|
1014
|
-
readonly
|
|
1015
|
-
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
1016
|
-
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
1017
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
1018
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
1019
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
1020
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
1021
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
1022
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
1023
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
1024
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
1025
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1026
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
1027
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
1028
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
1029
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
1030
|
-
readonly streamcloser_end: (a: number) => void;
|
|
1031
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
1032
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
1033
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
1339
|
+
readonly client_deleteMessage: (a: number, b: number, c: number) => [number, number, number];
|
|
1340
|
+
readonly client_messageV2: (a: number, b: number, c: number) => any;
|
|
1341
|
+
readonly __wbg_groupupdated_free: (a: number, b: number) => void;
|
|
1342
|
+
readonly __wbg_get_groupupdated_initiatedByInboxId: (a: number) => [number, number];
|
|
1343
|
+
readonly __wbg_set_groupupdated_initiatedByInboxId: (a: number, b: number, c: number) => void;
|
|
1344
|
+
readonly __wbg_get_groupupdated_addedInboxes: (a: number) => [number, number];
|
|
1345
|
+
readonly __wbg_set_groupupdated_addedInboxes: (a: number, b: number, c: number) => void;
|
|
1346
|
+
readonly __wbg_get_groupupdated_removedInboxes: (a: number) => [number, number];
|
|
1347
|
+
readonly __wbg_set_groupupdated_removedInboxes: (a: number, b: number, c: number) => void;
|
|
1348
|
+
readonly __wbg_get_groupupdated_metadataFieldChanges: (a: number) => [number, number];
|
|
1349
|
+
readonly __wbg_set_groupupdated_metadataFieldChanges: (a: number, b: number, c: number) => void;
|
|
1350
|
+
readonly __wbg_inbox_free: (a: number, b: number) => void;
|
|
1351
|
+
readonly __wbg_get_inbox_inboxId: (a: number) => [number, number];
|
|
1352
|
+
readonly __wbg_metadatafieldchange_free: (a: number, b: number) => void;
|
|
1353
|
+
readonly __wbg_get_metadatafieldchange_fieldName: (a: number) => [number, number];
|
|
1354
|
+
readonly __wbg_get_metadatafieldchange_oldValue: (a: number) => [number, number];
|
|
1355
|
+
readonly __wbg_set_metadatafieldchange_oldValue: (a: number, b: number, c: number) => void;
|
|
1356
|
+
readonly __wbg_get_metadatafieldchange_newValue: (a: number) => [number, number];
|
|
1357
|
+
readonly __wbg_set_metadatafieldchange_newValue: (a: number, b: number, c: number) => void;
|
|
1358
|
+
readonly __wbg_remoteattachment_free: (a: number, b: number) => void;
|
|
1359
|
+
readonly __wbg_get_remoteattachment_url: (a: number) => [number, number];
|
|
1360
|
+
readonly __wbg_set_remoteattachment_url: (a: number, b: number, c: number) => void;
|
|
1361
|
+
readonly __wbg_get_remoteattachment_contentDigest: (a: number) => [number, number];
|
|
1362
|
+
readonly __wbg_set_remoteattachment_contentDigest: (a: number, b: number, c: number) => void;
|
|
1363
|
+
readonly __wbg_get_remoteattachment_secret: (a: number) => [number, number];
|
|
1364
|
+
readonly __wbg_set_remoteattachment_secret: (a: number, b: number, c: number) => void;
|
|
1365
|
+
readonly __wbg_get_remoteattachment_salt: (a: number) => [number, number];
|
|
1366
|
+
readonly __wbg_set_remoteattachment_salt: (a: number, b: number, c: number) => void;
|
|
1367
|
+
readonly __wbg_get_remoteattachment_nonce: (a: number) => [number, number];
|
|
1368
|
+
readonly __wbg_set_remoteattachment_nonce: (a: number, b: number, c: number) => void;
|
|
1369
|
+
readonly __wbg_get_remoteattachment_scheme: (a: number) => [number, number];
|
|
1370
|
+
readonly __wbg_set_remoteattachment_scheme: (a: number, b: number, c: number) => void;
|
|
1371
|
+
readonly __wbg_get_remoteattachment_contentLength: (a: number) => bigint;
|
|
1372
|
+
readonly __wbg_set_remoteattachment_contentLength: (a: number, b: bigint) => void;
|
|
1373
|
+
readonly __wbg_get_remoteattachment_filename: (a: number) => [number, number];
|
|
1374
|
+
readonly __wbg_set_remoteattachment_filename: (a: number, b: number, c: number) => void;
|
|
1375
|
+
readonly __wbg_get_textcontent_content: (a: number) => [number, number];
|
|
1376
|
+
readonly __wbg_set_inbox_inboxId: (a: number, b: number, c: number) => void;
|
|
1377
|
+
readonly __wbg_set_metadatafieldchange_fieldName: (a: number, b: number, c: number) => void;
|
|
1378
|
+
readonly __wbg_set_textcontent_content: (a: number, b: number, c: number) => void;
|
|
1379
|
+
readonly __wbg_textcontent_free: (a: number, b: number) => void;
|
|
1034
1380
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
1035
1381
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
1036
1382
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -1050,15 +1396,15 @@ export interface InitOutput {
|
|
|
1050
1396
|
readonly rust_sqlite_wasm_shim_realloc: (a: number, b: number) => number;
|
|
1051
1397
|
readonly rust_sqlite_wasm_shim_calloc: (a: number, b: number) => number;
|
|
1052
1398
|
readonly sqlite3_os_init: () => number;
|
|
1053
|
-
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1054
|
-
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1055
|
-
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1056
1399
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
1057
1400
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
1058
1401
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
1059
1402
|
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
1060
1403
|
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
1061
1404
|
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
1405
|
+
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1406
|
+
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1407
|
+
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1062
1408
|
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
1063
1409
|
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
1064
1410
|
readonly intounderlyingsink_close: (a: number) => any;
|
|
@@ -1073,11 +1419,11 @@ export interface InitOutput {
|
|
|
1073
1419
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1074
1420
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
1075
1421
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1076
|
-
readonly
|
|
1077
|
-
readonly
|
|
1078
|
-
readonly
|
|
1079
|
-
readonly
|
|
1080
|
-
readonly
|
|
1422
|
+
readonly wasm_bindgen__convert__closures_____invoke__ha8342c4eebc28ece: (a: number, b: number) => void;
|
|
1423
|
+
readonly wasm_bindgen__convert__closures_____invoke__h4b9132d070774788: (a: number, b: number) => void;
|
|
1424
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6553f0a100c562a9: (a: number, b: number) => void;
|
|
1425
|
+
readonly closure6979_externref_shim: (a: number, b: number, c: any) => void;
|
|
1426
|
+
readonly closure7944_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1081
1427
|
readonly __wbindgen_start: () => void;
|
|
1082
1428
|
}
|
|
1083
1429
|
|