We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0f1f252 + 85ef407 commit 615b284Copy full SHA for 615b284
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@lambdatest/smartui-cli",
3
- "version": "4.1.41",
+ "version": "4.1.42-beta.0",
4
"description": "A command line interface (CLI) to run SmartUI tests on LambdaTest",
5
"files": [
6
"dist/**/*"
src/lib/httpClient.ts
@@ -45,7 +45,13 @@ export default class httpClient {
45
baseURL: SMARTUI_CLIENT_API_URL,
46
proxy: proxyUrl ? {
47
host: proxyUrl.hostname,
48
- port: proxyUrl.port ? Number(proxyUrl.port) : 80
+ port: proxyUrl.port ? Number(proxyUrl.port) : 80,
49
+ ...(proxyUrl.username && proxyUrl.password ? {
50
+ auth: {
51
+ username: proxyUrl.username,
52
+ password: proxyUrl.password
53
+ }
54
+ } : {})
55
} : false
56
};
57
0 commit comments