aboutsummaryrefslogtreecommitdiffstats
path: root/mascara/src/proxy.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-09-08 13:37:44 +0800
committerkumavis <aaron@kumavis.me>2017-09-08 13:37:44 +0800
commit671dafea9e8d379578c73672ba051205456219e3 (patch)
treec733017a12b83d70db21c61d16a07033ddefecbb /mascara/src/proxy.js
parent70401626e2544f254ddb06a21b5d3de7fdd7fb82 (diff)
parenta704e1d14370056a9a1a8af43c702bb00142532d (diff)
downloadtangerine-wallet-browser-671dafea9e8d379578c73672ba051205456219e3.tar.gz
tangerine-wallet-browser-671dafea9e8d379578c73672ba051205456219e3.tar.zst
tangerine-wallet-browser-671dafea9e8d379578c73672ba051205456219e3.zip
Merge branch 'master' of github.com:MetaMask/metamask-extension into filter-leak-fix
Diffstat (limited to 'mascara/src/proxy.js')
-rw-r--r--mascara/src/proxy.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/mascara/src/proxy.js b/mascara/src/proxy.js
index eabc547b4..5b95175f1 100644
--- a/mascara/src/proxy.js
+++ b/mascara/src/proxy.js
@@ -1,4 +1,4 @@
-const ParentStream = require('iframe-stream').ParentStream
+const createParentStream = require('iframe-stream').ParentStream
const SWcontroller = require('client-sw-ready-event/lib/sw-client.js')
const SwStream = require('sw-stream/lib/sw-stream.js')
const SetupUntrustedComunication = ('./lib/setup-untrusted-connection.js')
@@ -11,7 +11,7 @@ const background = new SWcontroller({
intervalDelay,
})
-const pageStream = new ParentStream()
+const pageStream = createParentStream()
background.on('ready', (_) => {
let swStream = SwStream({
serviceWorker: background.controller,