@yerofey/cryptowallet-cli 1.8.8 → 1.9.0
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/README.md +2 -4
- package/package.json +3 -3
- package/src/utils.js +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
[](https://npmjs.com/@yerofey/cryptowallet-cli)
|
|
5
5
|
[](https://npmjs.com/package/@yerofey/cryptowallet-cli)
|
|
6
6
|
|
|
7
|
-
> Crypto wallet generator CLI tool
|
|
7
|
+
> Crypto wallet generator CLI tool
|
|
8
8
|
|
|
9
9
|

|
|
10
10
|
|
|
@@ -155,7 +155,7 @@ $ cw -l
|
|
|
155
155
|
|
|
156
156
|
## TODO
|
|
157
157
|
|
|
158
|
-
- [ ] Windows
|
|
158
|
+
- [ ] Test if is working on Windows (should be, actually)
|
|
159
159
|
- [ ] SegWit Bech32 wallet address support for all Bitcoin forks
|
|
160
160
|
- [ ] More EVM compatible cryptos
|
|
161
161
|
- [ ] tests
|
|
@@ -164,8 +164,6 @@ $ cw -l
|
|
|
164
164
|
|
|
165
165
|
[Yerofey S.](https://github.com/yerofey)
|
|
166
166
|
|
|
167
|
-
Contact me: [Email](mailto:pm@yerofey.dev), [Telegram](https://t.me/etofej)
|
|
168
|
-
|
|
169
167
|
## License
|
|
170
168
|
|
|
171
169
|
[MIT](https://github.com/yerofey/cryptowallet-cli/blob/master/LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yerofey/cryptowallet-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Crypto wallet generator CLI tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://github.com/yerofey/cryptowallet-cli",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"tronweb": "5.0.0"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"ava": "^5.
|
|
89
|
-
"eslint": "^8.
|
|
88
|
+
"ava": "^5.2.0",
|
|
89
|
+
"eslint": "^8.34.0"
|
|
90
90
|
}
|
|
91
91
|
}
|
package/src/utils.js
CHANGED
|
@@ -34,7 +34,7 @@ const objectHasAllKeys = (obj, keysArray) =>
|
|
|
34
34
|
|
|
35
35
|
let supportedChains = [];
|
|
36
36
|
// eslint-disable-next-line no-undef
|
|
37
|
-
const chainsFolder = `${path.dirname(import.meta.url)}/chains/`.replace('file://', '');
|
|
37
|
+
const chainsFolder = `${path.dirname(decodeURIComponent(import.meta.url))}/chains/`.replace('file://', '');
|
|
38
38
|
filesList(chainsFolder).forEach((item) => {
|
|
39
39
|
const name = item.replace(chainsFolder, '').replace('.json', '');
|
|
40
40
|
supportedChains.push(name);
|