var extend = require('cog/extend');

module.exports = function(messenger, opts) {
  return require('./index.js')(messenger, extend({
    connect: require('./ws-connect')
  }, opts));
};

var extend = require('cog/extend');

module.exports = function(messenger, opts) {
  return require('./index.js')(messenger, extend({
    writeMethod: 'send',
    dataEvent: 'message',
    connect: require('./ws-connect')
  }, opts));
};

Configure the node layer to expect ws event names
Configure the node layer to expect ws event names
