@sap-ux/abap-deploy-config-inquirer
Advanced tools
Comparing version
@@ -109,3 +109,2 @@ "use strict"; | ||
backendTarget: backendTarget, | ||
scp: prompt_state_1.PromptState.abapDeployConfig.scp, | ||
url: prompt_state_1.PromptState.abapDeployConfig.url, | ||
@@ -112,0 +111,0 @@ client: prompt_state_1.PromptState.abapDeployConfig.client, |
@@ -251,3 +251,2 @@ "use strict"; | ||
backendTarget: backendTarget, | ||
scp: prompt_state_1.PromptState.abapDeployConfig.scp, | ||
url: prompt_state_1.PromptState.abapDeployConfig.url, | ||
@@ -254,0 +253,0 @@ client: prompt_state_1.PromptState.abapDeployConfig.client, |
@@ -7,11 +7,9 @@ import type { InitTransportConfigResult, Credentials, BackendTarget } from '../types'; | ||
* @param transportConfigOptions.backendTarget - backend target from prompt options | ||
* @param transportConfigOptions.scp - scp | ||
* @param transportConfigOptions.credentials - user credentials | ||
* @returns transport configuration instance | ||
*/ | ||
export declare function getTransportConfigInstance({ backendTarget, scp, credentials }: { | ||
export declare function getTransportConfigInstance({ backendTarget, credentials }: { | ||
backendTarget?: BackendTarget; | ||
scp?: boolean; | ||
credentials?: Credentials; | ||
}): Promise<InitTransportConfigResult>; | ||
//# sourceMappingURL=transport-config.d.ts.map |
@@ -197,12 +197,8 @@ "use strict"; | ||
* @param transportConfigOptions.backendTarget - backend target from prompt options | ||
* @param transportConfigOptions.scp - scp | ||
* @param transportConfigOptions.credentials - user credentials | ||
* @returns transport configuration instance | ||
*/ | ||
async function getTransportConfigInstance({ backendTarget, scp, credentials }) { | ||
if (scp) { | ||
return { transportConfig: new DummyTransportConfig() }; | ||
} | ||
async function getTransportConfigInstance({ backendTarget, credentials }) { | ||
return new DefaultTransportConfig().init({ backendTarget, credentials }); | ||
} | ||
//# sourceMappingURL=transport-config.js.map |
@@ -42,3 +42,2 @@ import type { AbapDeployConfigAnswers, AbapDeployConfigAnswersInternal, BackendTarget, Credentials, InitTransportConfigResult, SystemConfig } from './types'; | ||
* @param transportConfigParams.backendTarget - backend target from prompt options | ||
* @param transportConfigParams.scp - scp | ||
* @param transportConfigParams.url - url | ||
@@ -51,5 +50,4 @@ * @param transportConfigParams.client - client | ||
*/ | ||
export declare function initTransportConfig({ backendTarget, scp, url, destination, credentials, errorHandler }: { | ||
export declare function initTransportConfig({ backendTarget, url, destination, credentials, errorHandler }: { | ||
backendTarget?: BackendTarget; | ||
scp?: boolean; | ||
url?: string; | ||
@@ -56,0 +54,0 @@ client?: string; |
@@ -89,3 +89,2 @@ "use strict"; | ||
* @param transportConfigParams.backendTarget - backend target from prompt options | ||
* @param transportConfigParams.scp - scp | ||
* @param transportConfigParams.url - url | ||
@@ -98,3 +97,3 @@ * @param transportConfigParams.client - client | ||
*/ | ||
async function initTransportConfig({ backendTarget, scp, url, destination, credentials, errorHandler }) { | ||
async function initTransportConfig({ backendTarget, url, destination, credentials, errorHandler }) { | ||
let result = {}; | ||
@@ -107,3 +106,2 @@ if (!url && !destination) { | ||
backendTarget, | ||
scp, | ||
credentials | ||
@@ -110,0 +108,0 @@ }); |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "1.2.35", | ||
"version": "1.2.36", | ||
"license": "Apache-2.0", | ||
@@ -12,0 +12,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
299630
-0.25%4414
-0.27%