@xmtp/wasm-bindings 1.3.4 → 1.3.6
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 +123 -119
- package/dist/bindings_wasm.js +286 -263
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +101 -99
- package/dist/version.json +3 -3
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export function
|
|
4
|
-
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
5
|
-
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
6
|
-
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
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, allow_offline?: boolean | null, disable_events?: boolean | null, app_version?: string | null): Promise<Client>;
|
|
7
4
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
8
5
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
6
|
+
export function inboxStateFromInboxIds(host: string, inbox_ids: string[]): Promise<InboxState[]>;
|
|
9
7
|
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
10
8
|
export function revokeInstallationsSignatureRequest(host: string, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
11
9
|
export function applySignatureRequest(host: string, signature_request: SignatureRequestHandle): Promise<void>;
|
|
12
|
-
export function
|
|
13
|
-
export function
|
|
10
|
+
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
11
|
+
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
12
|
+
export function getInboxIdForIdentifier(host: string, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
13
|
+
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
14
14
|
/**
|
|
15
15
|
* Entry point invoked by JavaScript in a worker.
|
|
16
16
|
*/
|
|
@@ -111,6 +111,8 @@ type LogLevel = "off" | "error" | "warn" | "info" | "debug" | "trace";
|
|
|
111
111
|
* *This API requires the following crate features to be activated: `ReadableStreamType`*
|
|
112
112
|
*/
|
|
113
113
|
type ReadableStreamType = "bytes";
|
|
114
|
+
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
115
|
+
|
|
114
116
|
export interface Identifier {
|
|
115
117
|
identifier: string;
|
|
116
118
|
identifierKind: IdentifierKind;
|
|
@@ -118,8 +120,6 @@ export interface Identifier {
|
|
|
118
120
|
|
|
119
121
|
export type IdentifierKind = "Ethereum" | "Passkey";
|
|
120
122
|
|
|
121
|
-
export type UserPreference = { type: "Consent"; consent: Consent } | { type: "HmacKeyUpdate"; key: number[] };
|
|
122
|
-
|
|
123
123
|
export class ApiStats {
|
|
124
124
|
private constructor();
|
|
125
125
|
free(): void;
|
|
@@ -135,18 +135,6 @@ export class ApiStats {
|
|
|
135
135
|
export class Client {
|
|
136
136
|
private constructor();
|
|
137
137
|
free(): void;
|
|
138
|
-
setConsentStates(records: Consent[]): Promise<void>;
|
|
139
|
-
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
140
|
-
createInboxSignatureRequest(): SignatureRequestHandle | undefined;
|
|
141
|
-
addWalletSignatureRequest(new_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
142
|
-
revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
143
|
-
revokeAllOtherInstallationsSignatureRequest(): Promise<SignatureRequestHandle>;
|
|
144
|
-
revokeInstallationsSignatureRequest(installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
145
|
-
changeRecoveryIdentifierSignatureRequest(new_recovery_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
146
|
-
applySignatureRequest(signature_request: SignatureRequestHandle): Promise<void>;
|
|
147
|
-
registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
|
|
148
|
-
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
149
|
-
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
150
138
|
/**
|
|
151
139
|
* Output booleans should be zipped with the index of input identifiers
|
|
152
140
|
*/
|
|
@@ -161,6 +149,8 @@ export class Client {
|
|
|
161
149
|
apiAggregateStatistics(): string;
|
|
162
150
|
clearAllStatistics(): void;
|
|
163
151
|
uploadDebugArchive(server_url: string): Promise<string>;
|
|
152
|
+
setConsentStates(records: Consent[]): Promise<void>;
|
|
153
|
+
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
164
154
|
/**
|
|
165
155
|
*
|
|
166
156
|
* * Get the client's inbox state.
|
|
@@ -179,11 +169,23 @@ export class Client {
|
|
|
179
169
|
*
|
|
180
170
|
*/
|
|
181
171
|
getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
|
|
172
|
+
createInboxSignatureRequest(): SignatureRequestHandle | undefined;
|
|
173
|
+
addWalletSignatureRequest(new_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
174
|
+
revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
175
|
+
revokeAllOtherInstallationsSignatureRequest(): Promise<SignatureRequestHandle>;
|
|
176
|
+
revokeInstallationsSignatureRequest(installation_ids: Uint8Array[]): Promise<SignatureRequestHandle>;
|
|
177
|
+
changeRecoveryIdentifierSignatureRequest(new_recovery_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
178
|
+
applySignatureRequest(signature_request: SignatureRequestHandle): Promise<void>;
|
|
179
|
+
registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
|
|
180
|
+
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
181
|
+
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
182
182
|
readonly accountIdentifier: Identifier;
|
|
183
183
|
readonly inboxId: string;
|
|
184
184
|
readonly isRegistered: boolean;
|
|
185
185
|
readonly installationId: string;
|
|
186
186
|
readonly installationIdBytes: Uint8Array;
|
|
187
|
+
readonly appVersion: string;
|
|
188
|
+
readonly libxmtpVersion: string;
|
|
187
189
|
}
|
|
188
190
|
export class Consent {
|
|
189
191
|
free(): void;
|
|
@@ -615,8 +617,34 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
615
617
|
|
|
616
618
|
export interface InitOutput {
|
|
617
619
|
readonly memory: WebAssembly.Memory;
|
|
618
|
-
readonly
|
|
619
|
-
readonly
|
|
620
|
+
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
621
|
+
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
622
|
+
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
623
|
+
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
624
|
+
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
625
|
+
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
626
|
+
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
627
|
+
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
628
|
+
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
629
|
+
readonly createClient: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number) => any;
|
|
630
|
+
readonly client_accountIdentifier: (a: number) => any;
|
|
631
|
+
readonly client_inboxId: (a: number) => [number, number];
|
|
632
|
+
readonly client_isRegistered: (a: number) => number;
|
|
633
|
+
readonly client_installationId: (a: number) => [number, number];
|
|
634
|
+
readonly client_installationIdBytes: (a: number) => any;
|
|
635
|
+
readonly client_appVersion: (a: number) => [number, number];
|
|
636
|
+
readonly client_libxmtpVersion: (a: number) => [number, number];
|
|
637
|
+
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
638
|
+
readonly client_sendSyncRequest: (a: number) => any;
|
|
639
|
+
readonly client_findInboxIdByIdentifier: (a: number, b: any) => any;
|
|
640
|
+
readonly client_inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
641
|
+
readonly client_conversations: (a: number) => number;
|
|
642
|
+
readonly client_syncPreferences: (a: number) => any;
|
|
643
|
+
readonly client_apiStatistics: (a: number) => number;
|
|
644
|
+
readonly client_apiIdentityStatistics: (a: number) => number;
|
|
645
|
+
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
646
|
+
readonly client_clearAllStatistics: (a: number) => void;
|
|
647
|
+
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
620
648
|
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
621
649
|
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
622
650
|
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
@@ -629,25 +657,6 @@ export interface InitOutput {
|
|
|
629
657
|
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
630
658
|
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
631
659
|
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
632
|
-
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
633
|
-
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
634
|
-
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
635
|
-
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
636
|
-
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
637
|
-
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
638
|
-
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
639
|
-
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
640
|
-
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
641
|
-
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
642
|
-
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
643
|
-
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
644
|
-
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;
|
|
645
|
-
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
646
|
-
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
647
|
-
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
648
|
-
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
649
|
-
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
650
|
-
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
651
660
|
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
652
661
|
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
653
662
|
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
@@ -719,8 +728,6 @@ export interface InitOutput {
|
|
|
719
728
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
720
729
|
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
721
730
|
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
722
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
723
|
-
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
724
731
|
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
725
732
|
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
726
733
|
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
@@ -728,7 +735,6 @@ export interface InitOutput {
|
|
|
728
735
|
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
729
736
|
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
730
737
|
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
731
|
-
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
732
738
|
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
733
739
|
readonly __wbg_conversationdebuginfo_free: (a: number, b: number) => void;
|
|
734
740
|
readonly __wbg_get_conversationdebuginfo_epoch: (a: number) => bigint;
|
|
@@ -804,6 +810,28 @@ export interface InitOutput {
|
|
|
804
810
|
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
805
811
|
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
806
812
|
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
813
|
+
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
814
|
+
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
815
|
+
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
816
|
+
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
817
|
+
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
818
|
+
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
819
|
+
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
820
|
+
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
821
|
+
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
822
|
+
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
823
|
+
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
824
|
+
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
825
|
+
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
826
|
+
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
827
|
+
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
828
|
+
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
829
|
+
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
830
|
+
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
831
|
+
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
832
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
833
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
834
|
+
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
807
835
|
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
808
836
|
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
809
837
|
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
@@ -870,61 +898,69 @@ export interface InitOutput {
|
|
|
870
898
|
readonly streamcloser_endAndWait: (a: number) => any;
|
|
871
899
|
readonly streamcloser_waitForReady: (a: number) => any;
|
|
872
900
|
readonly streamcloser_isClosed: (a: number) => number;
|
|
901
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
873
902
|
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
874
903
|
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
875
904
|
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
876
905
|
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
877
906
|
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
878
|
-
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
879
|
-
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
880
907
|
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
881
908
|
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
909
|
+
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
910
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
882
911
|
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
883
912
|
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
884
|
-
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
885
913
|
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
886
914
|
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
915
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
916
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
887
917
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
888
918
|
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
889
919
|
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
920
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
921
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
890
922
|
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
891
923
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
892
924
|
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
893
925
|
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
926
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
927
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
894
928
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
895
929
|
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
896
|
-
readonly
|
|
897
|
-
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
930
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
898
931
|
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
899
932
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
900
933
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
901
934
|
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
902
|
-
readonly
|
|
903
|
-
readonly
|
|
904
|
-
readonly
|
|
905
|
-
readonly
|
|
906
|
-
readonly
|
|
907
|
-
readonly
|
|
908
|
-
readonly
|
|
909
|
-
readonly
|
|
910
|
-
readonly
|
|
911
|
-
readonly
|
|
912
|
-
readonly
|
|
913
|
-
readonly
|
|
914
|
-
readonly
|
|
915
|
-
readonly
|
|
916
|
-
readonly
|
|
917
|
-
readonly
|
|
918
|
-
readonly
|
|
919
|
-
readonly
|
|
920
|
-
readonly
|
|
921
|
-
readonly
|
|
922
|
-
readonly
|
|
923
|
-
readonly
|
|
924
|
-
readonly
|
|
925
|
-
readonly
|
|
926
|
-
readonly
|
|
927
|
-
readonly
|
|
935
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
936
|
+
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
937
|
+
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
938
|
+
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
939
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
940
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
941
|
+
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
942
|
+
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
943
|
+
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
944
|
+
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
945
|
+
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
946
|
+
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
947
|
+
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
948
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
949
|
+
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
950
|
+
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
951
|
+
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
952
|
+
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
953
|
+
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
954
|
+
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
955
|
+
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;
|
|
956
|
+
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
957
|
+
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
958
|
+
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
959
|
+
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
960
|
+
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
961
|
+
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
962
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
|
|
963
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
928
964
|
readonly __wbg_apistats_free: (a: number, b: number) => void;
|
|
929
965
|
readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
|
|
930
966
|
readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
|
|
@@ -943,34 +979,14 @@ export interface InitOutput {
|
|
|
943
979
|
readonly __wbg_get_apistats_subscribe_welcomes: (a: number) => bigint;
|
|
944
980
|
readonly __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => void;
|
|
945
981
|
readonly __wbg_identitystats_free: (a: number, b: number) => void;
|
|
946
|
-
readonly
|
|
947
|
-
readonly
|
|
948
|
-
readonly
|
|
949
|
-
readonly
|
|
950
|
-
readonly
|
|
951
|
-
readonly
|
|
952
|
-
readonly
|
|
953
|
-
readonly
|
|
954
|
-
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
955
|
-
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
956
|
-
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
957
|
-
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
958
|
-
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
959
|
-
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
960
|
-
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
961
|
-
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
962
|
-
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
963
|
-
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
964
|
-
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
965
|
-
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
966
|
-
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
967
|
-
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
968
|
-
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
969
|
-
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
970
|
-
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number) => any;
|
|
971
|
-
readonly client_inboxState: (a: number, b: number) => any;
|
|
972
|
-
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
973
|
-
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
982
|
+
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
983
|
+
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
984
|
+
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
985
|
+
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
986
|
+
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
987
|
+
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
988
|
+
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
989
|
+
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
974
990
|
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
975
991
|
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
976
992
|
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -992,18 +1008,6 @@ export interface InitOutput {
|
|
|
992
1008
|
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
993
1009
|
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
994
1010
|
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
995
|
-
readonly __wbg_set_identitystats_publish_identity_update: (a: number, b: bigint) => void;
|
|
996
|
-
readonly __wbg_set_identitystats_get_identity_updates_v2: (a: number, b: bigint) => void;
|
|
997
|
-
readonly __wbg_set_identitystats_get_inbox_ids: (a: number, b: bigint) => void;
|
|
998
|
-
readonly __wbg_set_identitystats_verify_smart_contract_wallet_signature: (a: number, b: bigint) => void;
|
|
999
|
-
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
1000
|
-
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
1001
|
-
readonly __wbg_get_identitystats_publish_identity_update: (a: number) => bigint;
|
|
1002
|
-
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
1003
|
-
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
1004
|
-
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
1005
|
-
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
1006
|
-
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
1007
1011
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
1008
1012
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
1009
1013
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -1046,10 +1050,10 @@ export interface InitOutput {
|
|
|
1046
1050
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1047
1051
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
1048
1052
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1049
|
-
readonly
|
|
1050
|
-
readonly
|
|
1051
|
-
readonly
|
|
1052
|
-
readonly
|
|
1053
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h469745bf9f974f96: (a: number, b: number) => void;
|
|
1054
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc5db0b12f1fa1c9f: (a: number, b: number) => void;
|
|
1055
|
+
readonly closure4977_externref_shim: (a: number, b: number, c: any) => void;
|
|
1056
|
+
readonly closure5921_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1053
1057
|
readonly __wbindgen_start: () => void;
|
|
1054
1058
|
}
|
|
1055
1059
|
|