Socket
Socket
Sign inDemoInstall

ibm-cloud-sdk-core

Package Overview
Dependencies
Maintainers
3
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ibm-cloud-sdk-core - npm Package Compare versions

Comparing version 2.17.1 to 2.17.2

9

auth/token-managers/vpc-instance-token-manager.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc