gbc-kyc-kit 1.10.3 → 1.10.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.
@@ -22218,7 +22218,6 @@ const BlackListController = (clientId, authorize, eventId, inProduction, country
22218
22218
  status: status2,
22219
22219
  payload
22220
22220
  } = res2.data.data;
22221
- console.log(match2);
22222
22221
  const dataToRegisterBlackList = {
22223
22222
  request_match: match2,
22224
22223
  request_payload: payload,
@@ -30407,7 +30406,7 @@ const DocumentReaderController = (dataDocument, clientId, authorize, eventId, so
30407
30406
  try {
30408
30407
  const res2 = await request2(parseReq);
30409
30408
  const fullData = res2.data.data;
30410
- await saveDataToDB({
30409
+ const dataOcrSaved = await saveDataToDB({
30411
30410
  data: fullData,
30412
30411
  component: "ocr",
30413
30412
  eventId,
@@ -30416,6 +30415,9 @@ const DocumentReaderController = (dataDocument, clientId, authorize, eventId, so
30416
30415
  clientId,
30417
30416
  geolocation
30418
30417
  });
30418
+ dataOcrSaved && Object.assign(fullData, {
30419
+ checkIp: dataOcrSaved.check_ip
30420
+ });
30419
30421
  fullData && await dataDocument(fullData);
30420
30422
  const {
30421
30423
  message: message2