saucelabs
Advanced tools
Comparing version 2.1.8 to 2.1.9
5
a.js
@@ -6,5 +6,4 @@ const SauceLabs = require('./build').default | ||
// key: process.env.HEADLESS_SAUCE_ACCESS_KEY, | ||
region: 'eu' | ||
// region: 'eu' | ||
}) | ||
console.log(1); | ||
@@ -20,3 +19,3 @@ // api.listJobs( | ||
api.downloadJobAsset('afbeb442827a453b8624b289df47882e', '_tracelog_710191B2F6B554D10DEAE3C1835F930A.json.gz', 'lala.json') | ||
api.getSubaccounts('cb-onboarding') | ||
.then( | ||
@@ -23,0 +22,0 @@ (a) => console.log('fertig', a), |
@@ -1760,2 +1760,36 @@ { | ||
}, | ||
"/v1/users/{username}/subaccounts": { | ||
"get": { | ||
"operationId": "get_subaccounts", | ||
"parameters": [ | ||
{ | ||
"$ref": "#/parameters/username" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "User", | ||
"schema": { | ||
"$ref": "#/definitions/User" | ||
} | ||
}, | ||
"404": { | ||
"description": "User is not found", | ||
"schema": { | ||
"$ref": "#/definitions/Error" | ||
} | ||
}, | ||
"default": { | ||
"description": "Unexpected error", | ||
"schema": { | ||
"$ref": "#/definitions/Error" | ||
} | ||
} | ||
}, | ||
"summary": "User information", | ||
"tags": [ | ||
"User" | ||
] | ||
} | ||
}, | ||
"/v1/users/{username}/activity": { | ||
@@ -1762,0 +1796,0 @@ "get": { |
@@ -73,3 +73,5 @@ "use strict"; | ||
// default endpoint | ||
'eu': 'eu-central-1.' | ||
'eu': 'eu-central-1.', | ||
'us-west-1': 'us-west-1.', | ||
'eu-central-1': 'eu-central-1.' | ||
}; | ||
@@ -76,0 +78,0 @@ exports.REGION_MAPPING = REGION_MAPPING; |
@@ -69,2 +69,5 @@ "use strict"; | ||
locale = ''; | ||
} else if (locale === 'us-west-1.') { | ||
// us-west-1 is currently not a valid endpoint for Sauce | ||
locale = ''; | ||
} | ||
@@ -71,0 +74,0 @@ |
{ | ||
"name": "saucelabs", | ||
"version": "2.1.8", | ||
"version": "2.1.9", | ||
"author": "Christian Bromann <christian@saucelabs.com>", | ||
@@ -5,0 +5,0 @@ "description": "A wrapper around Sauce Labs REST API", |
@@ -90,2 +90,4 @@ <p align="center"> | ||
import SauceLabs from 'saucelabs'; | ||
// if imports are not supported by your Node.js version, import the package as follows: | ||
// const SauceLabs = require('saucelabs').default; | ||
@@ -136,3 +138,3 @@ (async () => { | ||
*/ | ||
}) | ||
})() | ||
``` | ||
@@ -139,0 +141,0 @@ |
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
218092
6535
155