mirror of
https://github.com/aljazceru/pubky-core.git
synced 2026-01-22 15:34:21 +01:00
feat: update pkarr and mainline and add pubky ClientBuilder
This commit is contained in:
@@ -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()?;
|
||||
|
||||
@@ -78,7 +78,7 @@ async fn main() -> Result<()> {
|
||||
|
||||
client
|
||||
} else {
|
||||
Client::new()?
|
||||
Client::builder().build()?
|
||||
};
|
||||
|
||||
println!("Sending AuthToken to the 3rd party app...");
|
||||
|
||||
@@ -30,7 +30,7 @@ async fn main() -> Result<()> {
|
||||
let client = if args.testnet {
|
||||
Client::testnet()?
|
||||
} else {
|
||||
Client::new()?
|
||||
Client::builder().build()?
|
||||
};
|
||||
|
||||
// Build the request
|
||||
|
||||
Reference in New Issue
Block a user