@sap-ux/odata-service-inquirer 2.11.2 → 2.11.4
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.
|
@@ -102,13 +102,6 @@ function getCredentialsPrompts(connectionValidator, promptNamespace, sapClient)
|
|
|
102
102
|
severity: yeoman_ui_types_1.Severity.warning
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
// Lower priority than the cert error warning - we can only show one at a time, hence this should always be last
|
|
106
|
-
if (utils_1.PromptState.odataService.connectedSystem?.backendSystem) {
|
|
107
|
-
return {
|
|
108
|
-
message: (0, i18n_1.t)('texts.passwordStoreWarning'),
|
|
109
|
-
severity: yeoman_ui_types_1.Severity.warning
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
105
|
}
|
|
113
106
|
}
|
|
114
107
|
];
|
|
@@ -132,6 +125,14 @@ function getCredentialsPrompts(connectionValidator, promptNamespace, sapClient)
|
|
|
132
125
|
});
|
|
133
126
|
}
|
|
134
127
|
return true;
|
|
128
|
+
},
|
|
129
|
+
additionalMessages: (storeCredentials) => {
|
|
130
|
+
if (storeCredentials === true) {
|
|
131
|
+
return {
|
|
132
|
+
message: (0, i18n_1.t)('texts.passwordStoreWarning'),
|
|
133
|
+
severity: yeoman_ui_types_1.Severity.warning
|
|
134
|
+
};
|
|
135
|
+
}
|
|
135
136
|
}
|
|
136
137
|
};
|
|
137
138
|
if (!(0, btp_utils_1.isAppStudio)()) {
|
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": "2.11.
|
|
4
|
+
"version": "2.11.4",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@sap-ux/fiori-generator-shared": "0.13.33",
|
|
35
35
|
"@sap-ux/guided-answers-helper": "0.4.1",
|
|
36
36
|
"@sap-ux/telemetry": "0.6.38",
|
|
37
|
-
"@sap-ux/inquirer-common": "0.9.
|
|
37
|
+
"@sap-ux/inquirer-common": "0.9.3",
|
|
38
38
|
"@sap-ux/logger": "0.7.1",
|
|
39
39
|
"@sap-ux/nodejs-utils": "0.2.8",
|
|
40
40
|
"@sap-ux/project-access": "1.32.8",
|