a52ed6dec231

fix inline popup vault-locked detection — error string case mismatch (vault_locked vs VAULT_LOCKED) (v2.50.1)

time
2026-05-16 13:30 UTC · 5 months ago
machine
koh2
parent
2b5b0182cea3
4 files manifest.firefox.json+1 −1manifest.json+1 −1package.json+1 −1src/content/index.ts+1 −1
manifest.firefox.json+1 −1
@@ -1,7 +1,7 @@11 {22   "manifest_version": 3,33   "name": "Peach",4-  "version": "2.50.0",4+  "version": "2.50.1",55   "description": "Zero-knowledge password manager",66   "browser_specific_settings": {77     "gecko": {

view file

manifest.json+1 −1
@@ -1,7 +1,7 @@11 {22   "manifest_version": 3,33   "name": "Peach",4-  "version": "2.50.0",4+  "version": "2.50.1",55   "description": "Zero-knowledge password manager",66   "action": {77     "default_popup": "src/popup/index.html",

view file

package.json+1 −1
@@ -1,6 +1,6 @@11 {22   "name": "peach",3-  "version": "2.50.0",3+  "version": "2.50.1",44   "description": "Zero-knowledge password manager",55   "type": "module",66   "scripts": {

view file

src/content/index.ts+1 −1
@@ -383,7 +383,7 @@383383     payload: { domain, includeAll },384384   });385385   const res = response as { ok: boolean; data?: SelectorEntry[]; error?: string };386-  if (!res.ok && res.error === "VAULT_LOCKED") {386+  if (!res.ok && res.error === "vault_locked") {387387     return { entries: [], locked: true };388388   }389389   return { entries: res.data ?? [], locked: false };

view file