@xmtp/wasm-bindings 1.0.0-rc1 → 1.0.0-rc3
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 +160 -163
- package/dist/bindings_wasm.js +128 -135
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +147 -148
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, history_sync_url?: string | null, log_options?: LogOptions | null): Promise<Client>;
|
|
4
|
+
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
3
5
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
4
6
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
5
7
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
6
8
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
7
|
-
export function
|
|
8
|
-
export function generateInboxId(
|
|
9
|
-
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, history_sync_url?: string | null, log_options?: LogOptions | null): Promise<Client>;
|
|
10
|
-
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
9
|
+
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
10
|
+
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
11
11
|
export enum ConsentEntityType {
|
|
12
12
|
GroupId = 0,
|
|
13
13
|
InboxId = 1,
|
|
@@ -117,8 +117,6 @@ export type UserPreference = { type: "Consent"; consent: Consent } | { type: "Hm
|
|
|
117
117
|
export class Client {
|
|
118
118
|
private constructor();
|
|
119
119
|
free(): void;
|
|
120
|
-
setConsentStates(records: Consent[]): Promise<void>;
|
|
121
|
-
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
122
120
|
/**
|
|
123
121
|
*
|
|
124
122
|
* * Get the client's inbox state.
|
|
@@ -136,7 +134,7 @@ export class Client {
|
|
|
136
134
|
registerIdentity(): Promise<void>;
|
|
137
135
|
sendHistorySyncRequest(): Promise<void>;
|
|
138
136
|
sendConsentSyncRequest(): Promise<void>;
|
|
139
|
-
|
|
137
|
+
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
140
138
|
conversations(): Conversations;
|
|
141
139
|
createInboxSignatureText(): string | undefined;
|
|
142
140
|
addWalletSignatureText(new_identifier: Identifier): Promise<string>;
|
|
@@ -149,7 +147,9 @@ export class Client {
|
|
|
149
147
|
applySignatureRequests(): Promise<void>;
|
|
150
148
|
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
151
149
|
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
152
|
-
|
|
150
|
+
setConsentStates(records: Consent[]): Promise<void>;
|
|
151
|
+
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
152
|
+
readonly accountIdentifier: Identifier;
|
|
153
153
|
readonly inboxId: string;
|
|
154
154
|
readonly isRegistered: boolean;
|
|
155
155
|
readonly installationId: string;
|
|
@@ -288,9 +288,9 @@ export class EncodedContent {
|
|
|
288
288
|
}
|
|
289
289
|
export class GroupMember {
|
|
290
290
|
free(): void;
|
|
291
|
-
constructor(
|
|
291
|
+
constructor(inboxId: string, accountIdentifiers: Identifier[], installationIds: string[], permissionLevel: PermissionLevel, consentState: ConsentState);
|
|
292
292
|
inboxId: string;
|
|
293
|
-
|
|
293
|
+
accountIdentifiers: Identifier[];
|
|
294
294
|
installationIds: string[];
|
|
295
295
|
permissionLevel: PermissionLevel;
|
|
296
296
|
consentState: ConsentState;
|
|
@@ -314,12 +314,10 @@ export class HmacKey {
|
|
|
314
314
|
epoch: bigint;
|
|
315
315
|
}
|
|
316
316
|
export class Identifier {
|
|
317
|
-
private constructor();
|
|
318
317
|
free(): void;
|
|
318
|
+
constructor(identifier: string, identifierKind: IdentifierKind);
|
|
319
319
|
identifier: string;
|
|
320
|
-
|
|
321
|
-
get relying_party(): string | undefined;
|
|
322
|
-
set relying_party(value: string | null | undefined);
|
|
320
|
+
identifierKind: IdentifierKind;
|
|
323
321
|
}
|
|
324
322
|
export class InboxState {
|
|
325
323
|
free(): void;
|
|
@@ -327,7 +325,7 @@ export class InboxState {
|
|
|
327
325
|
inboxId: string;
|
|
328
326
|
recoveryIdentifier: Identifier;
|
|
329
327
|
installations: Installation[];
|
|
330
|
-
|
|
328
|
+
accountIdentifiers: Identifier[];
|
|
331
329
|
}
|
|
332
330
|
export class Installation {
|
|
333
331
|
free(): void;
|
|
@@ -503,147 +501,6 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
503
501
|
|
|
504
502
|
export interface InitOutput {
|
|
505
503
|
readonly memory: WebAssembly.Memory;
|
|
506
|
-
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
507
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
508
|
-
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
509
|
-
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
510
|
-
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
511
|
-
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
512
|
-
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
513
|
-
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
514
|
-
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
515
|
-
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
516
|
-
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
517
|
-
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
518
|
-
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
519
|
-
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
520
|
-
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
521
|
-
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
522
|
-
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
523
|
-
readonly remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
|
|
524
|
-
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
525
|
-
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
526
|
-
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
527
|
-
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
528
|
-
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
529
|
-
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
530
|
-
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
531
|
-
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
532
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
533
|
-
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
534
|
-
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
535
|
-
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
536
|
-
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
537
|
-
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
538
|
-
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
539
|
-
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
540
|
-
readonly encodeReaction: (a: number) => [number, number, number];
|
|
541
|
-
readonly decodeReaction: (a: any) => [number, number, number];
|
|
542
|
-
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
543
|
-
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
544
|
-
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
545
|
-
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
546
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
547
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
548
|
-
readonly __wbg_get_groupmember_accountAddresses: (a: number) => [number, number];
|
|
549
|
-
readonly __wbg_set_groupmember_accountAddresses: (a: number, b: number, c: number) => void;
|
|
550
|
-
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
551
|
-
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
552
|
-
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
553
|
-
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
554
|
-
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
555
|
-
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
556
|
-
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
557
|
-
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
558
|
-
readonly conversation_id: (a: number) => [number, number];
|
|
559
|
-
readonly conversation_send: (a: number, b: number) => any;
|
|
560
|
-
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
561
|
-
readonly conversation_publishMessages: (a: number) => any;
|
|
562
|
-
readonly conversation_sync: (a: number) => any;
|
|
563
|
-
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
564
|
-
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
565
|
-
readonly conversation_listMembers: (a: number) => any;
|
|
566
|
-
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
567
|
-
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
568
|
-
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
569
|
-
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
570
|
-
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
571
|
-
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
572
|
-
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
573
|
-
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
574
|
-
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
575
|
-
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
576
|
-
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
577
|
-
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
578
|
-
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
579
|
-
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
580
|
-
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
581
|
-
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
582
|
-
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
583
|
-
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
584
|
-
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
585
|
-
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
586
|
-
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
587
|
-
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
588
|
-
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
589
|
-
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
590
|
-
readonly conversation_groupMetadata: (a: number) => any;
|
|
591
|
-
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
592
|
-
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
593
|
-
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
594
|
-
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
595
|
-
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
596
|
-
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
597
|
-
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
598
|
-
readonly getInboxIdForAddress: (a: number, b: number, c: number) => any;
|
|
599
|
-
readonly generateInboxId: (a: number) => [number, number, number, number];
|
|
600
|
-
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
601
|
-
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
602
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
603
|
-
readonly streamcloser_end: (a: number) => void;
|
|
604
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
605
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
606
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
607
|
-
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
608
|
-
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
609
|
-
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
610
|
-
readonly __wbg_get_consent_state: (a: number) => number;
|
|
611
|
-
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
612
|
-
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
613
|
-
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
614
|
-
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
615
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
616
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
617
|
-
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
618
|
-
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
619
|
-
readonly __wbg_identifier_free: (a: number, b: number) => void;
|
|
620
|
-
readonly __wbg_get_identifier_identifier_kind: (a: number) => number;
|
|
621
|
-
readonly __wbg_set_identifier_identifier_kind: (a: number, b: number) => void;
|
|
622
|
-
readonly __wbg_get_identifier_relying_party: (a: number) => [number, number];
|
|
623
|
-
readonly __wbg_set_identifier_relying_party: (a: number, b: number, c: number) => void;
|
|
624
|
-
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
625
|
-
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
626
|
-
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
627
|
-
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
628
|
-
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
629
|
-
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
630
|
-
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
631
|
-
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
632
|
-
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
633
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
634
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
635
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
636
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
637
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
638
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
639
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
640
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
641
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
642
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
643
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
644
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
645
|
-
readonly __wbg_set_identifier_identifier: (a: number, b: number, c: number) => void;
|
|
646
|
-
readonly __wbg_get_identifier_identifier: (a: number) => [number, number];
|
|
647
504
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
648
505
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
649
506
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -740,8 +597,8 @@ export interface InitOutput {
|
|
|
740
597
|
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: number) => void;
|
|
741
598
|
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
742
599
|
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
743
|
-
readonly
|
|
744
|
-
readonly
|
|
600
|
+
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
601
|
+
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
745
602
|
readonly inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
746
603
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
747
604
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
@@ -788,6 +645,11 @@ export interface InitOutput {
|
|
|
788
645
|
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
789
646
|
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
790
647
|
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
648
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
649
|
+
readonly streamcloser_end: (a: number) => void;
|
|
650
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
651
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
652
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
791
653
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
792
654
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
793
655
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -798,7 +660,7 @@ export interface InitOutput {
|
|
|
798
660
|
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
799
661
|
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
800
662
|
readonly createClient: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => any;
|
|
801
|
-
readonly
|
|
663
|
+
readonly client_accountIdentifier: (a: number) => number;
|
|
802
664
|
readonly client_inboxId: (a: number) => [number, number];
|
|
803
665
|
readonly client_isRegistered: (a: number) => number;
|
|
804
666
|
readonly client_installationId: (a: number) => [number, number];
|
|
@@ -807,7 +669,7 @@ export interface InitOutput {
|
|
|
807
669
|
readonly client_registerIdentity: (a: number) => any;
|
|
808
670
|
readonly client_sendHistorySyncRequest: (a: number) => any;
|
|
809
671
|
readonly client_sendConsentSyncRequest: (a: number) => any;
|
|
810
|
-
readonly
|
|
672
|
+
readonly client_findInboxIdByIdentifier: (a: number, b: number) => any;
|
|
811
673
|
readonly client_conversations: (a: number) => number;
|
|
812
674
|
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
813
675
|
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
@@ -822,6 +684,141 @@ export interface InitOutput {
|
|
|
822
684
|
readonly client_applySignatureRequests: (a: number) => any;
|
|
823
685
|
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
824
686
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
687
|
+
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
688
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
689
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
690
|
+
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
691
|
+
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
692
|
+
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
693
|
+
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
694
|
+
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
695
|
+
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
696
|
+
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
697
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
698
|
+
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
699
|
+
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
700
|
+
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
701
|
+
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
702
|
+
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
703
|
+
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
704
|
+
readonly remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
|
|
705
|
+
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
706
|
+
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
707
|
+
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
708
|
+
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
709
|
+
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
710
|
+
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
711
|
+
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
712
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
713
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
714
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
715
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
716
|
+
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
717
|
+
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
718
|
+
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
719
|
+
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
720
|
+
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
721
|
+
readonly encodeReaction: (a: number) => [number, number, number];
|
|
722
|
+
readonly decodeReaction: (a: any) => [number, number, number];
|
|
723
|
+
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
724
|
+
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
725
|
+
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
726
|
+
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
727
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
728
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
729
|
+
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
730
|
+
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
731
|
+
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
732
|
+
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
733
|
+
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
734
|
+
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
735
|
+
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
736
|
+
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
737
|
+
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
738
|
+
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
739
|
+
readonly conversation_id: (a: number) => [number, number];
|
|
740
|
+
readonly conversation_send: (a: number, b: number) => any;
|
|
741
|
+
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
742
|
+
readonly conversation_publishMessages: (a: number) => any;
|
|
743
|
+
readonly conversation_sync: (a: number) => any;
|
|
744
|
+
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
745
|
+
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
746
|
+
readonly conversation_listMembers: (a: number) => any;
|
|
747
|
+
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
748
|
+
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
749
|
+
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
750
|
+
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
751
|
+
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
752
|
+
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
753
|
+
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
754
|
+
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
755
|
+
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
756
|
+
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
757
|
+
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
758
|
+
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
759
|
+
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
760
|
+
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
761
|
+
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
762
|
+
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
763
|
+
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
764
|
+
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
765
|
+
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
766
|
+
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
767
|
+
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
768
|
+
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
769
|
+
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
770
|
+
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
771
|
+
readonly conversation_groupMetadata: (a: number) => any;
|
|
772
|
+
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
773
|
+
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
774
|
+
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
775
|
+
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
776
|
+
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
777
|
+
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
778
|
+
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
779
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: number) => any;
|
|
780
|
+
readonly generateInboxId: (a: number) => [number, number, number, number];
|
|
781
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
782
|
+
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
783
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
784
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
785
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
786
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
787
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
788
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
789
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
790
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
791
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
792
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
793
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
794
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
795
|
+
readonly __wbg_identifier_free: (a: number, b: number) => void;
|
|
796
|
+
readonly __wbg_get_identifier_identifierKind: (a: number) => number;
|
|
797
|
+
readonly __wbg_set_identifier_identifierKind: (a: number, b: number) => void;
|
|
798
|
+
readonly identifier_new: (a: number, b: number, c: number) => number;
|
|
799
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
800
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
801
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
802
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
803
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
804
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
805
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
806
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
807
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
808
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
809
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
810
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
811
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
812
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
813
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
814
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
815
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
816
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
817
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
818
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
819
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
820
|
+
readonly __wbg_set_identifier_identifier: (a: number, b: number, c: number) => void;
|
|
821
|
+
readonly __wbg_get_identifier_identifier: (a: number) => [number, number];
|
|
825
822
|
readonly rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
826
823
|
readonly rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
827
824
|
readonly rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
@@ -852,9 +849,9 @@ export interface InitOutput {
|
|
|
852
849
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
853
850
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
854
851
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff1927556d6713ec: (a: number, b: number) => void;
|
|
855
|
-
readonly
|
|
856
|
-
readonly
|
|
857
|
-
readonly
|
|
852
|
+
readonly closure3754_externref_shim: (a: number, b: number, c: any) => void;
|
|
853
|
+
readonly closure4763_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
854
|
+
readonly closure4762_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
858
855
|
readonly __wbindgen_start: () => void;
|
|
859
856
|
}
|
|
860
857
|
|
package/dist/bindings_wasm.js
CHANGED
|
@@ -230,11 +230,62 @@ function _assertClass(instance, klass) {
|
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
234
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
235
|
+
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
236
|
+
WASM_VECTOR_LEN = arg.length;
|
|
237
|
+
return ptr;
|
|
238
|
+
}
|
|
239
|
+
|
|
233
240
|
function takeFromExternrefTable0(idx) {
|
|
234
241
|
const value = wasm.__wbindgen_export_4.get(idx);
|
|
235
242
|
wasm.__externref_table_dealloc(idx);
|
|
236
243
|
return value;
|
|
237
244
|
}
|
|
245
|
+
/**
|
|
246
|
+
* @param {string} host
|
|
247
|
+
* @param {string} inbox_id
|
|
248
|
+
* @param {Identifier} account_identifier
|
|
249
|
+
* @param {string | null} [db_path]
|
|
250
|
+
* @param {Uint8Array | null} [encryption_key]
|
|
251
|
+
* @param {string | null} [history_sync_url]
|
|
252
|
+
* @param {LogOptions | null} [log_options]
|
|
253
|
+
* @returns {Promise<Client>}
|
|
254
|
+
*/
|
|
255
|
+
export function createClient(host, inbox_id, account_identifier, db_path, encryption_key, history_sync_url, log_options) {
|
|
256
|
+
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
257
|
+
const len0 = WASM_VECTOR_LEN;
|
|
258
|
+
const ptr1 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
259
|
+
const len1 = WASM_VECTOR_LEN;
|
|
260
|
+
_assertClass(account_identifier, Identifier);
|
|
261
|
+
var ptr2 = account_identifier.__destroy_into_raw();
|
|
262
|
+
var ptr3 = isLikeNone(db_path) ? 0 : passStringToWasm0(db_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
263
|
+
var len3 = WASM_VECTOR_LEN;
|
|
264
|
+
var ptr4 = isLikeNone(history_sync_url) ? 0 : passStringToWasm0(history_sync_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
265
|
+
var len4 = WASM_VECTOR_LEN;
|
|
266
|
+
let ptr5 = 0;
|
|
267
|
+
if (!isLikeNone(log_options)) {
|
|
268
|
+
_assertClass(log_options, LogOptions);
|
|
269
|
+
ptr5 = log_options.__destroy_into_raw();
|
|
270
|
+
}
|
|
271
|
+
const ret = wasm.createClient(ptr0, len0, ptr1, len1, ptr2, ptr3, len3, isLikeNone(encryption_key) ? 0 : addToExternrefTable0(encryption_key), ptr4, len4, ptr5);
|
|
272
|
+
return ret;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* @param {string} signature_text
|
|
277
|
+
* @param {Uint8Array} signature_bytes
|
|
278
|
+
* @param {Uint8Array} public_key
|
|
279
|
+
*/
|
|
280
|
+
export function verifySignedWithPublicKey(signature_text, signature_bytes, public_key) {
|
|
281
|
+
const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
282
|
+
const len0 = WASM_VECTOR_LEN;
|
|
283
|
+
const ret = wasm.verifySignedWithPublicKey(ptr0, len0, signature_bytes, public_key);
|
|
284
|
+
if (ret[1]) {
|
|
285
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
238
289
|
/**
|
|
239
290
|
* @param {MultiRemoteAttachment} multiRemoteAttachment
|
|
240
291
|
* @returns {Uint8Array}
|
|
@@ -289,28 +340,28 @@ export function decodeReaction(bytes) {
|
|
|
289
340
|
|
|
290
341
|
/**
|
|
291
342
|
* @param {string} host
|
|
292
|
-
* @param {Identifier}
|
|
343
|
+
* @param {Identifier} accountIdentifier
|
|
293
344
|
* @returns {Promise<string | undefined>}
|
|
294
345
|
*/
|
|
295
|
-
export function
|
|
346
|
+
export function getInboxIdForIdentifier(host, accountIdentifier) {
|
|
296
347
|
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
297
348
|
const len0 = WASM_VECTOR_LEN;
|
|
298
|
-
_assertClass(
|
|
299
|
-
var ptr1 =
|
|
300
|
-
const ret = wasm.
|
|
349
|
+
_assertClass(accountIdentifier, Identifier);
|
|
350
|
+
var ptr1 = accountIdentifier.__destroy_into_raw();
|
|
351
|
+
const ret = wasm.getInboxIdForIdentifier(ptr0, len0, ptr1);
|
|
301
352
|
return ret;
|
|
302
353
|
}
|
|
303
354
|
|
|
304
355
|
/**
|
|
305
|
-
* @param {Identifier}
|
|
356
|
+
* @param {Identifier} accountIdentifier
|
|
306
357
|
* @returns {string}
|
|
307
358
|
*/
|
|
308
|
-
export function generateInboxId(
|
|
359
|
+
export function generateInboxId(accountIdentifier) {
|
|
309
360
|
let deferred3_0;
|
|
310
361
|
let deferred3_1;
|
|
311
362
|
try {
|
|
312
|
-
_assertClass(
|
|
313
|
-
var ptr0 =
|
|
363
|
+
_assertClass(accountIdentifier, Identifier);
|
|
364
|
+
var ptr0 = accountIdentifier.__destroy_into_raw();
|
|
314
365
|
const ret = wasm.generateInboxId(ptr0);
|
|
315
366
|
var ptr2 = ret[0];
|
|
316
367
|
var len2 = ret[1];
|
|
@@ -326,71 +377,21 @@ export function generateInboxId(account_identifier) {
|
|
|
326
377
|
}
|
|
327
378
|
}
|
|
328
379
|
|
|
329
|
-
function passArray8ToWasm0(arg, malloc) {
|
|
330
|
-
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
331
|
-
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
332
|
-
WASM_VECTOR_LEN = arg.length;
|
|
333
|
-
return ptr;
|
|
334
|
-
}
|
|
335
|
-
/**
|
|
336
|
-
* @param {string} host
|
|
337
|
-
* @param {string} inbox_id
|
|
338
|
-
* @param {Identifier} account_identifier
|
|
339
|
-
* @param {string | null} [db_path]
|
|
340
|
-
* @param {Uint8Array | null} [encryption_key]
|
|
341
|
-
* @param {string | null} [history_sync_url]
|
|
342
|
-
* @param {LogOptions | null} [log_options]
|
|
343
|
-
* @returns {Promise<Client>}
|
|
344
|
-
*/
|
|
345
|
-
export function createClient(host, inbox_id, account_identifier, db_path, encryption_key, history_sync_url, log_options) {
|
|
346
|
-
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
347
|
-
const len0 = WASM_VECTOR_LEN;
|
|
348
|
-
const ptr1 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
349
|
-
const len1 = WASM_VECTOR_LEN;
|
|
350
|
-
_assertClass(account_identifier, Identifier);
|
|
351
|
-
var ptr2 = account_identifier.__destroy_into_raw();
|
|
352
|
-
var ptr3 = isLikeNone(db_path) ? 0 : passStringToWasm0(db_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
353
|
-
var len3 = WASM_VECTOR_LEN;
|
|
354
|
-
var ptr4 = isLikeNone(history_sync_url) ? 0 : passStringToWasm0(history_sync_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
355
|
-
var len4 = WASM_VECTOR_LEN;
|
|
356
|
-
let ptr5 = 0;
|
|
357
|
-
if (!isLikeNone(log_options)) {
|
|
358
|
-
_assertClass(log_options, LogOptions);
|
|
359
|
-
ptr5 = log_options.__destroy_into_raw();
|
|
360
|
-
}
|
|
361
|
-
const ret = wasm.createClient(ptr0, len0, ptr1, len1, ptr2, ptr3, len3, isLikeNone(encryption_key) ? 0 : addToExternrefTable0(encryption_key), ptr4, len4, ptr5);
|
|
362
|
-
return ret;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
* @param {string} signature_text
|
|
367
|
-
* @param {Uint8Array} signature_bytes
|
|
368
|
-
* @param {Uint8Array} public_key
|
|
369
|
-
*/
|
|
370
|
-
export function verifySignedWithPublicKey(signature_text, signature_bytes, public_key) {
|
|
371
|
-
const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
372
|
-
const len0 = WASM_VECTOR_LEN;
|
|
373
|
-
const ret = wasm.verifySignedWithPublicKey(ptr0, len0, signature_bytes, public_key);
|
|
374
|
-
if (ret[1]) {
|
|
375
|
-
throw takeFromExternrefTable0(ret[0]);
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
|
|
379
380
|
function __wbg_adapter_46(arg0, arg1) {
|
|
380
381
|
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff1927556d6713ec(arg0, arg1);
|
|
381
382
|
}
|
|
382
383
|
|
|
383
384
|
function __wbg_adapter_49(arg0, arg1, arg2) {
|
|
384
|
-
wasm.
|
|
385
|
+
wasm.closure3754_externref_shim(arg0, arg1, arg2);
|
|
385
386
|
}
|
|
386
387
|
|
|
387
|
-
function
|
|
388
|
-
const ret = wasm.
|
|
388
|
+
function __wbg_adapter_590(arg0, arg1, arg2, arg3, arg4) {
|
|
389
|
+
const ret = wasm.closure4763_externref_shim(arg0, arg1, arg2, arg3, arg4);
|
|
389
390
|
return ret !== 0;
|
|
390
391
|
}
|
|
391
392
|
|
|
392
|
-
function
|
|
393
|
-
wasm.
|
|
393
|
+
function __wbg_adapter_691(arg0, arg1, arg2, arg3) {
|
|
394
|
+
wasm.closure4762_externref_shim(arg0, arg1, arg2, arg3);
|
|
394
395
|
}
|
|
395
396
|
|
|
396
397
|
/**
|
|
@@ -575,27 +576,6 @@ export class Client {
|
|
|
575
576
|
const ptr = this.__destroy_into_raw();
|
|
576
577
|
wasm.__wbg_client_free(ptr, 0);
|
|
577
578
|
}
|
|
578
|
-
/**
|
|
579
|
-
* @param {Consent[]} records
|
|
580
|
-
* @returns {Promise<void>}
|
|
581
|
-
*/
|
|
582
|
-
setConsentStates(records) {
|
|
583
|
-
const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
|
|
584
|
-
const len0 = WASM_VECTOR_LEN;
|
|
585
|
-
const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
|
|
586
|
-
return ret;
|
|
587
|
-
}
|
|
588
|
-
/**
|
|
589
|
-
* @param {ConsentEntityType} entity_type
|
|
590
|
-
* @param {string} entity
|
|
591
|
-
* @returns {Promise<ConsentState>}
|
|
592
|
-
*/
|
|
593
|
-
getConsentState(entity_type, entity) {
|
|
594
|
-
const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
595
|
-
const len0 = WASM_VECTOR_LEN;
|
|
596
|
-
const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
|
|
597
|
-
return ret;
|
|
598
|
-
}
|
|
599
579
|
/**
|
|
600
580
|
*
|
|
601
581
|
* * Get the client's inbox state.
|
|
@@ -623,8 +603,8 @@ export class Client {
|
|
|
623
603
|
/**
|
|
624
604
|
* @returns {Identifier}
|
|
625
605
|
*/
|
|
626
|
-
get
|
|
627
|
-
const ret = wasm.
|
|
606
|
+
get accountIdentifier() {
|
|
607
|
+
const ret = wasm.client_accountIdentifier(this.__wbg_ptr);
|
|
628
608
|
return Identifier.__wrap(ret);
|
|
629
609
|
}
|
|
630
610
|
/**
|
|
@@ -707,10 +687,10 @@ export class Client {
|
|
|
707
687
|
* @param {Identifier} identifier
|
|
708
688
|
* @returns {Promise<string | undefined>}
|
|
709
689
|
*/
|
|
710
|
-
|
|
690
|
+
findInboxIdByIdentifier(identifier) {
|
|
711
691
|
_assertClass(identifier, Identifier);
|
|
712
692
|
var ptr0 = identifier.__destroy_into_raw();
|
|
713
|
-
const ret = wasm.
|
|
693
|
+
const ret = wasm.client_findInboxIdByIdentifier(this.__wbg_ptr, ptr0);
|
|
714
694
|
return ret;
|
|
715
695
|
}
|
|
716
696
|
/**
|
|
@@ -835,6 +815,27 @@ export class Client {
|
|
|
835
815
|
throw takeFromExternrefTable0(ret[0]);
|
|
836
816
|
}
|
|
837
817
|
}
|
|
818
|
+
/**
|
|
819
|
+
* @param {Consent[]} records
|
|
820
|
+
* @returns {Promise<void>}
|
|
821
|
+
*/
|
|
822
|
+
setConsentStates(records) {
|
|
823
|
+
const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
|
|
824
|
+
const len0 = WASM_VECTOR_LEN;
|
|
825
|
+
const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
|
|
826
|
+
return ret;
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* @param {ConsentEntityType} entity_type
|
|
830
|
+
* @param {string} entity
|
|
831
|
+
* @returns {Promise<ConsentState>}
|
|
832
|
+
*/
|
|
833
|
+
getConsentState(entity_type, entity) {
|
|
834
|
+
const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
835
|
+
const len0 = WASM_VECTOR_LEN;
|
|
836
|
+
const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
|
|
837
|
+
return ret;
|
|
838
|
+
}
|
|
838
839
|
}
|
|
839
840
|
|
|
840
841
|
const ConsentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -2292,8 +2293,8 @@ export class GroupMember {
|
|
|
2292
2293
|
/**
|
|
2293
2294
|
* @returns {Identifier[]}
|
|
2294
2295
|
*/
|
|
2295
|
-
get
|
|
2296
|
-
const ret = wasm.
|
|
2296
|
+
get accountIdentifiers() {
|
|
2297
|
+
const ret = wasm.__wbg_get_groupmember_accountIdentifiers(this.__wbg_ptr);
|
|
2297
2298
|
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
2298
2299
|
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
2299
2300
|
return v1;
|
|
@@ -2301,10 +2302,10 @@ export class GroupMember {
|
|
|
2301
2302
|
/**
|
|
2302
2303
|
* @param {Identifier[]} arg0
|
|
2303
2304
|
*/
|
|
2304
|
-
set
|
|
2305
|
+
set accountIdentifiers(arg0) {
|
|
2305
2306
|
const ptr0 = passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
2306
2307
|
const len0 = WASM_VECTOR_LEN;
|
|
2307
|
-
wasm.
|
|
2308
|
+
wasm.__wbg_set_groupmember_accountIdentifiers(this.__wbg_ptr, ptr0, len0);
|
|
2308
2309
|
}
|
|
2309
2310
|
/**
|
|
2310
2311
|
* @returns {string[]}
|
|
@@ -2350,20 +2351,20 @@ export class GroupMember {
|
|
|
2350
2351
|
wasm.__wbg_set_groupmember_consentState(this.__wbg_ptr, arg0);
|
|
2351
2352
|
}
|
|
2352
2353
|
/**
|
|
2353
|
-
* @param {string}
|
|
2354
|
-
* @param {Identifier[]}
|
|
2355
|
-
* @param {string[]}
|
|
2356
|
-
* @param {PermissionLevel}
|
|
2357
|
-
* @param {ConsentState}
|
|
2354
|
+
* @param {string} inboxId
|
|
2355
|
+
* @param {Identifier[]} accountIdentifiers
|
|
2356
|
+
* @param {string[]} installationIds
|
|
2357
|
+
* @param {PermissionLevel} permissionLevel
|
|
2358
|
+
* @param {ConsentState} consentState
|
|
2358
2359
|
*/
|
|
2359
|
-
constructor(
|
|
2360
|
-
const ptr0 = passStringToWasm0(
|
|
2360
|
+
constructor(inboxId, accountIdentifiers, installationIds, permissionLevel, consentState) {
|
|
2361
|
+
const ptr0 = passStringToWasm0(inboxId, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2361
2362
|
const len0 = WASM_VECTOR_LEN;
|
|
2362
|
-
const ptr1 = passArrayJsValueToWasm0(
|
|
2363
|
+
const ptr1 = passArrayJsValueToWasm0(accountIdentifiers, wasm.__wbindgen_malloc);
|
|
2363
2364
|
const len1 = WASM_VECTOR_LEN;
|
|
2364
|
-
const ptr2 = passArrayJsValueToWasm0(
|
|
2365
|
+
const ptr2 = passArrayJsValueToWasm0(installationIds, wasm.__wbindgen_malloc);
|
|
2365
2366
|
const len2 = WASM_VECTOR_LEN;
|
|
2366
|
-
const ret = wasm.groupmember_new(ptr0, len0, ptr1, len1, ptr2, len2,
|
|
2367
|
+
const ret = wasm.groupmember_new(ptr0, len0, ptr1, len1, ptr2, len2, permissionLevel, consentState);
|
|
2367
2368
|
this.__wbg_ptr = ret >>> 0;
|
|
2368
2369
|
GroupMemberFinalization.register(this, this.__wbg_ptr, this);
|
|
2369
2370
|
return this;
|
|
@@ -2581,35 +2582,27 @@ export class Identifier {
|
|
|
2581
2582
|
/**
|
|
2582
2583
|
* @returns {IdentifierKind}
|
|
2583
2584
|
*/
|
|
2584
|
-
get
|
|
2585
|
-
const ret = wasm.
|
|
2585
|
+
get identifierKind() {
|
|
2586
|
+
const ret = wasm.__wbg_get_identifier_identifierKind(this.__wbg_ptr);
|
|
2586
2587
|
return ret;
|
|
2587
2588
|
}
|
|
2588
2589
|
/**
|
|
2589
2590
|
* @param {IdentifierKind} arg0
|
|
2590
2591
|
*/
|
|
2591
|
-
set
|
|
2592
|
-
wasm.
|
|
2593
|
-
}
|
|
2594
|
-
/**
|
|
2595
|
-
* @returns {string | undefined}
|
|
2596
|
-
*/
|
|
2597
|
-
get relying_party() {
|
|
2598
|
-
const ret = wasm.__wbg_get_identifier_relying_party(this.__wbg_ptr);
|
|
2599
|
-
let v1;
|
|
2600
|
-
if (ret[0] !== 0) {
|
|
2601
|
-
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
2602
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
2603
|
-
}
|
|
2604
|
-
return v1;
|
|
2592
|
+
set identifierKind(arg0) {
|
|
2593
|
+
wasm.__wbg_set_identifier_identifierKind(this.__wbg_ptr, arg0);
|
|
2605
2594
|
}
|
|
2606
2595
|
/**
|
|
2607
|
-
* @param {string
|
|
2596
|
+
* @param {string} identifier
|
|
2597
|
+
* @param {IdentifierKind} identifierKind
|
|
2608
2598
|
*/
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
wasm.
|
|
2599
|
+
constructor(identifier, identifierKind) {
|
|
2600
|
+
const ptr0 = passStringToWasm0(identifier, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2601
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2602
|
+
const ret = wasm.identifier_new(ptr0, len0, identifierKind);
|
|
2603
|
+
this.__wbg_ptr = ret >>> 0;
|
|
2604
|
+
IdentifierFinalization.register(this, this.__wbg_ptr, this);
|
|
2605
|
+
return this;
|
|
2613
2606
|
}
|
|
2614
2607
|
}
|
|
2615
2608
|
|
|
@@ -2696,8 +2689,8 @@ export class InboxState {
|
|
|
2696
2689
|
/**
|
|
2697
2690
|
* @returns {Identifier[]}
|
|
2698
2691
|
*/
|
|
2699
|
-
get
|
|
2700
|
-
const ret = wasm.
|
|
2692
|
+
get accountIdentifiers() {
|
|
2693
|
+
const ret = wasm.__wbg_get_inboxstate_accountIdentifiers(this.__wbg_ptr);
|
|
2701
2694
|
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
2702
2695
|
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
2703
2696
|
return v1;
|
|
@@ -2705,10 +2698,10 @@ export class InboxState {
|
|
|
2705
2698
|
/**
|
|
2706
2699
|
* @param {Identifier[]} arg0
|
|
2707
2700
|
*/
|
|
2708
|
-
set
|
|
2701
|
+
set accountIdentifiers(arg0) {
|
|
2709
2702
|
const ptr0 = passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
2710
2703
|
const len0 = WASM_VECTOR_LEN;
|
|
2711
|
-
wasm.
|
|
2704
|
+
wasm.__wbg_set_inboxstate_accountIdentifiers(this.__wbg_ptr, ptr0, len0);
|
|
2712
2705
|
}
|
|
2713
2706
|
/**
|
|
2714
2707
|
* @param {string} inbox_id
|
|
@@ -4378,7 +4371,7 @@ function __wbg_get_imports() {
|
|
|
4378
4371
|
const a = state0.a;
|
|
4379
4372
|
state0.a = 0;
|
|
4380
4373
|
try {
|
|
4381
|
-
return
|
|
4374
|
+
return __wbg_adapter_590(a, state0.b, arg0, arg1, arg2);
|
|
4382
4375
|
} finally {
|
|
4383
4376
|
state0.a = a;
|
|
4384
4377
|
}
|
|
@@ -4408,7 +4401,7 @@ function __wbg_get_imports() {
|
|
|
4408
4401
|
const a = state0.a;
|
|
4409
4402
|
state0.a = 0;
|
|
4410
4403
|
try {
|
|
4411
|
-
return
|
|
4404
|
+
return __wbg_adapter_590(a, state0.b, arg0, arg1, arg2);
|
|
4412
4405
|
} finally {
|
|
4413
4406
|
state0.a = a;
|
|
4414
4407
|
}
|
|
@@ -4700,7 +4693,7 @@ function __wbg_get_imports() {
|
|
|
4700
4693
|
const a = state0.a;
|
|
4701
4694
|
state0.a = 0;
|
|
4702
4695
|
try {
|
|
4703
|
-
return
|
|
4696
|
+
return __wbg_adapter_691(a, state0.b, arg0, arg1);
|
|
4704
4697
|
} finally {
|
|
4705
4698
|
state0.a = a;
|
|
4706
4699
|
}
|
|
@@ -5099,12 +5092,12 @@ function __wbg_get_imports() {
|
|
|
5099
5092
|
const ret = false;
|
|
5100
5093
|
return ret;
|
|
5101
5094
|
};
|
|
5102
|
-
imports.wbg.
|
|
5103
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5095
|
+
imports.wbg.__wbindgen_closure_wrapper16214 = function(arg0, arg1, arg2) {
|
|
5096
|
+
const ret = makeMutClosure(arg0, arg1, 3682, __wbg_adapter_46);
|
|
5104
5097
|
return ret;
|
|
5105
5098
|
};
|
|
5106
|
-
imports.wbg.
|
|
5107
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5099
|
+
imports.wbg.__wbindgen_closure_wrapper16510 = function(arg0, arg1, arg2) {
|
|
5100
|
+
const ret = makeMutClosure(arg0, arg1, 3755, __wbg_adapter_49);
|
|
5108
5101
|
return ret;
|
|
5109
5102
|
};
|
|
5110
5103
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -1,147 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
5
|
-
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
6
|
-
export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
7
|
-
export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
8
|
-
export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
9
|
-
export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
10
|
-
export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
11
|
-
export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
12
|
-
export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
13
|
-
export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
14
|
-
export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
15
|
-
export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
16
|
-
export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
17
|
-
export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
18
|
-
export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
19
|
-
export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
20
|
-
export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
21
|
-
export const remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
|
|
22
|
-
export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
23
|
-
export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
24
|
-
export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
25
|
-
export const multiremoteattachment_new: (a: number, b: number) => number;
|
|
26
|
-
export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
27
|
-
export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
28
|
-
export const __wbg_reaction_free: (a: number, b: number) => void;
|
|
29
|
-
export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
30
|
-
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
31
|
-
export const __wbg_get_reaction_action: (a: number) => number;
|
|
32
|
-
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
33
|
-
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
34
|
-
export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
35
|
-
export const __wbg_get_reaction_schema: (a: number) => number;
|
|
36
|
-
export const __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
37
|
-
export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
38
|
-
export const encodeReaction: (a: number) => [number, number, number];
|
|
39
|
-
export const decodeReaction: (a: any) => [number, number, number];
|
|
40
|
-
export const __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
41
|
-
export const groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
42
|
-
export const groupmetadata_conversationType: (a: number) => [number, number];
|
|
43
|
-
export const __wbg_groupmember_free: (a: number, b: number) => void;
|
|
44
|
-
export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
45
|
-
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
46
|
-
export const __wbg_get_groupmember_accountAddresses: (a: number) => [number, number];
|
|
47
|
-
export const __wbg_set_groupmember_accountAddresses: (a: number, b: number, c: number) => void;
|
|
48
|
-
export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
49
|
-
export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
50
|
-
export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
51
|
-
export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
52
|
-
export const __wbg_get_groupmember_consentState: (a: number) => number;
|
|
53
|
-
export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
54
|
-
export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
55
|
-
export const __wbg_conversation_free: (a: number, b: number) => void;
|
|
56
|
-
export const conversation_id: (a: number) => [number, number];
|
|
57
|
-
export const conversation_send: (a: number, b: number) => any;
|
|
58
|
-
export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
59
|
-
export const conversation_publishMessages: (a: number) => any;
|
|
60
|
-
export const conversation_sync: (a: number) => any;
|
|
61
|
-
export const conversation_findMessages: (a: number, b: number) => any;
|
|
62
|
-
export const conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
63
|
-
export const conversation_listMembers: (a: number) => any;
|
|
64
|
-
export const conversation_adminList: (a: number) => [number, number, number, number];
|
|
65
|
-
export const conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
66
|
-
export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
67
|
-
export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
68
|
-
export const conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
69
|
-
export const conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
70
|
-
export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
71
|
-
export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
72
|
-
export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
73
|
-
export const conversation_groupPermissions: (a: number) => [number, number, number];
|
|
74
|
-
export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
75
|
-
export const conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
76
|
-
export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
77
|
-
export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
78
|
-
export const conversation_groupName: (a: number) => [number, number, number, number];
|
|
79
|
-
export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
80
|
-
export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
81
|
-
export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
82
|
-
export const conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
83
|
-
export const conversation_stream: (a: number, b: any) => [number, number, number];
|
|
84
|
-
export const conversation_createdAtNs: (a: number) => bigint;
|
|
85
|
-
export const conversation_isActive: (a: number) => [number, number, number];
|
|
86
|
-
export const conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
87
|
-
export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
88
|
-
export const conversation_groupMetadata: (a: number) => any;
|
|
89
|
-
export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
90
|
-
export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
91
|
-
export const conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
92
|
-
export const conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
93
|
-
export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
94
|
-
export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
95
|
-
export const conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
96
|
-
export const getInboxIdForAddress: (a: number, b: number, c: number) => any;
|
|
97
|
-
export const generateInboxId: (a: number) => [number, number, number, number];
|
|
98
|
-
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
99
|
-
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
100
|
-
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
101
|
-
export const streamcloser_end: (a: number) => void;
|
|
102
|
-
export const streamcloser_endAndWait: (a: number) => any;
|
|
103
|
-
export const streamcloser_waitForReady: (a: number) => any;
|
|
104
|
-
export const streamcloser_isClosed: (a: number) => number;
|
|
105
|
-
export const __wbg_consent_free: (a: number, b: number) => void;
|
|
106
|
-
export const __wbg_get_consent_entityType: (a: number) => number;
|
|
107
|
-
export const __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
108
|
-
export const __wbg_get_consent_state: (a: number) => number;
|
|
109
|
-
export const __wbg_set_consent_state: (a: number, b: number) => void;
|
|
110
|
-
export const __wbg_get_consent_entity: (a: number) => [number, number];
|
|
111
|
-
export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
112
|
-
export const consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
113
|
-
export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
114
|
-
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
115
|
-
export const conversation_consentState: (a: number) => [number, number, number];
|
|
116
|
-
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
117
|
-
export const __wbg_identifier_free: (a: number, b: number) => void;
|
|
118
|
-
export const __wbg_get_identifier_identifier_kind: (a: number) => number;
|
|
119
|
-
export const __wbg_set_identifier_identifier_kind: (a: number, b: number) => void;
|
|
120
|
-
export const __wbg_get_identifier_relying_party: (a: number) => [number, number];
|
|
121
|
-
export const __wbg_set_identifier_relying_party: (a: number, b: number, c: number) => void;
|
|
122
|
-
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
123
|
-
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
124
|
-
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
125
|
-
export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
126
|
-
export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
127
|
-
export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
128
|
-
export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
129
|
-
export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
130
|
-
export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
131
|
-
export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
132
|
-
export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
133
|
-
export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
134
|
-
export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
135
|
-
export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
136
|
-
export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
137
|
-
export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
138
|
-
export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
139
|
-
export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
140
|
-
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
141
|
-
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
142
|
-
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
143
|
-
export const __wbg_set_identifier_identifier: (a: number, b: number, c: number) => void;
|
|
144
|
-
export const __wbg_get_identifier_identifier: (a: number) => [number, number];
|
|
145
4
|
export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
146
5
|
export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
147
6
|
export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -238,8 +97,8 @@ export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => number;
|
|
|
238
97
|
export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: number) => void;
|
|
239
98
|
export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
240
99
|
export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
241
|
-
export const
|
|
242
|
-
export const
|
|
100
|
+
export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
101
|
+
export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
243
102
|
export const inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
244
103
|
export const client_inboxState: (a: number, b: number) => any;
|
|
245
104
|
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
@@ -286,6 +145,11 @@ export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number,
|
|
|
286
145
|
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
287
146
|
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
288
147
|
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
148
|
+
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
149
|
+
export const streamcloser_end: (a: number) => void;
|
|
150
|
+
export const streamcloser_endAndWait: (a: number) => any;
|
|
151
|
+
export const streamcloser_waitForReady: (a: number) => any;
|
|
152
|
+
export const streamcloser_isClosed: (a: number) => number;
|
|
289
153
|
export const __wbg_client_free: (a: number, b: number) => void;
|
|
290
154
|
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
291
155
|
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -296,7 +160,7 @@ export const __wbg_get_logoptions_level: (a: number) => number;
|
|
|
296
160
|
export const __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
297
161
|
export const logoptions_new: (a: number, b: number, c: number) => number;
|
|
298
162
|
export const createClient: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => any;
|
|
299
|
-
export const
|
|
163
|
+
export const client_accountIdentifier: (a: number) => number;
|
|
300
164
|
export const client_inboxId: (a: number) => [number, number];
|
|
301
165
|
export const client_isRegistered: (a: number) => number;
|
|
302
166
|
export const client_installationId: (a: number) => [number, number];
|
|
@@ -305,7 +169,7 @@ export const client_canMessage: (a: number, b: number, c: number) => any;
|
|
|
305
169
|
export const client_registerIdentity: (a: number) => any;
|
|
306
170
|
export const client_sendHistorySyncRequest: (a: number) => any;
|
|
307
171
|
export const client_sendConsentSyncRequest: (a: number) => any;
|
|
308
|
-
export const
|
|
172
|
+
export const client_findInboxIdByIdentifier: (a: number, b: number) => any;
|
|
309
173
|
export const client_conversations: (a: number) => number;
|
|
310
174
|
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
311
175
|
export const __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
@@ -320,6 +184,141 @@ export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e
|
|
|
320
184
|
export const client_applySignatureRequests: (a: number) => any;
|
|
321
185
|
export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
322
186
|
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
187
|
+
export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
188
|
+
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
189
|
+
export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
190
|
+
export const __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
191
|
+
export const __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
192
|
+
export const __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
193
|
+
export const __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
194
|
+
export const __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
195
|
+
export const __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
196
|
+
export const __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
197
|
+
export const __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
198
|
+
export const __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
199
|
+
export const __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
200
|
+
export const __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
201
|
+
export const __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
202
|
+
export const __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
203
|
+
export const __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
204
|
+
export const remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
|
|
205
|
+
export const __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
206
|
+
export const __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
207
|
+
export const __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
208
|
+
export const multiremoteattachment_new: (a: number, b: number) => number;
|
|
209
|
+
export const encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
210
|
+
export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
211
|
+
export const __wbg_reaction_free: (a: number, b: number) => void;
|
|
212
|
+
export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
213
|
+
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
214
|
+
export const __wbg_get_reaction_action: (a: number) => number;
|
|
215
|
+
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
216
|
+
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
217
|
+
export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
218
|
+
export const __wbg_get_reaction_schema: (a: number) => number;
|
|
219
|
+
export const __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
220
|
+
export const reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
221
|
+
export const encodeReaction: (a: number) => [number, number, number];
|
|
222
|
+
export const decodeReaction: (a: any) => [number, number, number];
|
|
223
|
+
export const __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
224
|
+
export const groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
225
|
+
export const groupmetadata_conversationType: (a: number) => [number, number];
|
|
226
|
+
export const __wbg_groupmember_free: (a: number, b: number) => void;
|
|
227
|
+
export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
228
|
+
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
229
|
+
export const __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
230
|
+
export const __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
231
|
+
export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
232
|
+
export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
233
|
+
export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
234
|
+
export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
235
|
+
export const __wbg_get_groupmember_consentState: (a: number) => number;
|
|
236
|
+
export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
237
|
+
export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
238
|
+
export const __wbg_conversation_free: (a: number, b: number) => void;
|
|
239
|
+
export const conversation_id: (a: number) => [number, number];
|
|
240
|
+
export const conversation_send: (a: number, b: number) => any;
|
|
241
|
+
export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
242
|
+
export const conversation_publishMessages: (a: number) => any;
|
|
243
|
+
export const conversation_sync: (a: number) => any;
|
|
244
|
+
export const conversation_findMessages: (a: number, b: number) => any;
|
|
245
|
+
export const conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
246
|
+
export const conversation_listMembers: (a: number) => any;
|
|
247
|
+
export const conversation_adminList: (a: number) => [number, number, number, number];
|
|
248
|
+
export const conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
249
|
+
export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
250
|
+
export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
251
|
+
export const conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
252
|
+
export const conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
253
|
+
export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
254
|
+
export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
255
|
+
export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
256
|
+
export const conversation_groupPermissions: (a: number) => [number, number, number];
|
|
257
|
+
export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
258
|
+
export const conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
259
|
+
export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
260
|
+
export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
261
|
+
export const conversation_groupName: (a: number) => [number, number, number, number];
|
|
262
|
+
export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
263
|
+
export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
264
|
+
export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
265
|
+
export const conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
266
|
+
export const conversation_stream: (a: number, b: any) => [number, number, number];
|
|
267
|
+
export const conversation_createdAtNs: (a: number) => bigint;
|
|
268
|
+
export const conversation_isActive: (a: number) => [number, number, number];
|
|
269
|
+
export const conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
270
|
+
export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
271
|
+
export const conversation_groupMetadata: (a: number) => any;
|
|
272
|
+
export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
273
|
+
export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
274
|
+
export const conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
275
|
+
export const conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
276
|
+
export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
277
|
+
export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
278
|
+
export const conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
279
|
+
export const getInboxIdForIdentifier: (a: number, b: number, c: number) => any;
|
|
280
|
+
export const generateInboxId: (a: number) => [number, number, number, number];
|
|
281
|
+
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
282
|
+
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
283
|
+
export const __wbg_consent_free: (a: number, b: number) => void;
|
|
284
|
+
export const __wbg_get_consent_entityType: (a: number) => number;
|
|
285
|
+
export const __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
286
|
+
export const __wbg_get_consent_state: (a: number) => number;
|
|
287
|
+
export const __wbg_set_consent_state: (a: number, b: number) => void;
|
|
288
|
+
export const __wbg_get_consent_entity: (a: number) => [number, number];
|
|
289
|
+
export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
290
|
+
export const consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
291
|
+
export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
292
|
+
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
293
|
+
export const conversation_consentState: (a: number) => [number, number, number];
|
|
294
|
+
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
295
|
+
export const __wbg_identifier_free: (a: number, b: number) => void;
|
|
296
|
+
export const __wbg_get_identifier_identifierKind: (a: number) => number;
|
|
297
|
+
export const __wbg_set_identifier_identifierKind: (a: number, b: number) => void;
|
|
298
|
+
export const identifier_new: (a: number, b: number, c: number) => number;
|
|
299
|
+
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
300
|
+
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
301
|
+
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
302
|
+
export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
303
|
+
export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
304
|
+
export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
305
|
+
export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
306
|
+
export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
307
|
+
export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
308
|
+
export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
309
|
+
export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
310
|
+
export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
311
|
+
export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
312
|
+
export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
313
|
+
export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
314
|
+
export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
315
|
+
export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
316
|
+
export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
317
|
+
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
318
|
+
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
319
|
+
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
320
|
+
export const __wbg_set_identifier_identifier: (a: number, b: number, c: number) => void;
|
|
321
|
+
export const __wbg_get_identifier_identifier: (a: number) => [number, number];
|
|
323
322
|
export const rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
324
323
|
export const rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
325
324
|
export const rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
@@ -350,7 +349,7 @@ export const __externref_drop_slice: (a: number, b: number) => void;
|
|
|
350
349
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
351
350
|
export const __externref_table_dealloc: (a: number) => void;
|
|
352
351
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff1927556d6713ec: (a: number, b: number) => void;
|
|
353
|
-
export const
|
|
354
|
-
export const
|
|
355
|
-
export const
|
|
352
|
+
export const closure3754_externref_shim: (a: number, b: number, c: any) => void;
|
|
353
|
+
export const closure4763_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
354
|
+
export const closure4762_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
356
355
|
export const __wbindgen_start: () => void;
|