gbc-kyc-kit 1.4.1 → 1.4.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.
Files changed (2) hide show
  1. package/README.md +10 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -49,7 +49,12 @@ Remember that you can use mode prop to turn between dark or light mode without c
49
49
  Import components using:
50
50
 
51
51
  ```js
52
- import { BlackList, LivenessCheck, DocumentReader } from "gbc-kyc-kit";
52
+ import {
53
+ BlackList,
54
+ LivenessCheck,
55
+ DocumentReader,
56
+ FaceMatch,
57
+ } from "gbc-kyc-kit";
53
58
  ```
54
59
 
55
60
  **Important**
@@ -203,13 +208,15 @@ const getDataFaceMatch = async (info) => {
203
208
  if (info) {
204
209
  console.log(info.data);
205
210
  }
206
- };
207
- // This component return data and you can get it with getDataFaceMatch function.
211
+ };// This component return data and you can get it with getDataFaceMatch function.
212
+
213
+ const picbase64 = " ...This is the base64 image to be compared with the selfie. It would be image of id document or other image of onboarding maybe"
208
214
 
209
215
  <FaceMatch
210
216
  dataFaceMatch={getDataFaceMatch}
211
217
  clientId={clientId}
212
218
  authorize={getAccessToken}
213
219
  inProduction="prd"
220
+ picBase64={picbase64}
214
221
  />;
215
222
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gbc-kyc-kit",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Componentes para el desarrollo de un Onboarding",
5
5
  "license": "MIT",
6
6
  "author": "Global Bridge Connections",
@@ -65,7 +65,7 @@
65
65
  "bootstrap": "5.2.0",
66
66
  "eslint": "^8.18.0",
67
67
  "eslint-plugin-react": "^7.30.1",
68
- "gbc-kyc-kit": "^1.4.0",
68
+ "gbc-kyc-kit": "^1.4.1",
69
69
  "is-empty": "^1.2.0",
70
70
  "jsdom": "^20.0.0",
71
71
  "moment": "^2.29.4",