@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.
@@ -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)?.buyExchangeRate ||
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)?.saleExchangeRate ||
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.910";
12024
+ const packageVersion = "0.14.911";
12025
12025
 
12026
12026
  exports.Blocks = Blocks;
12027
12027
  exports.ContentPage = ContentPage;