evm-chains-info 0.0.21 → 0.0.22

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.
@@ -884,8 +884,17 @@ function
884
884
  if ( _output_type == "rpc" ) {
885
885
  for ( _result of _results ) {
886
886
  for ( _rpc of _result) {
887
- _infos.push(
888
- _rpc);
887
+ if ( _api_key == "y" ) {
888
+ _infos.push(
889
+ _rpc);
890
+ }
891
+ else if ( _api_key == "n" ) {
892
+ if ( ! _rpc.includes(
893
+ "API_KEY") ) {
894
+ _infos.push(
895
+ _rpc);
896
+ }
897
+ }
889
898
  if ( _selection_method == "kirsh" ) {
890
899
  break;
891
900
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name":
3
3
  "evm-chains-info",
4
4
  "version":
5
- "0.0.21",
5
+ "0.0.22",
6
6
  "description":
7
7
  "Returns information about Ethereum Virtual Machine (EVM) blockchains.",
8
8
  "funding": {