Merge pull request #27 from outis1one/claude/read-repo-wA3y1

fix: reveal mode broken + missing await + select rendering — v2.0.10
This commit is contained in:
Outis
2026-03-27 08:45:43 -04:00
committed by GitHub
7 changed files with 33 additions and 13 deletions
+2 -2
View File
@@ -476,7 +476,7 @@ const SilentSendSync = {
if (!keyInfo) return { data: null, decrypted: false, needsAuth: true };
try {
const decrypted = await SilentSendCrypto.decryptWithKey(data.payload, keyInfo.key);
return this._handleDecryptedMeta(decrypted);
return await this._handleDecryptedMeta(decrypted);
} catch {
return { data: null, decrypted: false, needsAuth: true };
}
@@ -488,7 +488,7 @@ const SilentSendSync = {
if (tempKeyStore) {
try {
const decrypted = await SilentSendCrypto.decryptWithKey(data.payload, tempKeyStore.key);
return this._handleDecryptedMeta(decrypted);
return await this._handleDecryptedMeta(decrypted);
} catch { /* wrong key, fall through to prompt */ }
}