@exodus/hw-ledger 3.8.0 → 3.8.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.8.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/hw-ledger@3.8.0...@exodus/hw-ledger@3.8.1) (2025-12-16)
7
+
8
+ **Note:** Version bump only for package @exodus/hw-ledger
9
+
6
10
  ## [3.8.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/hw-ledger@3.7.0...@exodus/hw-ledger@3.8.0) (2025-12-11)
7
11
 
8
12
  ### Features
@@ -1,4 +1,4 @@
1
- import bs58 from 'bs58';
1
+ import { fromBase58 } from '@exodus/bytes/base58.js';
2
2
  import { AppClient, PsbtV2 } from '@exodus/ledger-bitcoin';
3
3
  import { BIP322 } from '@exodus/bip322-js';
4
4
  import { splitBip44DerivationPath } from './utils';
@@ -27,7 +27,8 @@ async function createHandler(transport, walletPolicyAtom) {
27
27
  return app.getExtendedPubkey(params.derivationPath);
28
28
  };
29
29
  const getPublicKey = async (params) => {
30
- return bs58.decode(await app.getExtendedPubkey(params.derivationPath)).slice(45, 45 + 33);
30
+ const pubString = await app.getExtendedPubkey(params.derivationPath);
31
+ return fromBase58(pubString, 'buffer').subarray(45, 45 + 33);
31
32
  };
32
33
  const signTransaction = async (params) => {
33
34
  assert(Buffer.isBuffer(params.signableTransaction), 'signableTransaction must be PSBT buffer');
@@ -1,6 +1,6 @@
1
1
  import AppSolana from '@ledgerhq/hw-app-solana';
2
2
  import assert from 'minimalistic-assert';
3
- import bs58 from 'bs58';
3
+ import { toBase58 } from '@exodus/bytes/base58.js';
4
4
  import { XPubUnsupportedError } from '@exodus/hw-common';
5
5
  import { RequiresBlindSigningError } from '../errors';
6
6
  import applications from './applications';
@@ -8,7 +8,7 @@ async function createHandler(transport) {
8
8
  const app = new AppSolana(transport);
9
9
  const getAddress = async (params) => {
10
10
  const { address } = await app.getAddress(params.derivationPath.replace('m/', ''));
11
- return bs58.encode(address);
11
+ return toBase58(address);
12
12
  };
13
13
  const getXPub = async (params) => {
14
14
  throw new XPubUnsupportedError();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/hw-ledger",
3
- "version": "3.8.0",
3
+ "version": "3.8.1",
4
4
  "description": "The ledger module",
5
5
  "author": "Exodus Movement, Inc.",
6
6
  "repository": {
@@ -47,7 +47,6 @@
47
47
  "@ledgerhq/hw-app-trx": "^6.29.4",
48
48
  "@ledgerhq/hw-app-xrp": "^6.32.7",
49
49
  "@ledgerhq/hw-transport": "^6.28.5",
50
- "bs58": "^4.0.0",
51
50
  "minimalistic-assert": "^1.0.1",
52
51
  "semver": "^7.3.5"
53
52
  },
@@ -55,7 +54,6 @@
55
54
  "@exodus/bip32": "^4.1.0",
56
55
  "@exodus/dependency-types": "^2.1.1",
57
56
  "@solana/web3.js": "^1.78.0",
58
- "@types/bs58": "^4.0.1",
59
57
  "@types/minimalistic-assert": "^1.0.1",
60
58
  "@types/semver": "^7.3.5",
61
59
  "@zondax/zemu": "^0.51.0",
@@ -67,5 +65,5 @@
67
65
  "access": "public",
68
66
  "provenance": false
69
67
  },
70
- "gitHead": "95d196bd3cb808f5f511db5f885e6a468665049b"
68
+ "gitHead": "4edda992663795fb90a1c31923241ef9ddd477d3"
71
69
  }