@ledgerhq/ledger-key-ring-protocol 0.15.1 → 0.15.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 +26 -0
- package/README.md +15 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @ledgerhq/live-wallet
|
|
2
2
|
|
|
3
|
+
## 0.15.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`48dbd53`](https://github.com/LedgerHQ/ledger-live/commit/48dbd533a7a505cbb37989f8ce94f273f84bc7d2), [`13aeeb6`](https://github.com/LedgerHQ/ledger-live/commit/13aeeb6186997b433785e542ed1dafa6afde2267), [`798081d`](https://github.com/LedgerHQ/ledger-live/commit/798081db3e427c8d2d09930ceb836703146ca1ba)]:
|
|
8
|
+
- @ledgerhq/errors@6.37.0
|
|
9
|
+
- @ledgerhq/live-env@2.40.0
|
|
10
|
+
- @ledgerhq/speculos-transport@0.10.6
|
|
11
|
+
- @ledgerhq/hw-transport@6.35.5
|
|
12
|
+
- @ledgerhq/live-network@2.6.6
|
|
13
|
+
- @ledgerhq/hw-ledger-key-ring-protocol@0.10.7
|
|
14
|
+
- @ledgerhq/hw-transport-mocker@6.34.5
|
|
15
|
+
|
|
16
|
+
## 0.15.2-next.0
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [[`48dbd53`](https://github.com/LedgerHQ/ledger-live/commit/48dbd533a7a505cbb37989f8ce94f273f84bc7d2), [`13aeeb6`](https://github.com/LedgerHQ/ledger-live/commit/13aeeb6186997b433785e542ed1dafa6afde2267), [`798081d`](https://github.com/LedgerHQ/ledger-live/commit/798081db3e427c8d2d09930ceb836703146ca1ba)]:
|
|
21
|
+
- @ledgerhq/errors@6.37.0-next.0
|
|
22
|
+
- @ledgerhq/live-env@2.40.0-next.0
|
|
23
|
+
- @ledgerhq/speculos-transport@0.10.6-next.0
|
|
24
|
+
- @ledgerhq/hw-transport@6.35.5-next.0
|
|
25
|
+
- @ledgerhq/live-network@2.6.6-next.0
|
|
26
|
+
- @ledgerhq/hw-ledger-key-ring-protocol@0.10.7-next.0
|
|
27
|
+
- @ledgerhq/hw-transport-mocker@6.34.5-next.0
|
|
28
|
+
|
|
3
29
|
## 0.15.1
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
# @ledgerhq/ledger-key-ring-protocol
|
|
2
2
|
|
|
3
3
|
Ledger Key Ring Protocol layer.
|
|
4
4
|
|
|
@@ -18,6 +18,7 @@ and no network needed in CI.
|
|
|
18
18
|
|
|
19
19
|
- **Snapshots** — `mocks/scenarios/<slug>.json`. Recorded once per scenario, they capture
|
|
20
20
|
everything needed to replay it deterministically:
|
|
21
|
+
|
|
21
22
|
- `apdus` — the device APDU exchanges (replayed via `openTransportReplayer`),
|
|
22
23
|
- `http.transactions` — the trustchain-backend HTTP traffic (request + response),
|
|
23
24
|
- `crypto` — the random bytes / keypairs generated, so the run is reproducible.
|
|
@@ -56,3 +57,16 @@ Set `RUN_EVEN_IF_SNAPSHOT_EXISTS=1` to run a scenario live without overwriting i
|
|
|
56
57
|
(handy to check it still passes against staging). Speculos loopback traffic is filtered out
|
|
57
58
|
of the snapshot, and compressed response bodies are decoded before being stored, so the
|
|
58
59
|
replay can serve them as plain JSON.
|
|
60
|
+
|
|
61
|
+
The hardware-specific integration lives in
|
|
62
|
+
[../hw-ledger-key-ring-protocol](../hw-ledger-key-ring-protocol/README.md), and
|
|
63
|
+
the deterministic E2E replay script is documented in
|
|
64
|
+
[scripts/README.md](scripts/README.md).
|
|
65
|
+
|
|
66
|
+
Run package commands from the repository root:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
pnpm lkrp build
|
|
70
|
+
pnpm lkrp test
|
|
71
|
+
pnpm lkrp typecheck
|
|
72
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/ledger-key-ring-protocol",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.2",
|
|
4
4
|
"description": "Ledger Key Ring Protocol layer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ledger"
|
|
@@ -60,14 +60,14 @@
|
|
|
60
60
|
"isomorphic-ws": "5.0.0",
|
|
61
61
|
"rxjs": "7.8.2",
|
|
62
62
|
"ws": "8.18.3",
|
|
63
|
-
"@ledgerhq/errors": "6.
|
|
64
|
-
"@ledgerhq/hw-transport": "6.35.
|
|
65
|
-
"@ledgerhq/hw-transport-mocker": "6.34.
|
|
66
|
-
"@ledgerhq/hw-ledger-key-ring-protocol": "0.10.
|
|
67
|
-
"@ledgerhq/live-env": "2.
|
|
68
|
-
"@ledgerhq/live-network": "2.6.
|
|
63
|
+
"@ledgerhq/errors": "6.37.0",
|
|
64
|
+
"@ledgerhq/hw-transport": "6.35.5",
|
|
65
|
+
"@ledgerhq/hw-transport-mocker": "6.34.5",
|
|
66
|
+
"@ledgerhq/hw-ledger-key-ring-protocol": "0.10.7",
|
|
67
|
+
"@ledgerhq/live-env": "2.40.0",
|
|
68
|
+
"@ledgerhq/live-network": "2.6.6",
|
|
69
69
|
"@ledgerhq/logs": "6.17.0",
|
|
70
|
-
"@ledgerhq/speculos-transport": "0.10.
|
|
70
|
+
"@ledgerhq/speculos-transport": "0.10.6",
|
|
71
71
|
"@ledgerhq/types-devices": "^6.31.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|