@exodus/hw-ledger 1.3.0 → 1.3.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,18 @@
|
|
|
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
|
+
## [1.3.2](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/hw-ledger@1.3.1...@exodus/hw-ledger@1.3.2) (2023-12-05)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- bump min required bitcoin firmware ([#4954](https://github.com/ExodusMovement/exodus-hydra/issues/4954)) ([ff19dfa](https://github.com/ExodusMovement/exodus-hydra/commit/ff19dfa3656ebf04d7f023f30a659a25a4f1c233))
|
|
11
|
+
|
|
12
|
+
## [1.3.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/hw-ledger@1.3.0...@exodus/hw-ledger@1.3.1) (2023-11-28)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- ledger removed isEIP712Message export ([#4911](https://github.com/ExodusMovement/exodus-hydra/issues/4911)) ([dccbd2f](https://github.com/ExodusMovement/exodus-hydra/commit/dccbd2f7e53050e6132e2537f87571f70d445946))
|
|
17
|
+
|
|
6
18
|
## [1.3.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/hw-ledger@1.2.0...@exodus/hw-ledger@1.3.0) (2023-11-28)
|
|
7
19
|
|
|
8
20
|
### Features
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import bs58 from 'bs58';
|
|
2
|
-
import { AppClient, DefaultWalletPolicy, PsbtV2 } from 'ledger-bitcoin';
|
|
2
|
+
import { AppClient, DefaultWalletPolicy, PsbtV2 } from '@exodus/ledger-bitcoin';
|
|
3
3
|
import { splitBip44DerivationPath } from './utils';
|
|
4
4
|
import assert from 'minimalistic-assert';
|
|
5
5
|
async function createHandler(transport) {
|
|
@@ -44,7 +44,7 @@ async function createHandler(transport) {
|
|
|
44
44
|
}
|
|
45
45
|
const metadata = {
|
|
46
46
|
applicationName: 'Bitcoin',
|
|
47
|
-
supportedVersions: '^2.1.
|
|
47
|
+
supportedVersions: '^2.1.2',
|
|
48
48
|
handler: createHandler,
|
|
49
49
|
};
|
|
50
50
|
export default metadata;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import secp256k1 from '@exodus/secp256k1';
|
|
2
2
|
import * as ethers from '@exodus/ethersproject-transactions';
|
|
3
|
-
import AppEth, { ledgerService
|
|
3
|
+
import AppEth, { ledgerService } from '@exodus/ledgerhq-hw-app-eth';
|
|
4
4
|
import { TypedDataUtils, SignTypedDataVersion, } from '@metamask/eth-sig-util';
|
|
5
5
|
import assert from 'minimalistic-assert';
|
|
6
6
|
import { buildFauxXPUB } from './utils';
|
|
@@ -18,6 +18,13 @@ function hashEIP712Message(typedData) {
|
|
|
18
18
|
hashStructMessage,
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
+
function isEIP712Message(message) {
|
|
22
|
+
return (typeof message === 'object' &&
|
|
23
|
+
'types' in message &&
|
|
24
|
+
'primaryType' in message &&
|
|
25
|
+
'domain' in message &&
|
|
26
|
+
'message' in message);
|
|
27
|
+
}
|
|
21
28
|
async function createHandler(transport) {
|
|
22
29
|
const app = new AppEth(transport);
|
|
23
30
|
return {
|
|
@@ -14,7 +14,7 @@ export declare class LedgerDiscovery extends ExodusModule implements HardwareWal
|
|
|
14
14
|
#private;
|
|
15
15
|
constructor({ logger, transportsFactories }: Dependencies);
|
|
16
16
|
list: () => Promise<HardwareWalletDescriptor[]>;
|
|
17
|
-
getFirstDevice: () => Promise<import("@exodus/hw-common").HardwareWalletDevice
|
|
17
|
+
getFirstDevice: () => Promise<import("@exodus/hw-common").HardwareWalletDevice<import("@exodus/hw-common").Message>>;
|
|
18
18
|
}
|
|
19
19
|
declare const _default: {
|
|
20
20
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/hw-ledger",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "The ledger module",
|
|
5
5
|
"author": "Exodus Movement Inc.",
|
|
6
6
|
"repository": {
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@exodus/ethersproject-abi": "^5.4.2-exodus.2",
|
|
33
33
|
"@exodus/ethersproject-transactions": "^5.4.2-exodus.0",
|
|
34
|
-
"@exodus/hw-common": "^1.2.
|
|
34
|
+
"@exodus/hw-common": "^1.2.1",
|
|
35
|
+
"@exodus/ledger-bitcoin": "^0.2.3-exodus.0",
|
|
36
|
+
"@exodus/ledgerhq-hw-app-eth": "^6.33.7-exodus.0",
|
|
35
37
|
"@exodus/secp256k1": "^4.0.2-exodus.0",
|
|
36
|
-
"@ledgerhq/hw-app-eth": "^6.33.6",
|
|
37
38
|
"@ledgerhq/hw-app-solana": "^7.0.10",
|
|
38
39
|
"@ledgerhq/hw-transport": "^6.28.5",
|
|
39
40
|
"@metamask/eth-sig-util": "^4.0.1",
|
|
40
41
|
"bs58": "^4.0.0",
|
|
41
42
|
"bs58check": "^2.1.2",
|
|
42
|
-
"ledger-bitcoin": "^0.2.2",
|
|
43
43
|
"minimalistic-assert": "^1.0.1",
|
|
44
44
|
"semver": "^7.3.5"
|
|
45
45
|
},
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"ts-jest": "^29.0.3",
|
|
63
63
|
"typescript": "^4.7.3"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "d8f26958c3e7cf55de5bc2cbe4f4ae2a075e5051"
|
|
66
66
|
}
|