@xmtp/wasm-bindings 1.5.4 → 1.6.0-dev.3656d63
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 +407 -113
- package/dist/bindings_wasm.js +3113 -1505
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +232 -97
- package/dist/version.json +3 -3
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAt
|
|
|
5
5
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
6
6
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
7
7
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
8
|
+
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
9
|
+
export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): SignatureRequestHandle;
|
|
10
|
+
export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
|
|
8
11
|
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
9
12
|
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
10
13
|
export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
|
|
11
|
-
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
12
|
-
export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
13
|
-
export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
|
|
14
14
|
/**
|
|
15
15
|
* Entry point invoked by JavaScript in a worker.
|
|
16
16
|
*/
|
|
@@ -69,6 +69,19 @@ export enum MetadataField {
|
|
|
69
69
|
MessageExpirationFromMS = 3,
|
|
70
70
|
MessageExpirationMS = 4,
|
|
71
71
|
}
|
|
72
|
+
export enum PayloadType {
|
|
73
|
+
Text = 0,
|
|
74
|
+
Reply = 1,
|
|
75
|
+
Reaction = 2,
|
|
76
|
+
Attachment = 3,
|
|
77
|
+
RemoteAttachment = 4,
|
|
78
|
+
MultiRemoteAttachment = 5,
|
|
79
|
+
TransactionReference = 6,
|
|
80
|
+
GroupUpdated = 7,
|
|
81
|
+
ReadReceipt = 8,
|
|
82
|
+
WalletSendCalls = 9,
|
|
83
|
+
Custom = 10,
|
|
84
|
+
}
|
|
72
85
|
export enum PermissionLevel {
|
|
73
86
|
Member = 0,
|
|
74
87
|
Admin = 1,
|
|
@@ -94,12 +107,23 @@ export enum ReactionAction {
|
|
|
94
107
|
Added = 1,
|
|
95
108
|
Removed = 2,
|
|
96
109
|
}
|
|
110
|
+
export enum ReactionActionPayload {
|
|
111
|
+
Added = 0,
|
|
112
|
+
Removed = 1,
|
|
113
|
+
Unknown = 2,
|
|
114
|
+
}
|
|
97
115
|
export enum ReactionSchema {
|
|
98
116
|
Unknown = 0,
|
|
99
117
|
Unicode = 1,
|
|
100
118
|
Shortcode = 2,
|
|
101
119
|
Custom = 3,
|
|
102
120
|
}
|
|
121
|
+
export enum ReactionSchemaPayload {
|
|
122
|
+
Unicode = 0,
|
|
123
|
+
Shortcode = 1,
|
|
124
|
+
Custom = 2,
|
|
125
|
+
Unknown = 3,
|
|
126
|
+
}
|
|
103
127
|
export enum SortDirection {
|
|
104
128
|
Ascending = 0,
|
|
105
129
|
Descending = 1,
|
|
@@ -133,6 +157,14 @@ export class ApiStats {
|
|
|
133
157
|
subscribe_messages: bigint;
|
|
134
158
|
subscribe_welcomes: bigint;
|
|
135
159
|
}
|
|
160
|
+
export class Attachment {
|
|
161
|
+
private constructor();
|
|
162
|
+
free(): void;
|
|
163
|
+
get filename(): string | undefined;
|
|
164
|
+
set filename(value: string | null | undefined);
|
|
165
|
+
mimeType: string;
|
|
166
|
+
content: Uint8Array;
|
|
167
|
+
}
|
|
136
168
|
export class Client {
|
|
137
169
|
private constructor();
|
|
138
170
|
free(): void;
|
|
@@ -150,6 +182,18 @@ export class Client {
|
|
|
150
182
|
apiAggregateStatistics(): string;
|
|
151
183
|
clearAllStatistics(): void;
|
|
152
184
|
uploadDebugArchive(server_url: string): Promise<string>;
|
|
185
|
+
deleteMessage(message_id: Uint8Array): number;
|
|
186
|
+
messageV2(message_id: Uint8Array): Promise<DecodedMessage>;
|
|
187
|
+
createInboxSignatureRequest(): SignatureRequestHandle | undefined;
|
|
188
|
+
addWalletSignatureRequest(new_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
189
|
+
revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
190
|
+
revokeAllOtherInstallationsSignatureRequest(): Promise<SignatureRequestHandle>;
|
|
191
|
+
revokeInstallationsSignatureRequest(installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
192
|
+
changeRecoveryIdentifierSignatureRequest(new_recovery_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
193
|
+
applySignatureRequest(signature_request: SignatureRequestHandle): Promise<void>;
|
|
194
|
+
registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
|
|
195
|
+
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
196
|
+
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
153
197
|
setConsentStates(records: Consent[]): Promise<void>;
|
|
154
198
|
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
155
199
|
/**
|
|
@@ -170,16 +214,6 @@ export class Client {
|
|
|
170
214
|
*
|
|
171
215
|
*/
|
|
172
216
|
getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
|
|
173
|
-
createInboxSignatureRequest(): SignatureRequestHandle | undefined;
|
|
174
|
-
addWalletSignatureRequest(new_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
175
|
-
revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
176
|
-
revokeAllOtherInstallationsSignatureRequest(): Promise<SignatureRequestHandle>;
|
|
177
|
-
revokeInstallationsSignatureRequest(installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
178
|
-
changeRecoveryIdentifierSignatureRequest(new_recovery_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
179
|
-
applySignatureRequest(signature_request: SignatureRequestHandle): Promise<void>;
|
|
180
|
-
registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
|
|
181
|
-
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
182
|
-
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
183
217
|
readonly accountIdentifier: Identifier;
|
|
184
218
|
readonly inboxId: string;
|
|
185
219
|
readonly isRegistered: boolean;
|
|
@@ -209,17 +243,18 @@ export class Conversation {
|
|
|
209
243
|
consentState(): ConsentState;
|
|
210
244
|
updateConsentState(state: ConsentState): void;
|
|
211
245
|
id(): string;
|
|
212
|
-
send(encoded_content: EncodedContent): Promise<string>;
|
|
246
|
+
send(encoded_content: EncodedContent, opts: SendMessageOpts): Promise<string>;
|
|
213
247
|
/**
|
|
214
248
|
* send a message without immediately publishing to the delivery service.
|
|
215
249
|
*/
|
|
216
|
-
sendOptimistic(encoded_content: EncodedContent): string;
|
|
250
|
+
sendOptimistic(encoded_content: EncodedContent, opts: SendMessageOpts): string;
|
|
217
251
|
/**
|
|
218
252
|
* Publish all unpublished messages
|
|
219
253
|
*/
|
|
220
254
|
publishMessages(): Promise<void>;
|
|
221
255
|
sync(): Promise<void>;
|
|
222
256
|
findMessages(opts?: ListMessagesOptions | null): Promise<Message[]>;
|
|
257
|
+
countMessages(opts?: ListMessagesOptions | null): Promise<bigint>;
|
|
223
258
|
findMessagesWithReactions(opts?: ListMessagesOptions | null): Promise<MessageWithReactions[]>;
|
|
224
259
|
listMembers(): Promise<any>;
|
|
225
260
|
adminList(): string[];
|
|
@@ -256,6 +291,8 @@ export class Conversation {
|
|
|
256
291
|
getHmacKeys(): any;
|
|
257
292
|
getDebugInfo(): Promise<any>;
|
|
258
293
|
findDuplicateDms(): Promise<Conversation[]>;
|
|
294
|
+
findMessagesV2(opts?: ListMessagesOptions | null): Promise<DecodedMessage[]>;
|
|
295
|
+
getLastReadTimes(): Promise<any>;
|
|
259
296
|
}
|
|
260
297
|
export class ConversationDebugInfo {
|
|
261
298
|
private constructor();
|
|
@@ -324,6 +361,39 @@ export class CreateGroupOptions {
|
|
|
324
361
|
get messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
325
362
|
set messageDisappearingSettings(value: MessageDisappearingSettings | null | undefined);
|
|
326
363
|
}
|
|
364
|
+
export class DecodedMessage {
|
|
365
|
+
private constructor();
|
|
366
|
+
free(): void;
|
|
367
|
+
id: Uint8Array;
|
|
368
|
+
sent_at_ns: bigint;
|
|
369
|
+
kind: GroupMessageKind;
|
|
370
|
+
sender_installation_id: Uint8Array;
|
|
371
|
+
sender_inbox_id: string;
|
|
372
|
+
content_type: ContentTypeId;
|
|
373
|
+
conversation_id: Uint8Array;
|
|
374
|
+
content: DecodedMessageContent;
|
|
375
|
+
get fallback_text(): string | undefined;
|
|
376
|
+
set fallback_text(value: string | null | undefined);
|
|
377
|
+
reactions: DecodedMessage[];
|
|
378
|
+
delivery_status: DeliveryStatus;
|
|
379
|
+
num_replies: bigint;
|
|
380
|
+
}
|
|
381
|
+
export class DecodedMessageContent {
|
|
382
|
+
private constructor();
|
|
383
|
+
free(): void;
|
|
384
|
+
asText(): TextContent | undefined;
|
|
385
|
+
asReply(): EnrichedReply | undefined;
|
|
386
|
+
asReaction(): ReactionPayload | undefined;
|
|
387
|
+
asAttachment(): Attachment | undefined;
|
|
388
|
+
asRemoteAttachment(): RemoteAttachment | undefined;
|
|
389
|
+
asMultiRemoteAttachment(): MultiRemoteAttachment | undefined;
|
|
390
|
+
asTransactionReference(): TransactionReference | undefined;
|
|
391
|
+
asGroupUpdated(): GroupUpdated | undefined;
|
|
392
|
+
asReadReceipt(): ReadReceipt | undefined;
|
|
393
|
+
asWalletSendCalls(): any;
|
|
394
|
+
asCustom(): EncodedContent | undefined;
|
|
395
|
+
readonly payloadType: PayloadType;
|
|
396
|
+
}
|
|
327
397
|
export class EncodedContent {
|
|
328
398
|
free(): void;
|
|
329
399
|
constructor(type: ContentTypeId | null | undefined, parameters: any, fallback: string | null | undefined, compression: number | null | undefined, content: Uint8Array);
|
|
@@ -336,6 +406,13 @@ export class EncodedContent {
|
|
|
336
406
|
set compression(value: number | null | undefined);
|
|
337
407
|
content: Uint8Array;
|
|
338
408
|
}
|
|
409
|
+
export class EnrichedReply {
|
|
410
|
+
private constructor();
|
|
411
|
+
free(): void;
|
|
412
|
+
readonly referenceId: string;
|
|
413
|
+
readonly content: DecodedMessageContent;
|
|
414
|
+
readonly inReplyTo: DecodedMessage | undefined;
|
|
415
|
+
}
|
|
339
416
|
export class GroupMember {
|
|
340
417
|
free(): void;
|
|
341
418
|
constructor(inboxId: string, accountIdentifiers: Identifier[], installationIds: string[], permissionLevel: PermissionLevel, consentState: ConsentState);
|
|
@@ -357,6 +434,14 @@ export class GroupPermissions {
|
|
|
357
434
|
policyType(): GroupPermissionsOptions;
|
|
358
435
|
policySet(): PermissionPolicySet;
|
|
359
436
|
}
|
|
437
|
+
export class GroupUpdated {
|
|
438
|
+
private constructor();
|
|
439
|
+
free(): void;
|
|
440
|
+
initiatedByInboxId: string;
|
|
441
|
+
addedInboxes: Inbox[];
|
|
442
|
+
removedInboxes: Inbox[];
|
|
443
|
+
metadataFieldChanges: MetadataFieldChange[];
|
|
444
|
+
}
|
|
360
445
|
export class HmacKey {
|
|
361
446
|
private constructor();
|
|
362
447
|
free(): void;
|
|
@@ -371,6 +456,11 @@ export class IdentityStats {
|
|
|
371
456
|
get_inbox_ids: bigint;
|
|
372
457
|
verify_smart_contract_wallet_signature: bigint;
|
|
373
458
|
}
|
|
459
|
+
export class Inbox {
|
|
460
|
+
private constructor();
|
|
461
|
+
free(): void;
|
|
462
|
+
inboxId: string;
|
|
463
|
+
}
|
|
374
464
|
export class InboxState {
|
|
375
465
|
free(): void;
|
|
376
466
|
constructor(inbox_id: string, recovery_identifier: Identifier, installations: Installation[], account_identifiers: Identifier[]);
|
|
@@ -441,9 +531,11 @@ export class ListConversationsOptions {
|
|
|
441
531
|
}
|
|
442
532
|
export class ListMessagesOptions {
|
|
443
533
|
free(): void;
|
|
444
|
-
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, kind?: GroupMessageKind | null);
|
|
534
|
+
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
535
|
get contentTypes(): any[] | undefined;
|
|
446
536
|
set contentTypes(value: any[] | null | undefined);
|
|
537
|
+
get excludeContentTypes(): any[] | undefined;
|
|
538
|
+
set excludeContentTypes(value: any[] | null | undefined);
|
|
447
539
|
get sentBeforeNs(): bigint | undefined;
|
|
448
540
|
set sentBeforeNs(value: bigint | null | undefined);
|
|
449
541
|
get sentAfterNs(): bigint | undefined;
|
|
@@ -456,6 +548,8 @@ export class ListMessagesOptions {
|
|
|
456
548
|
set direction(value: SortDirection | null | undefined);
|
|
457
549
|
get kind(): GroupMessageKind | undefined;
|
|
458
550
|
set kind(value: GroupMessageKind | null | undefined);
|
|
551
|
+
get excludeSenderInboxIds(): string[] | undefined;
|
|
552
|
+
set excludeSenderInboxIds(value: string[] | null | undefined);
|
|
459
553
|
}
|
|
460
554
|
/**
|
|
461
555
|
* Specify options for the logger
|
|
@@ -503,6 +597,15 @@ export class MessageWithReactions {
|
|
|
503
597
|
message: Message;
|
|
504
598
|
reactions: Message[];
|
|
505
599
|
}
|
|
600
|
+
export class MetadataFieldChange {
|
|
601
|
+
private constructor();
|
|
602
|
+
free(): void;
|
|
603
|
+
fieldName: string;
|
|
604
|
+
get oldValue(): string | undefined;
|
|
605
|
+
set oldValue(value: string | null | undefined);
|
|
606
|
+
get newValue(): string | undefined;
|
|
607
|
+
set newValue(value: string | null | undefined);
|
|
608
|
+
}
|
|
506
609
|
export class MultiRemoteAttachment {
|
|
507
610
|
free(): void;
|
|
508
611
|
constructor(attachments: RemoteAttachmentInfo[]);
|
|
@@ -576,6 +679,32 @@ export class Reaction {
|
|
|
576
679
|
content: string;
|
|
577
680
|
schema: ReactionSchema;
|
|
578
681
|
}
|
|
682
|
+
export class ReactionPayload {
|
|
683
|
+
private constructor();
|
|
684
|
+
free(): void;
|
|
685
|
+
reference: string;
|
|
686
|
+
referenceInboxId: string;
|
|
687
|
+
action: ReactionActionPayload;
|
|
688
|
+
content: string;
|
|
689
|
+
schema: ReactionSchemaPayload;
|
|
690
|
+
}
|
|
691
|
+
export class ReadReceipt {
|
|
692
|
+
private constructor();
|
|
693
|
+
free(): void;
|
|
694
|
+
}
|
|
695
|
+
export class RemoteAttachment {
|
|
696
|
+
private constructor();
|
|
697
|
+
free(): void;
|
|
698
|
+
url: string;
|
|
699
|
+
contentDigest: string;
|
|
700
|
+
secret: Uint8Array;
|
|
701
|
+
salt: Uint8Array;
|
|
702
|
+
nonce: Uint8Array;
|
|
703
|
+
scheme: string;
|
|
704
|
+
contentLength: bigint;
|
|
705
|
+
get filename(): string | undefined;
|
|
706
|
+
set filename(value: string | null | undefined);
|
|
707
|
+
}
|
|
579
708
|
export class RemoteAttachmentInfo {
|
|
580
709
|
free(): void;
|
|
581
710
|
constructor(secret: Uint8Array, contentDigest: string, nonce: Uint8Array, scheme: string, url: string, salt: Uint8Array, contentLength?: number | null, filename?: string | null);
|
|
@@ -590,6 +719,11 @@ export class RemoteAttachmentInfo {
|
|
|
590
719
|
get filename(): string | undefined;
|
|
591
720
|
set filename(value: string | null | undefined);
|
|
592
721
|
}
|
|
722
|
+
export class SendMessageOpts {
|
|
723
|
+
private constructor();
|
|
724
|
+
free(): void;
|
|
725
|
+
shouldPush: boolean;
|
|
726
|
+
}
|
|
593
727
|
export class SignatureRequestHandle {
|
|
594
728
|
private constructor();
|
|
595
729
|
free(): void;
|
|
@@ -618,11 +752,63 @@ export class StreamCloser {
|
|
|
618
752
|
*/
|
|
619
753
|
isClosed(): boolean;
|
|
620
754
|
}
|
|
755
|
+
export class TextContent {
|
|
756
|
+
private constructor();
|
|
757
|
+
free(): void;
|
|
758
|
+
content: string;
|
|
759
|
+
}
|
|
760
|
+
export class TransactionMetadata {
|
|
761
|
+
private constructor();
|
|
762
|
+
free(): void;
|
|
763
|
+
transactionType: string;
|
|
764
|
+
currency: string;
|
|
765
|
+
amount: number;
|
|
766
|
+
decimals: number;
|
|
767
|
+
fromAddress: string;
|
|
768
|
+
toAddress: string;
|
|
769
|
+
}
|
|
770
|
+
export class TransactionReference {
|
|
771
|
+
private constructor();
|
|
772
|
+
free(): void;
|
|
773
|
+
get namespace(): string | undefined;
|
|
774
|
+
set namespace(value: string | null | undefined);
|
|
775
|
+
networkId: string;
|
|
776
|
+
reference: string;
|
|
777
|
+
get metadata(): TransactionMetadata | undefined;
|
|
778
|
+
set metadata(value: TransactionMetadata | null | undefined);
|
|
779
|
+
}
|
|
621
780
|
|
|
622
781
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
623
782
|
|
|
624
783
|
export interface InitOutput {
|
|
625
784
|
readonly memory: WebAssembly.Memory;
|
|
785
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
786
|
+
readonly streamcloser_end: (a: number) => void;
|
|
787
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
788
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
789
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
790
|
+
readonly __wbg_readreceipt_free: (a: number, b: number) => void;
|
|
791
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
792
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
793
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
794
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
795
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
796
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
797
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
798
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
799
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
800
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
801
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
802
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
803
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
804
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
805
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
806
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
807
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
808
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
809
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
810
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
811
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
626
812
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
627
813
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
628
814
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -651,19 +837,11 @@ export interface InitOutput {
|
|
|
651
837
|
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
652
838
|
readonly client_clearAllStatistics: (a: number) => void;
|
|
653
839
|
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
654
|
-
readonly
|
|
655
|
-
readonly
|
|
656
|
-
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
657
|
-
readonly __wbg_get_consent_state: (a: number) => number;
|
|
658
|
-
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
659
|
-
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
660
|
-
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
661
|
-
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
662
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
663
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
664
|
-
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
665
|
-
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
840
|
+
readonly client_deleteMessage: (a: number, b: number, c: number) => [number, number, number];
|
|
841
|
+
readonly client_messageV2: (a: number, b: number, c: number) => any;
|
|
666
842
|
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
843
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
844
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
667
845
|
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
668
846
|
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
669
847
|
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
@@ -671,6 +849,7 @@ export interface InitOutput {
|
|
|
671
849
|
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
672
850
|
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
673
851
|
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
852
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
674
853
|
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
675
854
|
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
676
855
|
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
@@ -686,7 +865,9 @@ export interface InitOutput {
|
|
|
686
865
|
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
687
866
|
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
688
867
|
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
868
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
689
869
|
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
870
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
690
871
|
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
691
872
|
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
692
873
|
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
@@ -696,6 +877,152 @@ export interface InitOutput {
|
|
|
696
877
|
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
697
878
|
readonly encodeReaction: (a: number) => [number, number, number];
|
|
698
879
|
readonly decodeReaction: (a: any) => [number, number, number];
|
|
880
|
+
readonly __wbg_reactionpayload_free: (a: number, b: number) => void;
|
|
881
|
+
readonly __wbg_get_reactionpayload_reference: (a: number) => [number, number];
|
|
882
|
+
readonly __wbg_get_reactionpayload_referenceInboxId: (a: number) => [number, number];
|
|
883
|
+
readonly __wbg_get_reactionpayload_content: (a: number) => [number, number];
|
|
884
|
+
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
885
|
+
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
886
|
+
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
887
|
+
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
888
|
+
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
889
|
+
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
890
|
+
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
891
|
+
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
892
|
+
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
893
|
+
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
894
|
+
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
895
|
+
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
896
|
+
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
897
|
+
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
898
|
+
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
899
|
+
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
900
|
+
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
901
|
+
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
902
|
+
readonly __wbg_set_reactionpayload_reference: (a: number, b: number, c: number) => void;
|
|
903
|
+
readonly __wbg_set_reactionpayload_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
904
|
+
readonly __wbg_set_reactionpayload_content: (a: number, b: number, c: number) => void;
|
|
905
|
+
readonly __wbg_set_reactionpayload_action: (a: number, b: number) => void;
|
|
906
|
+
readonly __wbg_set_reactionpayload_schema: (a: number, b: number) => void;
|
|
907
|
+
readonly __wbg_get_reactionpayload_action: (a: number) => number;
|
|
908
|
+
readonly __wbg_get_reactionpayload_schema: (a: number) => number;
|
|
909
|
+
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
910
|
+
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
911
|
+
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
912
|
+
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
913
|
+
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
914
|
+
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
915
|
+
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
916
|
+
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
917
|
+
readonly __wbg_groupupdated_free: (a: number, b: number) => void;
|
|
918
|
+
readonly __wbg_get_groupupdated_initiatedByInboxId: (a: number) => [number, number];
|
|
919
|
+
readonly __wbg_set_groupupdated_initiatedByInboxId: (a: number, b: number, c: number) => void;
|
|
920
|
+
readonly __wbg_get_groupupdated_addedInboxes: (a: number) => [number, number];
|
|
921
|
+
readonly __wbg_set_groupupdated_addedInboxes: (a: number, b: number, c: number) => void;
|
|
922
|
+
readonly __wbg_get_groupupdated_removedInboxes: (a: number) => [number, number];
|
|
923
|
+
readonly __wbg_set_groupupdated_removedInboxes: (a: number, b: number, c: number) => void;
|
|
924
|
+
readonly __wbg_get_groupupdated_metadataFieldChanges: (a: number) => [number, number];
|
|
925
|
+
readonly __wbg_set_groupupdated_metadataFieldChanges: (a: number, b: number, c: number) => void;
|
|
926
|
+
readonly __wbg_inbox_free: (a: number, b: number) => void;
|
|
927
|
+
readonly __wbg_get_inbox_inboxId: (a: number) => [number, number];
|
|
928
|
+
readonly __wbg_metadatafieldchange_free: (a: number, b: number) => void;
|
|
929
|
+
readonly __wbg_get_metadatafieldchange_fieldName: (a: number) => [number, number];
|
|
930
|
+
readonly __wbg_get_metadatafieldchange_oldValue: (a: number) => [number, number];
|
|
931
|
+
readonly __wbg_set_metadatafieldchange_oldValue: (a: number, b: number, c: number) => void;
|
|
932
|
+
readonly __wbg_get_metadatafieldchange_newValue: (a: number) => [number, number];
|
|
933
|
+
readonly __wbg_set_metadatafieldchange_newValue: (a: number, b: number, c: number) => void;
|
|
934
|
+
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
935
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
936
|
+
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => [number, number, number];
|
|
937
|
+
readonly applySignatureRequest: (a: number, b: number, c: number) => any;
|
|
938
|
+
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
939
|
+
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
940
|
+
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
941
|
+
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
|
|
942
|
+
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
943
|
+
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
944
|
+
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
945
|
+
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
946
|
+
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
947
|
+
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
948
|
+
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
949
|
+
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
950
|
+
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
951
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
952
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
953
|
+
readonly __wbg_set_inbox_inboxId: (a: number, b: number, c: number) => void;
|
|
954
|
+
readonly __wbg_set_metadatafieldchange_fieldName: (a: number, b: number, c: number) => void;
|
|
955
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
956
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
957
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
958
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
959
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
960
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
961
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
962
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
963
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
964
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
965
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
966
|
+
readonly __wbg_attachment_free: (a: number, b: number) => void;
|
|
967
|
+
readonly __wbg_get_attachment_filename: (a: number) => [number, number];
|
|
968
|
+
readonly __wbg_set_attachment_filename: (a: number, b: number, c: number) => void;
|
|
969
|
+
readonly __wbg_get_attachment_mimeType: (a: number) => [number, number];
|
|
970
|
+
readonly __wbg_set_attachment_mimeType: (a: number, b: number, c: number) => void;
|
|
971
|
+
readonly __wbg_get_attachment_content: (a: number) => [number, number];
|
|
972
|
+
readonly __wbg_set_attachment_content: (a: number, b: number, c: number) => void;
|
|
973
|
+
readonly __wbg_decodedmessagecontent_free: (a: number, b: number) => void;
|
|
974
|
+
readonly decodedmessagecontent_payloadType: (a: number) => number;
|
|
975
|
+
readonly decodedmessagecontent_asText: (a: number) => number;
|
|
976
|
+
readonly decodedmessagecontent_asReply: (a: number) => number;
|
|
977
|
+
readonly decodedmessagecontent_asReaction: (a: number) => number;
|
|
978
|
+
readonly decodedmessagecontent_asAttachment: (a: number) => number;
|
|
979
|
+
readonly decodedmessagecontent_asRemoteAttachment: (a: number) => number;
|
|
980
|
+
readonly decodedmessagecontent_asMultiRemoteAttachment: (a: number) => number;
|
|
981
|
+
readonly decodedmessagecontent_asTransactionReference: (a: number) => number;
|
|
982
|
+
readonly decodedmessagecontent_asGroupUpdated: (a: number) => number;
|
|
983
|
+
readonly decodedmessagecontent_asReadReceipt: (a: number) => number;
|
|
984
|
+
readonly decodedmessagecontent_asWalletSendCalls: (a: number) => [number, number, number];
|
|
985
|
+
readonly decodedmessagecontent_asCustom: (a: number) => number;
|
|
986
|
+
readonly __wbg_remoteattachment_free: (a: number, b: number) => void;
|
|
987
|
+
readonly __wbg_get_remoteattachment_url: (a: number) => [number, number];
|
|
988
|
+
readonly __wbg_get_remoteattachment_contentDigest: (a: number) => [number, number];
|
|
989
|
+
readonly __wbg_set_remoteattachment_contentDigest: (a: number, b: number, c: number) => void;
|
|
990
|
+
readonly __wbg_get_remoteattachment_secret: (a: number) => [number, number];
|
|
991
|
+
readonly __wbg_set_remoteattachment_secret: (a: number, b: number, c: number) => void;
|
|
992
|
+
readonly __wbg_get_remoteattachment_salt: (a: number) => [number, number];
|
|
993
|
+
readonly __wbg_set_remoteattachment_salt: (a: number, b: number, c: number) => void;
|
|
994
|
+
readonly __wbg_get_remoteattachment_nonce: (a: number) => [number, number];
|
|
995
|
+
readonly __wbg_set_remoteattachment_nonce: (a: number, b: number, c: number) => void;
|
|
996
|
+
readonly __wbg_get_remoteattachment_scheme: (a: number) => [number, number];
|
|
997
|
+
readonly __wbg_get_remoteattachment_filename: (a: number) => [number, number];
|
|
998
|
+
readonly __wbg_set_remoteattachment_filename: (a: number, b: number, c: number) => void;
|
|
999
|
+
readonly __wbg_enrichedreply_free: (a: number, b: number) => void;
|
|
1000
|
+
readonly enrichedreply_referenceId: (a: number) => [number, number];
|
|
1001
|
+
readonly enrichedreply_content: (a: number) => number;
|
|
1002
|
+
readonly enrichedreply_inReplyTo: (a: number) => number;
|
|
1003
|
+
readonly __wbg_textcontent_free: (a: number, b: number) => void;
|
|
1004
|
+
readonly __wbg_get_textcontent_content: (a: number) => [number, number];
|
|
1005
|
+
readonly __wbg_transactionreference_free: (a: number, b: number) => void;
|
|
1006
|
+
readonly __wbg_get_transactionreference_namespace: (a: number) => [number, number];
|
|
1007
|
+
readonly __wbg_set_transactionreference_namespace: (a: number, b: number, c: number) => void;
|
|
1008
|
+
readonly __wbg_get_transactionreference_networkId: (a: number) => [number, number];
|
|
1009
|
+
readonly __wbg_set_transactionreference_networkId: (a: number, b: number, c: number) => void;
|
|
1010
|
+
readonly __wbg_get_transactionreference_reference: (a: number) => [number, number];
|
|
1011
|
+
readonly __wbg_set_transactionreference_reference: (a: number, b: number, c: number) => void;
|
|
1012
|
+
readonly __wbg_get_transactionreference_metadata: (a: number) => number;
|
|
1013
|
+
readonly __wbg_set_transactionreference_metadata: (a: number, b: number) => void;
|
|
1014
|
+
readonly __wbg_transactionmetadata_free: (a: number, b: number) => void;
|
|
1015
|
+
readonly __wbg_get_transactionmetadata_transactionType: (a: number) => [number, number];
|
|
1016
|
+
readonly __wbg_get_transactionmetadata_currency: (a: number) => [number, number];
|
|
1017
|
+
readonly __wbg_get_transactionmetadata_amount: (a: number) => number;
|
|
1018
|
+
readonly __wbg_set_transactionmetadata_amount: (a: number, b: number) => void;
|
|
1019
|
+
readonly __wbg_get_transactionmetadata_decimals: (a: number) => number;
|
|
1020
|
+
readonly __wbg_set_transactionmetadata_decimals: (a: number, b: number) => void;
|
|
1021
|
+
readonly __wbg_get_transactionmetadata_fromAddress: (a: number) => [number, number];
|
|
1022
|
+
readonly __wbg_get_transactionmetadata_toAddress: (a: number) => [number, number];
|
|
1023
|
+
readonly __wbg_sendmessageopts_free: (a: number, b: number) => void;
|
|
1024
|
+
readonly __wbg_get_sendmessageopts_shouldPush: (a: number) => number;
|
|
1025
|
+
readonly __wbg_set_sendmessageopts_shouldPush: (a: number, b: number) => void;
|
|
699
1026
|
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
700
1027
|
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
701
1028
|
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
@@ -712,11 +1039,12 @@ export interface InitOutput {
|
|
|
712
1039
|
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
713
1040
|
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
714
1041
|
readonly conversation_id: (a: number) => [number, number];
|
|
715
|
-
readonly conversation_send: (a: number, b: number) => any;
|
|
716
|
-
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
1042
|
+
readonly conversation_send: (a: number, b: number, c: number) => any;
|
|
1043
|
+
readonly conversation_sendOptimistic: (a: number, b: number, c: number) => [number, number, number, number];
|
|
717
1044
|
readonly conversation_publishMessages: (a: number) => any;
|
|
718
1045
|
readonly conversation_sync: (a: number) => any;
|
|
719
1046
|
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
1047
|
+
readonly conversation_countMessages: (a: number, b: number) => any;
|
|
720
1048
|
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
721
1049
|
readonly conversation_listMembers: (a: number) => any;
|
|
722
1050
|
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
@@ -753,6 +1081,8 @@ export interface InitOutput {
|
|
|
753
1081
|
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
754
1082
|
readonly conversation_getDebugInfo: (a: number) => any;
|
|
755
1083
|
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
1084
|
+
readonly conversation_findMessagesV2: (a: number, b: number) => any;
|
|
1085
|
+
readonly conversation_getLastReadTimes: (a: number) => any;
|
|
756
1086
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
757
1087
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
758
1088
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -765,6 +1095,7 @@ export interface InitOutput {
|
|
|
765
1095
|
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
766
1096
|
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
767
1097
|
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
1098
|
+
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
768
1099
|
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
769
1100
|
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
770
1101
|
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
@@ -829,7 +1160,6 @@ export interface InitOutput {
|
|
|
829
1160
|
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
830
1161
|
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
831
1162
|
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
832
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
833
1163
|
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
834
1164
|
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
835
1165
|
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
@@ -847,6 +1177,31 @@ export interface InitOutput {
|
|
|
847
1177
|
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
848
1178
|
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
849
1179
|
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
1180
|
+
readonly __wbg_decodedmessage_free: (a: number, b: number) => void;
|
|
1181
|
+
readonly __wbg_get_decodedmessage_id: (a: number) => [number, number];
|
|
1182
|
+
readonly __wbg_set_decodedmessage_id: (a: number, b: number, c: number) => void;
|
|
1183
|
+
readonly __wbg_get_decodedmessage_sent_at_ns: (a: number) => bigint;
|
|
1184
|
+
readonly __wbg_set_decodedmessage_sent_at_ns: (a: number, b: bigint) => void;
|
|
1185
|
+
readonly __wbg_get_decodedmessage_kind: (a: number) => number;
|
|
1186
|
+
readonly __wbg_set_decodedmessage_kind: (a: number, b: number) => void;
|
|
1187
|
+
readonly __wbg_get_decodedmessage_sender_installation_id: (a: number) => [number, number];
|
|
1188
|
+
readonly __wbg_set_decodedmessage_sender_installation_id: (a: number, b: number, c: number) => void;
|
|
1189
|
+
readonly __wbg_get_decodedmessage_sender_inbox_id: (a: number) => [number, number];
|
|
1190
|
+
readonly __wbg_set_decodedmessage_sender_inbox_id: (a: number, b: number, c: number) => void;
|
|
1191
|
+
readonly __wbg_get_decodedmessage_content_type: (a: number) => number;
|
|
1192
|
+
readonly __wbg_set_decodedmessage_content_type: (a: number, b: number) => void;
|
|
1193
|
+
readonly __wbg_get_decodedmessage_conversation_id: (a: number) => [number, number];
|
|
1194
|
+
readonly __wbg_set_decodedmessage_conversation_id: (a: number, b: number, c: number) => void;
|
|
1195
|
+
readonly __wbg_get_decodedmessage_content: (a: number) => number;
|
|
1196
|
+
readonly __wbg_set_decodedmessage_content: (a: number, b: number) => void;
|
|
1197
|
+
readonly __wbg_get_decodedmessage_fallback_text: (a: number) => [number, number];
|
|
1198
|
+
readonly __wbg_set_decodedmessage_fallback_text: (a: number, b: number, c: number) => void;
|
|
1199
|
+
readonly __wbg_get_decodedmessage_reactions: (a: number) => [number, number];
|
|
1200
|
+
readonly __wbg_set_decodedmessage_reactions: (a: number, b: number, c: number) => void;
|
|
1201
|
+
readonly __wbg_get_decodedmessage_delivery_status: (a: number) => number;
|
|
1202
|
+
readonly __wbg_set_decodedmessage_delivery_status: (a: number, b: number) => void;
|
|
1203
|
+
readonly __wbg_get_decodedmessage_num_replies: (a: number) => bigint;
|
|
1204
|
+
readonly __wbg_set_decodedmessage_num_replies: (a: number, b: bigint) => void;
|
|
850
1205
|
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
851
1206
|
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
852
1207
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
@@ -866,6 +1221,7 @@ export interface InitOutput {
|
|
|
866
1221
|
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
867
1222
|
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
868
1223
|
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
1224
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
869
1225
|
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
870
1226
|
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
871
1227
|
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
@@ -876,13 +1232,17 @@ export interface InitOutput {
|
|
|
876
1232
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
877
1233
|
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
878
1234
|
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
1235
|
+
readonly __wbg_get_listmessagesoptions_excludeContentTypes: (a: number) => [number, number];
|
|
1236
|
+
readonly __wbg_set_listmessagesoptions_excludeContentTypes: (a: number, b: number, c: number) => void;
|
|
879
1237
|
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
880
1238
|
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
881
1239
|
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
882
1240
|
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
883
1241
|
readonly __wbg_get_listmessagesoptions_kind: (a: number) => number;
|
|
884
1242
|
readonly __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
|
|
885
|
-
readonly
|
|
1243
|
+
readonly __wbg_get_listmessagesoptions_excludeSenderInboxIds: (a: number) => [number, number];
|
|
1244
|
+
readonly __wbg_set_listmessagesoptions_excludeSenderInboxIds: (a: number, b: number, c: number) => void;
|
|
1245
|
+
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;
|
|
886
1246
|
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
887
1247
|
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
888
1248
|
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
@@ -915,39 +1275,21 @@ export interface InitOutput {
|
|
|
915
1275
|
readonly opfs_getCapacity: () => number;
|
|
916
1276
|
readonly opfs_addCapacity: (a: number) => any;
|
|
917
1277
|
readonly opfs_reduceCapacity: (a: number) => any;
|
|
918
|
-
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
919
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
920
|
-
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => any;
|
|
921
|
-
readonly applySignatureRequest: (a: number, b: number, c: number) => any;
|
|
922
|
-
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
923
|
-
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
924
|
-
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
925
|
-
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
|
|
926
|
-
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
927
|
-
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
928
|
-
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
929
|
-
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
930
|
-
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
931
|
-
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
932
|
-
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
933
|
-
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
934
|
-
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
935
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
936
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
937
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
938
|
-
readonly streamcloser_end: (a: number) => void;
|
|
939
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
940
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
941
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
942
1278
|
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
943
|
-
readonly
|
|
1279
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
1280
|
+
readonly __wbg_set_textcontent_content: (a: number, b: number, c: number) => void;
|
|
1281
|
+
readonly __wbg_set_transactionmetadata_transactionType: (a: number, b: number, c: number) => void;
|
|
1282
|
+
readonly __wbg_set_transactionmetadata_currency: (a: number, b: number, c: number) => void;
|
|
1283
|
+
readonly __wbg_set_transactionmetadata_fromAddress: (a: number, b: number, c: number) => void;
|
|
1284
|
+
readonly __wbg_set_transactionmetadata_toAddress: (a: number, b: number, c: number) => void;
|
|
944
1285
|
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
945
|
-
readonly
|
|
1286
|
+
readonly __wbg_set_remoteattachment_url: (a: number, b: number, c: number) => void;
|
|
946
1287
|
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
947
|
-
readonly
|
|
1288
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
948
1289
|
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
949
1290
|
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
950
|
-
readonly
|
|
1291
|
+
readonly __wbg_set_remoteattachment_scheme: (a: number, b: number, c: number) => void;
|
|
1292
|
+
readonly __wbg_set_remoteattachment_contentLength: (a: number, b: bigint) => void;
|
|
951
1293
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
952
1294
|
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
953
1295
|
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
@@ -959,7 +1301,7 @@ export interface InitOutput {
|
|
|
959
1301
|
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
960
1302
|
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
961
1303
|
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
962
|
-
readonly
|
|
1304
|
+
readonly __wbg_get_remoteattachment_contentLength: (a: number) => bigint;
|
|
963
1305
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
964
1306
|
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
965
1307
|
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
@@ -971,55 +1313,6 @@ export interface InitOutput {
|
|
|
971
1313
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
972
1314
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
973
1315
|
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
974
|
-
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
975
|
-
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
976
|
-
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
977
|
-
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
978
|
-
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
979
|
-
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
980
|
-
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
981
|
-
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
982
|
-
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
983
|
-
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
984
|
-
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
985
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
986
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
987
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
988
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
989
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
990
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
991
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
992
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
993
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
994
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
995
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
996
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
997
|
-
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
998
|
-
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
999
|
-
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
1000
|
-
readonly __wbg_get_apistats_fetch_key_package: (a: number) => bigint;
|
|
1001
|
-
readonly __wbg_set_apistats_fetch_key_package: (a: number, b: bigint) => void;
|
|
1002
|
-
readonly __wbg_get_apistats_send_group_messages: (a: number) => bigint;
|
|
1003
|
-
readonly __wbg_set_apistats_send_group_messages: (a: number, b: bigint) => void;
|
|
1004
|
-
readonly __wbg_get_apistats_send_welcome_messages: (a: number) => bigint;
|
|
1005
|
-
readonly __wbg_set_apistats_send_welcome_messages: (a: number, b: bigint) => void;
|
|
1006
|
-
readonly __wbg_get_apistats_query_group_messages: (a: number) => bigint;
|
|
1007
|
-
readonly __wbg_set_apistats_query_group_messages: (a: number, b: bigint) => void;
|
|
1008
|
-
readonly __wbg_get_apistats_query_welcome_messages: (a: number) => bigint;
|
|
1009
|
-
readonly __wbg_set_apistats_query_welcome_messages: (a: number, b: bigint) => void;
|
|
1010
|
-
readonly __wbg_get_apistats_subscribe_messages: (a: number) => bigint;
|
|
1011
|
-
readonly __wbg_set_apistats_subscribe_messages: (a: number, b: bigint) => void;
|
|
1012
|
-
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
1013
|
-
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
1014
|
-
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
1015
|
-
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
1016
|
-
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
1017
|
-
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
1018
|
-
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
1019
|
-
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
1020
|
-
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
1021
|
-
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
1022
|
-
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
1023
1316
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
1024
1317
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
1025
1318
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -1062,10 +1355,11 @@ export interface InitOutput {
|
|
|
1062
1355
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1063
1356
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
1064
1357
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1065
|
-
readonly
|
|
1358
|
+
readonly wasm_bindgen__convert__closures_____invoke__hf1da1e5ad7398b09: (a: number, b: number) => void;
|
|
1359
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7637509b4f7e8710: (a: number, b: number) => void;
|
|
1066
1360
|
readonly wasm_bindgen__convert__closures_____invoke__hfa5440517c90e88d: (a: number, b: number) => void;
|
|
1067
|
-
readonly
|
|
1068
|
-
readonly
|
|
1361
|
+
readonly closure5613_externref_shim: (a: number, b: number, c: any) => void;
|
|
1362
|
+
readonly closure6580_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1069
1363
|
readonly __wbindgen_start: () => void;
|
|
1070
1364
|
}
|
|
1071
1365
|
|