sap-ux-sap-systems-ext 0.3.6 → 0.3.8
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.
- package/dist/extension.js +17 -8
- package/dist/webapp/store.js +39 -39
- package/package.json +5 -5
package/dist/extension.js
CHANGED
|
@@ -2324,7 +2324,8 @@ var require_i18n = __commonJS({
|
|
|
2324
2324
|
defaultNS: NS,
|
|
2325
2325
|
fallbackNS: "default",
|
|
2326
2326
|
ns: [NS],
|
|
2327
|
-
interpolation: { escapeValue: false }
|
|
2327
|
+
interpolation: { escapeValue: false },
|
|
2328
|
+
showSupportNotice: false
|
|
2328
2329
|
});
|
|
2329
2330
|
await i18nInstance.init();
|
|
2330
2331
|
}
|
|
@@ -54324,7 +54325,7 @@ var require_package6 = __commonJS({
|
|
|
54324
54325
|
"../telemetry/package.json"(exports2, module2) {
|
|
54325
54326
|
module2.exports = {
|
|
54326
54327
|
name: "@sap-ux/telemetry",
|
|
54327
|
-
version: "0.6.
|
|
54328
|
+
version: "0.6.81",
|
|
54328
54329
|
description: "Library for sending usage telemetry data",
|
|
54329
54330
|
repository: {
|
|
54330
54331
|
type: "git",
|
|
@@ -163697,7 +163698,7 @@ var i18n_en_default = {
|
|
|
163697
163698
|
yes: "Yes",
|
|
163698
163699
|
no: "No",
|
|
163699
163700
|
delete: "Delete [{{- system}}]? Your Fiori application may not run locally anymore.",
|
|
163700
|
-
overwrite: "A connection
|
|
163701
|
+
overwrite: "A connection [{{- system}}] with the same URL and Client already exists. Do you want to overwrite it?"
|
|
163701
163702
|
},
|
|
163702
163703
|
info: {
|
|
163703
163704
|
numServices: "This SAP System [{{- system}}] returned {{v2}} OData V2 and {{v4}} OData V4 services.",
|
|
@@ -163739,7 +163740,7 @@ var i18n_en_default = {
|
|
|
163739
163740
|
gaPromptSubText: "To fix this issue, follow Guided Answers steps."
|
|
163740
163741
|
},
|
|
163741
163742
|
launchAppGen: "Failed to launch the SAP Fiori application generator for [{{- systemName}}].",
|
|
163742
|
-
catalogRequest: "The V{{version}} request failed with error: {{error}}.",
|
|
163743
|
+
catalogRequest: "The V{{version}} request failed with error: {{- error}}.",
|
|
163743
163744
|
guidedAnswersCmd: "Error executing command to open the Guided Answers extension: {{- error}}",
|
|
163744
163745
|
viewConnectionDetails: "An error occurred when executing the command to view the connection details.",
|
|
163745
163746
|
noFileSelected: "No file selected for import.",
|
|
@@ -163770,7 +163771,8 @@ var i18n = instance.createInstance();
|
|
|
163770
163771
|
async function initI18n() {
|
|
163771
163772
|
await i18n.init({
|
|
163772
163773
|
lng: "en",
|
|
163773
|
-
fallbackLng: "en"
|
|
163774
|
+
fallbackLng: "en",
|
|
163775
|
+
showSupportNotice: false
|
|
163774
163776
|
});
|
|
163775
163777
|
i18n.addResourceBundle("en", sapSystemsExtNs, i18n_en_default);
|
|
163776
163778
|
}
|
|
@@ -163840,7 +163842,7 @@ function shouldStoreSystemInfo(system) {
|
|
|
163840
163842
|
var import_telemetry = __toESM(require_dist15());
|
|
163841
163843
|
|
|
163842
163844
|
// package.json
|
|
163843
|
-
var version = "0.3.
|
|
163845
|
+
var version = "0.3.8";
|
|
163844
163846
|
|
|
163845
163847
|
// src/utils/telemetryHelper.ts
|
|
163846
163848
|
var import_feature_toggle = __toESM(require_dist16());
|
|
@@ -164661,11 +164663,18 @@ function logCatalogError(version2, error) {
|
|
|
164661
164663
|
logAxiosError(error);
|
|
164662
164664
|
}
|
|
164663
164665
|
function logAxiosError(error) {
|
|
164666
|
+
const safeStringify = (obj) => {
|
|
164667
|
+
try {
|
|
164668
|
+
return JSON.stringify(obj, null, 2);
|
|
164669
|
+
} catch {
|
|
164670
|
+
return String(obj);
|
|
164671
|
+
}
|
|
164672
|
+
};
|
|
164664
164673
|
if (error.response?.data) {
|
|
164665
|
-
SystemsLogger.logger.debug(
|
|
164674
|
+
SystemsLogger.logger.debug(safeStringify(error.response.data));
|
|
164666
164675
|
}
|
|
164667
164676
|
if (error.cause) {
|
|
164668
|
-
SystemsLogger.logger.debug(
|
|
164677
|
+
SystemsLogger.logger.debug(safeStringify(error.cause));
|
|
164669
164678
|
}
|
|
164670
164679
|
}
|
|
164671
164680
|
function logServiceSummary(systemName, catalog) {
|