Expose Client as top-level export
This commit is contained in:
parent
ccfd821700
commit
bdbff63bc0
|
@ -36,6 +36,7 @@ function xor() {
|
||||||
///--- Exports
|
///--- Exports
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
Client: Client,
|
||||||
createClient: function createClient(options) {
|
createClient: function createClient(options) {
|
||||||
if (typeof (options) !== 'object')
|
if (typeof (options) !== 'object')
|
||||||
throw new TypeError('options (object) required');
|
throw new TypeError('options (object) required');
|
||||||
|
|
|
@ -21,6 +21,7 @@ var url = require('./url');
|
||||||
///--- API
|
///--- API
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
Client: client.Client,
|
||||||
createClient: client.createClient,
|
createClient: client.createClient,
|
||||||
|
|
||||||
Server: Server,
|
Server: Server,
|
||||||
|
|
Loading…
Reference in New Issue