@ledgerhq/devices 8.2.0-nightly.0 → 8.2.1-next.0

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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @ledgerhq/devices@8.1.0 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/devices
2
+ > @ledgerhq/devices@8.2.0 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/devices
3
3
  > tsc && tsc -m ES6 --outDir lib-es
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,10 +1,33 @@
1
1
  # @ledgerhq/devices
2
2
 
3
- ## 8.2.0-nightly.0
3
+ ## 8.2.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`f456d69`](https://github.com/LedgerHQ/ledger-live/commit/f456d69a2f64b6a217d3c1d9c6a531f31c2817a8)]:
8
+ - @ledgerhq/errors@6.16.2-next.0
9
+
10
+ ## 8.2.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [#5171](https://github.com/LedgerHQ/ledger-live/pull/5171) [`52a3732`](https://github.com/LedgerHQ/ledger-live/commit/52a373273dee3b2cb5a3e8d2d4b05f90616d71a2) Thanks [@alexandremgo](https://github.com/alexandremgo)! - Feat: cleaner refactoring of BLE and USB HID frames encoding/decoding
15
+
16
+ - Cleans up + documentation + tracing/logs + unit tests of BLE frame encoding and decoding:
17
+ `receiveAPDU` and `sendAPDU`
18
+ - Cleans up + documentation + tracing/logs + unit tests of HID USB frame encoding and decoding:
19
+ `hid-framing`
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [[`52a3732`](https://github.com/LedgerHQ/ledger-live/commit/52a373273dee3b2cb5a3e8d2d4b05f90616d71a2), [`4d1aade`](https://github.com/LedgerHQ/ledger-live/commit/4d1aade53cd33f8e7548ce340f54fbb834bdcdcb)]:
24
+ - @ledgerhq/errors@6.16.1
25
+
26
+ ## 8.2.0-next.0
4
27
 
5
28
  ### Minor Changes
6
29
 
7
- - [#5171](https://github.com/LedgerHQ/ledger-live/pull/5171) [`52a373273d`](https://github.com/LedgerHQ/ledger-live/commit/52a373273dee3b2cb5a3e8d2d4b05f90616d71a2) Thanks [@alexandremgo](https://github.com/alexandremgo)! - Feat: cleaner refactoring of BLE and USB HID frames encoding/decoding
30
+ - [#5171](https://github.com/LedgerHQ/ledger-live/pull/5171) [`52a3732`](https://github.com/LedgerHQ/ledger-live/commit/52a373273dee3b2cb5a3e8d2d4b05f90616d71a2) Thanks [@alexandremgo](https://github.com/alexandremgo)! - Feat: cleaner refactoring of BLE and USB HID frames encoding/decoding
8
31
 
9
32
  - Cleans up + documentation + tracing/logs + unit tests of BLE frame encoding and decoding:
10
33
  `receiveAPDU` and `sendAPDU`
@@ -13,8 +36,8 @@
13
36
 
14
37
  ### Patch Changes
15
38
 
16
- - Updated dependencies [[`52a373273d`](https://github.com/LedgerHQ/ledger-live/commit/52a373273dee3b2cb5a3e8d2d4b05f90616d71a2)]:
17
- - @ledgerhq/errors@6.16.1-nightly.0
39
+ - Updated dependencies [[`52a3732`](https://github.com/LedgerHQ/ledger-live/commit/52a373273dee3b2cb5a3e8d2d4b05f90616d71a2), [`4d1aade`](https://github.com/LedgerHQ/ledger-live/commit/4d1aade53cd33f8e7548ce340f54fbb834bdcdcb)]:
40
+ - @ledgerhq/errors@6.16.1-next.0
18
41
 
19
42
  ## 8.1.0
20
43
 
package/lib/index.js CHANGED
@@ -60,7 +60,7 @@ const devices = {
60
60
  productIdMM: 0x50,
61
61
  legacyUsbProductId: 0x0005,
62
62
  usbOnly: true,
63
- memorySize: 1536 * 1024,
63
+ memorySize: 1533 * 1024,
64
64
  masks: [0x33100000],
65
65
  getBlockSize: (_firmwareVersion) => 32,
66
66
  },
@@ -88,7 +88,7 @@ const devices = {
88
88
  productIdMM: 0x60,
89
89
  legacyUsbProductId: 0x0006,
90
90
  usbOnly: false,
91
- memorySize: 1536 * 1024,
91
+ memorySize: 1533 * 1024,
92
92
  masks: [0x33200000],
93
93
  getBlockSize: (_firmwareVersion) => 32,
94
94
  bluetoothSpec: [
package/lib-es/index.js CHANGED
@@ -54,7 +54,7 @@ const devices = {
54
54
  productIdMM: 0x50,
55
55
  legacyUsbProductId: 0x0005,
56
56
  usbOnly: true,
57
- memorySize: 1536 * 1024,
57
+ memorySize: 1533 * 1024,
58
58
  masks: [0x33100000],
59
59
  getBlockSize: (_firmwareVersion) => 32,
60
60
  },
@@ -82,7 +82,7 @@ const devices = {
82
82
  productIdMM: 0x60,
83
83
  legacyUsbProductId: 0x0006,
84
84
  usbOnly: false,
85
- memorySize: 1536 * 1024,
85
+ memorySize: 1533 * 1024,
86
86
  masks: [0x33200000],
87
87
  getBlockSize: (_firmwareVersion) => 32,
88
88
  bluetoothSpec: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/devices",
3
- "version": "8.2.0-nightly.0",
3
+ "version": "8.2.1-next.0",
4
4
  "description": "Ledger devices",
5
5
  "keywords": [
6
6
  "Ledger"
@@ -55,18 +55,18 @@
55
55
  "dependencies": {
56
56
  "rxjs": "^7.8.1",
57
57
  "semver": "^7.3.5",
58
- "@ledgerhq/errors": "^6.16.1-nightly.0",
58
+ "@ledgerhq/errors": "^6.16.2-next.0",
59
59
  "@ledgerhq/logs": "^6.12.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@types/jest": "^29.5.0",
62
+ "@types/jest": "^29.5.10",
63
63
  "@types/node": "^20.8.10",
64
64
  "@types/semver": "^7.3.9",
65
65
  "documentation": "14.0.2",
66
- "jest": "^28.1.1",
66
+ "jest": "^29.7.0",
67
67
  "rimraf": "^4.4.1",
68
68
  "source-map-support": "^0.5.21",
69
- "ts-jest": "^28.0.5",
69
+ "ts-jest": "^29.1.1",
70
70
  "ts-node": "^10.4.0"
71
71
  },
72
72
  "gitHead": "dd0dea64b58e5a9125c8a422dcffd29e5ef6abec",
package/src/index.ts CHANGED
@@ -57,7 +57,7 @@ const devices: { [key in DeviceModelId]: DeviceModel } = {
57
57
  productIdMM: 0x50,
58
58
  legacyUsbProductId: 0x0005,
59
59
  usbOnly: true,
60
- memorySize: 1536 * 1024,
60
+ memorySize: 1533 * 1024,
61
61
  masks: [0x33100000],
62
62
  getBlockSize: (_firmwareVersion: string): number => 32,
63
63
  },
@@ -85,7 +85,7 @@ const devices: { [key in DeviceModelId]: DeviceModel } = {
85
85
  productIdMM: 0x60,
86
86
  legacyUsbProductId: 0x0006,
87
87
  usbOnly: false,
88
- memorySize: 1536 * 1024,
88
+ memorySize: 1533 * 1024,
89
89
  masks: [0x33200000],
90
90
  getBlockSize: (_firmwareVersion: string): number => 32,
91
91
  bluetoothSpec: [