apacuana-sdk-core 1.16.0 → 1.17.0
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/coverage/clover.xml +59 -60
- package/coverage/coverage-final.json +2 -2
- package/coverage/lcov-report/index.html +10 -10
- package/coverage/lcov-report/src/api/certs.js.html +6 -18
- package/coverage/lcov-report/src/api/faceLiveness.js.html +1 -1
- package/coverage/lcov-report/src/api/index.html +10 -10
- package/coverage/lcov-report/src/api/revocations.js.html +1 -1
- package/coverage/lcov-report/src/api/signatures.js.html +1 -1
- package/coverage/lcov-report/src/api/users.js.html +1 -1
- package/coverage/lcov-report/src/config/index.html +1 -1
- package/coverage/lcov-report/src/config/index.js.html +1 -1
- package/coverage/lcov-report/src/errors/index.html +1 -1
- package/coverage/lcov-report/src/errors/index.js.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.js.html +1 -1
- package/coverage/lcov-report/src/success/index.html +1 -1
- package/coverage/lcov-report/src/success/index.js.html +1 -1
- package/coverage/lcov-report/src/utils/constant.js.html +7 -4
- package/coverage/lcov-report/src/utils/helpers.js.html +1 -1
- package/coverage/lcov-report/src/utils/httpClient.js.html +1 -1
- package/coverage/lcov-report/src/utils/index.html +1 -1
- package/coverage/lcov.info +92 -93
- package/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -6
- package/dist/index.mjs.map +1 -1
- package/dist/utils/constant.d.ts +1 -1
- package/package.json +1 -1
- package/src/api/certs.js +0 -4
- package/src/utils/constant.js +3 -2
package/dist/utils/constant.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export namespace STATUS_CERTIFICATE {
|
|
|
12
12
|
export const PARSE_STATUS: {
|
|
13
13
|
[STATUS_CERTIFICATE.certificate_another_device]: {
|
|
14
14
|
text: string;
|
|
15
|
-
descriptionText:
|
|
15
|
+
descriptionText: string;
|
|
16
16
|
};
|
|
17
17
|
[STATUS_CERTIFICATE.request_cert]: {
|
|
18
18
|
text: string;
|
package/package.json
CHANGED
package/src/api/certs.js
CHANGED
|
@@ -95,10 +95,6 @@ export const getCertStatus = async (isCertificateInDevice = false) => {
|
|
|
95
95
|
config.integrationType
|
|
96
96
|
);
|
|
97
97
|
const parseStatus = PARSE_STATUS[status];
|
|
98
|
-
console.log({
|
|
99
|
-
status,
|
|
100
|
-
parseStatus,
|
|
101
|
-
});
|
|
102
98
|
return new ApacuanaSuccess({ status: parseStatus });
|
|
103
99
|
};
|
|
104
100
|
|
package/src/utils/constant.js
CHANGED
|
@@ -12,8 +12,9 @@ export const STATUS_CERTIFICATE = {
|
|
|
12
12
|
|
|
13
13
|
export const PARSE_STATUS = {
|
|
14
14
|
[STATUS_CERTIFICATE.certificate_another_device]: {
|
|
15
|
-
text: "
|
|
16
|
-
descriptionText:
|
|
15
|
+
text: "Certificado generado en otro dispositivo",
|
|
16
|
+
descriptionText:
|
|
17
|
+
"Su certificado fue generado en otro equipo. Para usarlo aquí, debe migrar el certificado o solicitar la revocación del anterior para generar uno nuevo.",
|
|
17
18
|
},
|
|
18
19
|
[STATUS_CERTIFICATE.request_cert]: {
|
|
19
20
|
text: "En revisión",
|