evm-chains-info 0.0.20 → 0.0.21

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.
@@ -0,0 +1,24 @@
1
+ <!--
2
+ SPDX-License-Identifier: AGPL-3.0-or-later
3
+
4
+ ----------------------------------------------------------------------
5
+ Copyright © 2024, 2025, 2026 Pellegrino Prevete
6
+
7
+ All rights reserved
8
+ ----------------------------------------------------------------------
9
+
10
+ This program is free software: you can redistribute it and/or modify
11
+ it under the terms of the GNU Affero General Public License as published by
12
+ the Free Software Foundation, either version 3 of the License, or
13
+ (at your option) any later version.
14
+
15
+ This program is distributed in the hope that it will be useful,
16
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
+ GNU Affero General Public License for more details.
19
+
20
+ You should have received a copy of the GNU Affero General Public License
21
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
22
+ -->
23
+
24
+ <script src="libevm-chains-info.js"></script>
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name":
3
3
  "evm-chains-info",
4
4
  "version":
5
- "0.0.20",
5
+ "0.0.21",
6
6
  "description":
7
7
  "Returns information about Ethereum Virtual Machine (EVM) blockchains.",
8
8
  "funding": {
@@ -94,19 +94,19 @@
94
94
  },
95
95
  "scripts": {
96
96
  "build-fs-worker":
97
- "npx webpack --mode 'production' --config 'fs-worker.webpack.config.cjs' --stats-error-details && cp 'fs-worker.js' 'dist' && cp 'fs-worker.js' 'dist/evm-chains-info'",
97
+ "npx webpack --mode 'production' --config 'fs-worker.webpack.config.cjs' --stats-error-details && cp 'fs-worker.js' 'dist/evm-chains-info' && cp 'fs-worker.js' 'dist/evm-chains-info'",
98
98
  "build-lib":
99
- "npx webpack --mode 'production' --config 'libevm-chains-info.webpack.config.cjs' --stats-error-details && mv 'libevm-chains-info.js' 'dist'",
99
+ "npx webpack --mode 'production' --config 'libevm-chains-info.webpack.config.cjs' --stats-error-details && mv 'libevm-chains-info.js' 'dist/libevm-chains-info'",
100
100
  "build-bin":
101
101
  "npx webpack --mode 'production' --config 'webpack.config.cjs' --stats-error-details && mv 'evm-chains-info.js' 'dist/evm-chains-info'",
102
102
  "build":
103
103
  "npm run lint && npm run build-fs-worker && npm run build-lib && npm run build-bin",
104
104
  "lint":
105
105
  "npx eslint .",
106
- "publish-pnm":
106
+ "publish-npm":
107
107
  "npm run build && npm publish --access public",
108
108
  "start":
109
- "npx safely-serve --help # index.html --port 3000 --https --no-cache",
109
+ "npx safely-serve 'dist/evm-chains-info' --port 3000 --https --no-cache",
110
110
  "test":
111
111
  "echo \"Error: no test specified\" && exit 1"
112
112
  }
package/dist/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)})();