diff options
Diffstat (limited to 'src/node/index.js')
-rw-r--r-- | src/node/index.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/node/index.js b/src/node/index.js index 071bfd7927..76ab1744b0 100644 --- a/src/node/index.js +++ b/src/node/index.js @@ -31,6 +31,10 @@ * */ +/** + * @module + */ + 'use strict'; var path = require('path'); @@ -256,5 +260,10 @@ exports.getClientChannel = client.getClientChannel; exports.waitForClientReady = client.waitForClientReady; exports.closeClient = function closeClient(client_obj) { - client.getClientChannel(client_obj).close(); + client.Client.prototype.close.apply(client_obj); }; + +/** + * @see module:src/client.Client + */ +exports.Client = client.Client; |