Expose Client as top-level export
This commit is contained in:
parent
ccfd821700
commit
bdbff63bc0
|
@ -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');
|
||||
|
|
|
@ -21,6 +21,7 @@ var url = require('./url');
|
|||
///--- API
|
||||
|
||||
module.exports = {
|
||||
Client: client.Client,
|
||||
createClient: client.createClient,
|
||||
|
||||
Server: Server,
|
||||
|
|
Loading…
Reference in New Issue