@sap-ux/axios-extension
Advanced tools
Comparing version 0.9.3 to 0.9.4
@@ -44,3 +44,4 @@ "use strict"; | ||
name: getNamespaceAsString(namespace), | ||
layer: 'CUSTOMER_BASE' | ||
layer: 'CUSTOMER_BASE', | ||
timestamp: Date.now() | ||
} | ||
@@ -60,2 +61,3 @@ }); | ||
deploy(archivePath, config) { | ||
var _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -68,7 +70,5 @@ const archive = fs_1.readFileSync(archivePath); | ||
}; | ||
if (config.package) { | ||
params['package'] = config.package; | ||
if (config.package.toLowerCase() !== '$tmp') { | ||
params['changeList'] = config.transport; | ||
} | ||
params['package'] = (_a = config.package) !== null && _a !== void 0 ? _a : '$TMP'; | ||
if (params['package'].toUpperCase() !== '$TMP') { | ||
params['changelist'] = config.transport; | ||
} | ||
@@ -105,3 +105,3 @@ const response = yield this.request({ | ||
if (config.transport) { | ||
params['changeList'] = config.transport; | ||
params['changelist'] = config.transport; | ||
} | ||
@@ -108,0 +108,0 @@ const response = yield this.delete(DTA_PATH_SUFFIX, { params }); |
{ | ||
"name": "@sap-ux/axios-extension", | ||
"version": "0.9.3", | ||
"version": "0.9.4", | ||
"description": "Extension of the Axios module adding convinience methods to interact with SAP systems especially with OData services.", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
180362