diff --git a/app/scripts/lib/notifications.js b/app/scripts/lib/notifications.js index b9d7b79da..354476af2 100644 --- a/app/scripts/lib/notifications.js +++ b/app/scripts/lib/notifications.js @@ -9,11 +9,13 @@ const PendingMsgDetails = require('../../../ui/app/components/pending-msg-detail const MetaMaskUiCss = require('../../../ui/css') var notificationHandlers = {} -module.exports = { +const notifications = { createUnlockRequestNotification: createUnlockRequestNotification, createTxNotification: createTxNotification, createMsgNotification: createMsgNotification, } +module.exports = notifications +window.METAMASK_NOTIFIER = notifications setupListeners()