libevm 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/libevm +1 -1
- package/libevm +10 -14
- package/package.json +2 -2
package/libevm
CHANGED
|
@@ -431,6 +431,16 @@ function
|
|
|
431
431
|
_argv[
|
|
432
432
|
"api-key"];
|
|
433
433
|
}
|
|
434
|
+
if ( "T" in _argv ) {
|
|
435
|
+
api_key =
|
|
436
|
+
_argv[
|
|
437
|
+
"T"];
|
|
438
|
+
}
|
|
439
|
+
if ( "call-timeout" in _argv ) {
|
|
440
|
+
call_timeout =
|
|
441
|
+
_argv[
|
|
442
|
+
"call-timeout"];
|
|
443
|
+
}
|
|
434
444
|
if ( "n" in _argv ) {
|
|
435
445
|
target_networks.push(
|
|
436
446
|
_argv[
|
|
@@ -548,11 +558,6 @@ async function
|
|
|
548
558
|
}
|
|
549
559
|
_wallet_address =
|
|
550
560
|
"";
|
|
551
|
-
_msg =
|
|
552
|
-
"Getting default wallets credentials paths for " +
|
|
553
|
-
`app '${_wallet_app}' and wallet '${_wallet_name}'.`;
|
|
554
|
-
_msg_info(
|
|
555
|
-
_msg);
|
|
556
561
|
if ( _call_auth == "y" ) {
|
|
557
562
|
// undefined
|
|
558
563
|
_wallet_path =
|
|
@@ -567,10 +572,6 @@ async function
|
|
|
567
572
|
_wallet_app,
|
|
568
573
|
_wallet_name,
|
|
569
574
|
_qr_support);
|
|
570
|
-
_msg =
|
|
571
|
-
`Wallet seed: '${_wallet_seed}'`;
|
|
572
|
-
_msg_info(
|
|
573
|
-
_msg);
|
|
574
575
|
_wallet_password =
|
|
575
576
|
_secret_get(
|
|
576
577
|
"password",
|
|
@@ -587,11 +588,6 @@ async function
|
|
|
587
588
|
"", // _chain_name,
|
|
588
589
|
"", // _output_file
|
|
589
590
|
);
|
|
590
|
-
// to be turned into _msg_debug
|
|
591
|
-
_msg =
|
|
592
|
-
`Wallet address: '${_wallet_address}'`;
|
|
593
|
-
_msg_info(
|
|
594
|
-
_msg);
|
|
595
591
|
}
|
|
596
592
|
else if ( _call_auth == "n" ) {
|
|
597
593
|
if ( typeof(
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name":
|
|
3
3
|
"libevm",
|
|
4
4
|
"version":
|
|
5
|
-
"0.0.
|
|
5
|
+
"0.0.21",
|
|
6
6
|
"description":
|
|
7
7
|
"Library providing useful functions to write native applications interacting with EVM-compatible blockchain networks.",
|
|
8
8
|
"funding": {
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"evm-chains-info":
|
|
79
79
|
"^0.0.21",
|
|
80
80
|
"evm-wallet.js":
|
|
81
|
-
"^0.0.
|
|
81
|
+
"^0.0.43",
|
|
82
82
|
"yargs":
|
|
83
83
|
"18.0.0"
|
|
84
84
|
},
|