@sap-ux/axios-extension 1.2.4 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,7 +41,7 @@ function prettyPrintMessage({ msg, log, host }) {
41
41
  logFullURL({ host, path: jsonMsg['longtext_url'], log });
42
42
  if (jsonMsg.details) {
43
43
  jsonMsg.details.forEach((entry) => {
44
- log.info(entry.message);
44
+ logLevel(entry.severity, entry.message, log);
45
45
  });
46
46
  }
47
47
  }
@@ -136,8 +136,8 @@ class Ui5AbapRepositoryService extends odata_service_1.ODataService {
136
136
  return __awaiter(this, void 0, void 0, function* () {
137
137
  const config = this.createConfig(bsp.transport, testMode);
138
138
  const host = this.getAbapFrontendUrl();
139
+ const info = yield this.getInfo(bsp.name);
139
140
  try {
140
- const info = yield this.getInfo(bsp.name);
141
141
  if (info) {
142
142
  const response = yield this.deleteRepoRequest(bsp.name, config);
143
143
  if ((_a = response === null || response === void 0 ? void 0 : response.headers) === null || _a === void 0 ? void 0 : _a['sap-message']) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/axios-extension",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "Extension of the Axios module adding convinience methods to interact with SAP systems especially with OData services.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,8 +14,6 @@
14
14
  "private": false,
15
15
  "main": "dist/index.js",
16
16
  "dependencies": {
17
- "@sap-ux/btp-utils": "0.11.5",
18
- "@sap-ux/logger": "0.3.5",
19
17
  "axios": "0.24.0",
20
18
  "detect-content-type": "1.2.0",
21
19
  "fast-xml-parser": "3.12.20",
@@ -23,7 +21,9 @@
23
21
  "open": "7.0.3",
24
22
  "qs": "6.7.3",
25
23
  "xpath": "0.0.32",
26
- "@xmldom/xmldom": "0.8.6"
24
+ "@xmldom/xmldom": "0.8.6",
25
+ "@sap-ux/btp-utils": "0.11.5",
26
+ "@sap-ux/logger": "0.3.5"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/lodash": "4.14.176",