@salesforce/core
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -339,5 +339,8 @@ "use strict"; | ||
} | ||
// If no username is provided AuthInfo will throw an SfdxError. | ||
const username = this.options.aliasOrUsername; | ||
this.connection = await connection_1.Connection.create({ | ||
authInfo: await authInfo_1.AuthInfo.create({ username: this.options.aliasOrUsername }) | ||
// If no username is provided or resolvable from an alias, AuthInfo will throw an SfdxError. | ||
authInfo: await authInfo_1.AuthInfo.create({ | ||
username: (username != null && (await aliases_1.Aliases.fetch(username))) || username | ||
}) | ||
}); | ||
@@ -344,0 +347,0 @@ } |
{ | ||
"name": "@salesforce/core", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Core libraries to interact with SFDX projects, orgs, and APIs.", | ||
@@ -5,0 +5,0 @@ "main": "lib/exported", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3632272
11845
6