aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/inpage.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2018-08-21 06:39:03 +0800
committerDan Finlay <dan@danfinlay.com>2018-08-21 06:45:50 +0800
commit6ce119d1fbf458fa93c63198da7e5bff3045d955 (patch)
treefb18f9bbad5317ec68a6e4388a50c24f5bd027f8 /app/scripts/inpage.js
parent887cad973f25f43d2d4502ff31657f156a44b188 (diff)
downloadtangerine-wallet-browser-6ce119d1fbf458fa93c63198da7e5bff3045d955.tar
tangerine-wallet-browser-6ce119d1fbf458fa93c63198da7e5bff3045d955.tar.gz
tangerine-wallet-browser-6ce119d1fbf458fa93c63198da7e5bff3045d955.tar.bz2
tangerine-wallet-browser-6ce119d1fbf458fa93c63198da7e5bff3045d955.tar.lz
tangerine-wallet-browser-6ce119d1fbf458fa93c63198da7e5bff3045d955.tar.xz
tangerine-wallet-browser-6ce119d1fbf458fa93c63198da7e5bff3045d955.tar.zst
tangerine-wallet-browser-6ce119d1fbf458fa93c63198da7e5bff3045d955.zip
Move inpage-provider and port-stream outside
With the creation of the [metamask-extension-provider](https://github.com/MetaMask/metamask-extension-provider) we have our first non-core module that is dependent on the inpage-provider and port-stream. To reduce the size of its dependencies, I have moved the [metamask-inpage-provider](https://github.com/MetaMask/metamask-inpage-provider) into its own module, as well as [extension-port-stream](https://github.com/MetaMask/extension-port-stream). This allows them to be more easily depended & iterated on by external projects.
Diffstat (limited to 'app/scripts/inpage.js')
-rw-r--r--app/scripts/inpage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/inpage.js b/app/scripts/inpage.js
index 7dd7fda02..1a170c617 100644
--- a/app/scripts/inpage.js
+++ b/app/scripts/inpage.js
@@ -4,7 +4,7 @@ require('web3/dist/web3.min.js')
const log = require('loglevel')
const LocalMessageDuplexStream = require('post-message-stream')
const setupDappAutoReload = require('./lib/auto-reload.js')
-const MetamaskInpageProvider = require('./lib/inpage-provider.js')
+const MetamaskInpageProvider = require('metamask-inpage-provider')
restoreContextAfterImports()
log.setDefaultLevel(process.env.METAMASK_DEBUG ? 'debug' : 'warn')