@xmtp/wasm-bindings 0.0.3 → 0.0.4
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 +131 -84
- package/dist/bindings_wasm.js +275 -182
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +82 -72
- package/dist/snippets/diesel-wasm-sqlite-36e85657e47f3be3/src/js/sqlite3-diesel.js +1 -0
- package/dist/snippets/diesel-wasm-sqlite-36e85657e47f3be3/src/js/sqlite3-opfs-async-proxy.js +1 -692
- package/dist/snippets/diesel-wasm-sqlite-36e85657e47f3be3/src/js/sqlite3.wasm +0 -0
- package/package.json +5 -2
- package/dist/snippets/diesel-wasm-sqlite-36e85657e47f3be3/src/js/wa-sqlite-diesel-bundle.js +0 -14738
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -7,9 +7,10 @@
|
|
|
7
7
|
* @param {string} db_path
|
|
8
8
|
* @param {Uint8Array | undefined} [encryption_key]
|
|
9
9
|
* @param {string | undefined} [history_sync_url]
|
|
10
|
+
* @param {LogOptions | undefined} [log_options]
|
|
10
11
|
* @returns {Promise<Client>}
|
|
11
12
|
*/
|
|
12
|
-
export function createClient(host: string, inbox_id: string, account_address: string, db_path: string, encryption_key?: Uint8Array, history_sync_url?: string): Promise<Client>;
|
|
13
|
+
export function createClient(host: string, inbox_id: string, account_address: string, db_path: string, encryption_key?: Uint8Array, history_sync_url?: string, log_options?: LogOptions): Promise<Client>;
|
|
13
14
|
/**
|
|
14
15
|
* @param {string} host
|
|
15
16
|
* @param {string} account_address
|
|
@@ -113,6 +114,17 @@ export class Client {
|
|
|
113
114
|
* @returns {Conversations}
|
|
114
115
|
*/
|
|
115
116
|
conversations(): Conversations;
|
|
117
|
+
/**
|
|
118
|
+
* @param {(Consent)[]} records
|
|
119
|
+
* @returns {Promise<void>}
|
|
120
|
+
*/
|
|
121
|
+
setConsentStates(records: (Consent)[]): Promise<void>;
|
|
122
|
+
/**
|
|
123
|
+
* @param {ConsentEntityType} entity_type
|
|
124
|
+
* @param {string} entity
|
|
125
|
+
* @returns {Promise<ConsentState>}
|
|
126
|
+
*/
|
|
127
|
+
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
116
128
|
/**
|
|
117
129
|
* @returns {Promise<string | undefined>}
|
|
118
130
|
*/
|
|
@@ -139,20 +151,17 @@ export class Client {
|
|
|
139
151
|
*/
|
|
140
152
|
addSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array): Promise<void>;
|
|
141
153
|
/**
|
|
154
|
+
* @param {SignatureRequestType} signature_type
|
|
155
|
+
* @param {Uint8Array} signature_bytes
|
|
156
|
+
* @param {bigint} chain_id
|
|
157
|
+
* @param {bigint | undefined} [block_number]
|
|
142
158
|
* @returns {Promise<void>}
|
|
143
159
|
*/
|
|
144
|
-
|
|
160
|
+
addScwSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array, chain_id: bigint, block_number?: bigint): Promise<void>;
|
|
145
161
|
/**
|
|
146
|
-
* @param {(Consent)[]} records
|
|
147
162
|
* @returns {Promise<void>}
|
|
148
163
|
*/
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* @param {ConsentEntityType} entity_type
|
|
152
|
-
* @param {string} entity
|
|
153
|
-
* @returns {Promise<ConsentState>}
|
|
154
|
-
*/
|
|
155
|
-
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
164
|
+
applySignatureRequests(): Promise<void>;
|
|
156
165
|
/**
|
|
157
166
|
*
|
|
158
167
|
* * Get the client's inbox state.
|
|
@@ -394,6 +403,10 @@ export class Conversations {
|
|
|
394
403
|
* @returns {Promise<void>}
|
|
395
404
|
*/
|
|
396
405
|
sync(): Promise<void>;
|
|
406
|
+
/**
|
|
407
|
+
* @returns {Promise<number>}
|
|
408
|
+
*/
|
|
409
|
+
syncAllConversations(): Promise<number>;
|
|
397
410
|
/**
|
|
398
411
|
* @param {ListConversationsOptions | undefined} [opts]
|
|
399
412
|
* @returns {Promise<Array<any>>}
|
|
@@ -463,11 +476,11 @@ export class GroupMetadata {
|
|
|
463
476
|
/**
|
|
464
477
|
* @returns {string}
|
|
465
478
|
*/
|
|
466
|
-
|
|
479
|
+
creatorInboxId(): string;
|
|
467
480
|
/**
|
|
468
481
|
* @returns {string}
|
|
469
482
|
*/
|
|
470
|
-
|
|
483
|
+
conversationType(): string;
|
|
471
484
|
}
|
|
472
485
|
export class GroupPermissions {
|
|
473
486
|
free(): void;
|
|
@@ -577,6 +590,30 @@ export class ListMessagesOptions {
|
|
|
577
590
|
sentAfterNs?: bigint;
|
|
578
591
|
sentBeforeNs?: bigint;
|
|
579
592
|
}
|
|
593
|
+
/**
|
|
594
|
+
* Specify options for the logger
|
|
595
|
+
*/
|
|
596
|
+
export class LogOptions {
|
|
597
|
+
free(): void;
|
|
598
|
+
/**
|
|
599
|
+
* @param {boolean} structured
|
|
600
|
+
* @param {boolean} performance
|
|
601
|
+
* @param {any | undefined} [level]
|
|
602
|
+
*/
|
|
603
|
+
constructor(structured: boolean, performance: boolean, level?: any);
|
|
604
|
+
/**
|
|
605
|
+
* filter for logs
|
|
606
|
+
*/
|
|
607
|
+
level?: any;
|
|
608
|
+
/**
|
|
609
|
+
* enable performance metrics for libxmtp in the `performance` tab
|
|
610
|
+
*/
|
|
611
|
+
performance: boolean;
|
|
612
|
+
/**
|
|
613
|
+
* enable structured JSON logging to stdout.Useful for third-party log viewers
|
|
614
|
+
*/
|
|
615
|
+
structured: boolean;
|
|
616
|
+
}
|
|
580
617
|
export class Message {
|
|
581
618
|
free(): void;
|
|
582
619
|
/**
|
|
@@ -628,7 +665,15 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
628
665
|
export interface InitOutput {
|
|
629
666
|
readonly memory: WebAssembly.Memory;
|
|
630
667
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
631
|
-
readonly
|
|
668
|
+
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
669
|
+
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
670
|
+
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
671
|
+
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
672
|
+
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
673
|
+
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
674
|
+
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
675
|
+
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
676
|
+
readonly createClient: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => number;
|
|
632
677
|
readonly client_accountAddress: (a: number) => Array;
|
|
633
678
|
readonly client_inboxId: (a: number) => Array;
|
|
634
679
|
readonly client_isRegistered: (a: number) => number;
|
|
@@ -639,6 +684,18 @@ export interface InitOutput {
|
|
|
639
684
|
readonly client_sendConsentSyncRequest: (a: number) => number;
|
|
640
685
|
readonly client_findInboxIdByAddress: (a: number, b: number, c: number) => number;
|
|
641
686
|
readonly client_conversations: (a: number) => number;
|
|
687
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
688
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
689
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
690
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
691
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
692
|
+
readonly __wbg_get_consent_entity: (a: number) => Array;
|
|
693
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
694
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
695
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => number;
|
|
696
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => number;
|
|
697
|
+
readonly conversation_consentState: (a: number) => Array;
|
|
698
|
+
readonly conversation_updateConsentState: (a: number, b: number) => Array;
|
|
642
699
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
643
700
|
readonly __wbg_get_listconversationsoptions_allowedStates: (a: number) => Array;
|
|
644
701
|
readonly __wbg_set_listconversationsoptions_allowedStates: (a: number, b: number, c: number) => void;
|
|
@@ -670,31 +727,73 @@ export interface InitOutput {
|
|
|
670
727
|
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => Array;
|
|
671
728
|
readonly conversations_findMessageById: (a: number, b: number, c: number) => Array;
|
|
672
729
|
readonly conversations_sync: (a: number) => number;
|
|
730
|
+
readonly conversations_syncAllConversations: (a: number) => number;
|
|
673
731
|
readonly conversations_list: (a: number, b: number) => number;
|
|
674
732
|
readonly conversations_listGroups: (a: number, b: number) => number;
|
|
675
733
|
readonly conversations_listDms: (a: number, b: number) => number;
|
|
734
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
735
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => Array;
|
|
736
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
737
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
738
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
739
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
740
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
741
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
742
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
743
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
744
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
745
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => number;
|
|
746
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: number) => void;
|
|
747
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => Array;
|
|
748
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
749
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => Array;
|
|
750
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number, c: number) => void;
|
|
751
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => number;
|
|
752
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: number) => void;
|
|
753
|
+
readonly encodedcontent_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
754
|
+
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
755
|
+
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
756
|
+
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
757
|
+
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
758
|
+
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
759
|
+
readonly listmessagesoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
760
|
+
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
761
|
+
readonly __wbg_get_message_id: (a: number) => Array;
|
|
762
|
+
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
763
|
+
readonly __wbg_get_message_sentAtNs: (a: number) => number;
|
|
764
|
+
readonly __wbg_set_message_sentAtNs: (a: number, b: number) => void;
|
|
765
|
+
readonly __wbg_get_message_convoId: (a: number) => Array;
|
|
766
|
+
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
767
|
+
readonly __wbg_get_message_senderInboxId: (a: number) => Array;
|
|
768
|
+
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
769
|
+
readonly __wbg_get_message_content: (a: number) => number;
|
|
770
|
+
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
771
|
+
readonly __wbg_get_message_kind: (a: number) => number;
|
|
772
|
+
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
773
|
+
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
774
|
+
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
775
|
+
readonly message_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
676
776
|
readonly client_createInboxSignatureText: (a: number) => number;
|
|
677
777
|
readonly client_addWalletSignatureText: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
678
778
|
readonly client_revokeWalletSignatureText: (a: number, b: number, c: number) => number;
|
|
679
779
|
readonly client_revokeInstallationsSignatureText: (a: number) => number;
|
|
680
780
|
readonly client_addSignature: (a: number, b: number, c: number) => number;
|
|
781
|
+
readonly client_addScwSignature: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
681
782
|
readonly client_applySignatureRequests: (a: number) => number;
|
|
682
|
-
readonly
|
|
683
|
-
readonly
|
|
684
|
-
readonly
|
|
685
|
-
readonly
|
|
686
|
-
readonly
|
|
687
|
-
readonly
|
|
688
|
-
readonly
|
|
689
|
-
readonly
|
|
690
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => number;
|
|
691
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => number;
|
|
692
|
-
readonly conversation_consentState: (a: number) => Array;
|
|
693
|
-
readonly conversation_updateConsentState: (a: number, b: number) => Array;
|
|
783
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
784
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => Array;
|
|
785
|
+
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => Array;
|
|
786
|
+
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => Array;
|
|
787
|
+
readonly __wbg_get_listmessagesoptions_limit: (a: number) => Array;
|
|
788
|
+
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: number) => void;
|
|
789
|
+
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: number) => void;
|
|
790
|
+
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: number) => void;
|
|
694
791
|
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
695
|
-
readonly
|
|
696
|
-
readonly
|
|
792
|
+
readonly groupmetadata_creatorInboxId: (a: number) => Array;
|
|
793
|
+
readonly groupmetadata_conversationType: (a: number) => Array;
|
|
697
794
|
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
795
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => Array;
|
|
796
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
698
797
|
readonly __wbg_get_groupmember_accountAddresses: (a: number) => Array;
|
|
699
798
|
readonly __wbg_set_groupmember_accountAddresses: (a: number, b: number, c: number) => void;
|
|
700
799
|
readonly __wbg_get_groupmember_installationIds: (a: number) => Array;
|
|
@@ -738,26 +837,6 @@ export interface InitOutput {
|
|
|
738
837
|
readonly conversation_addedByInboxId: (a: number) => Array;
|
|
739
838
|
readonly conversation_groupMetadata: (a: number) => Array;
|
|
740
839
|
readonly conversation_dmPeerInboxId: (a: number) => Array;
|
|
741
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
742
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => Array;
|
|
743
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
744
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
745
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
746
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
747
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
748
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
749
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
750
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
751
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
752
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => number;
|
|
753
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: number) => void;
|
|
754
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => Array;
|
|
755
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
756
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => Array;
|
|
757
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number, c: number) => void;
|
|
758
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => number;
|
|
759
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: number) => void;
|
|
760
|
-
readonly encodedcontent_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
761
840
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
762
841
|
readonly __wbg_get_installation_id: (a: number) => Array;
|
|
763
842
|
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
@@ -765,6 +844,8 @@ export interface InitOutput {
|
|
|
765
844
|
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: number) => void;
|
|
766
845
|
readonly installation_new: (a: number, b: number, c: number, d: number) => number;
|
|
767
846
|
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
847
|
+
readonly __wbg_get_inboxstate_recoveryAddress: (a: number) => Array;
|
|
848
|
+
readonly __wbg_set_inboxstate_recoveryAddress: (a: number, b: number, c: number) => void;
|
|
768
849
|
readonly __wbg_get_inboxstate_installations: (a: number) => Array;
|
|
769
850
|
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
770
851
|
readonly __wbg_get_inboxstate_accountAddresses: (a: number) => Array;
|
|
@@ -772,42 +853,8 @@ export interface InitOutput {
|
|
|
772
853
|
readonly inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
773
854
|
readonly client_inboxState: (a: number, b: number) => number;
|
|
774
855
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => number;
|
|
775
|
-
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
776
|
-
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => Array;
|
|
777
|
-
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: number) => void;
|
|
778
|
-
readonly __wbg_get_listmessagesoptions_limit: (a: number) => Array;
|
|
779
|
-
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: number) => void;
|
|
780
|
-
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
781
|
-
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
782
|
-
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
783
|
-
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
784
|
-
readonly listmessagesoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
785
|
-
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
786
|
-
readonly __wbg_get_message_id: (a: number) => Array;
|
|
787
|
-
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
788
|
-
readonly __wbg_get_message_sentAtNs: (a: number) => number;
|
|
789
|
-
readonly __wbg_set_message_sentAtNs: (a: number, b: number) => void;
|
|
790
|
-
readonly __wbg_get_message_convoId: (a: number) => Array;
|
|
791
|
-
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
792
|
-
readonly __wbg_get_message_senderInboxId: (a: number) => Array;
|
|
793
|
-
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
794
|
-
readonly __wbg_get_message_content: (a: number) => number;
|
|
795
|
-
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
796
|
-
readonly __wbg_get_message_kind: (a: number) => number;
|
|
797
|
-
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
798
|
-
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
799
|
-
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
800
|
-
readonly message_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
801
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
802
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
803
856
|
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
804
|
-
readonly __wbg_set_inboxstate_recoveryAddress: (a: number, b: number, c: number) => void;
|
|
805
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => Array;
|
|
806
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => Array;
|
|
807
857
|
readonly __wbg_get_inboxstate_inboxId: (a: number) => Array;
|
|
808
|
-
readonly __wbg_get_inboxstate_recoveryAddress: (a: number) => Array;
|
|
809
|
-
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => Array;
|
|
810
|
-
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: number) => void;
|
|
811
858
|
readonly getInboxIdForAddress: (a: number, b: number, c: number, d: number) => number;
|
|
812
859
|
readonly generateInboxId: (a: number, b: number) => Array;
|
|
813
860
|
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
@@ -850,13 +897,13 @@ export interface InitOutput {
|
|
|
850
897
|
readonly __wbindgen_export_2: WebAssembly.Table;
|
|
851
898
|
readonly __wbindgen_export_3: WebAssembly.Table;
|
|
852
899
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha602f13c6f6f57bd: (a: number, b: number) => void;
|
|
853
|
-
readonly
|
|
900
|
+
readonly closure2416_externref_shim: (a: number, b: number, c: number) => void;
|
|
854
901
|
readonly __externref_table_alloc: () => number;
|
|
855
902
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
856
|
-
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
857
903
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
904
|
+
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
858
905
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
859
|
-
readonly
|
|
906
|
+
readonly closure3417_externref_shim: (a: number, b: number, c: number, d: number) => void;
|
|
860
907
|
readonly __wbindgen_start: () => void;
|
|
861
908
|
}
|
|
862
909
|
|