From bdbff63bc02d430e87bff74e30ee03a1eade58f3 Mon Sep 17 00:00:00 2001 From: Patrick Mooney Date: Tue, 27 Oct 2015 21:52:43 -0500 Subject: [PATCH] Expose Client as top-level export --- lib/client/index.js | 1 + lib/index.js | 1 + 2 files changed, 2 insertions(+) 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,