publish
Publishes a DidDocument to the DHT.
Parameters
manager
The KeyManager instance to use for signing the message.
did Document
The DidDocument to publish.
types
A list of types to include in the packet.
Throws
if the provided DID does not conform to the "did:dht" method.
if the message is not successfully put to the DHT.