@depay/widgets 6.16.0 → 6.16.1

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.
@@ -68275,7 +68275,7 @@ var PaymentValueProvider = (function (props) {
68275
68275
  var paymentAmountInBN = BigNumber$4.from(payment.route.fromAmount);
68276
68276
  var divPercent = 100 - reverseAmountOutBN.mul(BigNumber$4.from('100')).div(paymentAmountInBN).abs().toString();
68277
68277
 
68278
- if (divPercent >= 5) {
68278
+ if (divPercent > 5) {
68279
68279
  setPaymentValueLoss(divPercent);
68280
68280
  } else {
68281
68281
  setPaymentValueLoss(null);
package/dist/esm/index.js CHANGED
@@ -2818,7 +2818,7 @@ var PaymentValueProvider = (function (props) {
2818
2818
  var paymentAmountInBN = ethers.BigNumber.from(payment.route.fromAmount);
2819
2819
  var divPercent = 100 - reverseAmountOutBN.mul(ethers.BigNumber.from('100')).div(paymentAmountInBN).abs().toString();
2820
2820
 
2821
- if (divPercent >= 5) {
2821
+ if (divPercent > 5) {
2822
2822
  setPaymentValueLoss(divPercent);
2823
2823
  } else {
2824
2824
  setPaymentValueLoss(null);
@@ -68281,7 +68281,7 @@
68281
68281
  var paymentAmountInBN = BigNumber$4.from(payment.route.fromAmount);
68282
68282
  var divPercent = 100 - reverseAmountOutBN.mul(BigNumber$4.from('100')).div(paymentAmountInBN).abs().toString();
68283
68283
 
68284
- if (divPercent >= 5) {
68284
+ if (divPercent > 5) {
68285
68285
  setPaymentValueLoss(divPercent);
68286
68286
  } else {
68287
68287
  setPaymentValueLoss(null);
package/dist/umd/index.js CHANGED
@@ -2813,7 +2813,7 @@
2813
2813
  var paymentAmountInBN = ethers.ethers.BigNumber.from(payment.route.fromAmount);
2814
2814
  var divPercent = 100 - reverseAmountOutBN.mul(ethers.ethers.BigNumber.from('100')).div(paymentAmountInBN).abs().toString();
2815
2815
 
2816
- if (divPercent >= 5) {
2816
+ if (divPercent > 5) {
2817
2817
  setPaymentValueLoss(divPercent);
2818
2818
  } else {
2819
2819
  setPaymentValueLoss(null);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@depay/widgets",
3
3
  "moduleName": "DePayWidgets",
4
- "version": "6.16.0",
4
+ "version": "6.16.1",
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",