@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/umd/index.js CHANGED
@@ -19898,7 +19898,7 @@
19898
19898
  return roundAmount(newSelectRoute, _amountInWithSlippage);
19899
19899
 
19900
19900
  case 19:
19901
- if (_amountInWithSlippage == undefined || selectedRoute.fromAmount != _amountInWithSlippage.toString()) {
19901
+ if (selectedRoute.fromAmount != newSelectRoute.fromAmount) {
19902
19902
  setUpdatedRouteWithNewPrice(newSelectRoute);
19903
19903
  }
19904
19904
 
@@ -20107,7 +20107,7 @@
20107
20107
  amountInWithSlippage = _context9.sent;
20108
20108
 
20109
20109
  if (!amountInWithSlippage) {
20110
- _context9.next = 7;
20110
+ _context9.next = 8;
20111
20111
  break;
20112
20112
  }
20113
20113
 
@@ -20115,9 +20115,10 @@
20115
20115
  return roundAmount(selectedRoute, amountInWithSlippage);
20116
20116
 
20117
20117
  case 6:
20118
+ console.log(222222);
20118
20119
  setUpdatedRouteWithNewPrice(selectedRoute);
20119
20120
 
20120
- case 7:
20121
+ case 8:
20121
20122
  case "end":
20122
20123
  return _context9.stop();
20123
20124
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@depay/widgets",
3
3
  "moduleName": "DePayWidgets",
4
- "version": "7.16.4",
4
+ "version": "7.16.5",
5
5
  "description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
6
6
  "main": "./dist/umd/index.js",
7
7
  "module": "./dist/esm/index.js",