@redneckz/wildless-cms-uni-blocks 0.14.911 → 0.14.912
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.
- package/bundle/bundle.umd.js +3 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +3 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -2
- package/package.json +1 -1
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -2
package/bundle/bundle.umd.js
CHANGED
|
@@ -10381,7 +10381,7 @@
|
|
|
10381
10381
|
};
|
|
10382
10382
|
const handleInputSell = (setCalcState, currencyRatesSell) => (value, currencyFrom, currencyTo) => {
|
|
10383
10383
|
setCalcState({ inputSell: formatValue(value), selectBuy: currencyTo });
|
|
10384
|
-
const rate = currencyRatesSell.find((_) => _.currency?.currency === currencyTo)?.
|
|
10384
|
+
const rate = currencyRatesSell.find((_) => _.currency?.currency === currencyTo)?.saleExchangeRate ||
|
|
10385
10385
|
currencyRatesSell.find((_) => _.currency?.currency === currencyFrom)?.buyExchangeRate;
|
|
10386
10386
|
if (rate) {
|
|
10387
10387
|
setCalcState({
|
|
@@ -10391,7 +10391,7 @@
|
|
|
10391
10391
|
};
|
|
10392
10392
|
const handleInputBuy = (setCalcState, currencyRatesBuy) => (value, currencyTo, currencyFrom) => {
|
|
10393
10393
|
setCalcState({ inputBuy: formatValue(value), selectSell: currencyFrom });
|
|
10394
|
-
const rate = currencyRatesBuy.find((_) => _.currency?.currency === currencyFrom)?.
|
|
10394
|
+
const rate = currencyRatesBuy.find((_) => _.currency?.currency === currencyFrom)?.buyExchangeRate ||
|
|
10395
10395
|
currencyRatesBuy.find((_) => _.currency?.currency === currencyTo)?.saleExchangeRate;
|
|
10396
10396
|
if (rate) {
|
|
10397
10397
|
setCalcState({
|
|
@@ -12021,7 +12021,7 @@
|
|
|
12021
12021
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
12022
12022
|
});
|
|
12023
12023
|
|
|
12024
|
-
const packageVersion = "0.14.
|
|
12024
|
+
const packageVersion = "0.14.911";
|
|
12025
12025
|
|
|
12026
12026
|
exports.Blocks = Blocks;
|
|
12027
12027
|
exports.ContentPage = ContentPage;
|