@deliverart/sdk-js-integration-diagnostics 2.48.2-dev.20261103121500 → 2.48.2-dev.20261103123000
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/index.cjs +15 -1
- package/dist/index.js +15 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2233,8 +2233,22 @@ var failures2 = {
|
|
|
2233
2233
|
],
|
|
2234
2234
|
sale_enabled: ["Il prodotto \xE8 disabilitato per la vendita", "The product is disabled for sale"]
|
|
2235
2235
|
};
|
|
2236
|
+
var inconclusive = {
|
|
2237
|
+
ecommerce_enabled: [
|
|
2238
|
+
"Il canale ecommerce \xE8 disabilitato: verificare se \xE8 richiesto per questo invio",
|
|
2239
|
+
"The ecommerce channel is disabled: verify whether this delivery requires it"
|
|
2240
|
+
],
|
|
2241
|
+
risto_enabled: [
|
|
2242
|
+
"Il canale ristorazione \xE8 disabilitato: verificare se \xE8 richiesto per questo invio",
|
|
2243
|
+
"The restaurant channel is disabled: verify whether this delivery requires it"
|
|
2244
|
+
],
|
|
2245
|
+
variant_found: [
|
|
2246
|
+
"La presenza della variante non \xE8 univoca nella risposta remota",
|
|
2247
|
+
"Variant presence is ambiguous in the remote response"
|
|
2248
|
+
]
|
|
2249
|
+
};
|
|
2236
2250
|
function describeRemoteDiagnosticCheck(check, locale) {
|
|
2237
|
-
const entry = (check.outcome === "fail" ? failures2[check.code] : void 0) ?? labels3[check.code];
|
|
2251
|
+
const entry = (check.outcome === "fail" ? failures2[check.code] : check.outcome === "unknown" ? inconclusive[check.code] : void 0) ?? labels3[check.code];
|
|
2238
2252
|
return entry?.[locale === "it" ? 0 : 1] ?? (locale === "it" ? "Controllo non riconosciuto: richiedi assistenza" : "Unrecognized check: contact support");
|
|
2239
2253
|
}
|
|
2240
2254
|
|
package/dist/index.js
CHANGED
|
@@ -2124,8 +2124,22 @@ var failures2 = {
|
|
|
2124
2124
|
],
|
|
2125
2125
|
sale_enabled: ["Il prodotto \xE8 disabilitato per la vendita", "The product is disabled for sale"]
|
|
2126
2126
|
};
|
|
2127
|
+
var inconclusive = {
|
|
2128
|
+
ecommerce_enabled: [
|
|
2129
|
+
"Il canale ecommerce \xE8 disabilitato: verificare se \xE8 richiesto per questo invio",
|
|
2130
|
+
"The ecommerce channel is disabled: verify whether this delivery requires it"
|
|
2131
|
+
],
|
|
2132
|
+
risto_enabled: [
|
|
2133
|
+
"Il canale ristorazione \xE8 disabilitato: verificare se \xE8 richiesto per questo invio",
|
|
2134
|
+
"The restaurant channel is disabled: verify whether this delivery requires it"
|
|
2135
|
+
],
|
|
2136
|
+
variant_found: [
|
|
2137
|
+
"La presenza della variante non \xE8 univoca nella risposta remota",
|
|
2138
|
+
"Variant presence is ambiguous in the remote response"
|
|
2139
|
+
]
|
|
2140
|
+
};
|
|
2127
2141
|
function describeRemoteDiagnosticCheck(check, locale) {
|
|
2128
|
-
const entry = (check.outcome === "fail" ? failures2[check.code] : void 0) ?? labels3[check.code];
|
|
2142
|
+
const entry = (check.outcome === "fail" ? failures2[check.code] : check.outcome === "unknown" ? inconclusive[check.code] : void 0) ?? labels3[check.code];
|
|
2129
2143
|
return entry?.[locale === "it" ? 0 : 1] ?? (locale === "it" ? "Controllo non riconosciuto: richiedi assistenza" : "Unrecognized check: contact support");
|
|
2130
2144
|
}
|
|
2131
2145
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-integration-diagnostics",
|
|
3
3
|
"description": "Shared integration diagnostics, verification and explicit recovery contracts",
|
|
4
|
-
"version": "2.48.2-dev.
|
|
4
|
+
"version": "2.48.2-dev.20261103123000",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|