@sap/bas-sdk
Advanced tools
Comparing version 3.5.0 to 3.6.0
@@ -43,2 +43,9 @@ import { URL } from "url"; | ||
): string; | ||
/** | ||
* Checks if user is in internal account. | ||
* | ||
* @returns {boolean} True is internal account, otherwise false. | ||
*/ | ||
export function isInternalAccount(): boolean; | ||
} | ||
@@ -45,0 +52,0 @@ |
@@ -36,3 +36,4 @@ "use strict"; | ||
const devspace_utils_1 = require("./utils/devspace-utils"); | ||
exports.core = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, isAppStudio), headersHelper), runCommand), getEnvValue), { getExtLoginPath: core_utils_1.getExtLoginPath }); | ||
const isInternalAccount = __importStar(require("./apis/is-internal-account")); | ||
exports.core = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, isAppStudio), headersHelper), runCommand), getEnvValue), { getExtLoginPath: core_utils_1.getExtLoginPath }), isInternalAccount); | ||
exports.devspaceApi = Object.assign({}, devspaceApiFactory); | ||
@@ -39,0 +40,0 @@ exports.destinations = Object.assign(Object.assign({}, getDestinations), createDestination); |
{ | ||
"name": "@sap/bas-sdk", | ||
"version": "3.5.0", | ||
"version": "3.6.0", | ||
"description": "SDK for SAP Business Application Studio", | ||
@@ -31,3 +31,3 @@ "license": "SAP", | ||
"devDependencies": { | ||
"@sap/bas-sdk-sinon-helper": "^3.5.0", | ||
"@sap/bas-sdk-sinon-helper": "^3.6.0", | ||
"@types/cross-spawn": "^6.0.2", | ||
@@ -34,0 +34,0 @@ "@types/fs-extra": "^11.0.1", |
@@ -21,2 +21,3 @@ import * as isAppStudio from "./apis/is-app-studio"; | ||
import { getKey, DevSpaceStatus, PackName } from "./utils/devspace-utils"; | ||
import * as isInternalAccount from "./apis/is-internal-account"; | ||
@@ -29,2 +30,3 @@ export const core: typeof publicApi.core = { | ||
getExtLoginPath, | ||
...isInternalAccount, | ||
}; | ||
@@ -31,0 +33,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
471640
120
5550