lib/client.js
function Client(uri, options) {
  if (!(this instanceof Client)) {
    return new Client(uri, options);
  }

  this._options = options || {};
  this._options.baseURI = uri || 'https://api.storj.io';
}
function Client(uri, options) {
  if (!(this instanceof Client)) {
    return new Client(uri, options);
  }

  this._options = options || {};
  this._options.baseURI = uri || 'https://api.storj.io';
}
function Client ( uri , options ) { if ( ! ( this instanceof Client ) ) { return new Client ( uri , options ) ; } this . _options = options || { } ; this . _options . baseURI = uri || 'https://api.storj.io' ; }
Exposes a Storj Bridge API client
@constructor
@param {String} uri - API base URI ('https://api.storj.io')
@param {Object} options
@param {storj.KeyPair} options.keypair - KeyPair instance for request signing
@param {Object} options.basicauth
@param {String} options.basicauth.email - Email address for HTTP basic auth
@param {String} options.basicauth.password - Password for HTTP basic auth
Exposes a Storj Bridge API client