|
|
@ -6,9 +6,9 @@ const background = new SWcontroller({ |
|
|
|
fileName: '/popup/sw-build.js', |
|
|
|
fileName: '/popup/sw-build.js', |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const pageStream = new ParentStream() |
|
|
|
background.on('ready', (_) => { |
|
|
|
background.on('ready', (_) => { |
|
|
|
// var inpageProvider = new MetamaskInpageProvider(SwStream(background.controller))
|
|
|
|
// var inpageProvider = new MetamaskInpageProvider(SwStream(background.controller))
|
|
|
|
let pageStream = new ParentStream() |
|
|
|
|
|
|
|
let swStream = SwStream(background.controller) |
|
|
|
let swStream = SwStream(background.controller) |
|
|
|
pageStream.pipe(swStream).pipe(pageStream) |
|
|
|
pageStream.pipe(swStream).pipe(pageStream) |
|
|
|
console.log('********************WOOP*********************') |
|
|
|
console.log('********************WOOP*********************') |
|
|
|