gbc-kyc-kit 3.0.10 → 3.0.11

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.
@@ -18421,6 +18421,7 @@ const BlackListController = (clientId, authorize, inProduction, source2, eventId
18421
18421
  handleSubmit: handleSubmitCsv
18422
18422
  } = useForm();
18423
18423
  const onSubmitCsv = async () => {
18424
+ var _a, _b;
18424
18425
  setIsLoading(true);
18425
18426
  try {
18426
18427
  const res = await authorize();
@@ -18476,10 +18477,8 @@ const BlackListController = (clientId, authorize, inProduction, source2, eventId
18476
18477
  } catch (error) {
18477
18478
  let message2 = "Error interno de la aplicai\xF3n";
18478
18479
  console.log(error, "Error en batch");
18479
- const {
18480
- status: status2,
18481
- data: data2
18482
- } = error.response;
18480
+ const status2 = (_a = error.response.status) != null ? _a : "Error no controlado";
18481
+ const data2 = (_b = error.response.data) != null ? _b : "No logramos obtener la data";
18483
18482
  await saveDataToDB({
18484
18483
  data: {
18485
18484
  csvFile,