feat: update pkarr and mainline and add pubky ClientBuilder

This commit is contained in:
nazeh
2025-02-04 21:56:23 +03:00
parent 7ed43f0fba
commit 8be809c159
14 changed files with 253 additions and 173 deletions

View File

@@ -24,7 +24,7 @@ async fn main() -> Result<()> {
let homeserver = cli.homeserver;
let client = Client::new()?;
let client = Client::builder().build()?;
println!("Enter your recovery_file's passphrase to signup:");
let passphrase = rpassword::read_password()?;

View File

@@ -78,7 +78,7 @@ async fn main() -> Result<()> {
client
} else {
Client::new()?
Client::builder().build()?
};
println!("Sending AuthToken to the 3rd party app...");

View File

@@ -30,7 +30,7 @@ async fn main() -> Result<()> {
let client = if args.testnet {
Client::testnet()?
} else {
Client::new()?
Client::builder().build()?
};
// Build the request