@stokr/components-library 2.3.7-beta.1 → 2.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,6 +23,7 @@ var formatCurrencyValue = function formatCurrencyValue(currency, value) {
|
|
|
23
23
|
'lbtc-bfx': ['LBTC', 8],
|
|
24
24
|
'btc-bfx': ['BTC', 8],
|
|
25
25
|
euro: ['EUR', 2],
|
|
26
|
+
usd: ['USD', 2],
|
|
26
27
|
lusdt: ['USDT', 2],
|
|
27
28
|
'bitcoin-private': ['EUR', 2],
|
|
28
29
|
'lbtc-private': ['BTC', 8],
|
|
@@ -37,6 +38,7 @@ exports.formatCurrencyValue = formatCurrencyValue;
|
|
|
37
38
|
var getCurrencySymbol = function getCurrencySymbol(currencySelected) {
|
|
38
39
|
return {
|
|
39
40
|
euro: '€',
|
|
41
|
+
usd: '$',
|
|
40
42
|
ether: 'ETH',
|
|
41
43
|
tether: 'USDT',
|
|
42
44
|
bitcoin: 'BTC',
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.isUSInvestor = void 0;
|
|
7
|
-
var usCountries = ['United States', 'Puerto Rico'
|
|
7
|
+
var usCountries = ['United States', 'Puerto Rico'];
|
|
8
8
|
var isUSInvestor = function isUSInvestor(user) {
|
|
9
9
|
return usCountries.includes(user.country);
|
|
10
10
|
};
|