An easy-to-host PDS on the ATProtocol, iPhone and MacOS. Maintain control of your keys and data, always.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(identity-wallet): fix clippy, fmt, and unused const in review cycle 2

- Fix explicit_auto_deref clippy warnings: &*kp.private_key_bytes -> &kp.private_key_bytes
- Run cargo fmt to fix extra blank lines in test functions
- Remove unused {@const remaining} in AlertDetailScreen after formatCountdown migration

Malpercio 3741eb5d 9a8ae421

+3 -6
+3 -5
apps/identity-wallet/src-tauri/src/plc_monitor.rs
··· 462 462 let genesis_op = crypto::build_did_plc_genesis_op( 463 463 &DidKeyUri(device_pub.key_id.clone()), 464 464 &other_kp.key_id, 465 - &*other_kp.private_key_bytes, 465 + &other_kp.private_key_bytes, 466 466 "test.bsky.social", 467 467 "https://pds.test", 468 468 ) ··· 510 510 let genesis_op = crypto::build_did_plc_genesis_op( 511 511 &DidKeyUri(device_pub.key_id.clone()), 512 512 &other_kp.key_id, 513 - &*other_kp.private_key_bytes, 513 + &other_kp.private_key_bytes, 514 514 "test.bsky.social", 515 515 "https://pds.test", 516 516 ) ··· 597 597 async fn test_ac6_1_multi_identity_all_authorized() { 598 598 use httpmock::prelude::*; 599 599 600 - 601 600 let did_alice = "did:plc:ac61alice"; 602 601 let did_bob = "did:plc:ac61bob"; 603 602 let (alice_pub, alice_priv) = setup_identity(did_alice); ··· 668 667 async fn test_ac6_2_multi_identity_mixed_auth() { 669 668 use httpmock::prelude::*; 670 669 671 - 672 670 let did_alice = "did:plc:ac62alice"; 673 671 let did_bob = "did:plc:ac62bob"; 674 672 let (alice_pub, alice_priv) = setup_identity(did_alice); ··· 696 694 let bob_genesis = crypto::build_did_plc_genesis_op( 697 695 &DidKeyUri(bob_pub.key_id.clone()), 698 696 &bob_other.key_id, 699 - &*bob_other.private_key_bytes, 697 + &bob_other.private_key_bytes, 700 698 "bob.bsky.social", 701 699 "https://pds.bob", 702 700 )
-1
apps/identity-wallet/src/lib/components/home/AlertDetailScreen.svelte
··· 44 44 <div class="alerts-container"> 45 45 {#each changes as change (change.cid)} 46 46 {@const deadline = getDeadline(change.createdAt)} 47 - {@const remaining = deadline.getTime() - now} 48 47 {@const urgency = getUrgency(deadline, now)} 49 48 50 49 <div class="alert-card">