@xmtp/wasm-bindings 1.1.0 → 1.1.2
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 +43 -43
- package/dist/bindings_wasm.js +33 -33
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +41 -41
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -131,6 +131,8 @@ export class Client {
|
|
|
131
131
|
applySignatureRequests(): Promise<void>;
|
|
132
132
|
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
133
133
|
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
134
|
+
setConsentStates(records: Consent[]): Promise<void>;
|
|
135
|
+
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
134
136
|
/**
|
|
135
137
|
* Output booleans should be zipped with the index of input identifiers
|
|
136
138
|
*/
|
|
@@ -151,8 +153,6 @@ export class Client {
|
|
|
151
153
|
*/
|
|
152
154
|
inboxState(refresh_from_network: boolean): Promise<InboxState>;
|
|
153
155
|
getLatestInboxState(inbox_id: string): Promise<InboxState>;
|
|
154
|
-
setConsentStates(records: Consent[]): Promise<void>;
|
|
155
|
-
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
156
156
|
readonly accountIdentifier: Identifier;
|
|
157
157
|
readonly inboxId: string;
|
|
158
158
|
readonly isRegistered: boolean;
|
|
@@ -648,6 +648,44 @@ export interface InitOutput {
|
|
|
648
648
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
649
649
|
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
650
650
|
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
651
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
652
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
653
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
654
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
655
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
656
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
657
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
658
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
659
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
660
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
661
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
662
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
663
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
664
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
665
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
666
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
667
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
668
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
669
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
670
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
671
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
672
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
673
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
674
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
675
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
676
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
677
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
678
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
679
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
680
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
681
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
682
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
683
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
684
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
685
|
+
readonly streamcloser_end: (a: number) => void;
|
|
686
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
687
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
688
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
651
689
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
652
690
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
653
691
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -690,39 +728,6 @@ export interface InitOutput {
|
|
|
690
728
|
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
691
729
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
692
730
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
693
|
-
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
694
|
-
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
695
|
-
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
696
|
-
readonly __wbg_get_consent_state: (a: number) => number;
|
|
697
|
-
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
698
|
-
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
699
|
-
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
700
|
-
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
701
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
702
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
703
|
-
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
704
|
-
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
705
|
-
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
706
|
-
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
707
|
-
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
708
|
-
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
709
|
-
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
710
|
-
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
711
|
-
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
712
|
-
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
713
|
-
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
714
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
715
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
716
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
717
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
718
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
719
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
720
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
721
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
722
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
723
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
724
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
725
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
726
731
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
727
732
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
728
733
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -861,11 +866,6 @@ export interface InitOutput {
|
|
|
861
866
|
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
862
867
|
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
863
868
|
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
864
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
865
|
-
readonly streamcloser_end: (a: number) => void;
|
|
866
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
867
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
868
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
869
869
|
readonly rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
870
870
|
readonly rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
871
871
|
readonly rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
@@ -896,9 +896,9 @@ export interface InitOutput {
|
|
|
896
896
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
897
897
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
898
898
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd11fcf7148e8db56: (a: number, b: number) => void;
|
|
899
|
-
readonly
|
|
900
|
-
readonly
|
|
901
|
-
readonly
|
|
899
|
+
readonly closure3804_externref_shim: (a: number, b: number, c: any) => void;
|
|
900
|
+
readonly closure4799_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
901
|
+
readonly closure4798_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
902
902
|
readonly __wbindgen_start: () => void;
|
|
903
903
|
}
|
|
904
904
|
|
package/dist/bindings_wasm.js
CHANGED
|
@@ -375,16 +375,16 @@ function __wbg_adapter_48(arg0, arg1) {
|
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
function __wbg_adapter_51(arg0, arg1, arg2) {
|
|
378
|
-
wasm.
|
|
378
|
+
wasm.closure3804_externref_shim(arg0, arg1, arg2);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
381
|
function __wbg_adapter_599(arg0, arg1, arg2, arg3, arg4) {
|
|
382
|
-
const ret = wasm.
|
|
382
|
+
const ret = wasm.closure4799_externref_shim(arg0, arg1, arg2, arg3, arg4);
|
|
383
383
|
return ret !== 0;
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
function __wbg_adapter_700(arg0, arg1, arg2, arg3) {
|
|
387
|
-
wasm.
|
|
387
|
+
wasm.closure4798_externref_shim(arg0, arg1, arg2, arg3);
|
|
388
388
|
}
|
|
389
389
|
|
|
390
390
|
/**
|
|
@@ -673,6 +673,27 @@ export class Client {
|
|
|
673
673
|
throw takeFromExternrefTable0(ret[0]);
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
|
+
/**
|
|
677
|
+
* @param {Consent[]} records
|
|
678
|
+
* @returns {Promise<void>}
|
|
679
|
+
*/
|
|
680
|
+
setConsentStates(records) {
|
|
681
|
+
const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
|
|
682
|
+
const len0 = WASM_VECTOR_LEN;
|
|
683
|
+
const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
|
|
684
|
+
return ret;
|
|
685
|
+
}
|
|
686
|
+
/**
|
|
687
|
+
* @param {ConsentEntityType} entity_type
|
|
688
|
+
* @param {string} entity
|
|
689
|
+
* @returns {Promise<ConsentState>}
|
|
690
|
+
*/
|
|
691
|
+
getConsentState(entity_type, entity) {
|
|
692
|
+
const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
693
|
+
const len0 = WASM_VECTOR_LEN;
|
|
694
|
+
const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
|
|
695
|
+
return ret;
|
|
696
|
+
}
|
|
676
697
|
/**
|
|
677
698
|
* @returns {Identifier}
|
|
678
699
|
*/
|
|
@@ -806,27 +827,6 @@ export class Client {
|
|
|
806
827
|
const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
|
|
807
828
|
return ret;
|
|
808
829
|
}
|
|
809
|
-
/**
|
|
810
|
-
* @param {Consent[]} records
|
|
811
|
-
* @returns {Promise<void>}
|
|
812
|
-
*/
|
|
813
|
-
setConsentStates(records) {
|
|
814
|
-
const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
|
|
815
|
-
const len0 = WASM_VECTOR_LEN;
|
|
816
|
-
const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
|
|
817
|
-
return ret;
|
|
818
|
-
}
|
|
819
|
-
/**
|
|
820
|
-
* @param {ConsentEntityType} entity_type
|
|
821
|
-
* @param {string} entity
|
|
822
|
-
* @returns {Promise<ConsentState>}
|
|
823
|
-
*/
|
|
824
|
-
getConsentState(entity_type, entity) {
|
|
825
|
-
const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
826
|
-
const len0 = WASM_VECTOR_LEN;
|
|
827
|
-
const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
|
|
828
|
-
return ret;
|
|
829
|
-
}
|
|
830
830
|
}
|
|
831
831
|
|
|
832
832
|
const ConsentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -4834,19 +4834,19 @@ function __wbg_get_imports() {
|
|
|
4834
4834
|
const ret = arg0.now();
|
|
4835
4835
|
return ret;
|
|
4836
4836
|
};
|
|
4837
|
-
imports.wbg.
|
|
4837
|
+
imports.wbg.__wbg_onconsentupdate_6ea8f120fae63de9 = function(arg0, arg1) {
|
|
4838
4838
|
arg0.on_consent_update(arg1);
|
|
4839
4839
|
};
|
|
4840
|
-
imports.wbg.
|
|
4840
|
+
imports.wbg.__wbg_onconversation_1210cff8501eb6a5 = function(arg0, arg1) {
|
|
4841
4841
|
arg0.on_conversation(Conversation.__wrap(arg1));
|
|
4842
4842
|
};
|
|
4843
|
-
imports.wbg.
|
|
4843
|
+
imports.wbg.__wbg_onerror_4016be5705b5df18 = function(arg0, arg1) {
|
|
4844
4844
|
arg0.on_error(arg1);
|
|
4845
4845
|
};
|
|
4846
|
-
imports.wbg.
|
|
4846
|
+
imports.wbg.__wbg_onmessage_3e2b06466591ec19 = function(arg0, arg1) {
|
|
4847
4847
|
arg0.on_message(Message.__wrap(arg1));
|
|
4848
4848
|
};
|
|
4849
|
-
imports.wbg.
|
|
4849
|
+
imports.wbg.__wbg_onuserpreferenceupdate_895874f8332897e6 = function(arg0, arg1, arg2) {
|
|
4850
4850
|
var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
|
|
4851
4851
|
wasm.__wbindgen_free(arg1, arg2 * 4, 4);
|
|
4852
4852
|
arg0.on_user_preference_update(v0);
|
|
@@ -5130,12 +5130,12 @@ function __wbg_get_imports() {
|
|
|
5130
5130
|
const ret = false;
|
|
5131
5131
|
return ret;
|
|
5132
5132
|
};
|
|
5133
|
-
imports.wbg.
|
|
5134
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5133
|
+
imports.wbg.__wbindgen_closure_wrapper16363 = function(arg0, arg1, arg2) {
|
|
5134
|
+
const ret = makeMutClosure(arg0, arg1, 3734, __wbg_adapter_48);
|
|
5135
5135
|
return ret;
|
|
5136
5136
|
};
|
|
5137
|
-
imports.wbg.
|
|
5138
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5137
|
+
imports.wbg.__wbindgen_closure_wrapper16642 = function(arg0, arg1, arg2) {
|
|
5138
|
+
const ret = makeMutClosure(arg0, arg1, 3805, __wbg_adapter_51);
|
|
5139
5139
|
return ret;
|
|
5140
5140
|
};
|
|
5141
5141
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -108,6 +108,44 @@ export const client_signWithInstallationKey: (a: number, b: number, c: number) =
|
|
|
108
108
|
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
109
109
|
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
110
110
|
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
111
|
+
export const __wbg_consent_free: (a: number, b: number) => void;
|
|
112
|
+
export const __wbg_get_consent_entityType: (a: number) => number;
|
|
113
|
+
export const __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
114
|
+
export const __wbg_get_consent_state: (a: number) => number;
|
|
115
|
+
export const __wbg_set_consent_state: (a: number, b: number) => void;
|
|
116
|
+
export const __wbg_get_consent_entity: (a: number) => [number, number];
|
|
117
|
+
export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
118
|
+
export const consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
119
|
+
export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
120
|
+
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
121
|
+
export const conversation_consentState: (a: number) => [number, number, number];
|
|
122
|
+
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
123
|
+
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
124
|
+
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
125
|
+
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
126
|
+
export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
127
|
+
export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
128
|
+
export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
129
|
+
export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
130
|
+
export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
131
|
+
export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
132
|
+
export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
133
|
+
export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
134
|
+
export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
135
|
+
export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
136
|
+
export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
137
|
+
export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
138
|
+
export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
139
|
+
export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
140
|
+
export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
141
|
+
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
142
|
+
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
143
|
+
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
144
|
+
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
145
|
+
export const streamcloser_end: (a: number) => void;
|
|
146
|
+
export const streamcloser_endAndWait: (a: number) => any;
|
|
147
|
+
export const streamcloser_waitForReady: (a: number) => any;
|
|
148
|
+
export const streamcloser_isClosed: (a: number) => number;
|
|
111
149
|
export const __wbg_client_free: (a: number, b: number) => void;
|
|
112
150
|
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
113
151
|
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -150,39 +188,6 @@ export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c:
|
|
|
150
188
|
export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
151
189
|
export const client_inboxState: (a: number, b: number) => any;
|
|
152
190
|
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
153
|
-
export const __wbg_consent_free: (a: number, b: number) => void;
|
|
154
|
-
export const __wbg_get_consent_entityType: (a: number) => number;
|
|
155
|
-
export const __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
156
|
-
export const __wbg_get_consent_state: (a: number) => number;
|
|
157
|
-
export const __wbg_set_consent_state: (a: number, b: number) => void;
|
|
158
|
-
export const __wbg_get_consent_entity: (a: number) => [number, number];
|
|
159
|
-
export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
160
|
-
export const consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
161
|
-
export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
162
|
-
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
163
|
-
export const conversation_consentState: (a: number) => [number, number, number];
|
|
164
|
-
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
165
|
-
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
166
|
-
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
167
|
-
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
168
|
-
export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
169
|
-
export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
170
|
-
export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
171
|
-
export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
172
|
-
export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
173
|
-
export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
174
|
-
export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
175
|
-
export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
176
|
-
export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
177
|
-
export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
178
|
-
export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
179
|
-
export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
180
|
-
export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
181
|
-
export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
182
|
-
export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
183
|
-
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
184
|
-
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
185
|
-
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
186
191
|
export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
187
192
|
export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
188
193
|
export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -321,11 +326,6 @@ export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: numbe
|
|
|
321
326
|
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
322
327
|
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
323
328
|
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
324
|
-
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
325
|
-
export const streamcloser_end: (a: number) => void;
|
|
326
|
-
export const streamcloser_endAndWait: (a: number) => any;
|
|
327
|
-
export const streamcloser_waitForReady: (a: number) => any;
|
|
328
|
-
export const streamcloser_isClosed: (a: number) => number;
|
|
329
329
|
export const rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
330
330
|
export const rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
331
331
|
export const rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
@@ -356,7 +356,7 @@ export const __externref_drop_slice: (a: number, b: number) => void;
|
|
|
356
356
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
357
357
|
export const __externref_table_dealloc: (a: number) => void;
|
|
358
358
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd11fcf7148e8db56: (a: number, b: number) => void;
|
|
359
|
-
export const
|
|
360
|
-
export const
|
|
361
|
-
export const
|
|
359
|
+
export const closure3804_externref_shim: (a: number, b: number, c: any) => void;
|
|
360
|
+
export const closure4799_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
361
|
+
export const closure4798_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
362
362
|
export const __wbindgen_start: () => void;
|