the value passed to connect().
whether the dApp is running inside the named wallet's browser,
which is what separates embedded from injected. Passed in rather than imported so this
module keeps no dependency on provider/, and so the classification stays testable without a
window.
Classifies a connection source for analytics. Pure — the caller supplies the one piece of information the source shape cannot carry.
Ordering mirrors
createProvider()inton-connect.tsso the two cannot drift: the array case first, then the two guarded shapes, with HTTP as the fallthrough (there is deliberately noisWalletConnectionSourceHTTPguard in this module).