gbc-kyc-kit 3.4.7 → 3.4.8
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 +2 -2
- package/dist/gbc-kyc-kit.es.js +11 -3
- package/dist/gbc-kyc-kit.umd.js +31 -31
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ or
|
|
|
16
16
|
Import CSS component with:
|
|
17
17
|
|
|
18
18
|
```js
|
|
19
|
-
import '
|
|
19
|
+
import 'gbc-kyc-kit/dist/styles.css';
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Style customization
|
|
@@ -74,7 +74,7 @@ async function getAccessToken() {
|
|
|
74
74
|
|
|
75
75
|
const parseReq = {
|
|
76
76
|
method: 'POST',
|
|
77
|
-
url: 'https://
|
|
77
|
+
url: 'https://gbc-py-core-sandbox-api-products-rtm3lv2joa-uc.a.run.app/api-hub/oauth2/v1/generate_access_token',
|
|
78
78
|
headers: customHeaders,
|
|
79
79
|
data: {
|
|
80
80
|
grant_type: 'client_credentials',
|
package/dist/gbc-kyc-kit.es.js
CHANGED
|
@@ -38726,7 +38726,15 @@ const DocumentReaderController = (dataDocument, clientId, authorize, eventId, so
|
|
|
38726
38726
|
};
|
|
38727
38727
|
try {
|
|
38728
38728
|
const res2 = await request2(parseReq);
|
|
38729
|
-
const
|
|
38729
|
+
const {
|
|
38730
|
+
documents_image,
|
|
38731
|
+
...rest
|
|
38732
|
+
} = res2.data.data;
|
|
38733
|
+
const fullData = {
|
|
38734
|
+
...rest,
|
|
38735
|
+
first_image: (documents_image == null ? void 0 : documents_image.first_image) || "",
|
|
38736
|
+
second_image: (documents_image == null ? void 0 : documents_image.second_image) || ""
|
|
38737
|
+
};
|
|
38730
38738
|
const dataOcrSaved = await saveDataToDB({
|
|
38731
38739
|
data: {
|
|
38732
38740
|
...fullData,
|
|
@@ -42661,7 +42669,7 @@ const V2OcrComponent = ({
|
|
|
42661
42669
|
});
|
|
42662
42670
|
};
|
|
42663
42671
|
const name = "gbc-kyc-kit";
|
|
42664
|
-
const version = "3.4.
|
|
42672
|
+
const version = "3.4.8";
|
|
42665
42673
|
const description = "Componentes para el desarrollo de un Onboarding";
|
|
42666
42674
|
const license = "MIT";
|
|
42667
42675
|
const author = "Global Bridge Connections";
|
|
@@ -42732,7 +42740,7 @@ const dependencies = {
|
|
|
42732
42740
|
"comma-separated-values": "^3.6.4",
|
|
42733
42741
|
eslint: "^8.18.0",
|
|
42734
42742
|
"eslint-plugin-react": "^7.30.1",
|
|
42735
|
-
"gbc-kyc-kit": "^3.4.
|
|
42743
|
+
"gbc-kyc-kit": "^3.4.7",
|
|
42736
42744
|
"image-compressor.js": "^1.1.4",
|
|
42737
42745
|
"image-js": "^0.37.0",
|
|
42738
42746
|
"is-empty": "^1.2.0",
|