evm-chains-info 0.0.39 → 0.0.41
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/libevm-chains-info +17 -3
- package/package.json +6 -6
package/libevm-chains-info
CHANGED
|
@@ -616,9 +616,23 @@ function
|
|
|
616
616
|
// _filter_output_type);
|
|
617
617
|
// _json_read(
|
|
618
618
|
// _db_path);
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
619
|
+
try {
|
|
620
|
+
_db =
|
|
621
|
+
_json_read(
|
|
622
|
+
_db_path);
|
|
623
|
+
}
|
|
624
|
+
catch(
|
|
625
|
+
_error) {
|
|
626
|
+
_msg =
|
|
627
|
+
"Error reading database at " +
|
|
628
|
+
`location '${_db_path}'.`;
|
|
629
|
+
_msg_error(
|
|
630
|
+
_msg,
|
|
631
|
+
0);
|
|
632
|
+
_echo2(
|
|
633
|
+
_error);
|
|
634
|
+
throw _error;
|
|
635
|
+
}
|
|
622
636
|
_msg =
|
|
623
637
|
`Database '${_db_path}' ` +
|
|
624
638
|
`contains '${_db.length}' items.`;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name":
|
|
3
3
|
"evm-chains-info",
|
|
4
4
|
"version":
|
|
5
|
-
"0.0.
|
|
5
|
+
"0.0.41",
|
|
6
6
|
"description":
|
|
7
7
|
"Returns information about Ethereum Virtual Machine (EVM) blockchains.",
|
|
8
8
|
"funding": {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"crash-js-webpack":
|
|
60
|
-
"^0.0.
|
|
60
|
+
"^0.0.79",
|
|
61
61
|
"flatted":
|
|
62
62
|
"^3.4.4",
|
|
63
63
|
"eslint":
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"libcrash-js":
|
|
78
|
-
"npm:crash-js@^
|
|
78
|
+
"npm:crash-js@^1000000000000013.1000000000000001.1000000000000001",
|
|
79
79
|
"ethereum-data":
|
|
80
80
|
"^0.0.12",
|
|
81
81
|
"yargs":
|
|
@@ -83,15 +83,15 @@
|
|
|
83
83
|
},
|
|
84
84
|
"optionalDependencies": {
|
|
85
85
|
"evm-wallet":
|
|
86
|
-
"npm:evm-wallet.js@^0.0.
|
|
86
|
+
"npm:evm-wallet.js@^0.0.103"
|
|
87
87
|
},
|
|
88
88
|
"overrides": {
|
|
89
89
|
"evm-chains-info":
|
|
90
90
|
"./libevm-chains-info",
|
|
91
91
|
"evm-contracts-tools":
|
|
92
|
-
"^0.0.
|
|
92
|
+
"^0.0.72",
|
|
93
93
|
"evm-wallet":
|
|
94
|
-
"npm:evm-wallet.js@^0.0.
|
|
94
|
+
"npm:evm-wallet.js@^0.0.103"
|
|
95
95
|
},
|
|
96
96
|
"type":
|
|
97
97
|
"module",
|