@exodus/hw-ledger 3.8.0 → 3.8.2
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,16 @@
|
|
|
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.2](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/hw-ledger@3.8.1...@exodus/hw-ledger@3.8.2) (2025-12-17)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- fix(hw-ledger): ripple app supported versions (#14684)
|
|
11
|
+
|
|
12
|
+
## [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)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @exodus/hw-ledger
|
|
15
|
+
|
|
6
16
|
## [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
17
|
|
|
8
18
|
### Features
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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
|
-
|
|
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
|
|
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
|
|
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.
|
|
3
|
+
"version": "3.8.2",
|
|
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": "
|
|
68
|
+
"gitHead": "50552a63d53fcceeb435ce3d6163e48e12ac6c82"
|
|
71
69
|
}
|