evm-contracts-tools 0.0.50 → 0.0.52

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.
Files changed (75) hide show
  1. package/dist/evm-contract-call/evm-contract-call.js +1 -2
  2. package/dist/evm-contract-call/fs-worker.js +1 -1
  3. package/dist/evm-contract-deployment-abi/evm-contract-deployment-abi.js +1 -2
  4. package/dist/evm-contract-deployment-abi/fs-worker.js +1 -1
  5. package/dist/evm-contract-deployment-address/evm-contract-deployment-address.js +1 -2
  6. package/dist/evm-contract-deployment-address/fs-worker.js +1 -1
  7. package/dist/evm-contract-deployment-bytecode/evm-contract-deployment-bytecode.js +1 -2
  8. package/dist/evm-contract-deployment-bytecode/fs-worker.js +1 -1
  9. package/dist/evm-contract-deployment-compiler-output/evm-contract-deployment-compiler-output.js +1 -2
  10. package/dist/evm-contract-deployment-compiler-output/fs-worker.js +1 -1
  11. package/dist/evm-contract-deployment-deployment-networks +1 -1
  12. package/dist/evm-contract-deployment-networks/evm-contract-deployment-networks.js +1 -2
  13. package/dist/evm-contract-deployment-versions/evm-contract-deployment-versions.js +1 -2
  14. package/dist/evm-contract-deployment-versions/fs-worker.js +1 -1
  15. package/dist/evm-contract-deployments-dir/evm-contract-deployments-dir.js +1 -2
  16. package/dist/evm-contract-deployments-dir/fs-worker.js +1 -1
  17. package/dist/evm-contracts-tools/evm-contracts-tools.js +1 -2
  18. package/dist/evm-contracts-tools/fs-worker.js +1 -1
  19. package/dist/libevm-contract-call/fs-worker.js +1 -1
  20. package/dist/libevm-contract-call/libevm-contract-call.js +1 -2
  21. package/dist/libevm-contract-deployment-abi/fs-worker.js +1 -1
  22. package/dist/libevm-contract-deployment-abi/libevm-contract-deployment-abi.js +1 -2
  23. package/dist/libevm-contract-deployment-address/fs-worker.js +1 -1
  24. package/dist/libevm-contract-deployment-address/libevm-contract-deployment-address.js +1 -1
  25. package/dist/libevm-contract-deployment-bytecode/fs-worker.js +1 -1
  26. package/dist/libevm-contract-deployment-bytecode/libevm-contract-deployment-bytecode.js +1 -2
  27. package/dist/libevm-contract-deployment-compiler-output/fs-worker.js +1 -1
  28. package/dist/libevm-contract-deployment-compiler-output/libevm-contract-deployment-compiler-output.js +1 -0
  29. package/dist/libevm-contract-deployment-deployment-networks +1 -1
  30. package/dist/libevm-contract-deployment-networks/libevm-contract-deployment-networks.js +1 -2
  31. package/dist/libevm-contract-deployment-versions/fs-worker.js +1 -1
  32. package/dist/libevm-contract-deployment-versions/libevm-contract-deployment-versions.js +1 -2
  33. package/dist/libevm-contract-deployments-dir/fs-worker.js +1 -1
  34. package/dist/libevm-contract-deployments-dir/libevm-contract-deployments-dir.js +1 -2
  35. package/dist/libevm-contracts-tools +1 -1
  36. package/eslint.config.mjs +131 -0
  37. package/evm-contract-call +348 -151
  38. package/evm-contract-call.webpack.config.cjs +159 -0
  39. package/evm-contract-deployment-abi +212 -87
  40. package/evm-contract-deployment-abi.webpack.config.cjs +159 -0
  41. package/evm-contract-deployment-address +209 -89
  42. package/evm-contract-deployment-address.webpack.config.cjs +159 -0
  43. package/evm-contract-deployment-bytecode +146 -61
  44. package/evm-contract-deployment-bytecode.webpack.config.cjs +159 -0
  45. package/evm-contract-deployment-compiler-output +168 -67
  46. package/evm-contract-deployment-compiler-output.webpack.config.cjs +159 -0
  47. package/evm-contract-deployment-networks +160 -68
  48. package/evm-contract-deployment-networks.webpack.config.cjs +159 -0
  49. package/evm-contract-deployment-versions +138 -66
  50. package/evm-contract-deployment-versions.webpack.config.cjs +159 -0
  51. package/evm-contract-deployments-dir +116 -47
  52. package/evm-contract-deployments-dir.webpack.config.cjs +159 -0
  53. package/evm-contracts-tools +41 -29
  54. package/fs-worker.webpack.config.cjs +82 -0
  55. package/lib/address-check +0 -0
  56. package/lib/evm-contract-call-dynamic +0 -0
  57. package/lib/evm-contract-call-static +0 -0
  58. package/libevm-contract-call +254 -58
  59. package/libevm-contract-call.webpack.config.cjs +159 -0
  60. package/libevm-contract-deployment +39 -41
  61. package/libevm-contract-deployment-abi +31 -18
  62. package/libevm-contract-deployment-abi.webpack.config.cjs +155 -0
  63. package/libevm-contract-deployment-address.webpack.config.cjs +155 -0
  64. package/libevm-contract-deployment-bytecode +31 -18
  65. package/libevm-contract-deployment-bytecode.webpack.config.cjs +155 -0
  66. package/libevm-contract-deployment-compiler-output +32 -19
  67. package/libevm-contract-deployment-compiler-output.webpack.config.cjs +155 -0
  68. package/libevm-contract-deployment-networks +20 -11
  69. package/libevm-contract-deployment-networks.webpack.config.cjs +159 -0
  70. package/libevm-contract-deployment-versions +16 -10
  71. package/libevm-contract-deployment-versions.webpack.config.cjs +159 -0
  72. package/libevm-contract-deployments-dir +12 -7
  73. package/libevm-contract-deployments-dir.webpack.config.cjs +159 -0
  74. package/package.json +49 -50
  75. package/webpack.config.cjs +155 -0
