- Add unlock popup window that appears when vault is locked and a NIP-07 request is made (similar to permission prompt popup) - Implement standalone vault unlock logic in background script using Argon2id key derivation and AES-GCM decryption - Queue pending NIP-07 requests while waiting for unlock, process after success - Add unlock.html and unlock.ts for both Chrome and Firefox extensions Files modified: - package.json (version bump to v1.0.10) - projects/chrome/public/unlock.html (new) - projects/chrome/src/unlock.ts (new) - projects/chrome/src/background.ts - projects/chrome/src/background-common.ts - projects/chrome/custom-webpack.config.ts - projects/chrome/tsconfig.app.json - projects/firefox/public/unlock.html (new) - projects/firefox/src/unlock.ts (new) - projects/firefox/src/background.ts - projects/firefox/src/background-common.ts - projects/firefox/custom-webpack.config.ts - projects/firefox/tsconfig.app.json 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
642 B
TypeScript
31 lines
642 B
TypeScript
import type { Configuration } from 'webpack';
|
|
|
|
module.exports = {
|
|
entry: {
|
|
background: {
|
|
import: 'src/background.ts',
|
|
runtime: false,
|
|
},
|
|
'plebian-signer-extension': {
|
|
import: 'src/plebian-signer-extension.ts',
|
|
runtime: false,
|
|
},
|
|
'plebian-signer-content-script': {
|
|
import: 'src/plebian-signer-content-script.ts',
|
|
runtime: false,
|
|
},
|
|
prompt: {
|
|
import: 'src/prompt.ts',
|
|
runtime: false,
|
|
},
|
|
options: {
|
|
import: 'src/options.ts',
|
|
runtime: false,
|
|
},
|
|
unlock: {
|
|
import: 'src/unlock.ts',
|
|
runtime: false,
|
|
},
|
|
},
|
|
} as Configuration;
|