react-native-neural-wallet-lib 0.1.47 → 0.1.49
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/NeuralWalletLib.podspec +1 -1
- package/android/src/main/jniLibs/arm64-v8a/libwallet.a +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libwallet.a +0 -0
- package/android/src/main/jniLibs/x86/libwallet.a +0 -0
- package/android/src/main/jniLibs/x86_64/libwallet.a +0 -0
- package/cpp/generated/wallet.cpp +146 -0
- package/cpp/generated/wallet.hpp +18 -0
- package/ios/libs/libwallet.a +0 -0
- package/lib/module/generated/wallet-ffi.js.map +1 -1
- package/lib/module/generated/wallet.js +242 -1
- package/lib/module/generated/wallet.js.map +1 -1
- package/lib/typescript/src/generated/wallet-ffi.d.ts +6 -0
- package/lib/typescript/src/generated/wallet-ffi.d.ts.map +1 -1
- package/lib/typescript/src/generated/wallet.d.ts +255 -0
- package/lib/typescript/src/generated/wallet.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/wallet-ffi.ts +16 -0
- package/src/generated/wallet.ts +352 -0
package/NeuralWalletLib.podspec
CHANGED
|
@@ -19,7 +19,7 @@ Pod::Spec.new do |s|
|
|
|
19
19
|
s.vendored_frameworks = "NeuralWalletLibFramework.xcframework"
|
|
20
20
|
s.dependency "uniffi-bindgen-react-native", "0.29.3-0"
|
|
21
21
|
s.vendored_libraries = 'ios/libs/libwallet.a'
|
|
22
|
-
s.preserve_paths = 'ios/libs/libwallet.a'
|
|
22
|
+
s.preserve_paths = 'ios/libs/libwallet.a'
|
|
23
23
|
|
|
24
24
|
# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
|
|
25
25
|
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/cpp/generated/wallet.cpp
CHANGED
|
@@ -122,16 +122,25 @@ RustBuffer
|
|
|
122
122
|
uniffi_wallet_fn_func_generate_solana_keypair(RustBuffer mnemonic_str,
|
|
123
123
|
RustBuffer path_str,
|
|
124
124
|
RustCallStatus *uniffi_out_err);
|
|
125
|
+
RustBuffer
|
|
126
|
+
uniffi_wallet_fn_func_generate_stellar_keypair(RustBuffer mnemonic_str,
|
|
127
|
+
RustBuffer path_str,
|
|
128
|
+
RustCallStatus *uniffi_out_err);
|
|
125
129
|
int8_t uniffi_wallet_fn_func_is_valid_ethereum_private_key(
|
|
126
130
|
RustBuffer private_key, RustCallStatus *uniffi_out_err);
|
|
127
131
|
int8_t uniffi_wallet_fn_func_is_valid_mnemonic(RustBuffer mnemonic,
|
|
128
132
|
RustCallStatus *uniffi_out_err);
|
|
129
133
|
int8_t uniffi_wallet_fn_func_is_valid_solana_private_key(
|
|
130
134
|
RustBuffer private_key, RustCallStatus *uniffi_out_err);
|
|
135
|
+
int8_t
|
|
136
|
+
uniffi_wallet_fn_func_is_valid_stellar_secret(RustBuffer secret,
|
|
137
|
+
RustCallStatus *uniffi_out_err);
|
|
131
138
|
int8_t uniffi_wallet_fn_func_is_valid_wif(RustBuffer wif,
|
|
132
139
|
RustCallStatus *uniffi_out_err);
|
|
133
140
|
RustBuffer uniffi_wallet_fn_func_solana_private_key_to_keypair(
|
|
134
141
|
RustBuffer private_key_base58, RustCallStatus *uniffi_out_err);
|
|
142
|
+
RustBuffer uniffi_wallet_fn_func_stellar_keypair_from_secret(
|
|
143
|
+
RustBuffer secret, RustCallStatus *uniffi_out_err);
|
|
135
144
|
RustBuffer
|
|
136
145
|
uniffi_wallet_fn_func_string_to_base64(RustBuffer input,
|
|
137
146
|
RustCallStatus *uniffi_out_err);
|
|
@@ -266,11 +275,14 @@ uint16_t uniffi_wallet_checksum_func_generate_complex_password();
|
|
|
266
275
|
uint16_t uniffi_wallet_checksum_func_generate_eth_keypair();
|
|
267
276
|
uint16_t uniffi_wallet_checksum_func_generate_mnemonic();
|
|
268
277
|
uint16_t uniffi_wallet_checksum_func_generate_solana_keypair();
|
|
278
|
+
uint16_t uniffi_wallet_checksum_func_generate_stellar_keypair();
|
|
269
279
|
uint16_t uniffi_wallet_checksum_func_is_valid_ethereum_private_key();
|
|
270
280
|
uint16_t uniffi_wallet_checksum_func_is_valid_mnemonic();
|
|
271
281
|
uint16_t uniffi_wallet_checksum_func_is_valid_solana_private_key();
|
|
282
|
+
uint16_t uniffi_wallet_checksum_func_is_valid_stellar_secret();
|
|
272
283
|
uint16_t uniffi_wallet_checksum_func_is_valid_wif();
|
|
273
284
|
uint16_t uniffi_wallet_checksum_func_solana_private_key_to_keypair();
|
|
285
|
+
uint16_t uniffi_wallet_checksum_func_stellar_keypair_from_secret();
|
|
274
286
|
uint16_t uniffi_wallet_checksum_func_string_to_base64();
|
|
275
287
|
uint32_t ffi_wallet_uniffi_contract_version();
|
|
276
288
|
}
|
|
@@ -1758,6 +1770,17 @@ NativeWallet::NativeWallet(
|
|
|
1758
1770
|
return this->cpp_uniffi_wallet_fn_func_generate_solana_keypair(
|
|
1759
1771
|
rt, thisVal, args, count);
|
|
1760
1772
|
});
|
|
1773
|
+
props["ubrn_uniffi_wallet_fn_func_generate_stellar_keypair"] =
|
|
1774
|
+
jsi::Function::createFromHostFunction(
|
|
1775
|
+
rt,
|
|
1776
|
+
jsi::PropNameID::forAscii(
|
|
1777
|
+
rt, "ubrn_uniffi_wallet_fn_func_generate_stellar_keypair"),
|
|
1778
|
+
2,
|
|
1779
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
1780
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
1781
|
+
return this->cpp_uniffi_wallet_fn_func_generate_stellar_keypair(
|
|
1782
|
+
rt, thisVal, args, count);
|
|
1783
|
+
});
|
|
1761
1784
|
props["ubrn_uniffi_wallet_fn_func_is_valid_ethereum_private_key"] =
|
|
1762
1785
|
jsi::Function::createFromHostFunction(
|
|
1763
1786
|
rt,
|
|
@@ -1792,6 +1815,17 @@ NativeWallet::NativeWallet(
|
|
|
1792
1815
|
return this->cpp_uniffi_wallet_fn_func_is_valid_solana_private_key(
|
|
1793
1816
|
rt, thisVal, args, count);
|
|
1794
1817
|
});
|
|
1818
|
+
props["ubrn_uniffi_wallet_fn_func_is_valid_stellar_secret"] =
|
|
1819
|
+
jsi::Function::createFromHostFunction(
|
|
1820
|
+
rt,
|
|
1821
|
+
jsi::PropNameID::forAscii(
|
|
1822
|
+
rt, "ubrn_uniffi_wallet_fn_func_is_valid_stellar_secret"),
|
|
1823
|
+
1,
|
|
1824
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
1825
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
1826
|
+
return this->cpp_uniffi_wallet_fn_func_is_valid_stellar_secret(
|
|
1827
|
+
rt, thisVal, args, count);
|
|
1828
|
+
});
|
|
1795
1829
|
props["ubrn_uniffi_wallet_fn_func_is_valid_wif"] =
|
|
1796
1830
|
jsi::Function::createFromHostFunction(
|
|
1797
1831
|
rt,
|
|
@@ -1815,6 +1849,17 @@ NativeWallet::NativeWallet(
|
|
|
1815
1849
|
->cpp_uniffi_wallet_fn_func_solana_private_key_to_keypair(
|
|
1816
1850
|
rt, thisVal, args, count);
|
|
1817
1851
|
});
|
|
1852
|
+
props["ubrn_uniffi_wallet_fn_func_stellar_keypair_from_secret"] =
|
|
1853
|
+
jsi::Function::createFromHostFunction(
|
|
1854
|
+
rt,
|
|
1855
|
+
jsi::PropNameID::forAscii(
|
|
1856
|
+
rt, "ubrn_uniffi_wallet_fn_func_stellar_keypair_from_secret"),
|
|
1857
|
+
1,
|
|
1858
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
1859
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
1860
|
+
return this->cpp_uniffi_wallet_fn_func_stellar_keypair_from_secret(
|
|
1861
|
+
rt, thisVal, args, count);
|
|
1862
|
+
});
|
|
1818
1863
|
props["ubrn_uniffi_wallet_fn_func_string_to_base64"] =
|
|
1819
1864
|
jsi::Function::createFromHostFunction(
|
|
1820
1865
|
rt,
|
|
@@ -1908,6 +1953,18 @@ NativeWallet::NativeWallet(
|
|
|
1908
1953
|
->cpp_uniffi_wallet_checksum_func_generate_solana_keypair(
|
|
1909
1954
|
rt, thisVal, args, count);
|
|
1910
1955
|
});
|
|
1956
|
+
props["ubrn_uniffi_wallet_checksum_func_generate_stellar_keypair"] =
|
|
1957
|
+
jsi::Function::createFromHostFunction(
|
|
1958
|
+
rt,
|
|
1959
|
+
jsi::PropNameID::forAscii(
|
|
1960
|
+
rt, "ubrn_uniffi_wallet_checksum_func_generate_stellar_keypair"),
|
|
1961
|
+
0,
|
|
1962
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
1963
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
1964
|
+
return this
|
|
1965
|
+
->cpp_uniffi_wallet_checksum_func_generate_stellar_keypair(
|
|
1966
|
+
rt, thisVal, args, count);
|
|
1967
|
+
});
|
|
1911
1968
|
props["ubrn_uniffi_wallet_checksum_func_is_valid_ethereum_private_key"] =
|
|
1912
1969
|
jsi::Function::createFromHostFunction(
|
|
1913
1970
|
rt,
|
|
@@ -1945,6 +2002,18 @@ NativeWallet::NativeWallet(
|
|
|
1945
2002
|
->cpp_uniffi_wallet_checksum_func_is_valid_solana_private_key(
|
|
1946
2003
|
rt, thisVal, args, count);
|
|
1947
2004
|
});
|
|
2005
|
+
props["ubrn_uniffi_wallet_checksum_func_is_valid_stellar_secret"] =
|
|
2006
|
+
jsi::Function::createFromHostFunction(
|
|
2007
|
+
rt,
|
|
2008
|
+
jsi::PropNameID::forAscii(
|
|
2009
|
+
rt, "ubrn_uniffi_wallet_checksum_func_is_valid_stellar_secret"),
|
|
2010
|
+
0,
|
|
2011
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
2012
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
2013
|
+
return this
|
|
2014
|
+
->cpp_uniffi_wallet_checksum_func_is_valid_stellar_secret(
|
|
2015
|
+
rt, thisVal, args, count);
|
|
2016
|
+
});
|
|
1948
2017
|
props["ubrn_uniffi_wallet_checksum_func_is_valid_wif"] =
|
|
1949
2018
|
jsi::Function::createFromHostFunction(
|
|
1950
2019
|
rt,
|
|
@@ -1969,6 +2038,19 @@ NativeWallet::NativeWallet(
|
|
|
1969
2038
|
->cpp_uniffi_wallet_checksum_func_solana_private_key_to_keypair(
|
|
1970
2039
|
rt, thisVal, args, count);
|
|
1971
2040
|
});
|
|
2041
|
+
props["ubrn_uniffi_wallet_checksum_func_stellar_keypair_from_secret"] =
|
|
2042
|
+
jsi::Function::createFromHostFunction(
|
|
2043
|
+
rt,
|
|
2044
|
+
jsi::PropNameID::forAscii(
|
|
2045
|
+
rt,
|
|
2046
|
+
"ubrn_uniffi_wallet_checksum_func_stellar_keypair_from_secret"),
|
|
2047
|
+
0,
|
|
2048
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
2049
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
2050
|
+
return this
|
|
2051
|
+
->cpp_uniffi_wallet_checksum_func_stellar_keypair_from_secret(
|
|
2052
|
+
rt, thisVal, args, count);
|
|
2053
|
+
});
|
|
1972
2054
|
props["ubrn_uniffi_wallet_checksum_func_string_to_base64"] =
|
|
1973
2055
|
jsi::Function::createFromHostFunction(
|
|
1974
2056
|
rt,
|
|
@@ -2149,6 +2231,20 @@ jsi::Value NativeWallet::cpp_uniffi_wallet_fn_func_generate_solana_keypair(
|
|
|
2149
2231
|
|
|
2150
2232
|
return uniffi::wallet::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
2151
2233
|
}
|
|
2234
|
+
jsi::Value NativeWallet::cpp_uniffi_wallet_fn_func_generate_stellar_keypair(
|
|
2235
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
2236
|
+
size_t count) {
|
|
2237
|
+
RustCallStatus status =
|
|
2238
|
+
uniffi::wallet::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
2239
|
+
auto value = uniffi_wallet_fn_func_generate_stellar_keypair(
|
|
2240
|
+
uniffi::wallet::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
2241
|
+
uniffi::wallet::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
2242
|
+
&status);
|
|
2243
|
+
uniffi::wallet::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status,
|
|
2244
|
+
args[count - 1]);
|
|
2245
|
+
|
|
2246
|
+
return uniffi::wallet::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
2247
|
+
}
|
|
2152
2248
|
jsi::Value
|
|
2153
2249
|
NativeWallet::cpp_uniffi_wallet_fn_func_is_valid_ethereum_private_key(
|
|
2154
2250
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -2189,6 +2285,19 @@ jsi::Value NativeWallet::cpp_uniffi_wallet_fn_func_is_valid_solana_private_key(
|
|
|
2189
2285
|
|
|
2190
2286
|
return uniffi_jsi::Bridging<int8_t>::toJs(rt, callInvoker, value);
|
|
2191
2287
|
}
|
|
2288
|
+
jsi::Value NativeWallet::cpp_uniffi_wallet_fn_func_is_valid_stellar_secret(
|
|
2289
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
2290
|
+
size_t count) {
|
|
2291
|
+
RustCallStatus status =
|
|
2292
|
+
uniffi::wallet::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
2293
|
+
auto value = uniffi_wallet_fn_func_is_valid_stellar_secret(
|
|
2294
|
+
uniffi::wallet::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
2295
|
+
&status);
|
|
2296
|
+
uniffi::wallet::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status,
|
|
2297
|
+
args[count - 1]);
|
|
2298
|
+
|
|
2299
|
+
return uniffi_jsi::Bridging<int8_t>::toJs(rt, callInvoker, value);
|
|
2300
|
+
}
|
|
2192
2301
|
jsi::Value NativeWallet::cpp_uniffi_wallet_fn_func_is_valid_wif(
|
|
2193
2302
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
2194
2303
|
size_t count) {
|
|
@@ -2216,6 +2325,19 @@ NativeWallet::cpp_uniffi_wallet_fn_func_solana_private_key_to_keypair(
|
|
|
2216
2325
|
|
|
2217
2326
|
return uniffi::wallet::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
2218
2327
|
}
|
|
2328
|
+
jsi::Value NativeWallet::cpp_uniffi_wallet_fn_func_stellar_keypair_from_secret(
|
|
2329
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
2330
|
+
size_t count) {
|
|
2331
|
+
RustCallStatus status =
|
|
2332
|
+
uniffi::wallet::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
2333
|
+
auto value = uniffi_wallet_fn_func_stellar_keypair_from_secret(
|
|
2334
|
+
uniffi::wallet::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
2335
|
+
&status);
|
|
2336
|
+
uniffi::wallet::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status,
|
|
2337
|
+
args[count - 1]);
|
|
2338
|
+
|
|
2339
|
+
return uniffi::wallet::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
2340
|
+
}
|
|
2219
2341
|
jsi::Value NativeWallet::cpp_uniffi_wallet_fn_func_string_to_base64(
|
|
2220
2342
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
2221
2343
|
size_t count) {
|
|
@@ -2283,6 +2405,14 @@ NativeWallet::cpp_uniffi_wallet_checksum_func_generate_solana_keypair(
|
|
|
2283
2405
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
2284
2406
|
}
|
|
2285
2407
|
jsi::Value
|
|
2408
|
+
NativeWallet::cpp_uniffi_wallet_checksum_func_generate_stellar_keypair(
|
|
2409
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
2410
|
+
size_t count) {
|
|
2411
|
+
auto value = uniffi_wallet_checksum_func_generate_stellar_keypair();
|
|
2412
|
+
|
|
2413
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
2414
|
+
}
|
|
2415
|
+
jsi::Value
|
|
2286
2416
|
NativeWallet::cpp_uniffi_wallet_checksum_func_is_valid_ethereum_private_key(
|
|
2287
2417
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
2288
2418
|
size_t count) {
|
|
@@ -2305,6 +2435,14 @@ NativeWallet::cpp_uniffi_wallet_checksum_func_is_valid_solana_private_key(
|
|
|
2305
2435
|
|
|
2306
2436
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
2307
2437
|
}
|
|
2438
|
+
jsi::Value
|
|
2439
|
+
NativeWallet::cpp_uniffi_wallet_checksum_func_is_valid_stellar_secret(
|
|
2440
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
2441
|
+
size_t count) {
|
|
2442
|
+
auto value = uniffi_wallet_checksum_func_is_valid_stellar_secret();
|
|
2443
|
+
|
|
2444
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
2445
|
+
}
|
|
2308
2446
|
jsi::Value NativeWallet::cpp_uniffi_wallet_checksum_func_is_valid_wif(
|
|
2309
2447
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
2310
2448
|
size_t count) {
|
|
@@ -2320,6 +2458,14 @@ NativeWallet::cpp_uniffi_wallet_checksum_func_solana_private_key_to_keypair(
|
|
|
2320
2458
|
|
|
2321
2459
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
2322
2460
|
}
|
|
2461
|
+
jsi::Value
|
|
2462
|
+
NativeWallet::cpp_uniffi_wallet_checksum_func_stellar_keypair_from_secret(
|
|
2463
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
2464
|
+
size_t count) {
|
|
2465
|
+
auto value = uniffi_wallet_checksum_func_stellar_keypair_from_secret();
|
|
2466
|
+
|
|
2467
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
2468
|
+
}
|
|
2323
2469
|
jsi::Value NativeWallet::cpp_uniffi_wallet_checksum_func_string_to_base64(
|
|
2324
2470
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
2325
2471
|
size_t count) {
|
package/cpp/generated/wallet.hpp
CHANGED
|
@@ -49,6 +49,9 @@ protected:
|
|
|
49
49
|
jsi::Value cpp_uniffi_wallet_fn_func_generate_solana_keypair(
|
|
50
50
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
51
51
|
size_t count);
|
|
52
|
+
jsi::Value cpp_uniffi_wallet_fn_func_generate_stellar_keypair(
|
|
53
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
54
|
+
size_t count);
|
|
52
55
|
jsi::Value cpp_uniffi_wallet_fn_func_is_valid_ethereum_private_key(
|
|
53
56
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
54
57
|
size_t count);
|
|
@@ -58,6 +61,9 @@ protected:
|
|
|
58
61
|
jsi::Value cpp_uniffi_wallet_fn_func_is_valid_solana_private_key(
|
|
59
62
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
60
63
|
size_t count);
|
|
64
|
+
jsi::Value cpp_uniffi_wallet_fn_func_is_valid_stellar_secret(
|
|
65
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
66
|
+
size_t count);
|
|
61
67
|
jsi::Value cpp_uniffi_wallet_fn_func_is_valid_wif(jsi::Runtime &rt,
|
|
62
68
|
const jsi::Value &thisVal,
|
|
63
69
|
const jsi::Value *args,
|
|
@@ -65,6 +71,9 @@ protected:
|
|
|
65
71
|
jsi::Value cpp_uniffi_wallet_fn_func_solana_private_key_to_keypair(
|
|
66
72
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
67
73
|
size_t count);
|
|
74
|
+
jsi::Value cpp_uniffi_wallet_fn_func_stellar_keypair_from_secret(
|
|
75
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
76
|
+
size_t count);
|
|
68
77
|
jsi::Value cpp_uniffi_wallet_fn_func_string_to_base64(
|
|
69
78
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
70
79
|
size_t count);
|
|
@@ -89,6 +98,9 @@ protected:
|
|
|
89
98
|
jsi::Value cpp_uniffi_wallet_checksum_func_generate_solana_keypair(
|
|
90
99
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
91
100
|
size_t count);
|
|
101
|
+
jsi::Value cpp_uniffi_wallet_checksum_func_generate_stellar_keypair(
|
|
102
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
103
|
+
size_t count);
|
|
92
104
|
jsi::Value cpp_uniffi_wallet_checksum_func_is_valid_ethereum_private_key(
|
|
93
105
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
94
106
|
size_t count);
|
|
@@ -98,12 +110,18 @@ protected:
|
|
|
98
110
|
jsi::Value cpp_uniffi_wallet_checksum_func_is_valid_solana_private_key(
|
|
99
111
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
100
112
|
size_t count);
|
|
113
|
+
jsi::Value cpp_uniffi_wallet_checksum_func_is_valid_stellar_secret(
|
|
114
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
115
|
+
size_t count);
|
|
101
116
|
jsi::Value cpp_uniffi_wallet_checksum_func_is_valid_wif(
|
|
102
117
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
103
118
|
size_t count);
|
|
104
119
|
jsi::Value cpp_uniffi_wallet_checksum_func_solana_private_key_to_keypair(
|
|
105
120
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
106
121
|
size_t count);
|
|
122
|
+
jsi::Value cpp_uniffi_wallet_checksum_func_stellar_keypair_from_secret(
|
|
123
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
124
|
+
size_t count);
|
|
107
125
|
jsi::Value cpp_uniffi_wallet_checksum_func_string_to_base64(
|
|
108
126
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
109
127
|
size_t count);
|
package/ios/libs/libwallet.a
CHANGED
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getter","globalThis","NativeWallet","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/wallet-ffi.ts"],"mappings":";;AAAA;AACA;;
|
|
1
|
+
{"version":3,"names":["getter","globalThis","NativeWallet","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/wallet-ffi.ts"],"mappings":";;AAAA;AACA;;AAkHA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,YAAY;AAClC,eAAeF,MAAM;;AAErB;;AAmHA;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,MAAMG,8CAGL,GAAG,IAAI;AACR,MAAMC,mCAGL,GAAG,IAAI","ignoreList":[]}
|
|
@@ -51,6 +51,11 @@ export function generateSolanaKeypair(mnemonicStr, pathStr) /*throws*/{
|
|
|
51
51
|
return nativeModule().ubrn_uniffi_wallet_fn_func_generate_solana_keypair(FfiConverterString.lower(mnemonicStr), FfiConverterString.lower(pathStr), callStatus);
|
|
52
52
|
}, /*liftString:*/FfiConverterString.lift));
|
|
53
53
|
}
|
|
54
|
+
export function generateStellarKeypair(mnemonicStr, pathStr) /*throws*/{
|
|
55
|
+
return FfiConverterTypeStellarKeyPair.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeStellarWalletError.lift.bind(FfiConverterTypeStellarWalletError), /*caller:*/callStatus => {
|
|
56
|
+
return nativeModule().ubrn_uniffi_wallet_fn_func_generate_stellar_keypair(FfiConverterString.lower(mnemonicStr), FfiConverterString.lower(pathStr), callStatus);
|
|
57
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
58
|
+
}
|
|
54
59
|
export function isValidEthereumPrivateKey(privateKey) {
|
|
55
60
|
return FfiConverterBool.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
56
61
|
return nativeModule().ubrn_uniffi_wallet_fn_func_is_valid_ethereum_private_key(FfiConverterString.lower(privateKey), callStatus);
|
|
@@ -66,6 +71,11 @@ export function isValidSolanaPrivateKey(privateKey) {
|
|
|
66
71
|
return nativeModule().ubrn_uniffi_wallet_fn_func_is_valid_solana_private_key(FfiConverterString.lower(privateKey), callStatus);
|
|
67
72
|
}, /*liftString:*/FfiConverterString.lift));
|
|
68
73
|
}
|
|
74
|
+
export function isValidStellarSecret(secret) {
|
|
75
|
+
return FfiConverterBool.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
76
|
+
return nativeModule().ubrn_uniffi_wallet_fn_func_is_valid_stellar_secret(FfiConverterString.lower(secret), callStatus);
|
|
77
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
78
|
+
}
|
|
69
79
|
export function isValidWif(wif) {
|
|
70
80
|
return FfiConverterBool.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
71
81
|
return nativeModule().ubrn_uniffi_wallet_fn_func_is_valid_wif(FfiConverterString.lower(wif), callStatus);
|
|
@@ -76,6 +86,11 @@ export function solanaPrivateKeyToKeypair(privateKeyBase58) /*throws*/{
|
|
|
76
86
|
return nativeModule().ubrn_uniffi_wallet_fn_func_solana_private_key_to_keypair(FfiConverterString.lower(privateKeyBase58), callStatus);
|
|
77
87
|
}, /*liftString:*/FfiConverterString.lift));
|
|
78
88
|
}
|
|
89
|
+
export function stellarKeypairFromSecret(secret) /*throws*/{
|
|
90
|
+
return FfiConverterTypeStellarKeyPair.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeStellarWalletError.lift.bind(FfiConverterTypeStellarWalletError), /*caller:*/callStatus => {
|
|
91
|
+
return nativeModule().ubrn_uniffi_wallet_fn_func_stellar_keypair_from_secret(FfiConverterString.lower(secret), callStatus);
|
|
92
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
93
|
+
}
|
|
79
94
|
export function stringToBase64(input) {
|
|
80
95
|
return FfiConverterString.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
81
96
|
return nativeModule().ubrn_uniffi_wallet_fn_func_string_to_base64(FfiConverterString.lower(input), callStatus);
|
|
@@ -224,6 +239,49 @@ const FfiConverterTypeKeyPair = (() => {
|
|
|
224
239
|
}
|
|
225
240
|
return new FFIConverter();
|
|
226
241
|
})();
|
|
242
|
+
/**
|
|
243
|
+
* Generated factory for {@link StellarKeyPair} record objects.
|
|
244
|
+
*/
|
|
245
|
+
export const StellarKeyPair = (() => {
|
|
246
|
+
const defaults = () => ({});
|
|
247
|
+
const create = (() => {
|
|
248
|
+
return uniffiCreateRecord(defaults);
|
|
249
|
+
})();
|
|
250
|
+
return Object.freeze({
|
|
251
|
+
/**
|
|
252
|
+
* Create a frozen instance of {@link StellarKeyPair}, with defaults specified
|
|
253
|
+
* in Rust, in the {@link wallet} crate.
|
|
254
|
+
*/
|
|
255
|
+
create,
|
|
256
|
+
/**
|
|
257
|
+
* Create a frozen instance of {@link StellarKeyPair}, with defaults specified
|
|
258
|
+
* in Rust, in the {@link wallet} crate.
|
|
259
|
+
*/
|
|
260
|
+
new: create,
|
|
261
|
+
/**
|
|
262
|
+
* Defaults specified in the {@link wallet} crate.
|
|
263
|
+
*/
|
|
264
|
+
defaults: () => Object.freeze(defaults())
|
|
265
|
+
});
|
|
266
|
+
})();
|
|
267
|
+
const FfiConverterTypeStellarKeyPair = (() => {
|
|
268
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
269
|
+
read(from) {
|
|
270
|
+
return {
|
|
271
|
+
publicKey: FfiConverterString.read(from),
|
|
272
|
+
secretKey: FfiConverterString.read(from)
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
write(value, into) {
|
|
276
|
+
FfiConverterString.write(value.publicKey, into);
|
|
277
|
+
FfiConverterString.write(value.secretKey, into);
|
|
278
|
+
}
|
|
279
|
+
allocationSize(value) {
|
|
280
|
+
return FfiConverterString.allocationSize(value.publicKey) + FfiConverterString.allocationSize(value.secretKey);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
return new FFIConverter();
|
|
284
|
+
})();
|
|
227
285
|
const stringConverter = {
|
|
228
286
|
stringToBytes: s => uniffiCaller.rustCall(status => nativeModule().ubrn_uniffi_internal_fn_func_ffi__string_to_arraybuffer(s, status)),
|
|
229
287
|
bytesToString: ab => uniffiCaller.rustCall(status => nativeModule().ubrn_uniffi_internal_fn_func_ffi__arraybuffer_to_string(ab, status)),
|
|
@@ -2127,6 +2185,179 @@ const FfiConverterTypeSolanaWalletError = (() => {
|
|
|
2127
2185
|
return new FFIConverter();
|
|
2128
2186
|
})();
|
|
2129
2187
|
|
|
2188
|
+
// Error type: StellarWalletError
|
|
2189
|
+
|
|
2190
|
+
// Enum: StellarWalletError
|
|
2191
|
+
export let StellarWalletError_Tags = /*#__PURE__*/function (StellarWalletError_Tags) {
|
|
2192
|
+
StellarWalletError_Tags["InvalidMnemonic"] = "InvalidMnemonic";
|
|
2193
|
+
StellarWalletError_Tags["InvalidDerivationPath"] = "InvalidDerivationPath";
|
|
2194
|
+
StellarWalletError_Tags["DerivationError"] = "DerivationError";
|
|
2195
|
+
StellarWalletError_Tags["InvalidSecretKey"] = "InvalidSecretKey";
|
|
2196
|
+
return StellarWalletError_Tags;
|
|
2197
|
+
}({});
|
|
2198
|
+
export const StellarWalletError = (() => {
|
|
2199
|
+
class InvalidMnemonic_ extends UniffiError {
|
|
2200
|
+
/**
|
|
2201
|
+
* @private
|
|
2202
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2203
|
+
*/
|
|
2204
|
+
[uniffiTypeNameSymbol] = 'StellarWalletError';
|
|
2205
|
+
tag = StellarWalletError_Tags.InvalidMnemonic;
|
|
2206
|
+
constructor() {
|
|
2207
|
+
super('StellarWalletError', 'InvalidMnemonic');
|
|
2208
|
+
}
|
|
2209
|
+
static new() {
|
|
2210
|
+
return new InvalidMnemonic_();
|
|
2211
|
+
}
|
|
2212
|
+
static instanceOf(obj) {
|
|
2213
|
+
return obj.tag === StellarWalletError_Tags.InvalidMnemonic;
|
|
2214
|
+
}
|
|
2215
|
+
static hasInner(obj) {
|
|
2216
|
+
return false;
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
class InvalidDerivationPath_ extends UniffiError {
|
|
2220
|
+
/**
|
|
2221
|
+
* @private
|
|
2222
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2223
|
+
*/
|
|
2224
|
+
[uniffiTypeNameSymbol] = 'StellarWalletError';
|
|
2225
|
+
tag = StellarWalletError_Tags.InvalidDerivationPath;
|
|
2226
|
+
constructor() {
|
|
2227
|
+
super('StellarWalletError', 'InvalidDerivationPath');
|
|
2228
|
+
}
|
|
2229
|
+
static new() {
|
|
2230
|
+
return new InvalidDerivationPath_();
|
|
2231
|
+
}
|
|
2232
|
+
static instanceOf(obj) {
|
|
2233
|
+
return obj.tag === StellarWalletError_Tags.InvalidDerivationPath;
|
|
2234
|
+
}
|
|
2235
|
+
static hasInner(obj) {
|
|
2236
|
+
return false;
|
|
2237
|
+
}
|
|
2238
|
+
}
|
|
2239
|
+
class DerivationError_ extends UniffiError {
|
|
2240
|
+
/**
|
|
2241
|
+
* @private
|
|
2242
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2243
|
+
*/
|
|
2244
|
+
[uniffiTypeNameSymbol] = 'StellarWalletError';
|
|
2245
|
+
tag = StellarWalletError_Tags.DerivationError;
|
|
2246
|
+
constructor() {
|
|
2247
|
+
super('StellarWalletError', 'DerivationError');
|
|
2248
|
+
}
|
|
2249
|
+
static new() {
|
|
2250
|
+
return new DerivationError_();
|
|
2251
|
+
}
|
|
2252
|
+
static instanceOf(obj) {
|
|
2253
|
+
return obj.tag === StellarWalletError_Tags.DerivationError;
|
|
2254
|
+
}
|
|
2255
|
+
static hasInner(obj) {
|
|
2256
|
+
return false;
|
|
2257
|
+
}
|
|
2258
|
+
}
|
|
2259
|
+
class InvalidSecretKey_ extends UniffiError {
|
|
2260
|
+
/**
|
|
2261
|
+
* @private
|
|
2262
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2263
|
+
*/
|
|
2264
|
+
[uniffiTypeNameSymbol] = 'StellarWalletError';
|
|
2265
|
+
tag = StellarWalletError_Tags.InvalidSecretKey;
|
|
2266
|
+
constructor() {
|
|
2267
|
+
super('StellarWalletError', 'InvalidSecretKey');
|
|
2268
|
+
}
|
|
2269
|
+
static new() {
|
|
2270
|
+
return new InvalidSecretKey_();
|
|
2271
|
+
}
|
|
2272
|
+
static instanceOf(obj) {
|
|
2273
|
+
return obj.tag === StellarWalletError_Tags.InvalidSecretKey;
|
|
2274
|
+
}
|
|
2275
|
+
static hasInner(obj) {
|
|
2276
|
+
return false;
|
|
2277
|
+
}
|
|
2278
|
+
}
|
|
2279
|
+
function instanceOf(obj) {
|
|
2280
|
+
return obj[uniffiTypeNameSymbol] === 'StellarWalletError';
|
|
2281
|
+
}
|
|
2282
|
+
return Object.freeze({
|
|
2283
|
+
instanceOf,
|
|
2284
|
+
InvalidMnemonic: InvalidMnemonic_,
|
|
2285
|
+
InvalidDerivationPath: InvalidDerivationPath_,
|
|
2286
|
+
DerivationError: DerivationError_,
|
|
2287
|
+
InvalidSecretKey: InvalidSecretKey_
|
|
2288
|
+
});
|
|
2289
|
+
})();
|
|
2290
|
+
// FfiConverter for enum StellarWalletError
|
|
2291
|
+
const FfiConverterTypeStellarWalletError = (() => {
|
|
2292
|
+
const ordinalConverter = FfiConverterInt32;
|
|
2293
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2294
|
+
read(from) {
|
|
2295
|
+
switch (ordinalConverter.read(from)) {
|
|
2296
|
+
case 1:
|
|
2297
|
+
return new StellarWalletError.InvalidMnemonic();
|
|
2298
|
+
case 2:
|
|
2299
|
+
return new StellarWalletError.InvalidDerivationPath();
|
|
2300
|
+
case 3:
|
|
2301
|
+
return new StellarWalletError.DerivationError();
|
|
2302
|
+
case 4:
|
|
2303
|
+
return new StellarWalletError.InvalidSecretKey();
|
|
2304
|
+
default:
|
|
2305
|
+
throw new UniffiInternalError.UnexpectedEnumCase();
|
|
2306
|
+
}
|
|
2307
|
+
}
|
|
2308
|
+
write(value, into) {
|
|
2309
|
+
switch (value.tag) {
|
|
2310
|
+
case StellarWalletError_Tags.InvalidMnemonic:
|
|
2311
|
+
{
|
|
2312
|
+
ordinalConverter.write(1, into);
|
|
2313
|
+
return;
|
|
2314
|
+
}
|
|
2315
|
+
case StellarWalletError_Tags.InvalidDerivationPath:
|
|
2316
|
+
{
|
|
2317
|
+
ordinalConverter.write(2, into);
|
|
2318
|
+
return;
|
|
2319
|
+
}
|
|
2320
|
+
case StellarWalletError_Tags.DerivationError:
|
|
2321
|
+
{
|
|
2322
|
+
ordinalConverter.write(3, into);
|
|
2323
|
+
return;
|
|
2324
|
+
}
|
|
2325
|
+
case StellarWalletError_Tags.InvalidSecretKey:
|
|
2326
|
+
{
|
|
2327
|
+
ordinalConverter.write(4, into);
|
|
2328
|
+
return;
|
|
2329
|
+
}
|
|
2330
|
+
default:
|
|
2331
|
+
// Throwing from here means that StellarWalletError_Tags hasn't matched an ordinal.
|
|
2332
|
+
throw new UniffiInternalError.UnexpectedEnumCase();
|
|
2333
|
+
}
|
|
2334
|
+
}
|
|
2335
|
+
allocationSize(value) {
|
|
2336
|
+
switch (value.tag) {
|
|
2337
|
+
case StellarWalletError_Tags.InvalidMnemonic:
|
|
2338
|
+
{
|
|
2339
|
+
return ordinalConverter.allocationSize(1);
|
|
2340
|
+
}
|
|
2341
|
+
case StellarWalletError_Tags.InvalidDerivationPath:
|
|
2342
|
+
{
|
|
2343
|
+
return ordinalConverter.allocationSize(2);
|
|
2344
|
+
}
|
|
2345
|
+
case StellarWalletError_Tags.DerivationError:
|
|
2346
|
+
{
|
|
2347
|
+
return ordinalConverter.allocationSize(3);
|
|
2348
|
+
}
|
|
2349
|
+
case StellarWalletError_Tags.InvalidSecretKey:
|
|
2350
|
+
{
|
|
2351
|
+
return ordinalConverter.allocationSize(4);
|
|
2352
|
+
}
|
|
2353
|
+
default:
|
|
2354
|
+
throw new UniffiInternalError.UnexpectedEnumCase();
|
|
2355
|
+
}
|
|
2356
|
+
}
|
|
2357
|
+
}
|
|
2358
|
+
return new FFIConverter();
|
|
2359
|
+
})();
|
|
2360
|
+
|
|
2130
2361
|
/**
|
|
2131
2362
|
* This should be called before anything else.
|
|
2132
2363
|
*
|
|
@@ -2166,6 +2397,9 @@ function uniffiEnsureInitialized() {
|
|
|
2166
2397
|
if (nativeModule().ubrn_uniffi_wallet_checksum_func_generate_solana_keypair() !== 19681) {
|
|
2167
2398
|
throw new UniffiInternalError.ApiChecksumMismatch('uniffi_wallet_checksum_func_generate_solana_keypair');
|
|
2168
2399
|
}
|
|
2400
|
+
if (nativeModule().ubrn_uniffi_wallet_checksum_func_generate_stellar_keypair() !== 1735) {
|
|
2401
|
+
throw new UniffiInternalError.ApiChecksumMismatch('uniffi_wallet_checksum_func_generate_stellar_keypair');
|
|
2402
|
+
}
|
|
2169
2403
|
if (nativeModule().ubrn_uniffi_wallet_checksum_func_is_valid_ethereum_private_key() !== 13240) {
|
|
2170
2404
|
throw new UniffiInternalError.ApiChecksumMismatch('uniffi_wallet_checksum_func_is_valid_ethereum_private_key');
|
|
2171
2405
|
}
|
|
@@ -2175,12 +2409,18 @@ function uniffiEnsureInitialized() {
|
|
|
2175
2409
|
if (nativeModule().ubrn_uniffi_wallet_checksum_func_is_valid_solana_private_key() !== 18401) {
|
|
2176
2410
|
throw new UniffiInternalError.ApiChecksumMismatch('uniffi_wallet_checksum_func_is_valid_solana_private_key');
|
|
2177
2411
|
}
|
|
2412
|
+
if (nativeModule().ubrn_uniffi_wallet_checksum_func_is_valid_stellar_secret() !== 32164) {
|
|
2413
|
+
throw new UniffiInternalError.ApiChecksumMismatch('uniffi_wallet_checksum_func_is_valid_stellar_secret');
|
|
2414
|
+
}
|
|
2178
2415
|
if (nativeModule().ubrn_uniffi_wallet_checksum_func_is_valid_wif() !== 52436) {
|
|
2179
2416
|
throw new UniffiInternalError.ApiChecksumMismatch('uniffi_wallet_checksum_func_is_valid_wif');
|
|
2180
2417
|
}
|
|
2181
2418
|
if (nativeModule().ubrn_uniffi_wallet_checksum_func_solana_private_key_to_keypair() !== 14566) {
|
|
2182
2419
|
throw new UniffiInternalError.ApiChecksumMismatch('uniffi_wallet_checksum_func_solana_private_key_to_keypair');
|
|
2183
2420
|
}
|
|
2421
|
+
if (nativeModule().ubrn_uniffi_wallet_checksum_func_stellar_keypair_from_secret() !== 6725) {
|
|
2422
|
+
throw new UniffiInternalError.ApiChecksumMismatch('uniffi_wallet_checksum_func_stellar_keypair_from_secret');
|
|
2423
|
+
}
|
|
2184
2424
|
if (nativeModule().ubrn_uniffi_wallet_checksum_func_string_to_base64() !== 56728) {
|
|
2185
2425
|
throw new UniffiInternalError.ApiChecksumMismatch('uniffi_wallet_checksum_func_string_to_base64');
|
|
2186
2426
|
}
|
|
@@ -2192,7 +2432,8 @@ export default Object.freeze({
|
|
|
2192
2432
|
FfiConverterTypeBitcoinKeyPair,
|
|
2193
2433
|
FfiConverterTypeBitcoinKeyPair2,
|
|
2194
2434
|
FfiConverterTypeKeyPair,
|
|
2195
|
-
FfiConverterTypeNetwork
|
|
2435
|
+
FfiConverterTypeNetwork,
|
|
2436
|
+
FfiConverterTypeStellarKeyPair
|
|
2196
2437
|
}
|
|
2197
2438
|
});
|
|
2198
2439
|
//# sourceMappingURL=wallet.js.map
|