@meteora-ag/dlmm 1.0.39-rc.13 → 1.0.39-rc.14

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.js CHANGED
@@ -9922,7 +9922,7 @@ var DLMM = class {
9922
9922
  if (bins.every(({ liquiditySupply }) => liquiditySupply.isZero())) {
9923
9923
  count--;
9924
9924
  } else {
9925
- const lastBinWithLiquidityIndex = bins.findLastIndex(
9925
+ const lastBinWithLiquidityIndex = bins.findIndex(
9926
9926
  ({ liquiditySupply }) => !liquiditySupply.isZero()
9927
9927
  );
9928
9928
  console.log(