@@ -0,0 +1,155 @@
1
+ /** ---------------------------------------------------------
2
+ * libevm-contract-deployment-bytecode.webpack.config.cjs
3
+ * ---------------------------------------------------------
4
+ * Copyright ©
5
+ * Pellegrino Prevete
6
+ * 2024, 2025, 2026
7
+ *
8
+ * All rights reserved
9
+ * ---------------------------------------------------------
10
+ *
11
+ * This program is free software: you can redistribute it and/or
12
+ * modify it under the terms of the GNU General Public License
13
+ * as published by the Free Software Foundation, either
14
+ * version 3 of the License, or (at your option) any later
15
+ * version.
16
+ *
17
+ * This program is distributed in the hope that it will be
18
+ * useful, but WITHOUT ANY WARRANTY; without even the implied
19
+ * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
20
+ * PURPOSE.
21
+ * See the GNU General Public License for more details.
22
+ *
23
+ * You should have received a copy of the
24
+ * GNU General Public License along with this program.
25
+ * If not, see <https://www.gnu.org/licenses/>.
26
+ */
27
+
28
+ const
29
+ _path =
30
+ require(
31
+ 'path');
32
+ const
33
+ _output_dir =
34
+ _path.resolve(
35
+ __dirname);
36
+ const
37
+ _input_file_name =
38
+ `libevm-contract-deployment-bytecode`;
39
+ const
40
+ _input_file_path =
41
+ `./${_input_file_name}`;
42
+ const
43
+ _output_file_name =
44
+ `${_input_file_name}.js`;
45
+ const
46
+ _output = {
47
+ path:
48
+ _output_dir,
49
+ filename:
50
+ _output_file_name
51
+ };
52
+ const
53
+ _node_fs_ignore = {
54
+ resourceRegExp:
55
+ /^node:fs$/
56
+ };
57
+ const
58
+ _yargs_ignore =
59
+ { resourceRegExp:
60
+ /^yargs$/ };
61
+ const
62
+ _yargs_helpers_ignore = {
63
+ resourceRegExp:
64
+ /^yargs\/helpers$/
65
+ };
66
+ const
67
+ _webpack =
68
+ require(
69
+ "webpack");
70
+ const
71
+ _ignore_plugin =
72
+ _webpack.IgnorePlugin;
73
+ const
74
+ _node_fs_ignore_plugin =
75
+ new _ignore_plugin(
76
+ _node_fs_ignore);
77
+ const
78
+ _yargs_ignore_plugin =
79
+ new _ignore_plugin(
80
+ _yargs_ignore);
81
+ const
82
+ _yargs_helpers_ignore_plugin =
83
+ new _ignore_plugin(
84
+ _yargs_helpers_ignore);
85
+ module.exports = {
86
+ entry:
87
+ _input_file_path,
88
+ output:
89
+ _output,
90
+ optimization: {
91
+ moduleIds: 'deterministic',
92
+ },
93
+ resolve: {
94
+ alias: {
95
+ "fs":
96
+ _path.resolve(
97
+ __dirname,
98
+ 'node_modules/fs/fs'),
99
+ "evm-contracts-tools":
100
+ _path.resolve(
101
+ __dirname,
102
+ "evm-contracts-tools"),
103
+ "evm-transactions-tools":
104
+ _path.resolve(
105
+ __dirname,
106
+ "node_modules/evm-transactions-tools/evm-transactions-tools"),
107
+ "evm-wallet":
108
+ _path.resolve(
109
+ __dirname,
110
+ 'node_modules/evm-wallet/libevm-wallet'),
111
+ "libevm":
112
+ _path.resolve(
113
+ __dirname,
114
+ 'node_modules/libevm/libevm'),
115
+ "path":
116
+ _path.resolve(
117
+ __dirname,
118
+ 'node_modules/path/mod.js'),
119
+ "web-worker":
120
+ _path.resolve(
121
+ __dirname,
122
+ 'node_modules/web-worker/mod.js'),
123
+ "yargs":
124
+ _path.resolve(
125
+ __dirname,
126
+ 'node_modules/yargs/browser.mjs'),
127
+ "yargs/helpers":
128
+ _path.resolve(
129
+ __dirname,
130
+ 'node_modules/yargs/helpers/helpers.mjs'),
131
+ "yargs-parser":
132
+ _path.resolve(
133
+ __dirname,
134
+ 'node_modules/yargs-parser/browser.mjs'),
135
+ },
136
+ fallback: {
137
+ "utils":
138
+ false,
139
+ "web-worker":
140
+ false,
141
+ "yargs":
142
+ false,
143
+ "yargs/helpers":
144
+ false,
145
+ }
146
+ },
147
+ externals:
148
+ { yargs:
149
+ 'yargs' },
150
+ plugins: [
151
+ _node_fs_ignore_plugin,
152
+ _yargs_ignore_plugin,
153
+ _yargs_helpers_ignore_plugin
154
+ ]
155
+ };
@@ -3,7 +3,7 @@
3
3
  // SPDX-License-Identifier: AGPL-3.0-or-later
