evm-chains-info 0.0.16 → 0.0.18

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.
@@ -230,24 +230,28 @@ function
230
230
  _msg;
231
231
  if ( typeof(
232
232
  _db_types) == "undefined" ||
233
- _db_types == [] ) {
233
+ _db_types == [] ||
234
+ _db_types == "" ) {
234
235
  _db_types = [
235
236
  "node",
236
237
  "system"
237
238
  ];
238
239
  }
239
240
  if ( typeof(
240
- _user_level) == "undefined" ) {
241
+ _user_level) == "undefined" ||
242
+ _user_level == "" ) {
241
243
  _user_level =
242
244
  "n";
243
245
  }
244
246
  if ( typeof(
245
- _format) == "undefined" ) {
247
+ _format) == "undefined" ||
248
+ _format == "" ) {
246
249
  _format =
247
250
  "split";
248
251
  }
249
252
  if ( typeof(
250
- _db_path) == "undefined" ) {
253
+ _db_path) == "undefined" ||
254
+ _db_path == "" ) {
251
255
  _db_path =
252
256
  _evm_chains_db_path_get(
253
257
  _user_level,
@@ -343,7 +347,9 @@ function
343
347
  "system"
344
348
  ];
345
349
  }
346
- if ( _user_level == undefined ) {
350
+ if ( typeof(
351
+ _user_level) == "undefined" ||
352
+ _user_level == "" ) {
347
353
  _user_level =
348
354
  "y";
349
355
  }