fix: restore working injector.js + add missing get:decrypted-config handler

Restored injector.js from v2.0.14 (commit 9a11896) which:
- Requests decrypted config from background via get:decrypted-config
  message instead of passing empty arrays when data is encrypted
- Handles the identity.profiles merge correctly for background responses
- Passes ss_settings directly (not checking _ssLocalEncrypted which
  caused settings loss)

Added missing get:decrypted-config message handler to service-worker.js
which returns decrypted mappings, identity, and settings via Storage
module.

https://claude.ai/code/session_01KF4i7Ra7zCEDskxDBaNtcT
This commit is contained in:
Claude
2026-03-29 18:06:51 +00:00
parent 2a1bd88dd6
commit b622d5abd4
6 changed files with 54 additions and 21 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "silent-send",
"version": "0.9.18",
"version": "0.9.19",
"private": true,
"license": "MIT",
"description": "Browser extension that substitutes personal data before sending to AI services",