mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Rename background-controller metamask-controller
This commit is contained in:
parent
b2b3f4b26b
commit
fa7e466559
@ -7,11 +7,11 @@ const createTxNotification = require('./lib/notifications.js').createTxNotificat
|
||||
const createMsgNotification = require('./lib/notifications.js').createMsgNotification
|
||||
const messageManager = require('./lib/message-manager')
|
||||
const setupMultiplex = require('./lib/stream-utils.js').setupMultiplex
|
||||
const BackgroundController = require('./background-controller')
|
||||
const MetamaskController = require('./metamask-controller')
|
||||
|
||||
const STORAGE_KEY = 'metamask-config'
|
||||
|
||||
const controller = new BackgroundController({
|
||||
const controller = new MetamaskController({
|
||||
// User confirmation callbacks:
|
||||
showUnconfirmedMessage,
|
||||
unlockAccountMessage,
|
||||
|
@ -7,9 +7,9 @@ const HostStore = require('./lib/remote-store.js').HostStore
|
||||
const Web3 = require('web3')
|
||||
const ConfigManager = require('./lib/config-manager')
|
||||
|
||||
module.exports = BackgroundController
|
||||
module.exports = MetamaskController
|
||||
|
||||
class BackgroundController {
|
||||
class MetamaskController {
|
||||
|
||||
constructor (opts) {
|
||||
this.configManager = new ConfigManager(opts)
|
Loading…
Reference in New Issue
Block a user