@sap-ux/odata-service-inquirer 0.3.0 → 0.3.1

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.
@@ -20,7 +20,7 @@ const i18n_1 = require("../../../i18n");
20
20
  const https_1 = __importDefault(require("https"));
21
21
  const logger_helper_1 = __importDefault(require("../../logger-helper"));
22
22
  const axios_extension_1 = require("@sap-ux/axios-extension");
23
- // Cert errors than may be ignored by prompt user
23
+ // Cert errors that may be ignored by prompt user
24
24
  const ignorableCertErrors = [error_handler_1.ERROR_TYPE.CERT_SELF_SIGNED, error_handler_1.ERROR_TYPE.CERT_SELF_SIGNED_CERT_IN_CHAIN];
25
25
  /**
26
26
  * Class that validates the connection to a service url or catalog url.
@@ -81,7 +81,7 @@ function validateService(url, { odataService, axiosConfig }, requiredVersion = u
81
81
  delete utils_1.PromptState.odataService.metadata;
82
82
  // Provide a more specific error message if the metadata service URL is not found
83
83
  if (error_handler_1.ErrorHandler.getErrorType(error) === error_handler_1.ERROR_TYPE.NOT_FOUND) {
84
- // No metdata implies not a valid odata service
84
+ // No metadata implies not a valid odata service
85
85
  return (_b = error_handler_1.ErrorHandler.getErrorMsgFromType(error_handler_1.ERROR_TYPE.ODATA_URL_NOT_FOUND)) !== null && _b !== void 0 ? _b : false;
86
86
  }
87
87
  return prompt_helpers_1.errorHandler.logErrorMsgs(error);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/odata-service-inquirer",
3
3
  "description": "Prompts module that can prompt users for inputs required for odata service writing",
4
- "version": "0.3.0",
4
+ "version": "0.3.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -26,10 +26,10 @@
26
26
  "os-name": "4.0.1",
27
27
  "@sap-ux/axios-extension": "1.13.1",
28
28
  "@sap-ux/btp-utils": "0.14.4",
29
- "@sap-ux/telemetry": "0.4.32",
29
+ "@sap-ux/telemetry": "0.4.33",
30
30
  "@sap-ux/inquirer-common": "0.3.0",
31
31
  "@sap-ux/logger": "0.5.1",
32
- "@sap-ux/project-access": "1.22.0"
32
+ "@sap-ux/project-access": "1.22.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@sap-devx/yeoman-ui-types": "1.14.4",
@@ -38,7 +38,7 @@
38
38
  "@types/lodash": "4.14.202",
39
39
  "jest-extended": "3.2.4",
40
40
  "lodash": "4.17.21",
41
- "@sap-ux/odata-service-writer": "0.20.2",
41
+ "@sap-ux/odata-service-writer": "0.20.3",
42
42
  "@sap-ux/feature-toggle": "0.1.1"
43
43
  },
44
44
  "engines": {