@xmtp/wasm-bindings 0.0.18 → 0.0.19
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 +47 -47
- package/dist/bindings_wasm.js +61 -61
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +44 -44
- 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
3
|
export function createClient(host: string, inbox_id: string, account_address: string, db_path?: string | null, encryption_key?: Uint8Array | null, history_sync_url?: string | null, log_options?: LogOptions | null): Promise<Client>;
|
|
4
|
-
export function getInboxIdForAddress(host: string, account_address: string): Promise<string | undefined>;
|
|
5
|
-
export function generateInboxId(account_address: string): string;
|
|
6
|
-
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
7
4
|
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
8
5
|
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
9
6
|
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
10
7
|
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
8
|
+
export function getInboxIdForAddress(host: string, account_address: string): Promise<string | undefined>;
|
|
9
|
+
export function generateInboxId(account_address: string): string;
|
|
10
|
+
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
11
11
|
export enum ConsentEntityType {
|
|
12
12
|
GroupId = 0,
|
|
13
13
|
InboxId = 1,
|
|
@@ -660,45 +660,6 @@ export interface InitOutput {
|
|
|
660
660
|
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
661
661
|
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
662
662
|
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
663
|
-
readonly getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
|
|
664
|
-
readonly generateInboxId: (a: number, b: number) => [number, number, number, number];
|
|
665
|
-
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
666
|
-
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
667
|
-
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
668
|
-
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
669
|
-
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
670
|
-
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
671
|
-
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
672
|
-
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
673
|
-
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
674
|
-
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
675
|
-
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
676
|
-
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
677
|
-
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
678
|
-
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
679
|
-
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
680
|
-
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
681
|
-
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
682
|
-
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
683
|
-
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
684
|
-
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
685
|
-
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
686
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
687
|
-
readonly client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
688
|
-
readonly client_addWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
689
|
-
readonly client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
690
|
-
readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
691
|
-
readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
692
|
-
readonly client_addSignature: (a: number, b: number, c: any) => any;
|
|
693
|
-
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
694
|
-
readonly client_applySignatureRequests: (a: number) => any;
|
|
695
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
696
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
697
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
698
|
-
readonly streamcloser_end: (a: number) => void;
|
|
699
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
700
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
701
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
702
663
|
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
703
664
|
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
704
665
|
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
@@ -726,6 +687,8 @@ export interface InitOutput {
|
|
|
726
687
|
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
727
688
|
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
728
689
|
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
690
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
691
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
729
692
|
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
730
693
|
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
731
694
|
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
@@ -790,8 +753,45 @@ export interface InitOutput {
|
|
|
790
753
|
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
791
754
|
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
792
755
|
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
793
|
-
readonly
|
|
794
|
-
readonly
|
|
756
|
+
readonly getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
|
|
757
|
+
readonly generateInboxId: (a: number, b: number) => [number, number, number, number];
|
|
758
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
759
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
760
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
761
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
762
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
763
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
764
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
765
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
766
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
767
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
768
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
769
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
770
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
771
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
772
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
773
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
774
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
775
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
776
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
777
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
778
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
779
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
780
|
+
readonly client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
781
|
+
readonly client_addWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
782
|
+
readonly client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
783
|
+
readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
784
|
+
readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
785
|
+
readonly client_addSignature: (a: number, b: number, c: any) => any;
|
|
786
|
+
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
787
|
+
readonly client_applySignatureRequests: (a: number) => any;
|
|
788
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
789
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
790
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
791
|
+
readonly streamcloser_end: (a: number) => void;
|
|
792
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
793
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
794
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
795
795
|
readonly rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
796
796
|
readonly rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
797
797
|
readonly rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
@@ -822,9 +822,9 @@ export interface InitOutput {
|
|
|
822
822
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
823
823
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
824
824
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff1927556d6713ec: (a: number, b: number) => void;
|
|
825
|
-
readonly
|
|
826
|
-
readonly
|
|
827
|
-
readonly
|
|
825
|
+
readonly closure3671_externref_shim: (a: number, b: number, c: any) => void;
|
|
826
|
+
readonly closure4678_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
827
|
+
readonly closure4677_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
828
828
|
readonly __wbindgen_start: () => void;
|
|
829
829
|
}
|
|
830
830
|
|
package/dist/bindings_wasm.js
CHANGED
|
@@ -272,6 +272,58 @@ export function createClient(host, inbox_id, account_address, db_path, encryptio
|
|
|
272
272
|
return ret;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
+
/**
|
|
276
|
+
* @param {MultiRemoteAttachment} multiRemoteAttachment
|
|
277
|
+
* @returns {Uint8Array}
|
|
278
|
+
*/
|
|
279
|
+
export function encodeMultiRemoteAttachment(multiRemoteAttachment) {
|
|
280
|
+
_assertClass(multiRemoteAttachment, MultiRemoteAttachment);
|
|
281
|
+
var ptr0 = multiRemoteAttachment.__destroy_into_raw();
|
|
282
|
+
const ret = wasm.encodeMultiRemoteAttachment(ptr0);
|
|
283
|
+
if (ret[2]) {
|
|
284
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
285
|
+
}
|
|
286
|
+
return takeFromExternrefTable0(ret[0]);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* @param {Uint8Array} bytes
|
|
291
|
+
* @returns {MultiRemoteAttachment}
|
|
292
|
+
*/
|
|
293
|
+
export function decodeMultiRemoteAttachment(bytes) {
|
|
294
|
+
const ret = wasm.decodeMultiRemoteAttachment(bytes);
|
|
295
|
+
if (ret[2]) {
|
|
296
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
297
|
+
}
|
|
298
|
+
return MultiRemoteAttachment.__wrap(ret[0]);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* @param {Reaction} reaction
|
|
303
|
+
* @returns {Uint8Array}
|
|
304
|
+
*/
|
|
305
|
+
export function encodeReaction(reaction) {
|
|
306
|
+
_assertClass(reaction, Reaction);
|
|
307
|
+
var ptr0 = reaction.__destroy_into_raw();
|
|
308
|
+
const ret = wasm.encodeReaction(ptr0);
|
|
309
|
+
if (ret[2]) {
|
|
310
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
311
|
+
}
|
|
312
|
+
return takeFromExternrefTable0(ret[0]);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* @param {Uint8Array} bytes
|
|
317
|
+
* @returns {Reaction}
|
|
318
|
+
*/
|
|
319
|
+
export function decodeReaction(bytes) {
|
|
320
|
+
const ret = wasm.decodeReaction(bytes);
|
|
321
|
+
if (ret[2]) {
|
|
322
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
323
|
+
}
|
|
324
|
+
return Reaction.__wrap(ret[0]);
|
|
325
|
+
}
|
|
326
|
+
|
|
275
327
|
/**
|
|
276
328
|
* @param {string} host
|
|
277
329
|
* @param {string} account_address
|
|
@@ -325,73 +377,21 @@ export function verifySignedWithPublicKey(signature_text, signature_bytes, publi
|
|
|
325
377
|
}
|
|
326
378
|
}
|
|
327
379
|
|
|
328
|
-
/**
|
|
329
|
-
* @param {MultiRemoteAttachment} multiRemoteAttachment
|
|
330
|
-
* @returns {Uint8Array}
|
|
331
|
-
*/
|
|
332
|
-
export function encodeMultiRemoteAttachment(multiRemoteAttachment) {
|
|
333
|
-
_assertClass(multiRemoteAttachment, MultiRemoteAttachment);
|
|
334
|
-
var ptr0 = multiRemoteAttachment.__destroy_into_raw();
|
|
335
|
-
const ret = wasm.encodeMultiRemoteAttachment(ptr0);
|
|
336
|
-
if (ret[2]) {
|
|
337
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
338
|
-
}
|
|
339
|
-
return takeFromExternrefTable0(ret[0]);
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
-
* @param {Uint8Array} bytes
|
|
344
|
-
* @returns {MultiRemoteAttachment}
|
|
345
|
-
*/
|
|
346
|
-
export function decodeMultiRemoteAttachment(bytes) {
|
|
347
|
-
const ret = wasm.decodeMultiRemoteAttachment(bytes);
|
|
348
|
-
if (ret[2]) {
|
|
349
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
350
|
-
}
|
|
351
|
-
return MultiRemoteAttachment.__wrap(ret[0]);
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* @param {Reaction} reaction
|
|
356
|
-
* @returns {Uint8Array}
|
|
357
|
-
*/
|
|
358
|
-
export function encodeReaction(reaction) {
|
|
359
|
-
_assertClass(reaction, Reaction);
|
|
360
|
-
var ptr0 = reaction.__destroy_into_raw();
|
|
361
|
-
const ret = wasm.encodeReaction(ptr0);
|
|
362
|
-
if (ret[2]) {
|
|
363
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
364
|
-
}
|
|
365
|
-
return takeFromExternrefTable0(ret[0]);
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
/**
|
|
369
|
-
* @param {Uint8Array} bytes
|
|
370
|
-
* @returns {Reaction}
|
|
371
|
-
*/
|
|
372
|
-
export function decodeReaction(bytes) {
|
|
373
|
-
const ret = wasm.decodeReaction(bytes);
|
|
374
|
-
if (ret[2]) {
|
|
375
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
376
|
-
}
|
|
377
|
-
return Reaction.__wrap(ret[0]);
|
|
378
|
-
}
|
|
379
|
-
|
|
380
380
|
function __wbg_adapter_46(arg0, arg1) {
|
|
381
381
|
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff1927556d6713ec(arg0, arg1);
|
|
382
382
|
}
|
|
383
383
|
|
|
384
384
|
function __wbg_adapter_49(arg0, arg1, arg2) {
|
|
385
|
-
wasm.
|
|
385
|
+
wasm.closure3671_externref_shim(arg0, arg1, arg2);
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
function __wbg_adapter_579(arg0, arg1, arg2, arg3, arg4) {
|
|
389
|
-
const ret = wasm.
|
|
389
|
+
const ret = wasm.closure4678_externref_shim(arg0, arg1, arg2, arg3, arg4);
|
|
390
390
|
return ret !== 0;
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
function __wbg_adapter_680(arg0, arg1, arg2, arg3) {
|
|
394
|
-
wasm.
|
|
394
|
+
wasm.closure4677_externref_shim(arg0, arg1, arg2, arg3);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
/**
|
|
@@ -3730,14 +3730,14 @@ export class Reaction {
|
|
|
3730
3730
|
* @returns {ReactionAction}
|
|
3731
3731
|
*/
|
|
3732
3732
|
get action() {
|
|
3733
|
-
const ret = wasm.
|
|
3733
|
+
const ret = wasm.__wbg_get_reaction_action(this.__wbg_ptr);
|
|
3734
3734
|
return ret;
|
|
3735
3735
|
}
|
|
3736
3736
|
/**
|
|
3737
3737
|
* @param {ReactionAction} arg0
|
|
3738
3738
|
*/
|
|
3739
3739
|
set action(arg0) {
|
|
3740
|
-
wasm.
|
|
3740
|
+
wasm.__wbg_set_reaction_action(this.__wbg_ptr, arg0);
|
|
3741
3741
|
}
|
|
3742
3742
|
/**
|
|
3743
3743
|
* @returns {string}
|
|
@@ -4966,12 +4966,12 @@ function __wbg_get_imports() {
|
|
|
4966
4966
|
const ret = false;
|
|
4967
4967
|
return ret;
|
|
4968
4968
|
};
|
|
4969
|
-
imports.wbg.
|
|
4970
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4969
|
+
imports.wbg.__wbindgen_closure_wrapper15739 = function(arg0, arg1, arg2) {
|
|
4970
|
+
const ret = makeMutClosure(arg0, arg1, 3601, __wbg_adapter_46);
|
|
4971
4971
|
return ret;
|
|
4972
4972
|
};
|
|
4973
|
-
imports.wbg.
|
|
4974
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4973
|
+
imports.wbg.__wbindgen_closure_wrapper16047 = function(arg0, arg1, arg2) {
|
|
4974
|
+
const ret = makeMutClosure(arg0, arg1, 3672, __wbg_adapter_49);
|
|
4975
4975
|
return ret;
|
|
4976
4976
|
};
|
|
4977
4977
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -178,45 +178,6 @@ export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
|
178
178
|
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
179
179
|
export const conversation_consentState: (a: number) => [number, number, number];
|
|
180
180
|
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
181
|
-
export const getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
|
|
182
|
-
export const generateInboxId: (a: number, b: number) => [number, number, number, number];
|
|
183
|
-
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
184
|
-
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
185
|
-
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
186
|
-
export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
187
|
-
export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
188
|
-
export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
189
|
-
export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
190
|
-
export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
191
|
-
export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
192
|
-
export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
193
|
-
export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
194
|
-
export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
195
|
-
export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
196
|
-
export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
197
|
-
export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
198
|
-
export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
199
|
-
export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
200
|
-
export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
201
|
-
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
202
|
-
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
203
|
-
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
204
|
-
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
205
|
-
export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
206
|
-
export const client_addWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
207
|
-
export const client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
208
|
-
export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
209
|
-
export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
210
|
-
export const client_addSignature: (a: number, b: number, c: any) => any;
|
|
211
|
-
export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
212
|
-
export const client_applySignatureRequests: (a: number) => any;
|
|
213
|
-
export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
214
|
-
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
215
|
-
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
216
|
-
export const streamcloser_end: (a: number) => void;
|
|
217
|
-
export const streamcloser_endAndWait: (a: number) => any;
|
|
218
|
-
export const streamcloser_waitForReady: (a: number) => any;
|
|
219
|
-
export const streamcloser_isClosed: (a: number) => number;
|
|
220
181
|
export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
221
182
|
export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
222
183
|
export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
@@ -244,6 +205,8 @@ export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
|
244
205
|
export const __wbg_reaction_free: (a: number, b: number) => void;
|
|
245
206
|
export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
246
207
|
export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
208
|
+
export const __wbg_get_reaction_action: (a: number) => number;
|
|
209
|
+
export const __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
247
210
|
export const __wbg_get_reaction_content: (a: number) => [number, number];
|
|
248
211
|
export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
249
212
|
export const __wbg_get_reaction_schema: (a: number) => number;
|
|
@@ -308,8 +271,45 @@ export const conversation_isMessageDisappearingEnabled: (a: number) => [number,
|
|
|
308
271
|
export const conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
309
272
|
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
310
273
|
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
311
|
-
export const
|
|
312
|
-
export const
|
|
274
|
+
export const getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
|
|
275
|
+
export const generateInboxId: (a: number, b: number) => [number, number, number, number];
|
|
276
|
+
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
277
|
+
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
278
|
+
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
279
|
+
export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
280
|
+
export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
281
|
+
export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
282
|
+
export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
283
|
+
export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
284
|
+
export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
285
|
+
export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
286
|
+
export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
287
|
+
export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
288
|
+
export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
289
|
+
export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
290
|
+
export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
291
|
+
export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
292
|
+
export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
293
|
+
export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
294
|
+
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
295
|
+
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
296
|
+
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
297
|
+
export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
298
|
+
export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
299
|
+
export const client_addWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
300
|
+
export const client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
301
|
+
export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
302
|
+
export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
303
|
+
export const client_addSignature: (a: number, b: number, c: any) => any;
|
|
304
|
+
export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
305
|
+
export const client_applySignatureRequests: (a: number) => any;
|
|
306
|
+
export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
307
|
+
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
308
|
+
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
309
|
+
export const streamcloser_end: (a: number) => void;
|
|
310
|
+
export const streamcloser_endAndWait: (a: number) => any;
|
|
311
|
+
export const streamcloser_waitForReady: (a: number) => any;
|
|
312
|
+
export const streamcloser_isClosed: (a: number) => number;
|
|
313
313
|
export const rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
314
314
|
export const rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
315
315
|
export const rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
@@ -340,7 +340,7 @@ export const __externref_drop_slice: (a: number, b: number) => void;
|
|
|
340
340
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
341
341
|
export const __externref_table_dealloc: (a: number) => void;
|
|
342
342
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff1927556d6713ec: (a: number, b: number) => void;
|
|
343
|
-
export const
|
|
344
|
-
export const
|
|
345
|
-
export const
|
|
343
|
+
export const closure3671_externref_shim: (a: number, b: number, c: any) => void;
|
|
344
|
+
export const closure4678_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
345
|
+
export const closure4677_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
346
346
|
export const __wbindgen_start: () => void;
|