gbc-kyc-kit 1.8.6 → 1.8.7

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.
@@ -22228,7 +22228,6 @@ const BlackListController = (clientId, authorize, eventId, inProduction, country
22228
22228
  country: select,
22229
22229
  date_birth: Date.parse(birth_date)
22230
22230
  };
22231
- console.log(payload, "/////", match2);
22232
22231
  await saveDataToDB({
22233
22232
  data: dataToRegisterBlackList,
22234
22233
  component: "blacklist",
@@ -28204,7 +28203,7 @@ const LivenessController = (clientId, eventId, source2, inProduction, countryCod
28204
28203
  const [similarity, setSimilarity] = useState(0);
28205
28204
  const listener = (event) => {
28206
28205
  if (event.detail) {
28207
- if (event.detail.action === "PROCESS_FINISHED" && event.detail.data.response.code != -1) {
28206
+ if (event.detail.action === "PROCESS_FINISHED" && event.detail.data.response.code == 0) {
28208
28207
  setData(event.detail.data.response);
28209
28208
  }
28210
28209
  }