Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sap-ux/btp-utils

Package Overview
Dependencies
Maintainers
3
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap-ux/btp-utils - npm Package Compare versions

Comparing version 0.10.0 to 0.10.1

11

dist/app-studio.js

@@ -52,4 +52,11 @@ "use strict";

const serviceInfo = yield cf_tools_1.cfGetInstanceKeyParameters(instance);
const clientId = ((_a = serviceInfo.uaa) === null || _a === void 0 ? void 0 : _a.clientid) || serviceInfo.clientid;
const clientSecret = ((_b = serviceInfo.uaa) === null || _b === void 0 ? void 0 : _b.clientsecret) || serviceInfo.clientsecret;
if (!serviceInfo) {
throw new Error(`No destination instance ${instance} found`);
}
const serviceCredentials = serviceInfo.credentials;
if (!serviceCredentials) {
throw new Error(`No credentials for destination instance ${instance} found`);
}
const clientId = ((_a = serviceCredentials.uaa) === null || _a === void 0 ? void 0 : _a.clientid) || serviceCredentials.clientid;
const clientSecret = ((_b = serviceCredentials.uaa) === null || _b === void 0 ? void 0 : _b.clientsecret) || serviceCredentials.clientsecret;
return Buffer.from(`${encodeURIComponent(clientId)}:${encodeURIComponent(clientSecret)}`).toString('base64');

@@ -56,0 +63,0 @@ }

2

package.json
{
"name": "@sap-ux/btp-utils",
"version": "0.10.0",
"version": "0.10.1",
"description": "Library to simplify working with SAP BTP specific features especially in SAP Business Application",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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