@ledgerhq/device-transport-kit-react-native-hid 0.0.0-io-revamp-20250630132403 → 0.0.0-ledger-button-20250806141658
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.
|
@@ -5,6 +5,21 @@ public sealed class LedgerDevice(
|
|
|
5
5
|
public val usbInfo: UsbInfo,
|
|
6
6
|
public val bleInformation: BleInformation? = null,
|
|
7
7
|
) {
|
|
8
|
+
public data object Apex :
|
|
9
|
+
LedgerDevice(
|
|
10
|
+
name = "Ledger Apex",
|
|
11
|
+
usbInfo = UsbInfo(LEDGER_USB_VENDOR_ID, "0x80", "0x0008"),
|
|
12
|
+
bleInformation =
|
|
13
|
+
BleInformation(
|
|
14
|
+
serviceUuid = "13d63400-2c97-6004-0000-4c6564676572",
|
|
15
|
+
notifyCharacteristicUuid =
|
|
16
|
+
"13d63400-2c97-6004-0001-4c6564676572",
|
|
17
|
+
writeWithResponseCharacteristicUuid =
|
|
18
|
+
"13d63400-2c97-6004-0002-4c6564676572",
|
|
19
|
+
writeWithoutResponseCharacteristicUuid =
|
|
20
|
+
"13d63400-2c97-6004-0003-4c6564676572",
|
|
21
|
+
),
|
|
22
|
+
)
|
|
8
23
|
public data object Flex :
|
|
9
24
|
LedgerDevice(
|
|
10
25
|
name = "Ledger Flex",
|
|
@@ -77,6 +92,7 @@ public sealed class LedgerDevice(
|
|
|
77
92
|
add(NanoX)
|
|
78
93
|
add(NanoSPlus)
|
|
79
94
|
add(NanoS)
|
|
95
|
+
add(Apex)
|
|
80
96
|
}
|
|
81
97
|
|
|
82
98
|
public fun getAllDevices(): List<LedgerDevice> {
|