evm-chains-info 0.0.30 → 0.0.31

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.
@@ -37,22 +37,28 @@
37
37
  db_paths:
38
38
  writable */
39
39
  /* global
40
- db_types */
40
+ db_types:
41
+ writable */
41
42
  /* global
42
43
  input_type:
43
44
  writable */
44
45
  /* global
45
- user_level */
46
+ user_level:
47
+ writable */
46
48
  /* global
47
- target_chain */
49
+ target_chain:
50
+ writable */
48
51
  /* global
49
52
  target_network:
50
53
  writable */
51
54
 
52
55
  const
53
- _libcrash_module =
54
- require(
56
+ _libcrash_module_import =
57
+ await import(
55
58
  "crash-js");
59
+ const
60
+ _libcrash_module =
61
+ _libcrash_module_import.default;
56
62
  /* global
57
63
  _homedir_get */
58
64
  const
@@ -108,6 +114,11 @@ const
108
114
  const
109
115
  _range =
110
116
  _libcrash_module._range;
117
+ /* global
118
+ _require */
119
+ const
120
+ _require =
121
+ _libcrash_module._require;
111
122
  /* global
112
123
  _rm */
113
124
  const
@@ -115,7 +126,7 @@ const
115
126
  _libcrash_module._rm;
116
127
  const
117
128
  _ethereum_data_module =
118
- require(
129
+ await _require(
119
130
  "ethereum-data");
120
131
  /* global
121
132
  _data_get */
@@ -765,7 +776,7 @@ async function
765
776
  _user_level);
766
777
  }
767
778
 
768
- function
779
+ async function
769
780
  _target_network_type_auto_detect() {
770
781
  let
771
782
  _info_get,
@@ -805,7 +816,7 @@ function
805
816
  if ( _info_get ) {
806
817
  const
807
818
  _libevm_module =
808
- require(
819
+ await _require(
809
820
  "libevm");
810
821
  const
811
822
  _rpc_get =
@@ -1065,8 +1076,8 @@ async function
1065
1076
  _msg;
1066
1077
  const
1067
1078
  _evm_wallet_module =
1068
- require(
1069
- "evm-wallet.js");
1079
+ await _require(
1080
+ "evm-wallet");
1070
1081
  const
1071
1082
  _block_number_get =
1072
1083
  _evm_wallet_module._block_number_get;
@@ -1307,5 +1318,7 @@ module.exports = {
1307
1318
  _rpc_backend_get:
1308
1319
  _rpc_backend_get,
1309
1320
  _rpc_backends_get:
1310
- _rpc_backends_get
1321
+ _rpc_backends_get,
1322
+ _target_network_type_auto_detect:
1323
+ _target_network_type_auto_detect
1311
1324
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name":
3
3
  "evm-chains-info",
4
4
  "version":
5
- "0.0.30",
5
+ "0.0.31",
6
6
  "description":
7
7
  "Returns information about Ethereum Virtual Machine (EVM) blockchains.",
8
8
  "funding": {
@@ -58,7 +58,7 @@
58
58
  },
59
59
  "devDependencies": {
60
60
  "crash-js-webpack":
61
- "^0.0.45",
61
+ "^0.0.48",
62
62
  "flatted":
63
63
  "^3.2.9",
64
64
  "eslint":
@@ -68,7 +68,7 @@
68
68
  "@eslint/js":
69
69
  "^10.0.1",
70
70
  "safely-serve":
71
- "^0.0.9",
71
+ "^0.0.11",
72
72
  "webpack":
73
73
  "^5.109.2",
74
74
  "webpack-cli":
@@ -76,26 +76,26 @@
76
76
  },
77
77
  "dependencies": {
78
78
  "crash-js":
79
- "^0.1111.1111111111111111",
79
+ "^0.1111111111.1111111111111111",
80
80
  "ethereum-data":
81
- "^0.0.6",
81
+ "^0.0.8",
82
82
  "yargs":
83
83
  "18.0.0"
84
84
  },
85
85
  "optionalDependencies": {
86
- "evm-wallet.js":
87
- "^0.0.70"
86
+ "evm-wallet":
87
+ "npm:evm-wallet.js@^0.0.75"
88
88
  },
89
89
  "overrides": {
90
90
  "evm-chains-info":
91
91
  "./libevm-chains-info",
92
92
  "evm-contracts-tools":
93
- "^0.0.45",
94
- "evm-wallet.js":
95
- "^0.0.70"
93
+ "^0.0.50",
94
+ "evm-wallet":
95
+ "npm:evm-wallet.js@^0.0.75"
96
96
  },
97
97
  "type":
98
- "commonjs",
98
+ "module",
99
99
  "main":
100
100
  "libevm-chains-info",
101
101
  "bin": {