@yerofey/cryptowallet-cli 1.31.0 → 1.31.1

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 +1 -1
  2. package/src/Wallet.js +12 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yerofey/cryptowallet-cli",
3
- "version": "1.31.0",
3
+ "version": "1.31.1",
4
4
  "description": "Crypto wallet generator CLI tool",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/yerofey/cryptowallet-cli",
package/src/Wallet.js CHANGED
@@ -518,6 +518,11 @@ class Wallet {
518
518
  urlSafe: true, // (UQ)
519
519
  testOnly: false,
520
520
  });
521
+ const bouncableAddressV5 = v5Address.toString({
522
+ bounceable: true,
523
+ urlSafe: false, // (EQ)
524
+ testOnly: false,
525
+ });
521
526
 
522
527
  Object.assign(result, {
523
528
  addresses: [
@@ -526,12 +531,16 @@ class Wallet {
526
531
  address: nonBounceableV5Address,
527
532
  },
528
533
  {
529
- title: 'V4R2: UQ format (new): best for wallets, - non-bounceable',
534
+ title:
535
+ 'V5R1: EQ format (new): best for smart contracts, - bounceable',
536
+ address: bouncableAddressV5,
537
+ },
538
+ {
539
+ title: 'V4R2: UQ format: best for wallets, - non-bounceable',
530
540
  address: nonBounceableAddress,
531
541
  },
532
542
  {
533
- title:
534
- 'V4R2: EQ format (old): best for smart contracts, - bounceable',
543
+ title: 'V4R2: EQ format: best for smart contracts, - bounceable',
535
544
  address: bouncableAddress,
536
545
  },
537
546
  ],