feat(ext/sw): generate_passphrase popup-only message

This commit is contained in:
adlee-was-taken
2026-04-24 18:57:11 -04:00
parent e47945d86a
commit 025629cacf
2 changed files with 8 additions and 1 deletions

View File

@@ -149,6 +149,11 @@ export async function handle(
return { ok: true, data: { password } };
}
case 'generate_passphrase': {
const passphrase = state.wasm.generate_passphrase(JSON.stringify(msg.request));
return { ok: true, data: { passphrase } };
}
case 'fill_credentials':
return handleFillCredentials(msg, state);