@ledgerhq/devices
Advanced tools
Comparing version 8.2.2 to 8.2.3-nightly.0
# @ledgerhq/devices | ||
## 8.2.3-nightly.0 | ||
### Patch Changes | ||
- Updated dependencies [[`dd1d17f`](https://github.com/LedgerHQ/ledger-live/commit/dd1d17fd3ce7ed42558204b2f93707fb9b1599de)]: | ||
- @ledgerhq/errors@6.16.4-nightly.0 | ||
## 8.2.2 | ||
@@ -4,0 +11,0 @@ |
@@ -26,3 +26,4 @@ /** | ||
nanoX = "nanoX", | ||
stax = "stax" | ||
stax = "stax", | ||
europa = "europa" | ||
} | ||
@@ -29,0 +30,0 @@ /** |
@@ -29,2 +29,3 @@ import semver from "semver"; | ||
DeviceModelId["stax"] = "stax"; | ||
DeviceModelId["europa"] = "europa"; | ||
})(DeviceModelId || (DeviceModelId = {})); | ||
@@ -52,12 +53,2 @@ const devices = { | ||
}, | ||
[DeviceModelId.nanoSP]: { | ||
id: DeviceModelId.nanoSP, | ||
productName: "Ledger Nano S Plus", | ||
productIdMM: 0x50, | ||
legacyUsbProductId: 0x0005, | ||
usbOnly: true, | ||
memorySize: 1533 * 1024, | ||
masks: [0x33100000], | ||
getBlockSize: (_firmwareVersion) => 32, | ||
}, | ||
[DeviceModelId.nanoX]: { | ||
@@ -81,2 +72,12 @@ id: DeviceModelId.nanoX, | ||
}, | ||
[DeviceModelId.nanoSP]: { | ||
id: DeviceModelId.nanoSP, | ||
productName: "Ledger Nano S Plus", | ||
productIdMM: 0x50, | ||
legacyUsbProductId: 0x0005, | ||
usbOnly: true, | ||
memorySize: 1533 * 1024, | ||
masks: [0x33100000], | ||
getBlockSize: (_firmwareVersion) => 32, | ||
}, | ||
[DeviceModelId.stax]: { | ||
@@ -100,2 +101,20 @@ id: DeviceModelId.stax, | ||
}, | ||
[DeviceModelId.europa]: { | ||
id: DeviceModelId.europa, | ||
productName: "Ledger Europa", | ||
productIdMM: 0x70, | ||
legacyUsbProductId: 0x0007, | ||
usbOnly: false, | ||
memorySize: 1533 * 1024, | ||
masks: [0x33300000], | ||
getBlockSize: (_firmwareVersion) => 32, | ||
bluetoothSpec: [ | ||
{ | ||
serviceUuid: "13d63400-2c97-3004-0000-4c6564676572", | ||
notifyUuid: "13d63400-2c97-3004-0001-4c6564676572", | ||
writeUuid: "13d63400-2c97-3004-0002-4c6564676572", | ||
writeCmdUuid: "13d63400-2c97-3004-0003-4c6564676572", | ||
}, | ||
], | ||
}, | ||
}; | ||
@@ -108,2 +127,3 @@ const productMap = { | ||
Stax: DeviceModelId.stax, | ||
Europa: DeviceModelId.europa, | ||
}; | ||
@@ -110,0 +130,0 @@ const devicesList = Object.values(devices); |
@@ -26,3 +26,4 @@ /** | ||
nanoX = "nanoX", | ||
stax = "stax" | ||
stax = "stax", | ||
europa = "europa" | ||
} | ||
@@ -29,0 +30,0 @@ /** |
@@ -35,2 +35,3 @@ "use strict"; | ||
DeviceModelId["stax"] = "stax"; | ||
DeviceModelId["europa"] = "europa"; | ||
})(DeviceModelId || (exports.DeviceModelId = DeviceModelId = {})); | ||
@@ -58,12 +59,2 @@ const devices = { | ||
}, | ||
[DeviceModelId.nanoSP]: { | ||
id: DeviceModelId.nanoSP, | ||
productName: "Ledger Nano S Plus", | ||
productIdMM: 0x50, | ||
legacyUsbProductId: 0x0005, | ||
usbOnly: true, | ||
memorySize: 1533 * 1024, | ||
masks: [0x33100000], | ||
getBlockSize: (_firmwareVersion) => 32, | ||
}, | ||
[DeviceModelId.nanoX]: { | ||
@@ -87,2 +78,12 @@ id: DeviceModelId.nanoX, | ||
}, | ||
[DeviceModelId.nanoSP]: { | ||
id: DeviceModelId.nanoSP, | ||
productName: "Ledger Nano S Plus", | ||
productIdMM: 0x50, | ||
legacyUsbProductId: 0x0005, | ||
usbOnly: true, | ||
memorySize: 1533 * 1024, | ||
masks: [0x33100000], | ||
getBlockSize: (_firmwareVersion) => 32, | ||
}, | ||
[DeviceModelId.stax]: { | ||
@@ -106,2 +107,20 @@ id: DeviceModelId.stax, | ||
}, | ||
[DeviceModelId.europa]: { | ||
id: DeviceModelId.europa, | ||
productName: "Ledger Europa", | ||
productIdMM: 0x70, | ||
legacyUsbProductId: 0x0007, | ||
usbOnly: false, | ||
memorySize: 1533 * 1024, | ||
masks: [0x33300000], | ||
getBlockSize: (_firmwareVersion) => 32, | ||
bluetoothSpec: [ | ||
{ | ||
serviceUuid: "13d63400-2c97-3004-0000-4c6564676572", | ||
notifyUuid: "13d63400-2c97-3004-0001-4c6564676572", | ||
writeUuid: "13d63400-2c97-3004-0002-4c6564676572", | ||
writeCmdUuid: "13d63400-2c97-3004-0003-4c6564676572", | ||
}, | ||
], | ||
}, | ||
}; | ||
@@ -114,2 +133,3 @@ const productMap = { | ||
Stax: DeviceModelId.stax, | ||
Europa: DeviceModelId.europa, | ||
}; | ||
@@ -116,0 +136,0 @@ const devicesList = Object.values(devices); |
{ | ||
"name": "@ledgerhq/devices", | ||
"version": "8.2.2", | ||
"version": "8.2.3-nightly.0", | ||
"description": "Ledger devices", | ||
@@ -58,3 +58,3 @@ "keywords": [ | ||
"semver": "^7.3.5", | ||
"@ledgerhq/errors": "^6.16.3", | ||
"@ledgerhq/errors": "^6.16.4-nightly.0", | ||
"@ledgerhq/logs": "^6.12.0" | ||
@@ -61,0 +61,0 @@ }, |
@@ -30,2 +30,3 @@ import semver from "semver"; | ||
stax = "stax", | ||
europa = "europa", | ||
} | ||
@@ -55,12 +56,2 @@ | ||
}, | ||
[DeviceModelId.nanoSP]: { | ||
id: DeviceModelId.nanoSP, | ||
productName: "Ledger Nano S Plus", | ||
productIdMM: 0x50, | ||
legacyUsbProductId: 0x0005, | ||
usbOnly: true, | ||
memorySize: 1533 * 1024, | ||
masks: [0x33100000], | ||
getBlockSize: (_firmwareVersion: string): number => 32, | ||
}, | ||
[DeviceModelId.nanoX]: { | ||
@@ -84,2 +75,12 @@ id: DeviceModelId.nanoX, | ||
}, | ||
[DeviceModelId.nanoSP]: { | ||
id: DeviceModelId.nanoSP, | ||
productName: "Ledger Nano S Plus", | ||
productIdMM: 0x50, | ||
legacyUsbProductId: 0x0005, | ||
usbOnly: true, | ||
memorySize: 1533 * 1024, | ||
masks: [0x33100000], | ||
getBlockSize: (_firmwareVersion: string): number => 32, | ||
}, | ||
[DeviceModelId.stax]: { | ||
@@ -103,2 +104,20 @@ id: DeviceModelId.stax, | ||
}, | ||
[DeviceModelId.europa]: { | ||
id: DeviceModelId.europa, // TODO: change to the real product's name one day | ||
productName: "Ledger Europa", // TODO: change to the real product's name one day | ||
productIdMM: 0x70, | ||
legacyUsbProductId: 0x0007, | ||
usbOnly: false, | ||
memorySize: 1533 * 1024, | ||
masks: [0x33300000], | ||
getBlockSize: (_firmwareVersion: string): number => 32, | ||
bluetoothSpec: [ | ||
{ | ||
serviceUuid: "13d63400-2c97-3004-0000-4c6564676572", | ||
notifyUuid: "13d63400-2c97-3004-0001-4c6564676572", | ||
writeUuid: "13d63400-2c97-3004-0002-4c6564676572", | ||
writeCmdUuid: "13d63400-2c97-3004-0003-4c6564676572", | ||
}, | ||
], | ||
}, | ||
}; | ||
@@ -112,2 +131,3 @@ | ||
Stax: DeviceModelId.stax, | ||
Europa: DeviceModelId.europa, | ||
}; | ||
@@ -114,0 +134,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
208154
2884
1