diff --git a/src/wormhole/_interfaces.py b/src/wormhole/_interfaces.py index 52bde35..15302d1 100644 --- a/src/wormhole/_interfaces.py +++ b/src/wormhole/_interfaces.py @@ -434,15 +434,26 @@ class IInputHelper(Interface): class IJournal(Interface): # TODO: this needs to be public pass + class IDilator(Interface): pass + + class IDilationManager(Interface): pass + + class IDilationConnector(Interface): pass + + class ISubChannel(Interface): pass + + class IInbound(Interface): pass + + class IOutbound(Interface): pass diff --git a/src/wormhole/wormhole.py b/src/wormhole/wormhole.py index f967c25..3734fd2 100644 --- a/src/wormhole/wormhole.py +++ b/src/wormhole/wormhole.py @@ -191,7 +191,7 @@ class _DeferredWormhole(object): return derive_key(self._key, to_bytes(purpose), length) def dilate(self): - return self._boss.dilate() # fires with (endpoints) + return self._boss.dilate() # fires with (endpoints) def close(self): # fails with WormholeError unless we established a connection @@ -273,8 +273,8 @@ def create( wormhole_versions = { "can-dilate": [1], "dilation-abilities": Connector.get_connection_abilities(), - } - wormhole_versions["app_versions"] = versions # app-specific capabilities + } + wormhole_versions["app_versions"] = versions # app-specific capabilities v = __version__ if isinstance(v, type(b"")): v = v.decode("utf-8", errors="replace")