Skip to content

start-sdk v2.0.9

Latest

Choose a tag to compare

@MattDHill MattDHill released this 25 Jul 02:24
f8fb04b

What's Changed

Fixed

  • sdk.host.getBridgeAddress now types its result as non-null when
    fallbackPort is given.
    fallbackPort exists precisely so the value is
    never null — it resolves to <osIp>:<fallbackPort> while the dependency is
    absent — but 2.0.8 typed every call string | null regardless, so the one
    case the option exists for still forced callers to handle a null that cannot
    occur. Assigning it straight to a non-nullable config field (Bitcoin's
    proxy, LND's tor.socks) failed to compile. getBridgeAddress is now
    overloaded on the presence of fallbackPort, matching the per-package helper
    it replaced, which carried the same overload