ibm-cloud-sdk-core
Advanced tools
Comparing version 2.17.1 to 2.17.2
@@ -132,8 +132,11 @@ "use strict"; | ||
instanceIdentityToken = _a.sent(); | ||
body = {}; | ||
if (this.iamProfileId) { | ||
body.trusted_profile = { id: this.iamProfileId }; | ||
body = { | ||
trusted_profile: { id: this.iamProfileId }, | ||
}; | ||
} | ||
else if (this.iamProfileCrn) { | ||
body.trusted_profile = { crn: this.iamProfileCrn }; | ||
body = { | ||
trusted_profile: { crn: this.iamProfileCrn }, | ||
}; | ||
} | ||
@@ -140,0 +143,0 @@ parameters = { |
@@ -0,1 +1,8 @@ | ||
## [2.17.2](https://github.com/IBM/node-sdk-core/compare/v2.17.1...v2.17.2) (2021-12-08) | ||
### Bug Fixes | ||
* **VpcInstanceAuthenticator:** omit request body for default profile scenario ([#181](https://github.com/IBM/node-sdk-core/issues/181)) ([1e3fb2d](https://github.com/IBM/node-sdk-core/commit/1e3fb2d8efede7f1382538d4a4918b16e04deeea)) | ||
## [2.17.1](https://github.com/IBM/node-sdk-core/compare/v2.17.0...v2.17.1) (2021-12-06) | ||
@@ -2,0 +9,0 @@ |
@@ -80,8 +80,12 @@ /** | ||
// construct request body | ||
const body = {}; | ||
let body; | ||
if (this.iamProfileId) { | ||
body.trusted_profile = { id: this.iamProfileId }; | ||
body = { | ||
trusted_profile: { id: this.iamProfileId }, | ||
}; | ||
} | ||
else if (this.iamProfileCrn) { | ||
body.trusted_profile = { crn: this.iamProfileCrn }; | ||
body = { | ||
trusted_profile: { crn: this.iamProfileCrn }, | ||
}; | ||
} | ||
@@ -88,0 +92,0 @@ const parameters = { |
{ | ||
"name": "ibm-cloud-sdk-core", | ||
"version": "2.17.1", | ||
"version": "2.17.2", | ||
"description": "Core functionality to support SDKs generated with IBM's OpenAPI SDK Generator.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
1405876
27830
2