Skip to content

1.0.0

Compare
Choose a tag to compare
@DamonOehlman DamonOehlman released this 01 Oct 09:44
· 88 commits to master since this release

This is a fairly major overhaul of the internals of the switchboard while maintaining compatibility with the behaviour of the switchboard as it was in the 0.x releases.

There are a few things to be aware of with this release:

  • switchboard.sparks is now switchboard.peers but still remains as a collections/fast-map

  • The function signature for handlers has changed to match the following:

    function(mgr, spark, parts, primus, opts) {
    }
  • The switchboard is now an instance of mbus rather than an EventEmitter.