mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
As per discussion from the client sync, - this removes `TunnelAddresses` in favor of simply passing the IPv4 and IPv6 addresses as two separate strings. - this changes `onDisconnect`'s semantics to be called _after_ disconnect instead of before. Additionally, as per earlier discussion, errors are now passed as strings. These errors already weren't intended to be actionable on the client side, so the ability to handle them programmatically is unnecessary. When internationalization is added down the road, we'll likely replace these with error codes for looking up localized strings; until then, this design improves diagnostics and reduces complexity. Closes #1796 Closes #1822