@huma-finance/widgets 0.0.62-beta.701 → 0.0.62-beta.705

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
@@ -8635,7 +8635,7 @@ function ChooseAmount$3(_ref) {
8635
8635
  let seniorAvailableCapBN = maxSeniorAssetsBN.sub(seniorTrancheAssetsBN);
8636
8636
  seniorAvailableCapBN = seniorAvailableCapBN.gt(totalAvailableCapBN) ? totalAvailableCapBN : seniorAvailableCapBN;
8637
8637
  return {
8638
- juniorAvailableCapBN: totalAvailableCapBN.sub(seniorAvailableCapBN),
8638
+ juniorAvailableCapBN: totalAvailableCapBN,
8639
8639
  seniorAvailableCapBN
8640
8640
  };
8641
8641
  }, [poolState]);