Remove excess permissions
This commit is contained in:
parent
725f95600e
commit
f3725b79ae
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
## Current Master
|
## Current Master
|
||||||
|
|
||||||
|
## 5.1.3 Tue Aug 04 2020
|
||||||
|
|
||||||
|
- [#407](https://github.com/poanetwork/nifty-wallet/pull/407) - Remove excess extension permissions
|
||||||
|
|
||||||
## 5.1.2 Fri Jul 10 2020
|
## 5.1.2 Fri Jul 10 2020
|
||||||
|
|
||||||
- [#400](https://github.com/poanetwork/nifty-wallet/pull/400) - (Fix) Fix RNS resolving
|
- [#400](https://github.com/poanetwork/nifty-wallet/pull/400) - (Fix) Fix RNS resolving
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "__MSG_appName__",
|
"name": "__MSG_appName__",
|
||||||
"short_name": "__MSG_appName__",
|
"short_name": "__MSG_appName__",
|
||||||
"version": "5.1.2",
|
"version": "5.1.3",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"author": "POA Network",
|
"author": "POA Network",
|
||||||
"description": "__MSG_appDescription__",
|
"description": "__MSG_appDescription__",
|
||||||
|
@ -69,7 +69,6 @@
|
||||||
"http://localhost:8545/",
|
"http://localhost:8545/",
|
||||||
"https://*.infura.io/",
|
"https://*.infura.io/",
|
||||||
"activeTab",
|
"activeTab",
|
||||||
"webRequest",
|
|
||||||
"*://*.eth/",
|
"*://*.eth/",
|
||||||
"notifications"
|
"notifications"
|
||||||
],
|
],
|
||||||
|
|
|
@ -47,13 +47,6 @@ async function setupFetchMocking (driver) {
|
||||||
}
|
}
|
||||||
return window.origFetch(...args)
|
return window.origFetch(...args)
|
||||||
}
|
}
|
||||||
if (window.chrome && window.chrome.webRequest) {
|
|
||||||
window.chrome.webRequest.onBeforeRequest.addListener(cancelInfuraRequest, { urls: ['https://*.infura.io/*'] }, ['blocking'])
|
|
||||||
}
|
|
||||||
function cancelInfuraRequest (requestDetails) {
|
|
||||||
console.log(`fetchMocking - Canceling request: "${requestDetails.url}"`)
|
|
||||||
return { cancel: true }
|
|
||||||
}
|
|
||||||
function clone (obj) {
|
function clone (obj) {
|
||||||
return JSON.parse(JSON.stringify(obj))
|
return JSON.parse(JSON.stringify(obj))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue