gbc-kyc-kit 1.8.2 → 1.8.4

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.
@@ -18748,6 +18748,9 @@ function ErrorHandler(error) {
18748
18748
  } else if (code === 504) {
18749
18749
  console.log(error.response.data.message);
18750
18750
  message = "M\xE1ximo de consultas, por favor contacte con soporte.";
18751
+ } else if (code === "020") {
18752
+ console.log(error.response.data.message);
18753
+ message = error.response.data.message;
18751
18754
  } else if (status === "429") {
18752
18755
  console.log(error.response.data);
18753
18756
  }
@@ -18943,6 +18946,7 @@ const BlackListController = (clientId, authorize, eventId, inProduction, country
18943
18946
  country: select,
18944
18947
  date_birth: Date.parse(birth_date)
18945
18948
  };
18949
+ console.log(payload, "/////", match2);
18946
18950
  await saveDataToDB({
18947
18951
  data: dataToRegisterBlackList,
18948
18952
  component: "blacklist",
@@ -24970,7 +24974,7 @@ const LivenessController = (clientId, eventId, source2, inProduction, countryCod
24970
24974
  inProduction,
24971
24975
  clientId,
24972
24976
  geolocation
24973
- }).then((res2) => dataLiveness(res2));
24977
+ });
24974
24978
  }) : wrapAndSaveData();
24975
24979
  } catch (error) {
24976
24980
  let message2 = "";