@depay/widgets 7.16.4 → 7.16.5

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/dist/esm/index.js CHANGED
@@ -19903,7 +19903,7 @@ var PaymentRoutingProvider = (function (props) {
19903
19903
  return roundAmount(newSelectRoute, _amountInWithSlippage);
19904
19904
 
19905
19905
  case 19:
19906
- if (_amountInWithSlippage == undefined || selectedRoute.fromAmount != _amountInWithSlippage.toString()) {
19906
+ if (selectedRoute.fromAmount != newSelectRoute.fromAmount) {
19907
19907
  setUpdatedRouteWithNewPrice(newSelectRoute);
19908
19908
  }
19909
19909
 
@@ -20112,7 +20112,7 @@ var PaymentRoutingProvider = (function (props) {
20112
20112
  amountInWithSlippage = _context9.sent;
20113
20113
 
20114
20114
  if (!amountInWithSlippage) {
20115
- _context9.next = 7;
20115
+ _context9.next = 8;
20116
20116
  break;
20117
20117
  }
20118
20118
 
@@ -20120,9 +20120,10 @@ var PaymentRoutingProvider = (function (props) {
20120
20120
  return roundAmount(selectedRoute, amountInWithSlippage);
20121
20121
 
20122
20122
  case 6:
20123
+ console.log(222222);
20123
20124
  setUpdatedRouteWithNewPrice(selectedRoute);
20124
20125
 
20125
- case 7:
20126
+ case 8:
20126
20127
  case "end":
20127
20128
  return _context9.stop();
20128
20129
  }