* Remove spaces
* Change naming convention to make clear that only edge whitespaces are removed
Fix function documentation in string util
* Add trim spaces from address input in AddToken and AddAsset
* Use validator type
* Trim spaces on Safe App links
Co-authored-by: Mati Dastugue <mdastugu@amazon.com>
Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
* Fix ts error
Add type return on fetchCurrencyValues
* Add skeleton for loading balance value
* Fix texts in uppercase
* Adds ETH Icon in currencyValues dropdown
* Adds getExchangeRatesUrlFallback
Adds support for ETH as currency
* Alphabetically sort currencies
* Add types
* Type formatAmount
* Adds formatAmountInUsFormat util function
* Add types
Uses formatAmountInUsFormat for BALANCE_TABLE_BALANCE_ID
* Updates max and min fraction digits on formatAmountInUsFormat
Add tests
* Updates max and min fraction digits on formatAmountInUsFormat
Add tests
* Add types
* Fix currencyValues types
* Adds safeFiatBalancesTotalSelector
* Adds total balance to safe header
* Fix types
* Adds currentCurrency on header
* Adds types to getTokenPriceInCurrency
* Fix balance currency rate conversion
* Add guards for modules
* Add guards for modules
* Uses console error for api
* Remove anys
* Redefine CurrencyRateValue types into CurrencyRateValueRecord
* Redefine test texts
* Use absolute imports
* Add types to dispatch
* Add guard for no balance value
* Fix ESLINT warning
* Add types
* Fix no balance case
* Use optional chaining
* Absolute paths
* Adds return types
Uses BigNumber in safeFiatBalancesTotalSelector
* Remove number as type for formatAmountInUsFormat
* Uses createStyles to remove any types
* Improve total balances display
* Fix balances value column
* formatAmountInUsFormat feedback
* Force boolean evaluation
* Fix totalBalance heading styles
* Add types
* Add types to fetchTokenCurrenciesBalances endpoint
* Replaces coinbase dependency by backend for ETH price in USD
* Absolute paths
* Replaces RecordOf<TokenProps> with Token
* Feedback
* Trigger buid
* Types
* Fix tests order
* Renames numberFormat to usNumberFormatter
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
* type validators
* safeSelector types
* history 5.0.0 breaking changes adaptation
* replace simpleMemoize with memoize from lodash because of typing issues
* add type definitions for history and react-router-dom
* type fixes
* yarn lock update
* fix router state
* more type improvements
* validator tests wip
* add tests for validators, remove duplicated validators
* add error messages to tests
* fix minValue error message for inclusive param
* Replace jsx.element with react.reactelement
* Fix uniqueAddress validator argument type
* remove comment in AddCustomToken validator
* use absolute import for saferecord in safe paage container
* add github lint action
* use yaml instructions from action repo
* fix source root var
* fix source root var
* remove source root var
* install libusb
* use forked action
* remove libusb setup from action vm
* use new version of lint action
* Fix version tag of action
* update workflow file
* update workflow file
* Add guards for modules
* Add guards for modules
* Update src/routes/safe/store/actions/fetchSafe.ts
Co-authored-by: Fernando <fernando.greco@gmail.com>
Co-authored-by: Fernando <fernando.greco@gmail.com>