mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-27 12:56:01 +01:00
9f6fa64d67
* Freezeglobals: remove Promise freezing, add lockdown * background & UI: temp disable sentry * add loose-envify, dedupe symbol-observable * use loose envify * add symbol-observable patch * run freezeGlobals after sentry init * use require instead of import * add lockdown to contentscript * add error code in message * try increasing node env heap size to 2048 * change back circe CI option * make freezeGlobals an exported function * make freezeGlobals an exported function * use freezeIntrinsics * pass down env to child process * fix unknown module * fix tests * change back to 2048 * fix import error * attempt to fix memory error * fix lint * fix lint * fix mem gain * use lockdown in phishing detect * fix lint * move sentry init into freezeIntrinsics to run lockdown before other imports * lint fix * custom lockdown modules per context * lint fix * fix global test * remove run in child process * remove lavamoat-core, use ses, require lockdown directly * revert childprocess * patch package postinstall * revert back child process * add postinstall to ci * revert node max space size to 1024 * put back loose-envify * Disable sentry to see if e2e tetss pass * use runLockdown, add as script in manifest * remove global and require from runlockdown * add more memory to tests * upgrade resource class for prep-build & prep-build-test * fix lint * lint fix * upgrade remote-redux-devtools * skillfully re-add sentry * lintfix * fix lint * put back beep * remove envify, add loose-envify and patch-package in dev deps * Replace patch with Yarn resolution (#9923) Instead of patching `symbol-observable`, this ensures that all versions of `symbol-observable` are resolved to the given range, even if it contradicts the requested range. Co-authored-by: Mark Stacey <markjstacey@gmail.com>
76 lines
1.8 KiB
JSON
76 lines
1.8 KiB
JSON
{
|
|
"author": "https://metamask.io",
|
|
"background": {
|
|
"scripts": [
|
|
"initSentry.js",
|
|
"lockdown.cjs",
|
|
"runLockdown.js",
|
|
"bg-libs.js",
|
|
"background.js"
|
|
],
|
|
"persistent": true
|
|
},
|
|
"browser_action": {
|
|
"default_icon": {
|
|
"16": "images/icon-16.png",
|
|
"19": "images/icon-19.png",
|
|
"32": "images/icon-32.png",
|
|
"38": "images/icon-38.png",
|
|
"64": "images/icon-64.png",
|
|
"128": "images/icon-128.png",
|
|
"512": "images/icon-512.png"
|
|
},
|
|
"default_title": "MetaMask",
|
|
"default_popup": "popup.html"
|
|
},
|
|
"commands": {
|
|
"_execute_browser_action": {
|
|
"suggested_key": {
|
|
"windows": "Alt+Shift+M",
|
|
"mac": "Alt+Shift+M",
|
|
"chromeos": "Alt+Shift+M",
|
|
"linux": "Alt+Shift+M"
|
|
}
|
|
}
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["file://*/*", "http://*/*", "https://*/*"],
|
|
"js": ["lockdown.cjs", "runLockdown.js", "contentscript.js"],
|
|
"run_at": "document_start",
|
|
"all_frames": true
|
|
},
|
|
{
|
|
"matches": ["*://connect.trezor.io/*/popup.html"],
|
|
"js": ["vendor/trezor/content-script.js"]
|
|
}
|
|
],
|
|
"default_locale": "en",
|
|
"description": "__MSG_appDescription__",
|
|
"icons": {
|
|
"16": "images/icon-16.png",
|
|
"19": "images/icon-19.png",
|
|
"32": "images/icon-32.png",
|
|
"38": "images/icon-38.png",
|
|
"64": "images/icon-64.png",
|
|
"128": "images/icon-128.png",
|
|
"512": "images/icon-512.png"
|
|
},
|
|
"manifest_version": 2,
|
|
"name": "__MSG_appName__",
|
|
"permissions": [
|
|
"storage",
|
|
"unlimitedStorage",
|
|
"clipboardWrite",
|
|
"http://localhost:8545/",
|
|
"https://*.infura.io/",
|
|
"activeTab",
|
|
"webRequest",
|
|
"*://*.eth/",
|
|
"notifications"
|
|
],
|
|
"short_name": "__MSG_appName__",
|
|
"version": "8.1.5",
|
|
"web_accessible_resources": ["inpage.js", "phishing.html"]
|
|
}
|