@xmtp/wasm-bindings 1.2.0-rc1 → 1.2.0-rc2
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 +150 -153
- package/dist/bindings_wasm.js +146 -185
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +122 -124
- package/dist/version.json +3 -3
- 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 getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
4
|
-
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
5
3
|
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null): Promise<Client>;
|
|
6
4
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
7
5
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
8
6
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
9
7
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
10
8
|
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,
|
|
@@ -118,31 +118,11 @@ export interface Identifier {
|
|
|
118
118
|
|
|
119
119
|
export type IdentifierKind = "Ethereum" | "Passkey";
|
|
120
120
|
|
|
121
|
-
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[]
|
|
121
|
+
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
122
122
|
|
|
123
123
|
export class Client {
|
|
124
124
|
private constructor();
|
|
125
125
|
free(): void;
|
|
126
|
-
setConsentStates(records: Consent[]): Promise<void>;
|
|
127
|
-
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
128
|
-
/**
|
|
129
|
-
*
|
|
130
|
-
* * Get the client's inbox state.
|
|
131
|
-
* *
|
|
132
|
-
* * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
|
|
133
|
-
* * Otherwise, the state will be read from the local database.
|
|
134
|
-
*
|
|
135
|
-
*/
|
|
136
|
-
inboxState(refresh_from_network: boolean): Promise<InboxState>;
|
|
137
|
-
getLatestInboxState(inbox_id: string): Promise<InboxState>;
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* * Get key package statuses for a list of installation IDs.
|
|
141
|
-
* *
|
|
142
|
-
* * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
|
|
143
|
-
*
|
|
144
|
-
*/
|
|
145
|
-
getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
|
|
146
126
|
/**
|
|
147
127
|
* Output booleans should be zipped with the index of input identifiers
|
|
148
128
|
*/
|
|
@@ -165,6 +145,26 @@ export class Client {
|
|
|
165
145
|
applySignatureRequests(): Promise<void>;
|
|
166
146
|
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
167
147
|
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
148
|
+
setConsentStates(records: Consent[]): Promise<void>;
|
|
149
|
+
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* * Get the client's inbox state.
|
|
153
|
+
* *
|
|
154
|
+
* * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
|
|
155
|
+
* * Otherwise, the state will be read from the local database.
|
|
156
|
+
*
|
|
157
|
+
*/
|
|
158
|
+
inboxState(refresh_from_network: boolean): Promise<InboxState>;
|
|
159
|
+
getLatestInboxState(inbox_id: string): Promise<InboxState>;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* * Get key package statuses for a list of installation IDs.
|
|
163
|
+
* *
|
|
164
|
+
* * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
|
|
165
|
+
*
|
|
166
|
+
*/
|
|
167
|
+
getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
|
|
168
168
|
readonly accountIdentifier: Identifier;
|
|
169
169
|
readonly inboxId: string;
|
|
170
170
|
readonly isRegistered: boolean;
|
|
@@ -269,12 +269,8 @@ export class Conversations {
|
|
|
269
269
|
syncAllConversations(consent_states?: any[] | null): Promise<number>;
|
|
270
270
|
syncDeviceSync(): Promise<void>;
|
|
271
271
|
list(opts?: ListConversationsOptions | null): Array<any>;
|
|
272
|
-
listGroups(opts?: ListConversationsOptions | null): Array<any>;
|
|
273
|
-
listDms(opts?: ListConversationsOptions | null): Array<any>;
|
|
274
272
|
getHmacKeys(): any;
|
|
275
273
|
stream(callback: any, conversation_type?: ConversationType | null): StreamCloser;
|
|
276
|
-
streamGroups(callback: any): StreamCloser;
|
|
277
|
-
streamDms(callback: any): StreamCloser;
|
|
278
274
|
streamAllMessages(callback: any, conversation_type?: ConversationType | null, consent_states?: any[] | null): StreamCloser;
|
|
279
275
|
streamConsent(callback: any): StreamCloser;
|
|
280
276
|
streamPreferences(callback: any): StreamCloser;
|
|
@@ -394,14 +390,17 @@ export class Lifetime {
|
|
|
394
390
|
}
|
|
395
391
|
export class ListConversationsOptions {
|
|
396
392
|
free(): void;
|
|
397
|
-
constructor(consent_states
|
|
393
|
+
constructor(consent_states?: any[] | null, conversation_type?: ConversationType | null, created_after_ns?: bigint | null, created_before_ns?: bigint | null, include_duplicate_dms?: boolean | null, limit?: bigint | null);
|
|
398
394
|
get consentStates(): any[] | undefined;
|
|
399
395
|
set consentStates(value: any[] | null | undefined);
|
|
396
|
+
get conversationType(): ConversationType | undefined;
|
|
397
|
+
set conversationType(value: ConversationType | null | undefined);
|
|
400
398
|
get createdAfterNs(): bigint | undefined;
|
|
401
399
|
set createdAfterNs(value: bigint | null | undefined);
|
|
402
400
|
get createdBeforeNs(): bigint | undefined;
|
|
403
401
|
set createdBeforeNs(value: bigint | null | undefined);
|
|
404
|
-
includeDuplicateDms: boolean;
|
|
402
|
+
get includeDuplicateDms(): boolean | undefined;
|
|
403
|
+
set includeDuplicateDms(value: boolean | null | undefined);
|
|
405
404
|
get limit(): bigint | undefined;
|
|
406
405
|
set limit(value: bigint | null | undefined);
|
|
407
406
|
}
|
|
@@ -581,117 +580,11 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
581
580
|
|
|
582
581
|
export interface InitOutput {
|
|
583
582
|
readonly memory: WebAssembly.Memory;
|
|
584
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
585
|
-
readonly streamcloser_end: (a: number) => void;
|
|
586
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
587
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
588
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
589
|
-
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
590
|
-
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
591
|
-
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
592
|
-
readonly __wbg_get_consent_state: (a: number) => number;
|
|
593
|
-
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
594
|
-
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
595
|
-
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
596
|
-
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
597
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
598
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
599
|
-
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
600
|
-
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
601
|
-
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
602
|
-
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
603
|
-
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
604
|
-
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
605
|
-
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
606
|
-
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
607
|
-
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
608
|
-
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
609
|
-
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
610
|
-
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
611
|
-
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
612
|
-
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
613
|
-
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
614
|
-
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
615
|
-
readonly conversation_id: (a: number) => [number, number];
|
|
616
|
-
readonly conversation_send: (a: number, b: number) => any;
|
|
617
|
-
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
618
|
-
readonly conversation_publishMessages: (a: number) => any;
|
|
619
|
-
readonly conversation_sync: (a: number) => any;
|
|
620
|
-
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
621
|
-
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
622
|
-
readonly conversation_listMembers: (a: number) => any;
|
|
623
|
-
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
624
|
-
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
625
|
-
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
626
|
-
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
627
|
-
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
628
|
-
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
629
|
-
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
630
|
-
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
631
|
-
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
632
|
-
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
633
|
-
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
634
|
-
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
635
|
-
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
636
|
-
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
637
|
-
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
638
|
-
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
639
|
-
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
640
|
-
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
641
|
-
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
642
|
-
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
643
|
-
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
644
|
-
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
645
|
-
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
646
|
-
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
647
|
-
readonly conversation_groupMetadata: (a: number) => any;
|
|
648
|
-
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
649
|
-
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
650
|
-
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
651
|
-
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
652
|
-
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
653
|
-
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
654
|
-
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
655
|
-
readonly conversation_getDebugInfo: (a: number) => any;
|
|
656
|
-
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
657
|
-
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
658
|
-
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
659
|
-
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
660
|
-
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
661
|
-
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
662
|
-
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
663
|
-
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
664
|
-
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
665
|
-
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
666
|
-
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
667
|
-
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
668
|
-
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
669
|
-
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
670
|
-
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
671
|
-
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
672
|
-
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
673
|
-
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
674
|
-
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
675
|
-
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
676
|
-
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
677
|
-
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
678
|
-
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
679
|
-
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
680
|
-
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
681
|
-
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
682
|
-
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
683
|
-
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
684
|
-
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
685
|
-
readonly client_inboxState: (a: number, b: number) => any;
|
|
686
|
-
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
687
|
-
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
688
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
689
|
-
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
690
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
691
|
-
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
692
583
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
693
584
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
694
585
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
586
|
+
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
587
|
+
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
695
588
|
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
696
589
|
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
697
590
|
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
@@ -700,7 +593,7 @@ export interface InitOutput {
|
|
|
700
593
|
readonly __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
701
594
|
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
702
595
|
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
703
|
-
readonly listconversationsoptions_new: (a: number, b: number, c: number, d:
|
|
596
|
+
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
704
597
|
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
705
598
|
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
706
599
|
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
@@ -749,12 +642,8 @@ export interface InitOutput {
|
|
|
749
642
|
readonly conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
750
643
|
readonly conversations_syncDeviceSync: (a: number) => any;
|
|
751
644
|
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
752
|
-
readonly conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
753
|
-
readonly conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
754
645
|
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
755
646
|
readonly conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
756
|
-
readonly conversations_streamGroups: (a: number, b: any) => [number, number, number];
|
|
757
|
-
readonly conversations_streamDms: (a: number, b: any) => [number, number, number];
|
|
758
647
|
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
759
648
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
760
649
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
@@ -787,21 +676,21 @@ export interface InitOutput {
|
|
|
787
676
|
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
788
677
|
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
789
678
|
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
790
|
-
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
791
|
-
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
792
|
-
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
793
|
-
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
794
679
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
795
680
|
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
796
681
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
797
|
-
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
798
|
-
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
799
682
|
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
800
683
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
801
684
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
802
685
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
803
686
|
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
804
687
|
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
688
|
+
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
689
|
+
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
690
|
+
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
691
|
+
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
692
|
+
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
693
|
+
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
805
694
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
806
695
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
807
696
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -905,12 +794,12 @@ export interface InitOutput {
|
|
|
905
794
|
readonly client_applySignatureRequests: (a: number) => any;
|
|
906
795
|
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
907
796
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
908
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
909
797
|
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
910
798
|
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
799
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
911
800
|
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
912
801
|
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
913
|
-
readonly
|
|
802
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
914
803
|
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
915
804
|
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
916
805
|
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -932,6 +821,114 @@ export interface InitOutput {
|
|
|
932
821
|
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
933
822
|
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
934
823
|
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
824
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
825
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
826
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
827
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
828
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
829
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
830
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
831
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
832
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
833
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
834
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
835
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
836
|
+
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
837
|
+
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
838
|
+
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
839
|
+
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
840
|
+
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
841
|
+
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
842
|
+
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
843
|
+
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
844
|
+
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
845
|
+
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
846
|
+
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
847
|
+
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
848
|
+
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
849
|
+
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
850
|
+
readonly conversation_id: (a: number) => [number, number];
|
|
851
|
+
readonly conversation_send: (a: number, b: number) => any;
|
|
852
|
+
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
853
|
+
readonly conversation_publishMessages: (a: number) => any;
|
|
854
|
+
readonly conversation_sync: (a: number) => any;
|
|
855
|
+
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
856
|
+
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
857
|
+
readonly conversation_listMembers: (a: number) => any;
|
|
858
|
+
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
859
|
+
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
860
|
+
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
861
|
+
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
862
|
+
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
863
|
+
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
864
|
+
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
865
|
+
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
866
|
+
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
867
|
+
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
868
|
+
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
869
|
+
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
870
|
+
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
871
|
+
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
872
|
+
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
873
|
+
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
874
|
+
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
875
|
+
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
876
|
+
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
877
|
+
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
878
|
+
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
879
|
+
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
880
|
+
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
881
|
+
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
882
|
+
readonly conversation_groupMetadata: (a: number) => any;
|
|
883
|
+
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
884
|
+
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
885
|
+
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
886
|
+
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
887
|
+
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
888
|
+
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
889
|
+
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
890
|
+
readonly conversation_getDebugInfo: (a: number) => any;
|
|
891
|
+
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
892
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
893
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
894
|
+
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
895
|
+
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
896
|
+
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
897
|
+
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
898
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
899
|
+
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
900
|
+
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
901
|
+
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
902
|
+
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
903
|
+
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
904
|
+
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
905
|
+
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
906
|
+
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
907
|
+
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
908
|
+
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
909
|
+
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
910
|
+
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
911
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
912
|
+
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
913
|
+
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
914
|
+
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
915
|
+
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
916
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
917
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
918
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
919
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
920
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
921
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
922
|
+
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
923
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
924
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
925
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
926
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
927
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
928
|
+
readonly streamcloser_end: (a: number) => void;
|
|
929
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
930
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
931
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
935
932
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
936
933
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
937
934
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -971,10 +968,10 @@ export interface InitOutput {
|
|
|
971
968
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
972
969
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215: (a: number, b: number) => void;
|
|
973
970
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h89dafc0baf46c12b: (a: number, b: number) => void;
|
|
974
|
-
readonly
|
|
971
|
+
readonly closure4467_externref_shim: (a: number, b: number, c: any) => void;
|
|
975
972
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a: (a: number, b: number) => void;
|
|
976
|
-
readonly
|
|
977
|
-
readonly
|
|
973
|
+
readonly closure5474_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
974
|
+
readonly closure5473_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
978
975
|
readonly __wbindgen_start: () => void;
|
|
979
976
|
}
|
|
980
977
|
|
package/dist/bindings_wasm.js
CHANGED
|
@@ -224,51 +224,11 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
224
224
|
return ptr;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
function takeFromExternrefTable0(idx) {
|
|
228
|
-
const value = wasm.__wbindgen_export_4.get(idx);
|
|
229
|
-
wasm.__externref_table_dealloc(idx);
|
|
230
|
-
return value;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
227
|
function _assertClass(instance, klass) {
|
|
234
228
|
if (!(instance instanceof klass)) {
|
|
235
229
|
throw new Error(`expected instance of ${klass.name}`);
|
|
236
230
|
}
|
|
237
231
|
}
|
|
238
|
-
/**
|
|
239
|
-
* @param {string} host
|
|
240
|
-
* @param {Identifier} accountIdentifier
|
|
241
|
-
* @returns {Promise<string | undefined>}
|
|
242
|
-
*/
|
|
243
|
-
export function getInboxIdForIdentifier(host, accountIdentifier) {
|
|
244
|
-
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
245
|
-
const len0 = WASM_VECTOR_LEN;
|
|
246
|
-
const ret = wasm.getInboxIdForIdentifier(ptr0, len0, accountIdentifier);
|
|
247
|
-
return ret;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* @param {Identifier} accountIdentifier
|
|
252
|
-
* @returns {string}
|
|
253
|
-
*/
|
|
254
|
-
export function generateInboxId(accountIdentifier) {
|
|
255
|
-
let deferred2_0;
|
|
256
|
-
let deferred2_1;
|
|
257
|
-
try {
|
|
258
|
-
const ret = wasm.generateInboxId(accountIdentifier);
|
|
259
|
-
var ptr1 = ret[0];
|
|
260
|
-
var len1 = ret[1];
|
|
261
|
-
if (ret[3]) {
|
|
262
|
-
ptr1 = 0; len1 = 0;
|
|
263
|
-
throw takeFromExternrefTable0(ret[2]);
|
|
264
|
-
}
|
|
265
|
-
deferred2_0 = ptr1;
|
|
266
|
-
deferred2_1 = len1;
|
|
267
|
-
return getStringFromWasm0(ptr1, len1);
|
|
268
|
-
} finally {
|
|
269
|
-
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
232
|
|
|
273
233
|
function passArray8ToWasm0(arg, malloc) {
|
|
274
234
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
@@ -276,6 +236,12 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
276
236
|
WASM_VECTOR_LEN = arg.length;
|
|
277
237
|
return ptr;
|
|
278
238
|
}
|
|
239
|
+
|
|
240
|
+
function takeFromExternrefTable0(idx) {
|
|
241
|
+
const value = wasm.__wbindgen_export_4.get(idx);
|
|
242
|
+
wasm.__externref_table_dealloc(idx);
|
|
243
|
+
return value;
|
|
244
|
+
}
|
|
279
245
|
/**
|
|
280
246
|
* @param {string} host
|
|
281
247
|
* @param {string} inbox_id
|
|
@@ -371,6 +337,41 @@ export function verifySignedWithPublicKey(signature_text, signature_bytes, publi
|
|
|
371
337
|
}
|
|
372
338
|
}
|
|
373
339
|
|
|
340
|
+
/**
|
|
341
|
+
* @param {string} host
|
|
342
|
+
* @param {Identifier} accountIdentifier
|
|
343
|
+
* @returns {Promise<string | undefined>}
|
|
344
|
+
*/
|
|
345
|
+
export function getInboxIdForIdentifier(host, accountIdentifier) {
|
|
346
|
+
const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
347
|
+
const len0 = WASM_VECTOR_LEN;
|
|
348
|
+
const ret = wasm.getInboxIdForIdentifier(ptr0, len0, accountIdentifier);
|
|
349
|
+
return ret;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* @param {Identifier} accountIdentifier
|
|
354
|
+
* @returns {string}
|
|
355
|
+
*/
|
|
356
|
+
export function generateInboxId(accountIdentifier) {
|
|
357
|
+
let deferred2_0;
|
|
358
|
+
let deferred2_1;
|
|
359
|
+
try {
|
|
360
|
+
const ret = wasm.generateInboxId(accountIdentifier);
|
|
361
|
+
var ptr1 = ret[0];
|
|
362
|
+
var len1 = ret[1];
|
|
363
|
+
if (ret[3]) {
|
|
364
|
+
ptr1 = 0; len1 = 0;
|
|
365
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
366
|
+
}
|
|
367
|
+
deferred2_0 = ptr1;
|
|
368
|
+
deferred2_1 = len1;
|
|
369
|
+
return getStringFromWasm0(ptr1, len1);
|
|
370
|
+
} finally {
|
|
371
|
+
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
|
|
374
375
|
function __wbg_adapter_50(arg0, arg1) {
|
|
375
376
|
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215(arg0, arg1);
|
|
376
377
|
}
|
|
@@ -380,20 +381,20 @@ function __wbg_adapter_53(arg0, arg1) {
|
|
|
380
381
|
}
|
|
381
382
|
|
|
382
383
|
function __wbg_adapter_56(arg0, arg1, arg2) {
|
|
383
|
-
wasm.
|
|
384
|
+
wasm.closure4467_externref_shim(arg0, arg1, arg2);
|
|
384
385
|
}
|
|
385
386
|
|
|
386
387
|
function __wbg_adapter_59(arg0, arg1) {
|
|
387
388
|
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a(arg0, arg1);
|
|
388
389
|
}
|
|
389
390
|
|
|
390
|
-
function
|
|
391
|
-
const ret = wasm.
|
|
391
|
+
function __wbg_adapter_650(arg0, arg1, arg2, arg3, arg4) {
|
|
392
|
+
const ret = wasm.closure5474_externref_shim(arg0, arg1, arg2, arg3, arg4);
|
|
392
393
|
return ret !== 0;
|
|
393
394
|
}
|
|
394
395
|
|
|
395
|
-
function
|
|
396
|
-
wasm.
|
|
396
|
+
function __wbg_adapter_751(arg0, arg1, arg2, arg3) {
|
|
397
|
+
wasm.closure5473_externref_shim(arg0, arg1, arg2, arg3);
|
|
397
398
|
}
|
|
398
399
|
|
|
399
400
|
/**
|
|
@@ -575,66 +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
|
-
/**
|
|
600
|
-
*
|
|
601
|
-
* * Get the client's inbox state.
|
|
602
|
-
* *
|
|
603
|
-
* * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
|
|
604
|
-
* * Otherwise, the state will be read from the local database.
|
|
605
|
-
*
|
|
606
|
-
* @param {boolean} refresh_from_network
|
|
607
|
-
* @returns {Promise<InboxState>}
|
|
608
|
-
*/
|
|
609
|
-
inboxState(refresh_from_network) {
|
|
610
|
-
const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
|
|
611
|
-
return ret;
|
|
612
|
-
}
|
|
613
|
-
/**
|
|
614
|
-
* @param {string} inbox_id
|
|
615
|
-
* @returns {Promise<InboxState>}
|
|
616
|
-
*/
|
|
617
|
-
getLatestInboxState(inbox_id) {
|
|
618
|
-
const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
619
|
-
const len0 = WASM_VECTOR_LEN;
|
|
620
|
-
const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
|
|
621
|
-
return ret;
|
|
622
|
-
}
|
|
623
|
-
/**
|
|
624
|
-
*
|
|
625
|
-
* * Get key package statuses for a list of installation IDs.
|
|
626
|
-
* *
|
|
627
|
-
* * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
|
|
628
|
-
*
|
|
629
|
-
* @param {string[]} installation_ids
|
|
630
|
-
* @returns {Promise<any>}
|
|
631
|
-
*/
|
|
632
|
-
getKeyPackageStatusesForInstallationIds(installation_ids) {
|
|
633
|
-
const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
|
|
634
|
-
const len0 = WASM_VECTOR_LEN;
|
|
635
|
-
const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
|
|
636
|
-
return ret;
|
|
637
|
-
}
|
|
638
579
|
/**
|
|
639
580
|
* @returns {Identifier}
|
|
640
581
|
*/
|
|
@@ -863,6 +804,66 @@ export class Client {
|
|
|
863
804
|
throw takeFromExternrefTable0(ret[0]);
|
|
864
805
|
}
|
|
865
806
|
}
|
|
807
|
+
/**
|
|
808
|
+
* @param {Consent[]} records
|
|
809
|
+
* @returns {Promise<void>}
|
|
810
|
+
*/
|
|
811
|
+
setConsentStates(records) {
|
|
812
|
+
const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
|
|
813
|
+
const len0 = WASM_VECTOR_LEN;
|
|
814
|
+
const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
|
|
815
|
+
return ret;
|
|
816
|
+
}
|
|
817
|
+
/**
|
|
818
|
+
* @param {ConsentEntityType} entity_type
|
|
819
|
+
* @param {string} entity
|
|
820
|
+
* @returns {Promise<ConsentState>}
|
|
821
|
+
*/
|
|
822
|
+
getConsentState(entity_type, entity) {
|
|
823
|
+
const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
824
|
+
const len0 = WASM_VECTOR_LEN;
|
|
825
|
+
const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
|
|
826
|
+
return ret;
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
*
|
|
830
|
+
* * Get the client's inbox state.
|
|
831
|
+
* *
|
|
832
|
+
* * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
|
|
833
|
+
* * Otherwise, the state will be read from the local database.
|
|
834
|
+
*
|
|
835
|
+
* @param {boolean} refresh_from_network
|
|
836
|
+
* @returns {Promise<InboxState>}
|
|
837
|
+
*/
|
|
838
|
+
inboxState(refresh_from_network) {
|
|
839
|
+
const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
|
|
840
|
+
return ret;
|
|
841
|
+
}
|
|
842
|
+
/**
|
|
843
|
+
* @param {string} inbox_id
|
|
844
|
+
* @returns {Promise<InboxState>}
|
|
845
|
+
*/
|
|
846
|
+
getLatestInboxState(inbox_id) {
|
|
847
|
+
const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
848
|
+
const len0 = WASM_VECTOR_LEN;
|
|
849
|
+
const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
|
|
850
|
+
return ret;
|
|
851
|
+
}
|
|
852
|
+
/**
|
|
853
|
+
*
|
|
854
|
+
* * Get key package statuses for a list of installation IDs.
|
|
855
|
+
* *
|
|
856
|
+
* * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
|
|
857
|
+
*
|
|
858
|
+
* @param {string[]} installation_ids
|
|
859
|
+
* @returns {Promise<any>}
|
|
860
|
+
*/
|
|
861
|
+
getKeyPackageStatusesForInstallationIds(installation_ids) {
|
|
862
|
+
const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
|
|
863
|
+
const len0 = WASM_VECTOR_LEN;
|
|
864
|
+
const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
|
|
865
|
+
return ret;
|
|
866
|
+
}
|
|
866
867
|
}
|
|
867
868
|
|
|
868
869
|
const ConsentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -1935,38 +1936,6 @@ export class Conversations {
|
|
|
1935
1936
|
}
|
|
1936
1937
|
return takeFromExternrefTable0(ret[0]);
|
|
1937
1938
|
}
|
|
1938
|
-
/**
|
|
1939
|
-
* @param {ListConversationsOptions | null} [opts]
|
|
1940
|
-
* @returns {Array<any>}
|
|
1941
|
-
*/
|
|
1942
|
-
listGroups(opts) {
|
|
1943
|
-
let ptr0 = 0;
|
|
1944
|
-
if (!isLikeNone(opts)) {
|
|
1945
|
-
_assertClass(opts, ListConversationsOptions);
|
|
1946
|
-
ptr0 = opts.__destroy_into_raw();
|
|
1947
|
-
}
|
|
1948
|
-
const ret = wasm.conversations_listGroups(this.__wbg_ptr, ptr0);
|
|
1949
|
-
if (ret[2]) {
|
|
1950
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
1951
|
-
}
|
|
1952
|
-
return takeFromExternrefTable0(ret[0]);
|
|
1953
|
-
}
|
|
1954
|
-
/**
|
|
1955
|
-
* @param {ListConversationsOptions | null} [opts]
|
|
1956
|
-
* @returns {Array<any>}
|
|
1957
|
-
*/
|
|
1958
|
-
listDms(opts) {
|
|
1959
|
-
let ptr0 = 0;
|
|
1960
|
-
if (!isLikeNone(opts)) {
|
|
1961
|
-
_assertClass(opts, ListConversationsOptions);
|
|
1962
|
-
ptr0 = opts.__destroy_into_raw();
|
|
1963
|
-
}
|
|
1964
|
-
const ret = wasm.conversations_listDms(this.__wbg_ptr, ptr0);
|
|
1965
|
-
if (ret[2]) {
|
|
1966
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
1967
|
-
}
|
|
1968
|
-
return takeFromExternrefTable0(ret[0]);
|
|
1969
|
-
}
|
|
1970
1939
|
/**
|
|
1971
1940
|
* @returns {any}
|
|
1972
1941
|
*/
|
|
@@ -1989,28 +1958,6 @@ export class Conversations {
|
|
|
1989
1958
|
}
|
|
1990
1959
|
return StreamCloser.__wrap(ret[0]);
|
|
1991
1960
|
}
|
|
1992
|
-
/**
|
|
1993
|
-
* @param {any} callback
|
|
1994
|
-
* @returns {StreamCloser}
|
|
1995
|
-
*/
|
|
1996
|
-
streamGroups(callback) {
|
|
1997
|
-
const ret = wasm.conversations_streamGroups(this.__wbg_ptr, callback);
|
|
1998
|
-
if (ret[2]) {
|
|
1999
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
2000
|
-
}
|
|
2001
|
-
return StreamCloser.__wrap(ret[0]);
|
|
2002
|
-
}
|
|
2003
|
-
/**
|
|
2004
|
-
* @param {any} callback
|
|
2005
|
-
* @returns {StreamCloser}
|
|
2006
|
-
*/
|
|
2007
|
-
streamDms(callback) {
|
|
2008
|
-
const ret = wasm.conversations_streamDms(this.__wbg_ptr, callback);
|
|
2009
|
-
if (ret[2]) {
|
|
2010
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
2011
|
-
}
|
|
2012
|
-
return StreamCloser.__wrap(ret[0]);
|
|
2013
|
-
}
|
|
2014
1961
|
/**
|
|
2015
1962
|
* @param {any} callback
|
|
2016
1963
|
* @param {ConversationType | null} [conversation_type]
|
|
@@ -3141,6 +3088,19 @@ export class ListConversationsOptions {
|
|
|
3141
3088
|
var len0 = WASM_VECTOR_LEN;
|
|
3142
3089
|
wasm.__wbg_set_listconversationsoptions_consentStates(this.__wbg_ptr, ptr0, len0);
|
|
3143
3090
|
}
|
|
3091
|
+
/**
|
|
3092
|
+
* @returns {ConversationType | undefined}
|
|
3093
|
+
*/
|
|
3094
|
+
get conversationType() {
|
|
3095
|
+
const ret = wasm.__wbg_get_listconversationsoptions_conversationType(this.__wbg_ptr);
|
|
3096
|
+
return ret === 3 ? undefined : ret;
|
|
3097
|
+
}
|
|
3098
|
+
/**
|
|
3099
|
+
* @param {ConversationType | null} [arg0]
|
|
3100
|
+
*/
|
|
3101
|
+
set conversationType(arg0) {
|
|
3102
|
+
wasm.__wbg_set_listconversationsoptions_conversationType(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0);
|
|
3103
|
+
}
|
|
3144
3104
|
/**
|
|
3145
3105
|
* @returns {bigint | undefined}
|
|
3146
3106
|
*/
|
|
@@ -3168,17 +3128,17 @@ export class ListConversationsOptions {
|
|
|
3168
3128
|
wasm.__wbg_set_listconversationsoptions_createdBeforeNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
3169
3129
|
}
|
|
3170
3130
|
/**
|
|
3171
|
-
* @returns {boolean}
|
|
3131
|
+
* @returns {boolean | undefined}
|
|
3172
3132
|
*/
|
|
3173
3133
|
get includeDuplicateDms() {
|
|
3174
3134
|
const ret = wasm.__wbg_get_listconversationsoptions_includeDuplicateDms(this.__wbg_ptr);
|
|
3175
|
-
return ret !== 0;
|
|
3135
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
3176
3136
|
}
|
|
3177
3137
|
/**
|
|
3178
|
-
* @param {boolean} arg0
|
|
3138
|
+
* @param {boolean | null} [arg0]
|
|
3179
3139
|
*/
|
|
3180
3140
|
set includeDuplicateDms(arg0) {
|
|
3181
|
-
wasm.__wbg_set_listconversationsoptions_includeDuplicateDms(this.__wbg_ptr, arg0);
|
|
3141
|
+
wasm.__wbg_set_listconversationsoptions_includeDuplicateDms(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
3182
3142
|
}
|
|
3183
3143
|
/**
|
|
3184
3144
|
* @returns {bigint | undefined}
|
|
@@ -3194,16 +3154,17 @@ export class ListConversationsOptions {
|
|
|
3194
3154
|
wasm.__wbg_set_listconversationsoptions_limit(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
3195
3155
|
}
|
|
3196
3156
|
/**
|
|
3197
|
-
* @param {any[] | null
|
|
3198
|
-
* @param {
|
|
3199
|
-
* @param {bigint | null
|
|
3200
|
-
* @param {
|
|
3157
|
+
* @param {any[] | null} [consent_states]
|
|
3158
|
+
* @param {ConversationType | null} [conversation_type]
|
|
3159
|
+
* @param {bigint | null} [created_after_ns]
|
|
3160
|
+
* @param {bigint | null} [created_before_ns]
|
|
3161
|
+
* @param {boolean | null} [include_duplicate_dms]
|
|
3201
3162
|
* @param {bigint | null} [limit]
|
|
3202
3163
|
*/
|
|
3203
|
-
constructor(consent_states, created_after_ns, created_before_ns, include_duplicate_dms, limit) {
|
|
3164
|
+
constructor(consent_states, conversation_type, created_after_ns, created_before_ns, include_duplicate_dms, limit) {
|
|
3204
3165
|
var ptr0 = isLikeNone(consent_states) ? 0 : passArrayJsValueToWasm0(consent_states, wasm.__wbindgen_malloc);
|
|
3205
3166
|
var len0 = WASM_VECTOR_LEN;
|
|
3206
|
-
const ret = wasm.listconversationsoptions_new(ptr0, len0, !isLikeNone(created_after_ns), isLikeNone(created_after_ns) ? BigInt(0) : created_after_ns, !isLikeNone(created_before_ns), isLikeNone(created_before_ns) ? BigInt(0) : created_before_ns, include_duplicate_dms, !isLikeNone(limit), isLikeNone(limit) ? BigInt(0) : limit);
|
|
3167
|
+
const ret = wasm.listconversationsoptions_new(ptr0, len0, isLikeNone(conversation_type) ? 3 : conversation_type, !isLikeNone(created_after_ns), isLikeNone(created_after_ns) ? BigInt(0) : created_after_ns, !isLikeNone(created_before_ns), isLikeNone(created_before_ns) ? BigInt(0) : created_before_ns, isLikeNone(include_duplicate_dms) ? 0xFFFFFF : include_duplicate_dms ? 1 : 0, !isLikeNone(limit), isLikeNone(limit) ? BigInt(0) : limit);
|
|
3207
3168
|
this.__wbg_ptr = ret >>> 0;
|
|
3208
3169
|
ListConversationsOptionsFinalization.register(this, this.__wbg_ptr, this);
|
|
3209
3170
|
return this;
|
|
@@ -4699,7 +4660,7 @@ function __wbg_get_imports() {
|
|
|
4699
4660
|
const a = state0.a;
|
|
4700
4661
|
state0.a = 0;
|
|
4701
4662
|
try {
|
|
4702
|
-
return
|
|
4663
|
+
return __wbg_adapter_650(a, state0.b, arg0, arg1, arg2);
|
|
4703
4664
|
} finally {
|
|
4704
4665
|
state0.a = a;
|
|
4705
4666
|
}
|
|
@@ -4729,7 +4690,7 @@ function __wbg_get_imports() {
|
|
|
4729
4690
|
const a = state0.a;
|
|
4730
4691
|
state0.a = 0;
|
|
4731
4692
|
try {
|
|
4732
|
-
return
|
|
4693
|
+
return __wbg_adapter_650(a, state0.b, arg0, arg1, arg2);
|
|
4733
4694
|
} finally {
|
|
4734
4695
|
state0.a = a;
|
|
4735
4696
|
}
|
|
@@ -5054,7 +5015,7 @@ function __wbg_get_imports() {
|
|
|
5054
5015
|
const a = state0.a;
|
|
5055
5016
|
state0.a = 0;
|
|
5056
5017
|
try {
|
|
5057
|
-
return
|
|
5018
|
+
return __wbg_adapter_751(a, state0.b, arg0, arg1);
|
|
5058
5019
|
} finally {
|
|
5059
5020
|
state0.a = a;
|
|
5060
5021
|
}
|
|
@@ -5161,19 +5122,19 @@ function __wbg_get_imports() {
|
|
|
5161
5122
|
const ret = arg0.now();
|
|
5162
5123
|
return ret;
|
|
5163
5124
|
};
|
|
5164
|
-
imports.wbg.
|
|
5125
|
+
imports.wbg.__wbg_onconsentupdate_54b67b0fd155194a = function(arg0, arg1) {
|
|
5165
5126
|
arg0.on_consent_update(arg1);
|
|
5166
5127
|
};
|
|
5167
|
-
imports.wbg.
|
|
5128
|
+
imports.wbg.__wbg_onconversation_9e5e519465264aba = function(arg0, arg1) {
|
|
5168
5129
|
arg0.on_conversation(Conversation.__wrap(arg1));
|
|
5169
5130
|
};
|
|
5170
|
-
imports.wbg.
|
|
5131
|
+
imports.wbg.__wbg_onerror_f6bdb41a50104955 = function(arg0, arg1) {
|
|
5171
5132
|
arg0.on_error(arg1);
|
|
5172
5133
|
};
|
|
5173
|
-
imports.wbg.
|
|
5134
|
+
imports.wbg.__wbg_onmessage_048799d39150b7df = function(arg0, arg1) {
|
|
5174
5135
|
arg0.on_message(Message.__wrap(arg1));
|
|
5175
5136
|
};
|
|
5176
|
-
imports.wbg.
|
|
5137
|
+
imports.wbg.__wbg_onuserpreferenceupdate_198647719323549b = function(arg0, arg1, arg2) {
|
|
5177
5138
|
var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
|
|
5178
5139
|
wasm.__wbindgen_free(arg1, arg2 * 4, 4);
|
|
5179
5140
|
arg0.on_user_preference_update(v0);
|
|
@@ -5469,20 +5430,20 @@ function __wbg_get_imports() {
|
|
|
5469
5430
|
const ret = false;
|
|
5470
5431
|
return ret;
|
|
5471
5432
|
};
|
|
5472
|
-
imports.wbg.
|
|
5473
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5433
|
+
imports.wbg.__wbindgen_closure_wrapper17242 = function(arg0, arg1, arg2) {
|
|
5434
|
+
const ret = makeMutClosure(arg0, arg1, 4101, __wbg_adapter_50);
|
|
5474
5435
|
return ret;
|
|
5475
5436
|
};
|
|
5476
|
-
imports.wbg.
|
|
5477
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5437
|
+
imports.wbg.__wbindgen_closure_wrapper17286 = function(arg0, arg1, arg2) {
|
|
5438
|
+
const ret = makeMutClosure(arg0, arg1, 4111, __wbg_adapter_53);
|
|
5478
5439
|
return ret;
|
|
5479
5440
|
};
|
|
5480
|
-
imports.wbg.
|
|
5481
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5441
|
+
imports.wbg.__wbindgen_closure_wrapper20508 = function(arg0, arg1, arg2) {
|
|
5442
|
+
const ret = makeMutClosure(arg0, arg1, 4468, __wbg_adapter_56);
|
|
5482
5443
|
return ret;
|
|
5483
5444
|
};
|
|
5484
|
-
imports.wbg.
|
|
5485
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5445
|
+
imports.wbg.__wbindgen_closure_wrapper20629 = function(arg0, arg1, arg2) {
|
|
5446
|
+
const ret = makeMutClosure(arg0, arg1, 4482, __wbg_adapter_59);
|
|
5486
5447
|
return ret;
|
|
5487
5448
|
};
|
|
5488
5449
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -1,117 +1,11 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
5
|
-
export const streamcloser_end: (a: number) => void;
|
|
6
|
-
export const streamcloser_endAndWait: (a: number) => any;
|
|
7
|
-
export const streamcloser_waitForReady: (a: number) => any;
|
|
8
|
-
export const streamcloser_isClosed: (a: number) => number;
|
|
9
|
-
export const __wbg_consent_free: (a: number, b: number) => void;
|
|
10
|
-
export const __wbg_get_consent_entityType: (a: number) => number;
|
|
11
|
-
export const __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
12
|
-
export const __wbg_get_consent_state: (a: number) => number;
|
|
13
|
-
export const __wbg_set_consent_state: (a: number, b: number) => void;
|
|
14
|
-
export const __wbg_get_consent_entity: (a: number) => [number, number];
|
|
15
|
-
export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
16
|
-
export const consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
17
|
-
export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
18
|
-
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
19
|
-
export const conversation_consentState: (a: number) => [number, number, number];
|
|
20
|
-
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
21
|
-
export const __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
22
|
-
export const groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
23
|
-
export const groupmetadata_conversationType: (a: number) => [number, number];
|
|
24
|
-
export const __wbg_groupmember_free: (a: number, b: number) => void;
|
|
25
|
-
export const __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
26
|
-
export const __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
27
|
-
export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
28
|
-
export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
29
|
-
export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
30
|
-
export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
31
|
-
export const __wbg_get_groupmember_consentState: (a: number) => number;
|
|
32
|
-
export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
33
|
-
export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
34
|
-
export const __wbg_conversation_free: (a: number, b: number) => void;
|
|
35
|
-
export const conversation_id: (a: number) => [number, number];
|
|
36
|
-
export const conversation_send: (a: number, b: number) => any;
|
|
37
|
-
export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
38
|
-
export const conversation_publishMessages: (a: number) => any;
|
|
39
|
-
export const conversation_sync: (a: number) => any;
|
|
40
|
-
export const conversation_findMessages: (a: number, b: number) => any;
|
|
41
|
-
export const conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
42
|
-
export const conversation_listMembers: (a: number) => any;
|
|
43
|
-
export const conversation_adminList: (a: number) => [number, number, number, number];
|
|
44
|
-
export const conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
45
|
-
export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
46
|
-
export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
47
|
-
export const conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
48
|
-
export const conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
49
|
-
export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
50
|
-
export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
51
|
-
export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
52
|
-
export const conversation_groupPermissions: (a: number) => [number, number, number];
|
|
53
|
-
export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
54
|
-
export const conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
55
|
-
export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
56
|
-
export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
57
|
-
export const conversation_groupName: (a: number) => [number, number, number, number];
|
|
58
|
-
export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
59
|
-
export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
60
|
-
export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
61
|
-
export const conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
62
|
-
export const conversation_stream: (a: number, b: any) => [number, number, number];
|
|
63
|
-
export const conversation_createdAtNs: (a: number) => bigint;
|
|
64
|
-
export const conversation_isActive: (a: number) => [number, number, number];
|
|
65
|
-
export const conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
66
|
-
export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
67
|
-
export const conversation_groupMetadata: (a: number) => any;
|
|
68
|
-
export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
69
|
-
export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
70
|
-
export const conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
71
|
-
export const conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
72
|
-
export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
73
|
-
export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
74
|
-
export const conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
75
|
-
export const conversation_getDebugInfo: (a: number) => any;
|
|
76
|
-
export const conversation_findDuplicateDms: (a: number) => any;
|
|
77
|
-
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
78
|
-
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
79
|
-
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
80
|
-
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
81
|
-
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
82
|
-
export const __wbg_get_installation_id: (a: number) => [number, number];
|
|
83
|
-
export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
84
|
-
export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
85
|
-
export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
86
|
-
export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
87
|
-
export const __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
88
|
-
export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
89
|
-
export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
90
|
-
export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
91
|
-
export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
92
|
-
export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
93
|
-
export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
94
|
-
export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
95
|
-
export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
96
|
-
export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
97
|
-
export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
98
|
-
export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
99
|
-
export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
100
|
-
export const __wbg_lifetime_free: (a: number, b: number) => void;
|
|
101
|
-
export const __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
102
|
-
export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
103
|
-
export const __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
104
|
-
export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
105
|
-
export const client_inboxState: (a: number, b: number) => any;
|
|
106
|
-
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
107
|
-
export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
108
|
-
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
109
|
-
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
110
|
-
export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
111
|
-
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
112
4
|
export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
113
5
|
export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
114
6
|
export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
7
|
+
export const __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
8
|
+
export const __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
115
9
|
export const __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
116
10
|
export const __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
117
11
|
export const __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
@@ -120,7 +14,7 @@ export const __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number)
|
|
|
120
14
|
export const __wbg_set_listconversationsoptions_includeDuplicateDms: (a: number, b: number) => void;
|
|
121
15
|
export const __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
122
16
|
export const __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
123
|
-
export const listconversationsoptions_new: (a: number, b: number, c: number, d:
|
|
17
|
+
export const listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
124
18
|
export const __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
125
19
|
export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
126
20
|
export const __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
@@ -169,12 +63,8 @@ export const conversations_sync: (a: number) => any;
|
|
|
169
63
|
export const conversations_syncAllConversations: (a: number, b: number, c: number) => any;
|
|
170
64
|
export const conversations_syncDeviceSync: (a: number) => any;
|
|
171
65
|
export const conversations_list: (a: number, b: number) => [number, number, number];
|
|
172
|
-
export const conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
173
|
-
export const conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
174
66
|
export const conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
175
67
|
export const conversations_stream: (a: number, b: any, c: number) => [number, number, number];
|
|
176
|
-
export const conversations_streamGroups: (a: number, b: any) => [number, number, number];
|
|
177
|
-
export const conversations_streamDms: (a: number, b: any) => [number, number, number];
|
|
178
68
|
export const conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
179
69
|
export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
180
70
|
export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
@@ -207,21 +97,21 @@ export const __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
|
207
97
|
export const __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
208
98
|
export const __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
209
99
|
export const __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
210
|
-
export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
211
|
-
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
212
|
-
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
213
|
-
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
214
100
|
export const __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
215
101
|
export const __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
216
102
|
export const __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
217
|
-
export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
218
|
-
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
219
103
|
export const __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
220
104
|
export const __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
221
105
|
export const __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
222
106
|
export const __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
223
107
|
export const __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
224
108
|
export const __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
109
|
+
export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
110
|
+
export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
111
|
+
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
112
|
+
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
113
|
+
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
114
|
+
export const __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
225
115
|
export const __wbg_client_free: (a: number, b: number) => void;
|
|
226
116
|
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
227
117
|
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -325,12 +215,12 @@ export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e
|
|
|
325
215
|
export const client_applySignatureRequests: (a: number) => any;
|
|
326
216
|
export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
327
217
|
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
328
|
-
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
329
218
|
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
330
219
|
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
220
|
+
export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
331
221
|
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
332
222
|
export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
333
|
-
export const
|
|
223
|
+
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
334
224
|
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
335
225
|
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
336
226
|
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -352,6 +242,114 @@ export const permissionpolicyset_new: (a: number, b: number, c: number, d: numbe
|
|
|
352
242
|
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
353
243
|
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
354
244
|
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
245
|
+
export const __wbg_consent_free: (a: number, b: number) => void;
|
|
246
|
+
export const __wbg_get_consent_entityType: (a: number) => number;
|
|
247
|
+
export const __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
248
|
+
export const __wbg_get_consent_state: (a: number) => number;
|
|
249
|
+
export const __wbg_set_consent_state: (a: number, b: number) => void;
|
|
250
|
+
export const __wbg_get_consent_entity: (a: number) => [number, number];
|
|
251
|
+
export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
252
|
+
export const consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
253
|
+
export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
254
|
+
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
255
|
+
export const conversation_consentState: (a: number) => [number, number, number];
|
|
256
|
+
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
257
|
+
export const __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
258
|
+
export const groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
259
|
+
export const groupmetadata_conversationType: (a: number) => [number, number];
|
|
260
|
+
export const __wbg_groupmember_free: (a: number, b: number) => void;
|
|
261
|
+
export const __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
262
|
+
export const __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
263
|
+
export const __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
264
|
+
export const __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
265
|
+
export const __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
266
|
+
export const __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
267
|
+
export const __wbg_get_groupmember_consentState: (a: number) => number;
|
|
268
|
+
export const __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
269
|
+
export const groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
270
|
+
export const __wbg_conversation_free: (a: number, b: number) => void;
|
|
271
|
+
export const conversation_id: (a: number) => [number, number];
|
|
272
|
+
export const conversation_send: (a: number, b: number) => any;
|
|
273
|
+
export const conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
274
|
+
export const conversation_publishMessages: (a: number) => any;
|
|
275
|
+
export const conversation_sync: (a: number) => any;
|
|
276
|
+
export const conversation_findMessages: (a: number, b: number) => any;
|
|
277
|
+
export const conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
278
|
+
export const conversation_listMembers: (a: number) => any;
|
|
279
|
+
export const conversation_adminList: (a: number) => [number, number, number, number];
|
|
280
|
+
export const conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
281
|
+
export const conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
282
|
+
export const conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
283
|
+
export const conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
284
|
+
export const conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
285
|
+
export const conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
286
|
+
export const conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
287
|
+
export const conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
288
|
+
export const conversation_groupPermissions: (a: number) => [number, number, number];
|
|
289
|
+
export const conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
290
|
+
export const conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
291
|
+
export const conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
292
|
+
export const conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
293
|
+
export const conversation_groupName: (a: number) => [number, number, number, number];
|
|
294
|
+
export const conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
295
|
+
export const conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
296
|
+
export const conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
297
|
+
export const conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
298
|
+
export const conversation_stream: (a: number, b: any) => [number, number, number];
|
|
299
|
+
export const conversation_createdAtNs: (a: number) => bigint;
|
|
300
|
+
export const conversation_isActive: (a: number) => [number, number, number];
|
|
301
|
+
export const conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
302
|
+
export const conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
303
|
+
export const conversation_groupMetadata: (a: number) => any;
|
|
304
|
+
export const conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
305
|
+
export const conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
306
|
+
export const conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
307
|
+
export const conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
308
|
+
export const conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
309
|
+
export const conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
310
|
+
export const conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
311
|
+
export const conversation_getDebugInfo: (a: number) => any;
|
|
312
|
+
export const conversation_findDuplicateDms: (a: number) => any;
|
|
313
|
+
export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
314
|
+
export const generateInboxId: (a: any) => [number, number, number, number];
|
|
315
|
+
export const __wbg_installation_free: (a: number, b: number) => void;
|
|
316
|
+
export const __wbg_get_installation_bytes: (a: number) => any;
|
|
317
|
+
export const __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
318
|
+
export const __wbg_get_installation_id: (a: number) => [number, number];
|
|
319
|
+
export const __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
320
|
+
export const __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
321
|
+
export const __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
322
|
+
export const installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
323
|
+
export const __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
324
|
+
export const __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
325
|
+
export const __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
326
|
+
export const __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
327
|
+
export const __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
328
|
+
export const __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
329
|
+
export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
330
|
+
export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
331
|
+
export const __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
332
|
+
export const __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
333
|
+
export const __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
334
|
+
export const __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
335
|
+
export const __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
336
|
+
export const __wbg_lifetime_free: (a: number, b: number) => void;
|
|
337
|
+
export const __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
338
|
+
export const __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
339
|
+
export const __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
340
|
+
export const __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
341
|
+
export const client_inboxState: (a: number, b: number) => any;
|
|
342
|
+
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
343
|
+
export const client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
344
|
+
export const __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
345
|
+
export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
346
|
+
export const __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
347
|
+
export const __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
348
|
+
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
349
|
+
export const streamcloser_end: (a: number) => void;
|
|
350
|
+
export const streamcloser_endAndWait: (a: number) => any;
|
|
351
|
+
export const streamcloser_waitForReady: (a: number) => any;
|
|
352
|
+
export const streamcloser_isClosed: (a: number) => number;
|
|
355
353
|
export const rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
356
354
|
export const rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
357
355
|
export const rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -391,8 +389,8 @@ export const __wbindgen_export_7: WebAssembly.Table;
|
|
|
391
389
|
export const __externref_table_dealloc: (a: number) => void;
|
|
392
390
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215: (a: number, b: number) => void;
|
|
393
391
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h89dafc0baf46c12b: (a: number, b: number) => void;
|
|
394
|
-
export const
|
|
392
|
+
export const closure4467_externref_shim: (a: number, b: number, c: any) => void;
|
|
395
393
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a: (a: number, b: number) => void;
|
|
396
|
-
export const
|
|
397
|
-
export const
|
|
394
|
+
export const closure5474_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
395
|
+
export const closure5473_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
398
396
|
export const __wbindgen_start: () => void;
|
package/dist/version.json
CHANGED