saucelabs
Advanced tools
Comparing version 3.1.1-alpha.6 to 3.1.1-alpha.7
@@ -12,3 +12,3 @@ "use strict"; | ||
const protocols = [require('../apis/sauce.json'), require('../apis/rdc.json'), require('../apis/performance.json'), require('../apis/orchestrator.json')]; | ||
const protocols = [require('../apis/sauce.json'), require('../apis/rdc.json'), require('../apis/performance.json'), require('../apis/testrunner.json')]; | ||
const protocolFlattened = new Map(); | ||
@@ -15,0 +15,0 @@ const parametersFlattened = new Map(); |
@@ -23,2 +23,10 @@ "use strict"; | ||
/** | ||
* Create HMAC token to receive job assets | ||
* | ||
* @param {string} username username of user | ||
* @param {string} key access key of user | ||
* @param {string} jobId job id of job you want to get access to | ||
* @return {string} hmac token | ||
*/ | ||
function createHMAC(username, key, jobId) { | ||
@@ -25,0 +33,0 @@ const hmac = _crypto.default.createHmac('md5', `${username}:${key}`); |
{ | ||
"name": "saucelabs", | ||
"version": "3.1.1-alpha.6", | ||
"version": "3.1.1-alpha.7", | ||
"author": "Christian Bromann <christian@saucelabs.com>", | ||
@@ -27,3 +27,3 @@ "description": "A wrapper around Sauce Labs REST API", | ||
"generate:docs": "babel-node ./scripts/generate-docs", | ||
"generate:typings": "", | ||
"generate:typings": "babel-node ./scripts/generate-typings", | ||
"prepublishOnly": "NODE_ENV=production run-s build generate:typings", | ||
@@ -30,0 +30,0 @@ "release": "npm run release:patch", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
280695
9045
20