feat: advanced wallet settings up to spec

This commit is contained in:
José Oliveira 2022-02-17 01:40:02 +00:00
parent 45173e7c0e
commit 4120d58a1b
6 changed files with 246 additions and 123 deletions

View file

@ -54,7 +54,10 @@ const getLocale = (deviceId, it) => {
const getGlobalLocale = it => getLocale(null, it)
const getWalletSettings = (key, it) => _.compose(fromNamespace(key), fromNamespace(namespaces.WALLETS))(it)
const getWalletSettings = (key, it) => {
const result = _.compose(fromNamespace(key), fromNamespace(namespaces.WALLETS))(it)
return result
}
const getCashOut = (key, it) => _.compose(fromNamespace(key), fromNamespace(namespaces.CASH_OUT))(it)
const getGlobalCashOut = fromNamespace(namespaces.CASH_OUT)
const getOperatorInfo = fromNamespace(namespaces.OPERATOR_INFO)