mirror of
https://github.com/block/buzz.git
synced 2026-11-13 21:01:53 +00:00
feat(desktop): gate sign-out behind key backup + typed confirmation (#2424)
Signed-off-by: Wes <wesb@block.xyz> Co-authored-by: npub1cl47vfhsqpqy9pwndphpm36vcp7vvz5h2js4qpqm5yewzj7nutkq7xyw8c <c7ebe626f000404285d3686e1dc74cc07cc60a9754a150041ba132e14bd3e2ec@buzz.block.builderlab.xyz>
This commit is contained in:
@@ -9243,6 +9243,11 @@ export function maybeInstallE2eTauriMocks() {
|
||||
sig: "e2e-signed-nostr-binding",
|
||||
});
|
||||
}
|
||||
case "sign_out":
|
||||
// Production wipes local state and restarts the app. In the browser
|
||||
// harness there is nothing to wipe; resolving is enough — specs
|
||||
// assert invocation via __BUZZ_E2E_COMMANDS__ and the pending UI.
|
||||
return;
|
||||
case "get_nsec": {
|
||||
const nsecSequence = activeConfig?.mock?.nsecErrors;
|
||||
if (nsecSequence && nsecSequence.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user