@secondts/bark-react-native 0.1.0-beta.7 → 0.1.2-beta.13
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 +24 -0
- package/cpp/generated/bark.cpp +443 -12
- package/cpp/generated/bark.hpp +24 -2
- package/lib/commonjs/generated/bark-ffi.js.map +1 -1
- package/lib/commonjs/generated/bark.js +204 -9
- 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 +204 -9
- package/lib/module/generated/bark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts +24 -2
- package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark.d.ts +342 -152
- package/lib/typescript/commonjs/src/generated/bark.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark-ffi.d.ts +24 -2
- package/lib/typescript/module/src/generated/bark-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark.d.ts +342 -152
- package/lib/typescript/module/src/generated/bark.d.ts.map +1 -1
- package/package.json +6 -3
- package/plugin/tsconfig.tsbuildinfo +1 -1
- package/scripts/postinstall.js +8 -2
- package/src/generated/bark-ffi.ts +59 -2
- package/src/generated/bark.ts +456 -15
package/cpp/generated/bark.hpp
CHANGED
|
@@ -49,6 +49,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
49
49
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_claimable_lightning_receive_balance_sats(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
50
50
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_config(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
51
51
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_drain_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
52
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_fingerprint(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
52
53
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_get_exit_status(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
53
54
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_get_exit_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
54
55
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_get_expiring_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -60,29 +61,39 @@ class NativeBark : public jsi::HostObject {
|
|
|
60
61
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_history(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
61
62
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_lightning_receive_status(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
62
63
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_list_claimable_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
64
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_mailbox_identifier(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
63
65
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_maintenance(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
66
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_maintenance_delegated(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
64
67
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_maintenance_refresh(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
65
68
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_maintenance_with_onchain(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
69
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_maintenance_with_onchain_delegated(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
66
70
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_maybe_schedule_maintenance_refresh(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
71
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_network(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
67
72
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_new_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
68
73
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_new_address_with_index(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
74
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_next_round_start_time(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
69
75
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_offboard_all(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
70
76
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_offboard_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
71
77
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pay_lightning_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
72
78
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pay_lightning_invoice(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
73
79
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pay_lightning_offer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
74
80
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_peak_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
81
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pending_board_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
82
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pending_boards(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
75
83
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pending_exits_total_sats(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
76
84
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pending_lightning_receives(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
85
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pending_lightning_send_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
77
86
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pending_lightning_sends(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
87
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pending_round_input_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
78
88
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pending_round_states(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
79
89
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_progress_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
80
90
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_progress_pending_rounds(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
81
91
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_properties(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
82
92
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_refresh_server(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
83
93
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_refresh_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
94
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_refresh_vtxos_delegated(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
84
95
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_send_arkoor_payment(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
85
|
-
jsi::Value
|
|
96
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_send_onchain(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
86
97
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_sign_exit_claim_inputs(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
87
98
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_spendable_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
88
99
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_start_exit_for_entire_wallet(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -121,6 +132,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
121
132
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_claimable_lightning_receive_balance_sats(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
122
133
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_config(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
123
134
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_drain_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
135
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_fingerprint(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
124
136
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_get_exit_status(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
125
137
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_get_exit_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
126
138
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_get_expiring_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -132,29 +144,39 @@ class NativeBark : public jsi::HostObject {
|
|
|
132
144
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_history(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
133
145
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_lightning_receive_status(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
134
146
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
147
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_mailbox_identifier(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
135
148
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_maintenance(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
149
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_maintenance_delegated(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
136
150
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_maintenance_refresh(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
137
151
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
152
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain_delegated(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
138
153
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_maybe_schedule_maintenance_refresh(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
154
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_network(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
139
155
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_new_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
140
156
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_new_address_with_index(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
157
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_next_round_start_time(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
141
158
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_offboard_all(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
142
159
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_offboard_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
143
160
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
144
161
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_invoice(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
145
162
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_offer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
146
163
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_peak_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
164
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pending_board_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
165
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pending_boards(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
147
166
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pending_exits_total_sats(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
148
167
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_receives(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
168
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_send_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
149
169
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
170
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
150
171
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pending_round_states(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
151
172
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_progress_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
152
173
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_progress_pending_rounds(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
153
174
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_properties(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
154
175
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_refresh_server(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
155
176
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
177
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
156
178
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_send_arkoor_payment(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
157
|
-
jsi::Value
|
|
179
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_send_onchain(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
158
180
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
159
181
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_spendable_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
160
182
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_entire_wallet(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getter","globalThis","NativeBark","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/bark-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;
|
|
1
|
+
{"version":3,"names":["getter","globalThis","NativeBark","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/bark-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AAgiBA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,UAAU;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAClBL,MAAM,EAErB;AAoKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMM,8CAGL,GAAG,IAAI;AACR,MAAMC,mCAGL,GAAG,IAAI","ignoreList":[]}
|
|
@@ -1393,6 +1393,7 @@ let BarkError_Tags = exports.BarkError_Tags = /*#__PURE__*/function (BarkError_T
|
|
|
1393
1393
|
BarkError_Tags["ServerConnection"] = "ServerConnection";
|
|
1394
1394
|
BarkError_Tags["Internal"] = "Internal";
|
|
1395
1395
|
BarkError_Tags["OnchainWalletRequired"] = "OnchainWalletRequired";
|
|
1396
|
+
BarkError_Tags["InvalidVtxoId"] = "InvalidVtxoId";
|
|
1396
1397
|
return BarkError_Tags;
|
|
1397
1398
|
}({});
|
|
1398
1399
|
/**
|
|
@@ -1687,6 +1688,30 @@ const BarkError = exports.BarkError = (() => {
|
|
|
1687
1688
|
return obj.inner;
|
|
1688
1689
|
}
|
|
1689
1690
|
}
|
|
1691
|
+
class InvalidVtxoId_ extends _uniffiBindgenReactNative.UniffiError {
|
|
1692
|
+
/**
|
|
1693
|
+
* @private
|
|
1694
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1695
|
+
*/
|
|
1696
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = "BarkError";
|
|
1697
|
+
tag = BarkError_Tags.InvalidVtxoId;
|
|
1698
|
+
constructor(inner) {
|
|
1699
|
+
super("BarkError", "InvalidVtxoId");
|
|
1700
|
+
this.inner = Object.freeze(inner);
|
|
1701
|
+
}
|
|
1702
|
+
static new(inner) {
|
|
1703
|
+
return new InvalidVtxoId_(inner);
|
|
1704
|
+
}
|
|
1705
|
+
static instanceOf(obj) {
|
|
1706
|
+
return obj.tag === BarkError_Tags.InvalidVtxoId;
|
|
1707
|
+
}
|
|
1708
|
+
static hasInner(obj) {
|
|
1709
|
+
return InvalidVtxoId_.instanceOf(obj);
|
|
1710
|
+
}
|
|
1711
|
+
static getInner(obj) {
|
|
1712
|
+
return obj.inner;
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1690
1715
|
function instanceOf(obj) {
|
|
1691
1716
|
return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === "BarkError";
|
|
1692
1717
|
}
|
|
@@ -1703,7 +1728,8 @@ const BarkError = exports.BarkError = (() => {
|
|
|
1703
1728
|
NotFound: NotFound_,
|
|
1704
1729
|
ServerConnection: ServerConnection_,
|
|
1705
1730
|
Internal: Internal_,
|
|
1706
|
-
OnchainWalletRequired: OnchainWalletRequired_
|
|
1731
|
+
OnchainWalletRequired: OnchainWalletRequired_,
|
|
1732
|
+
InvalidVtxoId: InvalidVtxoId_
|
|
1707
1733
|
});
|
|
1708
1734
|
})();
|
|
1709
1735
|
|
|
@@ -1765,6 +1791,10 @@ const FfiConverterTypeBarkError = (() => {
|
|
|
1765
1791
|
return new BarkError.OnchainWalletRequired({
|
|
1766
1792
|
errorMessage: FfiConverterString.read(from)
|
|
1767
1793
|
});
|
|
1794
|
+
case 13:
|
|
1795
|
+
return new BarkError.InvalidVtxoId({
|
|
1796
|
+
errorMessage: FfiConverterString.read(from)
|
|
1797
|
+
});
|
|
1768
1798
|
default:
|
|
1769
1799
|
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
|
|
1770
1800
|
}
|
|
@@ -1855,6 +1885,13 @@ const FfiConverterTypeBarkError = (() => {
|
|
|
1855
1885
|
FfiConverterString.write(inner.errorMessage, into);
|
|
1856
1886
|
return;
|
|
1857
1887
|
}
|
|
1888
|
+
case BarkError_Tags.InvalidVtxoId:
|
|
1889
|
+
{
|
|
1890
|
+
ordinalConverter.write(13, into);
|
|
1891
|
+
const inner = value.inner;
|
|
1892
|
+
FfiConverterString.write(inner.errorMessage, into);
|
|
1893
|
+
return;
|
|
1894
|
+
}
|
|
1858
1895
|
default:
|
|
1859
1896
|
// Throwing from here means that BarkError_Tags hasn't matched an ordinal.
|
|
1860
1897
|
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
|
|
@@ -1946,6 +1983,13 @@ const FfiConverterTypeBarkError = (() => {
|
|
|
1946
1983
|
size += FfiConverterString.allocationSize(inner.errorMessage);
|
|
1947
1984
|
return size;
|
|
1948
1985
|
}
|
|
1986
|
+
case BarkError_Tags.InvalidVtxoId:
|
|
1987
|
+
{
|
|
1988
|
+
const inner = value.inner;
|
|
1989
|
+
let size = ordinalConverter.allocationSize(13);
|
|
1990
|
+
size += FfiConverterString.allocationSize(inner.errorMessage);
|
|
1991
|
+
return size;
|
|
1992
|
+
}
|
|
1949
1993
|
default:
|
|
1950
1994
|
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
|
|
1951
1995
|
}
|
|
@@ -2337,6 +2381,15 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
|
2337
2381
|
}, /*liftString:*/FfiConverterString.lift));
|
|
2338
2382
|
}
|
|
2339
2383
|
|
|
2384
|
+
/**
|
|
2385
|
+
* Get the wallet's BIP32 fingerprint
|
|
2386
|
+
*/
|
|
2387
|
+
fingerprint() {
|
|
2388
|
+
return FfiConverterString.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
2389
|
+
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_fingerprint(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
2390
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2340
2393
|
/**
|
|
2341
2394
|
* Get detailed exit status for a specific VTXO
|
|
2342
2395
|
*
|
|
@@ -2454,12 +2507,40 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
|
2454
2507
|
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_list_claimable_exits(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
2455
2508
|
}, /*liftString:*/FfiConverterString.lift));
|
|
2456
2509
|
}
|
|
2510
|
+
|
|
2511
|
+
/**
|
|
2512
|
+
* Get the mailbox identifier for push notifications
|
|
2513
|
+
*
|
|
2514
|
+
* This identifier can be registered with a push notification service
|
|
2515
|
+
* to receive alerts when VTXOs arrive in your mailbox. The mailbox
|
|
2516
|
+
* receives all incoming VTXOs regardless of source (arkoor payments,
|
|
2517
|
+
* Lightning receives, or round outputs).
|
|
2518
|
+
*
|
|
2519
|
+
* Returns the mailbox identifier as a hex-encoded public key.
|
|
2520
|
+
*/
|
|
2521
|
+
mailboxIdentifier() /*throws*/{
|
|
2522
|
+
return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2523
|
+
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_mailbox_identifier(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
2524
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2525
|
+
}
|
|
2457
2526
|
maintenance() /*throws*/{
|
|
2458
2527
|
uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2459
2528
|
(0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_maintenance(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
2460
2529
|
}, /*liftString:*/FfiConverterString.lift);
|
|
2461
2530
|
}
|
|
2462
2531
|
|
|
2532
|
+
/**
|
|
2533
|
+
* Perform maintenance in delegated (non-interactive) mode
|
|
2534
|
+
*
|
|
2535
|
+
* This schedules refresh operations but doesn't wait for completion.
|
|
2536
|
+
* Use this when you want to queue operations without blocking.
|
|
2537
|
+
*/
|
|
2538
|
+
maintenanceDelegated() /*throws*/{
|
|
2539
|
+
uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2540
|
+
(0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_maintenance_delegated(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
2541
|
+
}, /*liftString:*/FfiConverterString.lift);
|
|
2542
|
+
}
|
|
2543
|
+
|
|
2463
2544
|
/**
|
|
2464
2545
|
* Perform maintenance refresh
|
|
2465
2546
|
*/
|
|
@@ -2480,6 +2561,15 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
|
2480
2561
|
}, /*liftString:*/FfiConverterString.lift);
|
|
2481
2562
|
}
|
|
2482
2563
|
|
|
2564
|
+
/**
|
|
2565
|
+
* Perform maintenance with onchain wallet in delegated mode
|
|
2566
|
+
*/
|
|
2567
|
+
maintenanceWithOnchainDelegated(onchainWallet) /*throws*/{
|
|
2568
|
+
uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2569
|
+
(0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_maintenance_with_onchain_delegated(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterTypeOnchainWallet.lower(onchainWallet), callStatus);
|
|
2570
|
+
}, /*liftString:*/FfiConverterString.lift);
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2483
2573
|
/**
|
|
2484
2574
|
* Schedule a maintenance refresh if VTXOs need refreshing
|
|
2485
2575
|
*
|
|
@@ -2490,6 +2580,15 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
|
2490
2580
|
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_maybe_schedule_maintenance_refresh(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
2491
2581
|
}, /*liftString:*/FfiConverterString.lift));
|
|
2492
2582
|
}
|
|
2583
|
+
|
|
2584
|
+
/**
|
|
2585
|
+
* Get the Bitcoin network this wallet is using
|
|
2586
|
+
*/
|
|
2587
|
+
network() /*throws*/{
|
|
2588
|
+
return FfiConverterTypeNetwork.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2589
|
+
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_network(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
2590
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2591
|
+
}
|
|
2493
2592
|
newAddress() /*throws*/{
|
|
2494
2593
|
return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2495
2594
|
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_new_address(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
@@ -2504,6 +2603,16 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
|
2504
2603
|
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_new_address_with_index(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
2505
2604
|
}, /*liftString:*/FfiConverterString.lift));
|
|
2506
2605
|
}
|
|
2606
|
+
|
|
2607
|
+
/**
|
|
2608
|
+
* Get the timestamp when the next round will start (Unix timestamp in seconds)
|
|
2609
|
+
* Returns an error if the server hasn't provided round timing info
|
|
2610
|
+
*/
|
|
2611
|
+
nextRoundStartTime() /*throws*/{
|
|
2612
|
+
return _uniffiBindgenReactNative.FfiConverterUInt64.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2613
|
+
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_next_round_start_time(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
2614
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2615
|
+
}
|
|
2507
2616
|
offboardAll(bitcoinAddress) /*throws*/{
|
|
2508
2617
|
return FfiConverterTypeOffboardResult.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2509
2618
|
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_offboard_all(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(bitcoinAddress), callStatus);
|
|
@@ -2552,6 +2661,24 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
|
2552
2661
|
}, /*liftString:*/FfiConverterString.lift));
|
|
2553
2662
|
}
|
|
2554
2663
|
|
|
2664
|
+
/**
|
|
2665
|
+
* Get all VTXOs that are part of pending boards
|
|
2666
|
+
*/
|
|
2667
|
+
pendingBoardVtxos() /*throws*/{
|
|
2668
|
+
return FfiConverterArrayTypeVtxo.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2669
|
+
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_pending_board_vtxos(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
2670
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2671
|
+
}
|
|
2672
|
+
|
|
2673
|
+
/**
|
|
2674
|
+
* Get all pending board operations
|
|
2675
|
+
*/
|
|
2676
|
+
pendingBoards() /*throws*/{
|
|
2677
|
+
return FfiConverterArrayTypePendingBoard.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2678
|
+
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_pending_boards(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
2679
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2680
|
+
}
|
|
2681
|
+
|
|
2555
2682
|
/**
|
|
2556
2683
|
* Get total amount in pending exits (sats)
|
|
2557
2684
|
*/
|
|
@@ -2570,6 +2697,15 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
|
2570
2697
|
}, /*liftString:*/FfiConverterString.lift));
|
|
2571
2698
|
}
|
|
2572
2699
|
|
|
2700
|
+
/**
|
|
2701
|
+
* Get VTXOs locked in pending Lightning sends
|
|
2702
|
+
*/
|
|
2703
|
+
pendingLightningSendVtxos() /*throws*/{
|
|
2704
|
+
return FfiConverterArrayTypeVtxo.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2705
|
+
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_pending_lightning_send_vtxos(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
2706
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2573
2709
|
/**
|
|
2574
2710
|
* Get all pending lightning sends
|
|
2575
2711
|
*/
|
|
@@ -2579,6 +2715,15 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
|
2579
2715
|
}, /*liftString:*/FfiConverterString.lift));
|
|
2580
2716
|
}
|
|
2581
2717
|
|
|
2718
|
+
/**
|
|
2719
|
+
* Get VTXOs being used as inputs in pending rounds
|
|
2720
|
+
*/
|
|
2721
|
+
pendingRoundInputVtxos() /*throws*/{
|
|
2722
|
+
return FfiConverterArrayTypeVtxo.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2723
|
+
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_pending_round_input_vtxos(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
2724
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2582
2727
|
/**
|
|
2583
2728
|
* Get all pending round states
|
|
2584
2729
|
*/
|
|
@@ -2615,6 +2760,10 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
|
2615
2760
|
(0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_progress_pending_rounds(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
2616
2761
|
}, /*liftString:*/FfiConverterString.lift);
|
|
2617
2762
|
}
|
|
2763
|
+
|
|
2764
|
+
/**
|
|
2765
|
+
* Get wallet properties
|
|
2766
|
+
*/
|
|
2618
2767
|
properties() /*throws*/{
|
|
2619
2768
|
return FfiConverterTypeWalletProperties.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2620
2769
|
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_properties(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
@@ -2640,18 +2789,25 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
|
2640
2789
|
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_refresh_vtxos(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterArrayString.lower(vtxoIds), callStatus);
|
|
2641
2790
|
}, /*liftString:*/FfiConverterString.lift));
|
|
2642
2791
|
}
|
|
2792
|
+
|
|
2793
|
+
/**
|
|
2794
|
+
* Refresh VTXOs in delegated (non-interactive) mode
|
|
2795
|
+
*
|
|
2796
|
+
* Returns the round state if a refresh was scheduled, null otherwise.
|
|
2797
|
+
*/
|
|
2798
|
+
refreshVtxosDelegated(vtxoIds) /*throws*/{
|
|
2799
|
+
return FfiConverterOptionalTypeRoundState.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2800
|
+
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_refresh_vtxos_delegated(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterArrayString.lower(vtxoIds), callStatus);
|
|
2801
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2802
|
+
}
|
|
2643
2803
|
sendArkoorPayment(arkAddress, amountSats) /*throws*/{
|
|
2644
2804
|
return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2645
2805
|
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_send_arkoor_payment(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(arkAddress), _uniffiBindgenReactNative.FfiConverterUInt64.lower(amountSats), callStatus);
|
|
2646
2806
|
}, /*liftString:*/FfiConverterString.lift));
|
|
2647
2807
|
}
|
|
2648
|
-
|
|
2649
|
-
/**
|
|
2650
|
-
* Send an onchain payment during a round
|
|
2651
|
-
*/
|
|
2652
|
-
sendRoundOnchainPayment(address, amountSats) /*throws*/{
|
|
2808
|
+
sendOnchain(address, amountSats) /*throws*/{
|
|
2653
2809
|
return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2654
|
-
return (0, _barkFfi.default)().
|
|
2810
|
+
return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_send_onchain(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(address), _uniffiBindgenReactNative.FfiConverterUInt64.lower(amountSats), callStatus);
|
|
2655
2811
|
}, /*liftString:*/FfiConverterString.lift));
|
|
2656
2812
|
}
|
|
2657
2813
|
|
|
@@ -2833,6 +2989,9 @@ const FfiConverterOptionalTypeExitTransactionStatus = new _uniffiBindgenReactNat
|
|
|
2833
2989
|
// FfiConverter for LightningReceive | undefined
|
|
2834
2990
|
const FfiConverterOptionalTypeLightningReceive = new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeLightningReceive);
|
|
2835
2991
|
|
|
2992
|
+
// FfiConverter for RoundState | undefined
|
|
2993
|
+
const FfiConverterOptionalTypeRoundState = new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeRoundState);
|
|
2994
|
+
|
|
2836
2995
|
// FfiConverter for string | undefined
|
|
2837
2996
|
const FfiConverterOptionalString = new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterString);
|
|
2838
2997
|
|
|
@@ -2863,6 +3022,9 @@ const FfiConverterArrayTypeLightningSend = new _uniffiBindgenReactNative.FfiConv
|
|
|
2863
3022
|
// FfiConverter for Array<Movement>
|
|
2864
3023
|
const FfiConverterArrayTypeMovement = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeMovement);
|
|
2865
3024
|
|
|
3025
|
+
// FfiConverter for Array<PendingBoard>
|
|
3026
|
+
const FfiConverterArrayTypePendingBoard = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypePendingBoard);
|
|
3027
|
+
|
|
2866
3028
|
// FfiConverter for Array<RoundState>
|
|
2867
3029
|
const FfiConverterArrayTypeRoundState = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeRoundState);
|
|
2868
3030
|
|
|
@@ -2959,6 +3121,9 @@ function uniffiEnsureInitialized() {
|
|
|
2959
3121
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_drain_exits() !== 63428) {
|
|
2960
3122
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_drain_exits");
|
|
2961
3123
|
}
|
|
3124
|
+
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_fingerprint() !== 2456) {
|
|
3125
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_fingerprint");
|
|
3126
|
+
}
|
|
2962
3127
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_exit_status() !== 13877) {
|
|
2963
3128
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_exit_status");
|
|
2964
3129
|
}
|
|
@@ -2992,24 +3157,39 @@ function uniffiEnsureInitialized() {
|
|
|
2992
3157
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits() !== 51047) {
|
|
2993
3158
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits");
|
|
2994
3159
|
}
|
|
3160
|
+
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_mailbox_identifier() !== 37148) {
|
|
3161
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_mailbox_identifier");
|
|
3162
|
+
}
|
|
2995
3163
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance() !== 21349) {
|
|
2996
3164
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance");
|
|
2997
3165
|
}
|
|
3166
|
+
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_delegated() !== 46080) {
|
|
3167
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_delegated");
|
|
3168
|
+
}
|
|
2998
3169
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_refresh() !== 17108) {
|
|
2999
3170
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_refresh");
|
|
3000
3171
|
}
|
|
3001
3172
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain() !== 13241) {
|
|
3002
3173
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain");
|
|
3003
3174
|
}
|
|
3175
|
+
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain_delegated() !== 51786) {
|
|
3176
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain_delegated");
|
|
3177
|
+
}
|
|
3004
3178
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maybe_schedule_maintenance_refresh() !== 30042) {
|
|
3005
3179
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maybe_schedule_maintenance_refresh");
|
|
3006
3180
|
}
|
|
3181
|
+
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_network() !== 61729) {
|
|
3182
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_network");
|
|
3183
|
+
}
|
|
3007
3184
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address() !== 23909) {
|
|
3008
3185
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_new_address");
|
|
3009
3186
|
}
|
|
3010
3187
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address_with_index() !== 42180) {
|
|
3011
3188
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_new_address_with_index");
|
|
3012
3189
|
}
|
|
3190
|
+
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_next_round_start_time() !== 61507) {
|
|
3191
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_next_round_start_time");
|
|
3192
|
+
}
|
|
3013
3193
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_all() !== 9225) {
|
|
3014
3194
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_offboard_all");
|
|
3015
3195
|
}
|
|
@@ -3028,15 +3208,27 @@ function uniffiEnsureInitialized() {
|
|
|
3028
3208
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_peak_address() !== 9176) {
|
|
3029
3209
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_peak_address");
|
|
3030
3210
|
}
|
|
3211
|
+
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_board_vtxos() !== 58457) {
|
|
3212
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_board_vtxos");
|
|
3213
|
+
}
|
|
3214
|
+
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_boards() !== 59350) {
|
|
3215
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_boards");
|
|
3216
|
+
}
|
|
3031
3217
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_exits_total_sats() !== 50026) {
|
|
3032
3218
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_exits_total_sats");
|
|
3033
3219
|
}
|
|
3034
3220
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_receives() !== 22341) {
|
|
3035
3221
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_lightning_receives");
|
|
3036
3222
|
}
|
|
3223
|
+
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_send_vtxos() !== 9022) {
|
|
3224
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_lightning_send_vtxos");
|
|
3225
|
+
}
|
|
3037
3226
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends() !== 363) {
|
|
3038
3227
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends");
|
|
3039
3228
|
}
|
|
3229
|
+
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos() !== 47165) {
|
|
3230
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos");
|
|
3231
|
+
}
|
|
3040
3232
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_states() !== 20536) {
|
|
3041
3233
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_round_states");
|
|
3042
3234
|
}
|
|
@@ -3055,11 +3247,14 @@ function uniffiEnsureInitialized() {
|
|
|
3055
3247
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos() !== 19664) {
|
|
3056
3248
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos");
|
|
3057
3249
|
}
|
|
3250
|
+
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated() !== 52548) {
|
|
3251
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated");
|
|
3252
|
+
}
|
|
3058
3253
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_arkoor_payment() !== 56067) {
|
|
3059
3254
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_send_arkoor_payment");
|
|
3060
3255
|
}
|
|
3061
|
-
if ((0, _barkFfi.default)().
|
|
3062
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("
|
|
3256
|
+
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_onchain() !== 59921) {
|
|
3257
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_send_onchain");
|
|
3063
3258
|
}
|
|
3064
3259
|
if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs() !== 19527) {
|
|
3065
3260
|
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs");
|