aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorKevin Serrano <kevin.serrano@consensys.net>2017-09-07 04:59:52 +0800
committerKevin Serrano <kevin.serrano@consensys.net>2017-09-07 04:59:52 +0800
commit0217984a40d92e706312216561477490e59e8dcb (patch)
treeadd6f99216d8dc5752ff7732791554133549b469 /app
parentb5f48730cd2c024997d30fa272ab08ba7f686893 (diff)
parent351db952c52950b2702f1bd7c9d0f165df34def2 (diff)
downloadtangerine-wallet-browser-0217984a40d92e706312216561477490e59e8dcb.tar
tangerine-wallet-browser-0217984a40d92e706312216561477490e59e8dcb.tar.gz
tangerine-wallet-browser-0217984a40d92e706312216561477490e59e8dcb.tar.bz2
tangerine-wallet-browser-0217984a40d92e706312216561477490e59e8dcb.tar.lz
tangerine-wallet-browser-0217984a40d92e706312216561477490e59e8dcb.tar.xz
tangerine-wallet-browser-0217984a40d92e706312216561477490e59e8dcb.tar.zst
tangerine-wallet-browser-0217984a40d92e706312216561477490e59e8dcb.zip
Merge branch 'master' into readd-loose
Diffstat (limited to 'app')
-rw-r--r--app/manifest.json2
-rw-r--r--app/scripts/lib/inpage-provider.js5
2 files changed, 4 insertions, 3 deletions
diff --git a/app/manifest.json b/app/manifest.json
index 7ec32ea78..256737c89 100644
--- a/app/manifest.json
+++ b/app/manifest.json
@@ -1,7 +1,7 @@
{
"name": "MetaMask",
"short_name": "Metamask",
- "version": "3.9.11",
+ "version": "3.9.12",
"manifest_version": 2,
"author": "https://metamask.io",
"description": "Ethereum Browser Extension",
diff --git a/app/scripts/lib/inpage-provider.js b/app/scripts/lib/inpage-provider.js
index 7c74a62d3..c63af06dc 100644
--- a/app/scripts/lib/inpage-provider.js
+++ b/app/scripts/lib/inpage-provider.js
@@ -43,8 +43,9 @@ function MetamaskInpageProvider (connectionStream) {
// handle sendAsync requests via asyncProvider
self.sendAsync = function (payload, cb) {
// rewrite request ids
- var request = eachJsonMessage(payload, (message) => {
- var newId = createRandomId()
+ var request = eachJsonMessage(payload, (_message) => {
+ const message = Object.assign({}, _message)
+ const newId = createRandomId()
self.idMap[newId] = message.id
message.id = newId
return message