The bulk of the changes here aren't actually related to the creation of the InternetPrivateEndpointChannel class -- that part was trivial -- but the replacement of InternetEndpointManager.getActiveEndpoint() with InternetEndpoint.getActive(). The manager from the core library is now reserved for desktop-based endpoints.
This PR integrates the changes made to the core library in https://github.com/relaycorp/relaynet-core-js/pull/565, which will drastically simplify #15.
The bulk of the changes here aren't actually related to the creation of the
InternetPrivateEndpointChannel
class -- that part was trivial -- but the replacement ofInternetEndpointManager.getActiveEndpoint()
withInternetEndpoint.getActive()
. The manager from the core library is now reserved for desktop-based endpoints.Fixes #17.