Jack Mallers
8 years ago
5 changed files with 70 additions and 29 deletions
@ -1,11 +1,15 @@ |
|||||
import createIpc from 'redux-electron-ipc' |
import createIpc from 'redux-electron-ipc' |
||||
import { receiveInfo } from './info' |
import { receiveInfo } from './info' |
||||
import { receivePeers } from './peers' |
import { receivePeers } from './peers' |
||||
|
import { receiveChannels } from './channels' |
||||
|
import { receivePayments } from './payment' |
||||
|
|
||||
// Import all receiving IPC event handlers and pass them into createIpc
|
// Import all receiving IPC event handlers and pass them into createIpc
|
||||
const ipc = createIpc({ |
const ipc = createIpc({ |
||||
'receiveInfo': receiveInfo, |
'receiveInfo': receiveInfo, |
||||
'receivePeers': receivePeers |
'receivePeers': receivePeers, |
||||
|
'receiveChannels': receiveChannels, |
||||
|
'receivePayments': receivePayments |
||||
}) |
}) |
||||
|
|
||||
export default ipc |
export default ipc |
Loading…
Reference in new issue