diff --git a/src/manifest.json b/src/manifest.json old mode 100755 new mode 100644 index 20ba5969..e6dd4279 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,31 +1,34 @@ { - "manifest_version": 2, - "version": "3.1.3", "description": "Featurefull cardano wallet. Beautifully built for security and simplicity.", + "version": "3.1.3", + "manifest_version": 3, "name": "Lucem", - "background": { "scripts": ["background.bundle.js"], "persistent": false }, - "browser_action": { - "default_popup": "mainPopup.html", - "default_icon": "cardanoYellow.png" + "background": { + "service_worker": "background.bundle.js" + }, + "permissions": ["storage", "unlimitedStorage"], + "host_permissions": [""], + "action": { + "default_popup": "mainPopup.html", + "default_icon": "cardanoYellow.png" }, "icons": { - "16": "cardanoYellow.png", - "48": "cardanoYellow.png", - "128": "cardanoYellow.png" + "16": "cardanoYellow.png", + "48": "cardanoYellow.png", + "128": "cardanoYellow.png" }, - "content_scripts": [ - { + "content_scripts": [{ "matches": ["http://*/*", "https://*/*", "file://*/*"], "js": ["contentScript.bundle.js"], "run_at": "document_start" - } - ], - "web_accessible_resources": [ - "cardanoYellow.png", - "injected.bundle.js", - "internalPopup.html", - "Trezor/*" + }], + "web_accessible_resources": [ + { + "resources":["cardanoYellow.png", "injected.bundle.js", "internalPopup.html", "Trezor/*"], + "matches": ["https://*/*", "http://*/*"] + } ], - "permissions": ["storage", "chrome://favicon/", "unlimitedStorage"], - "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self';" -} + "content_security_policy": { + "extension_pages": "script-src 'self'; object-src 'self'; connect-src *;" + } +} \ No newline at end of file