@secondts/bark-react-native 0.11.3 → 0.12.1
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/README.md +1 -1
- package/cpp/generated/bark.cpp +119 -393
- package/cpp/generated/bark.hpp +6 -12
- package/lib/commonjs/generated/bark-ffi.js.map +1 -1
- package/lib/commonjs/generated/bark.js +69 -135
- package/lib/commonjs/generated/bark.js.map +1 -1
- package/lib/module/generated/bark-ffi.js.map +1 -1
- package/lib/module/generated/bark.js +69 -135
- package/lib/module/generated/bark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts +22 -30
- package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark.d.ts +61 -79
- package/lib/typescript/commonjs/src/generated/bark.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark-ffi.d.ts +22 -30
- package/lib/typescript/module/src/generated/bark-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark.d.ts +61 -79
- package/lib/typescript/module/src/generated/bark.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/generated/bark-ffi.ts +26 -57
- package/src/generated/bark.ts +136 -316
|
@@ -74,21 +74,16 @@ interface NativeModuleInterface {
|
|
|
74
74
|
psbtBase64: Uint8Array,
|
|
75
75
|
uniffi_out_err: UniffiRustCallStatus
|
|
76
76
|
): Uint8Array;
|
|
77
|
-
|
|
77
|
+
ubrn_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_is_mine(
|
|
78
78
|
ptr: bigint,
|
|
79
|
-
|
|
79
|
+
scriptPubkeyHex: Uint8Array,
|
|
80
80
|
uniffi_out_err: UniffiRustCallStatus
|
|
81
|
-
):
|
|
82
|
-
|
|
83
|
-
ptr: bigint,
|
|
84
|
-
txid: Uint8Array,
|
|
85
|
-
uniffi_out_err: UniffiRustCallStatus
|
|
86
|
-
): Uint8Array;
|
|
87
|
-
ubrn_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_get_spending_tx(
|
|
81
|
+
): number;
|
|
82
|
+
ubrn_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_register_tx(
|
|
88
83
|
ptr: bigint,
|
|
89
|
-
|
|
84
|
+
txHex: Uint8Array,
|
|
90
85
|
uniffi_out_err: UniffiRustCallStatus
|
|
91
|
-
):
|
|
86
|
+
): void;
|
|
92
87
|
ubrn_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_make_signed_p2a_cpfp(
|
|
93
88
|
ptr: bigint,
|
|
94
89
|
params: Uint8Array,
|
|
@@ -176,19 +171,16 @@ interface NativeModuleInterface {
|
|
|
176
171
|
paymentHash: Uint8Array
|
|
177
172
|
): bigint;
|
|
178
173
|
ubrn_uniffi_bark_ffi_fn_method_wallet_balance(ptr: bigint): bigint;
|
|
179
|
-
ubrn_uniffi_bark_ffi_fn_method_wallet_board_all(
|
|
180
|
-
ptr: bigint,
|
|
181
|
-
onchainWallet: bigint
|
|
182
|
-
): bigint;
|
|
174
|
+
ubrn_uniffi_bark_ffi_fn_method_wallet_board_all(ptr: bigint): bigint;
|
|
183
175
|
ubrn_uniffi_bark_ffi_fn_method_wallet_board_amount(
|
|
184
176
|
ptr: bigint,
|
|
185
|
-
onchainWallet: bigint,
|
|
186
177
|
amountSats: bigint
|
|
187
178
|
): bigint;
|
|
188
179
|
ubrn_uniffi_bark_ffi_fn_method_wallet_bolt11_invoice(
|
|
189
180
|
ptr: bigint,
|
|
190
181
|
amountSats: bigint,
|
|
191
|
-
description: Uint8Array
|
|
182
|
+
description: Uint8Array,
|
|
183
|
+
token: Uint8Array
|
|
192
184
|
): bigint;
|
|
193
185
|
ubrn_uniffi_bark_ffi_fn_method_wallet_broadcast_tx(
|
|
194
186
|
ptr: bigint,
|
|
@@ -297,7 +289,7 @@ interface NativeModuleInterface {
|
|
|
297
289
|
ptr: bigint,
|
|
298
290
|
paymentHash: Uint8Array
|
|
299
291
|
): bigint;
|
|
300
|
-
|
|
292
|
+
ubrn_uniffi_bark_ffi_fn_method_wallet_lightning_receive_state(
|
|
301
293
|
ptr: bigint,
|
|
302
294
|
paymentHash: Uint8Array
|
|
303
295
|
): bigint;
|
|
@@ -323,14 +315,6 @@ interface NativeModuleInterface {
|
|
|
323
315
|
ubrn_uniffi_bark_ffi_fn_method_wallet_maintenance_refresh(
|
|
324
316
|
ptr: bigint
|
|
325
317
|
): bigint;
|
|
326
|
-
ubrn_uniffi_bark_ffi_fn_method_wallet_maintenance_with_onchain(
|
|
327
|
-
ptr: bigint,
|
|
328
|
-
onchainWallet: bigint
|
|
329
|
-
): bigint;
|
|
330
|
-
ubrn_uniffi_bark_ffi_fn_method_wallet_maintenance_with_onchain_delegated(
|
|
331
|
-
ptr: bigint,
|
|
332
|
-
onchainWallet: bigint
|
|
333
|
-
): bigint;
|
|
334
318
|
ubrn_uniffi_bark_ffi_fn_method_wallet_network(ptr: bigint): bigint;
|
|
335
319
|
ubrn_uniffi_bark_ffi_fn_method_wallet_new_address(ptr: bigint): bigint;
|
|
336
320
|
ubrn_uniffi_bark_ffi_fn_method_wallet_new_address_with_index(
|
|
@@ -406,7 +390,6 @@ interface NativeModuleInterface {
|
|
|
406
390
|
): bigint;
|
|
407
391
|
ubrn_uniffi_bark_ffi_fn_method_wallet_progress_exits(
|
|
408
392
|
ptr: bigint,
|
|
409
|
-
onchainWallet: bigint,
|
|
410
393
|
feeRateSatPerVb: Uint8Array
|
|
411
394
|
): bigint;
|
|
412
395
|
ubrn_uniffi_bark_ffi_fn_method_wallet_progress_pending_rounds(
|
|
@@ -422,10 +405,7 @@ interface NativeModuleInterface {
|
|
|
422
405
|
ptr: bigint,
|
|
423
406
|
vtxoIds: Uint8Array
|
|
424
407
|
): bigint;
|
|
425
|
-
ubrn_uniffi_bark_ffi_fn_method_wallet_run_daemon(
|
|
426
|
-
ptr: bigint,
|
|
427
|
-
onchainWallet: Uint8Array
|
|
428
|
-
): bigint;
|
|
408
|
+
ubrn_uniffi_bark_ffi_fn_method_wallet_run_daemon(ptr: bigint): bigint;
|
|
429
409
|
ubrn_uniffi_bark_ffi_fn_method_wallet_send_arkoor_payment(
|
|
430
410
|
ptr: bigint,
|
|
431
411
|
arkAddress: Uint8Array,
|
|
@@ -453,10 +433,7 @@ interface NativeModuleInterface {
|
|
|
453
433
|
ptr: bigint
|
|
454
434
|
): bigint;
|
|
455
435
|
ubrn_uniffi_bark_ffi_fn_method_wallet_sync(ptr: bigint): bigint;
|
|
456
|
-
ubrn_uniffi_bark_ffi_fn_method_wallet_sync_exits(
|
|
457
|
-
ptr: bigint,
|
|
458
|
-
onchainWallet: bigint
|
|
459
|
-
): bigint;
|
|
436
|
+
ubrn_uniffi_bark_ffi_fn_method_wallet_sync_exits(ptr: bigint): bigint;
|
|
460
437
|
ubrn_uniffi_bark_ffi_fn_method_wallet_sync_force_exited_vtxos(
|
|
461
438
|
ptr: bigint
|
|
462
439
|
): bigint;
|
|
@@ -648,9 +625,8 @@ interface NativeModuleInterface {
|
|
|
648
625
|
ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_tx(): number;
|
|
649
626
|
ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_drain_tx(): number;
|
|
650
627
|
ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_finish_psbt(): number;
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_spending_tx(): number;
|
|
628
|
+
ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_is_mine(): number;
|
|
629
|
+
ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_register_tx(): number;
|
|
654
630
|
ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_make_signed_p2a_cpfp(): number;
|
|
655
631
|
ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_store_signed_p2a_cpfp(): number;
|
|
656
632
|
ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_sync(): number;
|
|
@@ -697,7 +673,7 @@ interface NativeModuleInterface {
|
|
|
697
673
|
ubrn_uniffi_bark_ffi_checksum_method_wallet_history_by_payment_method(): number;
|
|
698
674
|
ubrn_uniffi_bark_ffi_checksum_method_wallet_import_vtxo(): number;
|
|
699
675
|
ubrn_uniffi_bark_ffi_checksum_method_wallet_is_invoice_paid(): number;
|
|
700
|
-
|
|
676
|
+
ubrn_uniffi_bark_ffi_checksum_method_wallet_lightning_receive_state(): number;
|
|
701
677
|
ubrn_uniffi_bark_ffi_checksum_method_wallet_lightning_send_state(): number;
|
|
702
678
|
ubrn_uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits(): number;
|
|
703
679
|
ubrn_uniffi_bark_ffi_checksum_method_wallet_mailbox_authorization(): number;
|
|
@@ -705,8 +681,6 @@ interface NativeModuleInterface {
|
|
|
705
681
|
ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance(): number;
|
|
706
682
|
ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_delegated(): number;
|
|
707
683
|
ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_refresh(): number;
|
|
708
|
-
ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain(): number;
|
|
709
|
-
ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain_delegated(): number;
|
|
710
684
|
ubrn_uniffi_bark_ffi_checksum_method_wallet_network(): number;
|
|
711
685
|
ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address(): number;
|
|
712
686
|
ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address_with_index(): number;
|
|
@@ -911,25 +885,21 @@ type UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod3 = (
|
|
|
911
885
|
) => Uint8Array;
|
|
912
886
|
type UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod4 = (
|
|
913
887
|
uniffiHandle: bigint,
|
|
914
|
-
|
|
915
|
-
) =>
|
|
888
|
+
scriptPubkeyHex: Uint8Array
|
|
889
|
+
) => number;
|
|
916
890
|
type UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod5 = (
|
|
917
891
|
uniffiHandle: bigint,
|
|
918
|
-
|
|
919
|
-
) =>
|
|
892
|
+
txHex: Uint8Array
|
|
893
|
+
) => UniffiResult<void>;
|
|
920
894
|
type UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod6 = (
|
|
921
|
-
uniffiHandle: bigint,
|
|
922
|
-
outpoint: Uint8Array
|
|
923
|
-
) => Uint8Array;
|
|
924
|
-
type UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod7 = (
|
|
925
895
|
uniffiHandle: bigint,
|
|
926
896
|
params: Uint8Array
|
|
927
897
|
) => Uint8Array;
|
|
928
|
-
type
|
|
898
|
+
type UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod7 = (
|
|
929
899
|
uniffiHandle: bigint,
|
|
930
900
|
txHex: Uint8Array
|
|
931
901
|
) => UniffiResult<void>;
|
|
932
|
-
type
|
|
902
|
+
type UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod8 = (
|
|
933
903
|
uniffiHandle: bigint
|
|
934
904
|
) => UniffiResult<void>;
|
|
935
905
|
type UniffiCallbackInterfaceBarkLoggerMethod0 = (
|
|
@@ -945,12 +915,11 @@ export type UniffiVTableCallbackInterfaceCustomOnchainWalletCallbacks = {
|
|
|
945
915
|
prepareTx: UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod1;
|
|
946
916
|
prepareDrainTx: UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod2;
|
|
947
917
|
finishPsbt: UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod3;
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
sync: UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod9;
|
|
918
|
+
isMine: UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod4;
|
|
919
|
+
registerTx: UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod5;
|
|
920
|
+
makeSignedP2aCpfp: UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod6;
|
|
921
|
+
storeSignedP2aCpfp: UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod7;
|
|
922
|
+
sync: UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod8;
|
|
954
923
|
};
|
|
955
924
|
export type UniffiVTableCallbackInterfaceBarkLogger = {
|
|
956
925
|
uniffiFree: UniffiCallbackInterfaceFree;
|