The first version might tempt some to jump 3 from G ①  to D ② which is not legato playing.   This second version is better since 4 on G ①, leaves 3 available for D ②.   Notice that bass note B is fingered with 1, but some hands might feel more comfortable with 2.