@yerofey/cryptowallet-cli 1.17.7 → 1.18.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.
Files changed (2) hide show
  1. package/package.json +31 -1
  2. package/src/Method.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yerofey/cryptowallet-cli",
3
- "version": "1.17.7",
3
+ "version": "1.18.0",
4
4
  "description": "Crypto wallet generator CLI tool",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/yerofey/cryptowallet-cli",
@@ -10,6 +10,36 @@
10
10
  },
11
11
  "author": "Yerofey S. <pm@yerofey.dev> (https://github.com/yerofey)",
12
12
  "license": "MIT",
13
+ "funding": [
14
+ {
15
+ "type": "paypal",
16
+ "url": "https://paypal.me/Jerofej"
17
+ },
18
+ {
19
+ "type": "bitcoin",
20
+ "url": "bitcoin:bc1qcwamquntxshqsjcra6vryftrfd9z57j02g3ywq"
21
+ },
22
+ {
23
+ "type": "ethereum",
24
+ "url": "ethereum:0xe3e3ed78d9f8A935a9a0fCE2a7305F2f5DBabAD8"
25
+ },
26
+ {
27
+ "type": "solana",
28
+ "address": "CWsbNQRxNzAasLd2zfwkEkbBZXKxfoxva14pe8wawUju"
29
+ },
30
+ {
31
+ "type": "usdt",
32
+ "address": "TCW9eaRWjpivZvnZ5DwgbWxPRpoZNWbuPe"
33
+ },
34
+ {
35
+ "type": "ton",
36
+ "url": "ton://transfer/UQCWYNjNQdRp7lfmehDWA-RgPqipbI3crX3qFN1MDLpgkyCS"
37
+ },
38
+ {
39
+ "type": "dogecoin",
40
+ "url": "dogecoin:DMAkWQKx1H6ESG3beDBssn5mAAZcwkrYVh"
41
+ }
42
+ ],
13
43
  "bin": {
14
44
  "cryptowallet": "cli.js",
15
45
  "cw": "cli.js"
package/src/Method.js CHANGED
@@ -223,7 +223,7 @@ class Method {
223
223
  const addressCutPrefixLength = addressStartingSymbol.length;
224
224
  const addressHighlightedPart = item.address.substring(
225
225
  addressCutPrefixLength + cw.options.prefix.length,
226
- cw.options.prefix.length + 1
226
+ cw.options.prefix.length
227
227
  );
228
228
  const addressLastPart = item.address.slice(
229
229
  cw.options.prefix.length + addressCutPrefixLength,
@@ -248,7 +248,7 @@ class Method {
248
248
  const addressCutPrefixLength = addressStartingSymbol.length;
249
249
  const addressHighlightedPart = item.address.substring(
250
250
  addressCutPrefixLength + cw.options.prefix.length,
251
- cw.options.prefix.length + 1
251
+ cw.options.prefix.length
252
252
  );
253
253
  const addressLastPart = item.address.slice(
254
254
  cw.options.prefix.length + addressCutPrefixLength