From 7576abe17a64c236045674c08d541c21a625c470 Mon Sep 17 00:00:00 2001 From: edouardparis Date: Fri, 3 Jan 2025 12:18:37 +0100 Subject: [PATCH] Add new jade device ids --- Cargo.toml | 2 +- cli/Cargo.toml | 2 +- src/jade/mod.rs | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 398fc9d..10736ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ keywords = ["bitcoin"] [package] name = "async-hwi" -version = "0.0.24" +version = "0.0.25" readme = "README.md" description = "Async hardware wallet interface" license-file.workspace = true diff --git a/cli/Cargo.toml b/cli/Cargo.toml index eb07dfc..e427fef 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -16,5 +16,5 @@ path = "src/bin/hwi.rs" clap = { version = "4.4.7", features = ["derive"] } bitcoin = "0.31" hex = "0.4" -async-hwi = { path = "../", version = "0.0.24" } +async-hwi = { path = "../", version = "0.0.25" } tokio = { version = "1", features = ["macros", "net", "rt", "rt-multi-thread", "io-util", "sync"] } diff --git a/src/jade/mod.rs b/src/jade/mod.rs index 73d1303..70ce247 100644 --- a/src/jade/mod.rs +++ b/src/jade/mod.rs @@ -411,11 +411,13 @@ pub struct SerialTransport { pub stream: Arc>, } -pub const JADE_DEVICE_IDS: [(u16, u16); 4] = [ +pub const JADE_DEVICE_IDS: [(u16, u16); 6] = [ (0x10c4, 0xea60), (0x1a86, 0x55d4), (0x0403, 0x6001), (0x1a86, 0x7523), + (0x303a, 0x4001), + (0x303a, 0x1001), ]; impl SerialTransport {