What would be a more balanced spell for homebrew adaptation of Elemental Weapon and Flame Arrows?

What would be a more balanced spell for homebrew adaptation of Elemental Weapon and Flame Arrows?

I was thinking of adjusting a couple of existing spells, namely Elemental Weapon (PHB p.237) and Flame Arrows (XGtE p.156), so that it is more versatile for a druid/ranger player.

Version one:

Simply change Elemental Weapon so it can enchant a bow or crossbow, so Elemental Ranged Weapon.

A nonmagical ranged weapon you touch becomes a magic weapon. Choose one of the following damage types: acid, cold, fire, lightning, or thunder. For the duration, the weapon has a +1 bonus to attack rolls and ammunition used with the ranged weapon deal an extra 1d4 damage of the chosen type when it hits.

Version two:

Replace the damage type in Flame Arrows with an optional damage type, so the spell would be Elemental Arrows instead:

You touch a quiver containing arrows or bolts. When a target is hit by a ranged weapon attack using a piece of ammunition drawn from the quiver, the target takes an extra 1d6 elemental damage. Choose one of the following damage types: acid, cold, fire, lightning, or thunder. The spell’s magic ends on a piece of ammunition when it hits or misses, and the spell ends when twelve pieces of ammunition have been drawn from the quiver.

Which one of these spells would be more balanced, or are both options pretty balanced as a homebrew version of these spells?

I am leaning more towards the Elemental Ranged Weapon as it potentially is more useful to a druid/ranger player because it would not be limited to 12 arrows/bolts.

Thank you for your insight.