Skip to content

v0.3.0

Choose a tag to compare

@nucleardreamer nucleardreamer released this 27 Jan 08:26
· 62 commits to master since this release

client

  • when using client.on('namespace'), it will automatically notify the server of your subscription (for filtering). It also accepts wildcards.
  • open event changed to ready
  • sub() method removed
  • pub() now has an optional callback as the third parameter, which will have an argument of error when it fires.
  • added blacklist property to not fire internal events to the server
  • added connecting, open, closing and closed boolean properties

server & client

  • added debug messages when process.env.NODE_ENV is not set to production

logger

  • added optional name instantiation argument