apacuana-sdk-core 0.14.0 → 0.16.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apacuana-sdk-core",
3
- "version": "0.14.0",
3
+ "version": "0.16.0",
4
4
  "description": "Core SDK para interacciones con las APIs de Apacuana.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -30,7 +30,7 @@ const getCertificateStatus = (userData, certificateInDevice) => {
30
30
  userData?.certificatestatus !== STATUS_CERTIFICATE.revoque
31
31
  )
32
32
  return STATUS_CERTIFICATE.certificate_another_device;
33
- if (userData?.requestscert?.pending && userData?.certificationId)
33
+ if (userData?.requestscert?.pending)
34
34
  return STATUS_CERTIFICATE.request_revoque;
35
35
  if (
36
36
  !userData?.cangenerate &&