using parcel for js bundling. it works!

This commit is contained in:
Ryan Breen
2023-01-12 22:17:01 -05:00
parent 210e61c35b
commit e4dc8870eb
7 changed files with 2678 additions and 3 deletions

View File

@@ -2,6 +2,8 @@ async function savePrivateKey(event) {
event.preventDefault();
let privKey = document.getElementById('priv-key');
browser.storage.local.set({ "priv-key": privKey.value });
console.log('setting private key');
await browser.runtime.sendMessage({greeting: 'hello'});
}
async function getPrivateKey() {