Currently, in the publish and resolve functions, we require a service parameter. But that service can just the default constructor parameters of the W3NameService class, so we could just provide that as the default and not require the service parameter to these two functions.
Currently, in the publish and resolve functions, we require a
service
parameter. But that service can just the default constructor parameters of theW3NameService
class, so we could just provide that as the default and not require theservice
parameter to these two functions.When we do this, we should also update the code in client/example/index.js.
And once we've done it, it partially unlocks #1683.