4
4
 
5
5
  /** ----------------------------------------------------------------
6
- * libevm-contract-deployment-address
6
+ * libevm-contract-deployment-compiler-output
7
7
  * ----------------------------------------------------------------
8
8
  * Copyright ©
9
9
  * Pellegrino Prevete
@@ -61,8 +61,8 @@
61
61
 
62
62
  const
63
63
  _libcrash_module =
64
- require(
65
- "crash-js");
64
+ await import(
65
+ "libcrash-js");
66
66
  /* global
67
67
  _basename */
68
68
  const
@@ -143,9 +143,14 @@ const
143
143
  const
144
144
  _pwd =
145
145
  _libcrash_module._pwd;
146
+ /* global
147
+ _require */
148
+ const
149
+ _require =
150
+ _libcrash_module._require;
146
151
  const
147
152
  _evm_chains_info_module =
148
- require(
153
+ await _require(
149
154
  "evm-chains-info");
150
155
  /* global
151
156
  _evm_chains_info */
@@ -154,7 +159,7 @@ const
154
159
  _evm_chains_info_module._evm_chains_info;
155
160
  const
156
161
  _libevm_contract_deployments_dir_module =
157
- require(
162
+ await import(
158
163
  "./libevm-contract-deployments-dir");
159
164
  /* global
160
165
  _evm_contract_deployments_dir */
@@ -163,7 +168,7 @@ const
163
168
  _libevm_contract_deployments_dir_module._evm_contract_deployments_dir;
164
169
  const
165
170
  _libevm_contract_deployment_module =
166
- require(
171
+ await import(
167
172
  "./libevm-contract-deployment");
168
173
  /* global
169
174
  _contract_version_auto_detect */
@@ -197,7 +202,7 @@ const
197
202
  _libevm_contract_deployment_module._user_deployments_check;
198
203
  const
199
204
  _libevm_contract_deployment_networks_module =
200
- require(
205
+ await import(
201
206
  "./libevm-contract-deployment-networks");
202
207
  /* global
203
208
  _evm_contract_deployment_networks */
@@ -206,7 +211,7 @@ const
206
211
  _libevm_contract_deployment_networks_module._evm_contract_deployment_networks;
207
212
  const
208
213
  _libevm_contract_deployment_versions_module =
209
- require(
214
+ await import(
210
215
  "./libevm-contract-deployment-versions");
211
216
  /* global
212
217
  _evm_contract_deployment_versions */
@@ -432,15 +437,23 @@ async function
432
437
  return _contracts_compiler_outputs;
433
438
  }
434
439
 
435
- module.exports = {
436
- _contract_version_auto_detect:
437
- _contract_version_auto_detect,
438
- _deployments_dir_auto_detect:
439
- _deployments_dir_auto_detect,
440
- _evm_contract_deployment_compiler_output:
441
- _evm_contract_deployment_compiler_output,
442
- _networks_all_auto_detect:
443
- _networks_all_auto_detect,
444
- _target_app_auto_detect:
445
- _target_app_auto_detect
440
+ export {
441
+ _contract_version_auto_detect,
442
+ _deployments_dir_auto_detect,
443
+ _evm_contract_deployment_compiler_output,
444
+ _networks_all_auto_detect,
445
+ _target_app_auto_detect
446
446
  };
447
+
448
+ // module.exports = {
449
+ // _contract_version_auto_detect:
450
+ // _contract_version_auto_detect,
451
+ // _deployments_dir_auto_detect:
452
+ // _deployments_dir_auto_detect,
453
+ // _evm_contract_deployment_compiler_output:
454
+ // _evm_contract_deployment_compiler_output,
455
+ // _networks_all_auto_detect:
456
+ // _networks_all_auto_detect,
457
+ // _target_app_auto_detect:
458
+ // _target_app_auto_detect
459
+ // };
@@ -0,0 +1,155 @@
1
+ /** ---------------------------------------------------------
2
+ * libevm-contract-deployment-compiler-output.webpack.config.cjs
3
+ * ---------------------------------------------------------
4
+ * Copyright ©
5
+ * Pellegrino Prevete
6
+ * 2024, 2025, 2026
7
+ *
8
+ * All rights reserved
9
+ * ---------------------------------------------------------
10
+ *
11
+ * This program is free software: you can redistribute it and/or
12
+ * modify it under the terms of the GNU General Public License
13
+ * as published by the Free Software Foundation, either
14
+ * version 3 of the License, or (at your option) any later
15
+ * version.
16
+ *
17
+ * This program is distributed in the hope that it will be
18
+ * useful, but WITHOUT ANY WARRANTY; without even the implied
19
+ * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
20
+ * PURPOSE.
21
+ * See the GNU General Public License for more details.
22
+ *
23
+ * You should have received a copy of the
24
+ * GNU General Public License along with this program.
25
+ * If not, see <https://www.gnu.org/licenses/>.
26
+ */
27
+
28
+ const
29
+ _path =
30
+ require(
31
+ 'path');
32
+ const
33
+ _output_dir =
34
+ _path.resolve(
35
+ __dirname);
36
+ const
37
+ _input_file_name =
38
+ `libevm-contract-deployment-compiler-output`;
39
+ const
40
+ _input_file_path =
41
+ `./${_input_file_name}`;
42
+ const
43
+ _output_file_name =
44
+ `${_input_file_name}.js`;
45
+ const
46
+ _output = {
47
+ path:
48
+ _output_dir,
49
+ filename:
50
+ _output_file_name
51
+ };
52
+ const
53
+ _node_fs_ignore = {
54
+ resourceRegExp:
55
+ /^node:fs$/
56
+ };
57
+ const
58
+ _yargs_ignore =
59
+ { resourceRegExp:
60
+ /^yargs$/ };
61
+ const
62
+ _yargs_helpers_ignore = {
63
+ resourceRegExp:
64
+ /^yargs\/helpers$/
65
+ };
66
+ const
67
+ _webpack =
68
+ require(
69
+ "webpack");
70
+ const
71
+ _ignore_plugin =
72
+ _webpack.IgnorePlugin;
73
+ const
74
+ _node_fs_ignore_plugin =
75
+ new _ignore_plugin(
76
+ _node_fs_ignore);
77
+ const
78
+ _yargs_ignore_plugin =
79
+ new _ignore_plugin(
80
+ _yargs_ignore);
81
+ const
82
+ _yargs_helpers_ignore_plugin =
83
+ new _ignore_plugin(
84
+ _yargs_helpers_ignore);
85
+ module.exports = {
86
+ entry:
87
+ _input_file_path,
88
+ output:
89
+ _output,
90
+ optimization: {
91
+ moduleIds: 'deterministic',
92
+ },
93
+ resolve: {
94
+ alias: {
95
+ "fs":
96
+ _path.resolve(
97
+ __dirname,
98
+ 'node_modules/fs/fs'),
99
+ "evm-contracts-tools":
100
+ _path.resolve(
101
+ __dirname,
102
+ "evm-contracts-tools"),
103
+ "evm-transactions-tools":
104
+ _path.resolve(
105
+ __dirname,
106
+ "node_modules/evm-transactions-tools/evm-transactions-tools"),
107
+ "evm-wallet":
108
+ _path.resolve(
109
+ __dirname,
110
+ 'node_modules/evm-wallet/libevm-wallet'),
111
+ "libevm":
112
+ _path.resolve(
113
+ __dirname,
114
+ 'node_modules/libevm/libevm'),
115
+ "path":
116
+ _path.resolve(
117
+ __dirname,
118
+ 'node_modules/path/mod.js'),
119
+ "web-worker":
120
+ _path.resolve(
121
+ __dirname,
122
+ 'node_modules/web-worker/mod.js'),
123
+ "yargs":
124
+ _path.resolve(
125
+ __dirname,
126
+ 'node_modules/yargs/browser.mjs'),
127
+ "yargs/helpers":
128
+ _path.resolve(
129
+ __dirname,
130
+ 'node_modules/yargs/helpers/helpers.mjs'),
131
+ "yargs-parser":
132
+ _path.resolve(
133
+ __dirname,
134
+ 'node_modules/yargs-parser/browser.mjs'),
135
+ },
136
+ fallback: {
137
+ "utils":
138
+ false,
139
+ "web-worker":
140
+ false,
141
+ "yargs":
142
+ false,
143
+ "yargs/helpers":
144
+ false,
145
+ }
146
+ },
147
+ externals:
148
+ { yargs:
149
+ 'yargs' },
150
+ plugins: [
151
+ _node_fs_ignore_plugin,
152
+ _yargs_ignore_plugin,
153
+ _yargs_helpers_ignore_plugin
154
+ ]
155
+ };
@@ -33,8 +33,8 @@
33
33
 
34
34
  const
35
35
  _libcrash_module =
36
- require(
37
- "crash-js");
36
+ await import(
37
+ "libcrash-js");
38
38
  /* global
39
39
  _dir_exists */
40
40
  const
@@ -85,6 +85,11 @@ const
85
85
  const
86
86
  _path_join =
87
87
  _libcrash_module._path_join;
88
+ /* global
89
+ _require */
90
+ const
91
+ _require =
92
+ _libcrash_module._require;
88
93
  /* global
89
94
  _stat */
90
95
  const
@@ -92,7 +97,7 @@ const
92
97
  _libcrash_module._stat;
93
98
  const
94
99
  _libevm_contract_deployment_module =
95
- require(
100
+ await import(
96
101
  "./libevm-contract-deployment");
97
102
  /* global
98
103
  _network_check */
@@ -101,7 +106,7 @@ const
101
106
  _libevm_contract_deployment_module._network_check;
102
107
  const
103
108
  _libevm_contract_deployments_dir_module =
104
- require(
109
+ await import(
105
110
  "./libevm-contract-deployments-dir");
106
111
  /* global
107
112
  _evm_contract_deployments_dir */
@@ -110,7 +115,7 @@ const
110
115
  _libevm_contract_deployments_dir_module._evm_contract_deployments_dir;
111
116
  const
112
117
  _evm_chains_info_module =
113
- require(
118
+ await _require(
114
119
  "evm-chains-info");
115
120
  /* global
116
121
  _evm_chains_info */
@@ -118,7 +123,6 @@ const
118
123
  _evm_chains_info =
119
124
  _evm_chains_info_module._evm_chains_info;
120
125
 
121
-
122
126
  function
123
127
  _contract_address_get(
124
128
  _deployments,
@@ -245,9 +249,14 @@ async function
245
249
  return _networks;
246
250
  }
247
251
 
248
- module.exports = {
249
- _evm_contract_deployment_networks:
250
- _evm_contract_deployment_networks,
251
- _network_check:
252
- _network_check
252
+ export {
253
+ _evm_contract_deployment_networks,
254
+ _network_check
253
255
  };
256
+
257
+ // module.exports = {
258
+ // _evm_contract_deployment_networks:
259
+ // _evm_contract_deployment_networks,
260
+ // _network_check:
261
+ // _network_check
262
+ // };
@@ -0,0 +1,159 @@
1
+ /** ---------------------------------------------------------
2
+ * libevm-contract-deployment-networks.webpack.config.cjs
3
+ * ---------------------------------------------------------
4
+ * Copyright ©
5
+ * Pellegrino Prevete
6
+ * 2025, 2026
7
+ *
8
+ * All rights reserved
9
+ * ---------------------------------------------------------
10
+ *
11
+ * This program is free software: you can redistribute it and/or
12
+ * modify it under the terms of the GNU General Public License
13
+ * as published by the Free Software Foundation, either
14
+ * version 3 of the License, or (at your option) any later
15
+ * version.
16
+ *
17
+ * This program is distributed in the hope that it will be
18
+ * useful, but WITHOUT ANY WARRANTY; without even the implied
19
+ * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
20
+ * PURPOSE.
21
+ * See the GNU General Public License for more details.
22
+ *
23
+ * You should have received a copy of the
24
+ * GNU General Public License along with this program.
25
+ * If not, see <https://www.gnu.org/licenses/>.
26
+ */
27
+
28
+ const
29
+ _path =
30
+ require(
31
+ 'path');
32
+ const
33
+ _output_dir =
34
+ _path.resolve(
35
+ __dirname);
36
+ const
37
+ _input_file_name =
38
+ `libevm-contract-deployment-networks`;
39
+ const
40
+ _input_file_path =
41
+ `./${_input_file_name}`;
42
+ const
43
+ _output_file_name =
44
+ `${_input_file_name}.js`;
45
+ const
46
+ _output = {
47
+ path:
48
+ _output_dir,
49
+ filename:
50
+ _output_file_name
51
+ };
52
+ const
53
+ _node_fs_ignore = {
54
+ resourceRegExp:
55
+ /^node:fs$/
56
+ };
57
+ const
58
+ _yargs_ignore =
59
+ { resourceRegExp:
60
+ /^yargs$/ };
61
+ const
62
+ _yargs_helpers_ignore = {
63
+ resourceRegExp:
64
+ /^yargs\/helpers$/
65
+ };
66
+ const
67
+ _webpack =
68
+ require(
69
+ "webpack");
70
+ const
71
+ _ignore_plugin =
72
+ _webpack.IgnorePlugin;
73
+ const
74
+ _node_fs_ignore_plugin =
75
+ new _ignore_plugin(
76
+ _node_fs_ignore);
77
+ const
78
+ _yargs_ignore_plugin =
79
+ new _ignore_plugin(
80
+ _yargs_ignore);
81
+ const
82
+ _yargs_helpers_ignore_plugin =
83
+ new _ignore_plugin(
84
+ _yargs_helpers_ignore);
85
+ module.exports = {
86
+ entry:
87
+ _input_file_path,
88
+ output:
89
+ _output,
90
+ optimization: {
91
+ moduleIds: 'deterministic',
92
+ },
93
+ resolve: {
94
+ alias: {
95
+ "node:fs":
96
+ _path.resolve(
97
+ __dirname,
98
+ 'node_modules/opfs/opfs'),
99
+ "fs":
100
+ _path.resolve(
101
+ __dirname,
102
+ 'node_modules/fs/fs'),
103
+ "evm-contracts-tools":
104
+ _path.resolve(
105
+ __dirname,
106
+ "evm-contracts-tools"),
107
+ "evm-transactions-tools":
108
+ _path.resolve(
109
+ __dirname,
110
+ "node_modules/evm-transactions-tools/evm-transactions-tools"),
111
+ "evm-wallet":
112
+ _path.resolve(
113
+ __dirname,
114
+ 'node_modules/evm-wallet/libevm-wallet'),
115
+ "libevm":
116
+ _path.resolve(
117
+ __dirname,
118
+ 'node_modules/libevm/libevm'),
119
+ "path":
120
+ _path.resolve(
121
+ __dirname,
122
+ 'node_modules/path/mod.js'),
123
+ "web-worker":
124
+ _path.resolve(
125
+ __dirname,
126
+ 'node_modules/web-worker/mod.js'),
127
+ "yargs":
128
+ _path.resolve(
129
+ __dirname,
130
+ 'node_modules/yargs/browser.mjs'),
131
+ "yargs/helpers":
132
+ _path.resolve(
133
+ __dirname,
134
+ 'node_modules/yargs/helpers/helpers.mjs'),
135
+ "yargs-parser":
136
+ _path.resolve(
137
+ __dirname,
138
+ 'node_modules/yargs-parser/browser.mjs'),
139
+ },
140
+ fallback: {
141
+ "utils":
142
+ false,
143
+ "web-worker":
144
+ false,
145
+ "yargs":
146
+ false,
147
+ "yargs/helpers":
148
+ false,
149
+ }
150
+ },
151
+ externals:
152
+ { yargs:
153
+ 'yargs' },
154
+ plugins: [
155
+ _node_fs_ignore_plugin,
156
+ _yargs_ignore_plugin,
157
+ _yargs_helpers_ignore_plugin
158
+ ]
159
+ };
@@ -65,8 +65,8 @@
65
65
 
66
66
  const
67
67
  _libcrash_module =
68
- require(
69
- "crash-js");
68
+ await import(
69
+ "libcrash-js");
70
70
  /* global
71
71
  _file_read */
72
72
  const
@@ -94,7 +94,7 @@ const
94
94
  _libcrash_module._msg_error;
95
95
  const
96
96
  _libevm_contract_deployment_module =
97
- require(
97
+ await import(
98
98
  "./libevm-contract-deployment");
99
99
  /* global
100
100
  _configuration_format_auto_detect */
@@ -168,11 +168,17 @@ function
168
168
  return _versions;
169
169
  }
170
170
 
171
- module.exports = {
172
- _configuration_format_auto_detect:
173
- _configuration_format_auto_detect,
174
- _configuration_format_get:
175
- _configuration_format_get,
176
- _evm_contract_deployment_versions:
177
- _evm_contract_deployment_versions,
171
+ export {
172
+ _configuration_format_auto_detect,
173
+ _configuration_format_get,
174
+ _evm_contract_deployment_versions,
178
175
  };
176
+
177
+ // module.exports = {
178
+ // _configuration_format_auto_detect:
179
+ // _configuration_format_auto_detect,
180
+ // _configuration_format_get:
181
+ // _configuration_format_get,
182
+ // _evm_contract_deployment_versions:
183
+ // _evm_contract_deployment_versions,
184
+ // };