@tarileo/avileo-catalog-cli 0.3.14 → 0.3.15
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.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23022,9 +23022,10 @@ async function status(options) {
|
|
|
23022
23022
|
business = await client.business.get();
|
|
23023
23023
|
} catch (error62) {
|
|
23024
23024
|
businessLookupError = errorCode(error62);
|
|
23025
|
+
state = lookupFailureState(error62);
|
|
23025
23026
|
}
|
|
23026
23027
|
}
|
|
23027
|
-
const resolvedNextStep = nextStepForStatus(state, baseUrl);
|
|
23028
|
+
const resolvedNextStep = diagnostic?.state === "active" && state === "invalid" ? `El origen ${baseUrl} reconoce la credencial como activa, pero deneg\xF3 el acceso al negocio. Revisa en Mis agentes los permisos y la autorizaci\xF3n del emisor para el negocio vinculado en este mismo origen. Si persiste, solicita un diagn\xF3stico del backend.` : nextStepForStatus(state, baseUrl);
|
|
23028
23029
|
emitSuccess({
|
|
23029
23030
|
configured: true,
|
|
23030
23031
|
state,
|