@ring-protocol/router-sdk 0.1.22 → 0.1.24

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.
@@ -1316,7 +1316,7 @@ var Trade = /*#__PURE__*/function () {
1316
1316
  if (amountOut === void 0) {
1317
1317
  amountOut = this.outputAmount;
1318
1318
  }
1319
- !!slippageTolerance.lessThan(ZERO) ? process.env.NODE_ENV !== "production" ? invariant(false, 'SLIPPAGE_TOLERANCE') : invariant(false) : void 0;
1319
+ !!slippageTolerance.lessThan(0) ? process.env.NODE_ENV !== "production" ? invariant(false, 'SLIPPAGE_TOLERANCE') : invariant(false) : void 0;
1320
1320
  if (this.tradeType === TradeType.EXACT_OUTPUT) {
1321
1321
  return amountOut;
1322
1322
  } else {
@@ -1333,7 +1333,7 @@ var Trade = /*#__PURE__*/function () {
1333
1333
  if (amountIn === void 0) {
1334
1334
  amountIn = this.inputAmount;
1335
1335
  }
1336
- !!slippageTolerance.lessThan(ZERO) ? process.env.NODE_ENV !== "production" ? invariant(false, 'SLIPPAGE_TOLERANCE') : invariant(false) : void 0;
1336
+ !!slippageTolerance.lessThan(0) ? process.env.NODE_ENV !== "production" ? invariant(false, 'SLIPPAGE_TOLERANCE') : invariant(false) : void 0;
1337
1337
  if (this.tradeType === TradeType.EXACT_INPUT) {
1338
1338
  return amountIn;
1339
1339
  } else {