Skip to content

Commit

Permalink
Merge pull request #407 from poanetwork/vb-remove-permission
Browse files Browse the repository at this point in the history
Remove excess extension permissions
  • Loading branch information
vbaranov committed Aug 4, 2020
2 parents 725f956 + f3725b7 commit 816ae50
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## 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

- [#400](https://github.com/poanetwork/nifty-wallet/pull/400) - (Fix) Fix RNS resolving
Expand Down
3 changes: 1 addition & 2 deletions app/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "__MSG_appName__",
"short_name": "__MSG_appName__",
"version": "5.1.2",
"version": "5.1.3",
"manifest_version": 2,
"author": "POA Network",
"description": "__MSG_appDescription__",
Expand Down Expand Up @@ -69,7 +69,6 @@
"http://localhost:8545/",
"https://*.infura.io/",
"activeTab",
"webRequest",
"*://*.eth/",
"notifications"
],
Expand Down
7 changes: 0 additions & 7 deletions test/e2e/webdriver/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@ async function setupFetchMocking (driver) {
}
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) {
return JSON.parse(JSON.stringify(obj))
}
Expand Down

0 comments on commit 816ae50

Please sign in to comment.