evm-contracts-tools 0.0.21 → 0.0.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  { "name": "evm-contracts-tools",
2
2
  "version":
3
- "0.0.21",
3
+ "0.0.24",
4
4
  "description":
5
5
  "JavaScript programs and libraries to enable seamless development of native computer applications designed to interact with Ethereum Virtual Machine-compatible networks.",
6
6
  "funding": {
@@ -16,18 +16,18 @@
16
16
  "AUTHORS.rst",
17
17
  "COPYING",
18
18
  "README.md",
19
+ "dist",
19
20
  "evm-contract-call",
20
- "evm-contract-call.js",
21
21
  "evm-contract-call.webpack.config.js",
22
- "fs-worker.js",
23
22
  "fs-worker.webpack.config.js",
24
23
  "index.html",
25
24
  "libevm-contract-call",
26
25
  "libevm-contract-call.webpack.config.js",
27
26
  "lib",
28
- "libevm-contracts-tools",
27
+ "evm-contracts-tools",
29
28
  "package.json",
30
- "serve.json"
29
+ "serve.json",
30
+ "webpack.config.js"
31
31
  ],
32
32
  "keywords": [
33
33
  "ur",
@@ -78,24 +78,24 @@
78
78
  },
79
79
  "dependencies": {
80
80
  "crash-js":
81
- "^0.1.101",
81
+ "^0.1.107",
82
82
  "ethers":
83
83
  "^6.13.2",
84
84
  "evm-chains-info":
85
- "^0.0.18",
85
+ "^0.0.21",
86
86
  "evm-transactions-tools":
87
87
  "^0.0.8",
88
88
  "evm-wallet.js":
89
- "^0.0.31",
89
+ "^0.0.40",
90
90
  "libevm":
91
- "^0.0.15",
91
+ "^0.0.20",
92
92
  "yargs":
93
93
  "18.0.0"
94
94
  },
95
95
  "type":
96
96
  "commonjs",
97
97
  "main":
98
- "libevm-contracts-tools",
98
+ "evm-contracts-tools",
99
99
  "bin":
100
100
  {
101
101
  "evm-contract-call":
@@ -108,9 +108,11 @@
108
108
  "lib/evm-contract-call-static" },
109
109
  "scripts": {
110
110
  "build-fs-worker":
111
- "npx webpack --mode 'production' --config 'fs-worker.webpack.config.cjs' --stats-error-details",
111
+ "npx webpack --mode 'production' --config 'fs-worker.webpack.config.cjs' --stats-error-details && cp 'fs-worker.js' 'dist/'{'evm-contract-call','evm-contracts-tools','libevm-contract-call'}",
112
112
  "build-lib":
113
- "npx webpack --mode 'production' --config 'libevm-contracts-tools.webpack.config.cjs' --stats-error-details",
113
+ "npx webpack --mode 'production' --config 'libevm-contract-call.webpack.config.cjs' --stats-error-details && mv 'libevm-contract-call.js' 'dist/libevm-contract-call'",
114
+ "build-bin":
115
+ "npx webpack --mode 'production' --config 'evm-contract-call.webpack.config.cjs' --stats-error-details && mv 'evm-contract-call.js' 'dist/evm-contract-call' && npx webpack --mode 'production' --config 'webpack.config.cjs' --stats-error-details && mv 'evm-contracts-tools.js' 'dist/evm-contracts-tools'",
114
116
  "build":
115
117
  "npm run lint && npm run build-fs-worker && npm run build-lib",
116
118
  "lint":
package/fs-worker.js DELETED
@@ -1 +0,0 @@
1
- (()=>{var e={816(e,o,n){function t(){let e;return"undefined"==typeof window&&void 0!==n.g&&n.g.global===n.g&&"function"!=typeof n||(e=function(){let e;try{e=n(816)}catch(e){console.log(e);const o="Error importing the '@themartiancompany/opfs' module as 'opfs'. If you got this error while bundling a webpack for a project depending on this module double check its 'webpack.config.js' file or whether the 'opfs' module is listed in developer dependencies and install them.I'm sorry for this inconvenience but Node packagement system does not currently distinguish 'development' from 'build' dependencies.";throw console.error(o),e}return e}()),e}const r=t();e.exports=r,e.exports.getModule=function(e){let o;if(""==_module_name||"undefined"==typeof _module_name)o=t();else if("opfs"==_module_name)o=n(816);else{if("fs"!=_module_name){const e="Unknown file system module "+`'${_module_name}'.`.const;throw _error={msg:e},console.error(e),_error}o=n(816)}return o}},314(e,o,n){const t=n(816);_sync_agent=t.startSyncAgent,e.exports={_sync_agent},_sync_agent()}},o={};function n(t){var r=o[t];if(void 0!==r)return r.exports;var s=o[t]={exports:{}};return e[t](s,s.exports,n),s.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n(314)})();
File without changes