var Delighted = require('./lib/Delighted');

module.exports = function(key) {
  return new Delighted(key);
};

var Delighted = require('./lib/Delighted');

module.exports = function(key, options) {
  return new Delighted(key, options);
};

Allow for options to be passed to client
Allow for options to be passed to client

(as noted in the README for testing)