@meteora-ag/dynamic-bonding-curve-sdk 1.4.6-rc.0 → 1.4.6-rc.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.
package/dist/index.cjs CHANGED
@@ -2185,7 +2185,7 @@ function getSwapResult(poolState, configState, amountIn, feeMode, tradeDirection
2185
2185
  configState,
2186
2186
  poolState.sqrtPrice,
2187
2187
  actualAmountIn,
2188
- U128_MAX
2188
+ configState.migrationSqrtPrice
2189
2189
  );
2190
2190
  const { outputAmount, nextSqrtPrice } = swapAmountFromInput;
2191
2191
  const actualAmountOut = feeMode.feesOnInput ? outputAmount : (() => {