@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.
@@ -1320,7 +1320,7 @@ var Trade = /*#__PURE__*/function () {
1320
1320
  if (amountOut === void 0) {
1321
1321
  amountOut = this.outputAmount;
1322
1322
  }
1323
- !!slippageTolerance.lessThan(ZERO) ? invariant(false, 'SLIPPAGE_TOLERANCE') : void 0;
1323
+ !!slippageTolerance.lessThan(0) ? invariant(false, 'SLIPPAGE_TOLERANCE') : void 0;
1324
1324
  if (this.tradeType === sdkCore.TradeType.EXACT_OUTPUT) {
1325
1325
  return amountOut;
1326
1326
  } else {
@@ -1337,7 +1337,7 @@ var Trade = /*#__PURE__*/function () {
1337
1337
  if (amountIn === void 0) {
1338
1338
  amountIn = this.inputAmount;
1339
1339
  }
1340
- !!slippageTolerance.lessThan(ZERO) ? invariant(false, 'SLIPPAGE_TOLERANCE') : void 0;
1340
+ !!slippageTolerance.lessThan(0) ? invariant(false, 'SLIPPAGE_TOLERANCE') : void 0;
1341
1341
  if (this.tradeType === sdkCore.TradeType.EXACT_INPUT) {
1342
1342
  return amountIn;
1343
1343
  } else {