Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

peersockets v1.0.0

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 to onmessage(message, peer), where peer is a @corestore/networker Peer object.
  • topic.send(remoteKey, message) has been changed to topic.send(message, peer).