diff --git a/lib/client/index.js b/lib/client/index.js index 6186bd9..2d6f7c0 100644 --- a/lib/client/index.js +++ b/lib/client/index.js @@ -36,6 +36,7 @@ function xor() { ///--- Exports module.exports = { + Client: Client, createClient: function createClient(options) { if (typeof (options) !== 'object') throw new TypeError('options (object) required'); diff --git a/lib/index.js b/lib/index.js index e25b452..6677522 100644 --- a/lib/index.js +++ b/lib/index.js @@ -21,6 +21,7 @@ var url = require('./url'); ///--- API module.exports = { + Client: client.Client, createClient: client.createClient, Server: Server,