With 1.0, the internal design has been updated to use @corestore/networker
's stream-level extensions. Similarly, the external APIs have been altered to use the patterns defined there.
onmessage(remoteKey, message)
has been changed toonmessage(message, peer)
, where peer is a@corestore/networker
Peer object.topic.send(remoteKey, message)
has been changed totopic.send(message, peer)
.