saucelabs
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.SC_CLOSE_TIMEOUT = exports.SC_CLOSE_MESSAGE = exports.SC_FAILURE_MESSAGE = exports.SC_READY_MESSAGE = exports.SC_PARAMS_TO_STRIP = exports.SC_CLI_PARAM_KEYS = exports.SAUCE_CONNECT_CLI_PARAMS = exports.CLI_PARAMS = exports.EPILOG = exports.USAGE = exports.DEFAULT_PROTOCOL = exports.TO_STRING_TAG = exports.SYMBOL_ITERATOR = exports.SYMBOL_TOSTRING = exports.SYMBOL_INSPECT = exports.ASSET_REGION_MAPPING = exports.DEFAULT_OPTIONS = exports.JOB_ASSET_NAMES = exports.PARAMETERS_MAP = exports.PROTOCOL_MAP = exports.SAUCE_VERSION_NOTE = exports.SAUCE_CONNECT_DISTS = exports.SAUCE_CONNECT_VERSIONS_ENDPOINT = exports.SAUCE_CONNECT_BASE = exports.DEFAULT_SAUCE_CONNECT_VERSION = void 0; | ||
exports.SC_CLOSE_TIMEOUT = exports.SC_CLOSE_MESSAGE = exports.SC_FAILURE_MESSAGE = exports.SC_READY_MESSAGE = exports.SC_PARAMS_TO_STRIP = exports.SC_CLI_PARAM_KEYS = exports.SAUCE_CONNECT_CLI_PARAMS = exports.CLI_PARAMS = exports.EPILOG = exports.USAGE = exports.TO_STRING_TAG = exports.SYMBOL_ITERATOR = exports.SYMBOL_TOSTRING = exports.SYMBOL_INSPECT = exports.ASSET_REGION_MAPPING = exports.DEFAULT_OPTIONS = exports.JOB_ASSET_NAMES = exports.PARAMETERS_MAP = exports.PROTOCOL_MAP = exports.SAUCE_VERSION_NOTE = exports.SAUCE_CONNECT_DISTS = exports.SAUCE_CONNECT_VERSIONS_ENDPOINT = exports.SAUCE_CONNECT_BASE = exports.DEFAULT_SAUCE_CONNECT_VERSION = void 0; | ||
@@ -109,4 +109,2 @@ var _changeCase = require("change-case"); | ||
exports.TO_STRING_TAG = TO_STRING_TAG; | ||
const DEFAULT_PROTOCOL = 'https://'; | ||
exports.DEFAULT_PROTOCOL = DEFAULT_PROTOCOL; | ||
const USAGE = `Sauce Labs API CLI | ||
@@ -113,0 +111,0 @@ |
@@ -77,4 +77,3 @@ "use strict"; | ||
*/ | ||
const apiUrl = options.host || servers[0].url; | ||
let host = _constants.DEFAULT_PROTOCOL + apiUrl.replace(_constants.DEFAULT_PROTOCOL, '') + basePath; | ||
let host = (options.host || servers[0].url) + basePath; | ||
/** | ||
@@ -81,0 +80,0 @@ * allow short region handles to stay backwards compatible |
{ | ||
"name": "saucelabs", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"author": "Christian Bromann <christian@saucelabs.com>", | ||
@@ -5,0 +5,0 @@ "description": "A wrapper around Sauce Labs REST API", |
Sorry, the diff of this file is not supported yet
446225
14335