gbc-kyc-kit 1.2.0 → 1.2.2

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/README.md CHANGED
@@ -42,7 +42,7 @@ Remember that you can use mode prop to turn between dark or light mode without c
42
42
  --error: #ff1199;
43
43
  --text-color: #8c8c8c;
44
44
  --title-color: #262626;
45
- --font-family: "Noto Sans", sans-serif;
45
+ --font-family: "Poppins", sans-serif;
46
46
  }
47
47
  ```
48
48
 
@@ -20292,7 +20292,6 @@ const DocumentReaderController = (dataDocument, clientId, authorize, inProductio
20292
20292
  setBase64({});
20293
20293
  setStatus("");
20294
20294
  };
20295
- console.log(base64, "documentReader");
20296
20295
  const {
20297
20296
  handleSubmit: simpleHandleSubmit
20298
20297
  } = useForm();
@@ -20337,7 +20336,11 @@ const DocumentReaderController = (dataDocument, clientId, authorize, inProductio
20337
20336
  };
20338
20337
  try {
20339
20338
  const res2 = await request2(parseReq);
20340
- res2.data && await dataDocument(res2.data);
20339
+ const fullData = {
20340
+ ...res2.data.data,
20341
+ documentsImage: base64
20342
+ };
20343
+ res2.data && await dataDocument(fullData);
20341
20344
  const {
20342
20345
  message: message2
20343
20346
  } = res2.data;