{
    "manifest_version": 3,
    "name": "Derive Bridge",
    "version": "1.0",
    "description": "Securely bridge your mobile Derive app to your desktop browser.",
    "permissions": [
        "activeTab",
        "scripting",
        "storage",
        "alarms"
    ],
    "host_permissions": [
        "http://localhost:3000/*",
        "wss://api.derive-app.online/*"
    ],
    "background": {
        "service_worker": "background.js"
    },
    "action": {
        "default_popup": "popup.html",
        "default_icon": {
            "16": "icons/icon16.png",
            "48": "icons/icon48.png",
            "128": "icons/icon128.png"
        }
    },
    "icons": {
        "16": "icons/icon16.png",
        "48": "icons/icon48.png",
        "128": "icons/icon128.png"
    },
    "content_scripts": [
        {
            "matches": [
                "<all_urls>"
            ],
            "js": [
                "content.js"
            ]
        }
    ],
    "web_accessible_resources": [
        {
            "resources": [
                "icons/icon128.png"
            ],
            "matches": [
                "<all_urls>"
            ]
        }
    ]
}