The descriptions of the Swashbuckler rogue’s Rakish Audacity feature in XGTE and SCAG disagree. Which is correct?

In the Sword Coast Adventurer’s Guide (p. 136), the second paragraph of the Swashbuckler rogue’s Rakish Audacity feature description reads:

In addition, you don’t need advantage on your attack roll to use your Sneak Attack if no creature other than your target is within 5 feet of you. All the other rules for the Sneak Attack class feature still apply to you.

However, in Xanathar’s Guide to Everything (p. 47), which reprints the Swashbuckler rogue subclass, the description of the Rakish Audacity feature reads:

You also gain an additional way to use your Sneak Attack; you don’t need advantage on the attack roll to use your Sneak Attack against a creature if you are within 5 feet of it, no other creatures are within 5 feet of you, and you don’t have disadvantage on the attack roll. All the other rules for Sneak Attack still apply to you.

I can’t find any acknowledgement of the text change either; I’d imagine that one or the other would have been subject to errata that makes them have the same wording.

Which wording is correct? I’m assuming SCAG since it was printed later, but would like a source.

Additionally, does the SCAG wording mean that the ability can be used with range attacks? I assume that RAI it should not, but I’m having a hard time interpreting "if no creature other than your target is within 5 feet" as meaning that the target must be within 5 feet.