Feat: migration rename non blockcypher to none
This commit is contained in:
parent
8f648cca8e
commit
cd3f8aea51
2 changed files with 30 additions and 1 deletions
|
|
@ -104,6 +104,13 @@ const getGlobalNotifications = config => getNotifications(null, null, config)
|
|||
|
||||
const getTriggers = _.get('triggers')
|
||||
|
||||
const split = _.curry(_.split)
|
||||
const splitGetFirst = _.compose(_.head, split('_'))
|
||||
|
||||
const getCryptosFromWalletNamespace = config => {
|
||||
return _.uniq(_.map(splitGetFirst, _.keys(fromNamespace('wallets', config))))
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
getWalletSettings,
|
||||
getOperatorInfo,
|
||||
|
|
@ -118,5 +125,6 @@ module.exports = {
|
|||
getTermsConditions,
|
||||
getAllCryptoCurrencies,
|
||||
getTriggers,
|
||||
getCashOut
|
||||
getCashOut,
|
||||
getCryptosFromWalletNamespace
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue