Skip to content

Commit 0a78622

Browse files
authored
Merge pull request #77 from KeystoneHQ/add-keystone
add KeystoneSignRequest
2 parents 3bde5fd + d9ab470 commit 0a78622

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libs/ur-registry/src/registry_types.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub enum URType {
1717
SuiSignRequest(String),
1818
QRHardwareCall(String),
1919
Bytes(String),
20+
KeystoneSignRequest(String),
2021
}
2122

2223
impl URType {
@@ -26,6 +27,7 @@ impl URType {
2627
"crypto-multi-accounts" => Ok(URType::CryptoMultiAccounts(type_str.to_string())),
2728
"crypto-account" => Ok(URType::CryptoAccount(type_str.to_string())),
2829
"bytes" => Ok(URType::Bytes(type_str.to_string())),
30+
"keystone-sign-request" => Ok(URType::KeystoneSignRequest(type_str.to_string())),
2931
"eth-sign-request" => Ok(URType::EthSignRequest(type_str.to_string())),
3032
"sol-sign-request" => Ok(URType::SolSignRequest(type_str.to_string())),
3133
"arweave-sign-request" => Ok(URType::ArweaveSignRequest(type_str.to_string())),
@@ -46,6 +48,7 @@ impl URType {
4648
URType::CryptoMultiAccounts(type_str) => type_str.to_string(),
4749
URType::CryptoAccount(type_str) => type_str.to_string(),
4850
URType::Bytes(type_str) => type_str.to_string(),
51+
URType::KeystoneSignRequest(type_str) => type_str.to_string(),
4952
URType::EthSignRequest(type_str) => type_str.to_string(),
5053
URType::SolSignRequest(type_str) => type_str.to_string(),
5154
URType::NearSignRequest(type_str) => type_str.to_string(),

0 commit comments

Comments
 (0)