From 9293a33b57fbede3fb917e3d22da6a97e74833d2 Mon Sep 17 00:00:00 2001 From: Szymon Lesisz Date: Thu, 13 Sep 2018 14:38:52 +0200 Subject: [PATCH] update constants --- src/actions/constants/blockchain.js | 3 +-- src/actions/constants/discovery.js | 2 +- src/actions/constants/web3.js | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/actions/constants/blockchain.js b/src/actions/constants/blockchain.js index f0addc68..d494f215 100644 --- a/src/actions/constants/blockchain.js +++ b/src/actions/constants/blockchain.js @@ -1,7 +1,6 @@ /* @flow */ -export const START: 'backend__start' = 'backend__start'; -export const STOP: 'backend__stop' = 'backend__stop'; +export const READY: 'backend__ready' = 'backend__ready'; export const CONNECTING: 'backend__connecting' = 'backend__connecting'; export const CONNECTED: 'backend__connected' = 'backend__connected'; export const DISCONNECTED: 'backend__disconnected' = 'backend__disconnected'; \ No newline at end of file diff --git a/src/actions/constants/discovery.js b/src/actions/constants/discovery.js index 1fca3045..e7287b1e 100644 --- a/src/actions/constants/discovery.js +++ b/src/actions/constants/discovery.js @@ -5,5 +5,5 @@ export const START: 'discovery__start' = 'discovery__start'; export const STOP: 'discovery__stop' = 'discovery__stop'; export const COMPLETE: 'discovery__complete' = 'discovery__complete'; export const WAITING_FOR_DEVICE: 'discovery__waiting_for_device' = 'discovery__waiting_for_device'; -export const WAITING_FOR_BACKEND: 'discovery__waiting_for_backend' = 'discovery__waiting_for_backend'; +export const WAITING_FOR_BLOCKCHAIN: 'discovery__waiting_for_blockchain' = 'discovery__waiting_for_blockchain'; export const FROM_STORAGE: 'discovery__from_storage' = 'discovery__from_storage'; \ No newline at end of file diff --git a/src/actions/constants/web3.js b/src/actions/constants/web3.js index 232db739..54b8836f 100644 --- a/src/actions/constants/web3.js +++ b/src/actions/constants/web3.js @@ -7,4 +7,5 @@ export const CREATE: 'web3__create' = 'web3__create'; export const READY: 'web3__ready' = 'web3__ready'; export const BLOCK_UPDATED: 'web3__block_updated' = 'web3__block_updated'; export const GAS_PRICE_UPDATED: 'web3__gas_price_updated' = 'web3__gas_price_updated'; -export const PENDING_TX_RESOLVED: 'web3__pending_tx_resolved' = 'web3__pending_tx_resolved'; \ No newline at end of file +export const PENDING_TX_RESOLVED: 'web3__pending_tx_resolved' = 'web3__pending_tx_resolved'; +export const DISCONNECT: 'web3__disconnect' = 'web3__disconnect'; \ No newline at end of file