gbc-kyc-kit 3.3.7 → 3.4.0
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 +1 -4
- package/dist/gbc-kyc-kit.es.js +1363 -3320
- package/dist/gbc-kyc-kit.umd.js +95 -95
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -105,7 +105,6 @@ If you use this components with TypeScript, you should create a customType.d.ts
|
|
|
105
105
|
| countryCodeAllowed | array of string | | Document Reader - 1099 | It isn't required. If exist these props, the component will validate the client geolocation vs the code country thay is used as country allowed. You can use several countries but remember to use the country code aording to the ISO |
|
|
106
106
|
| validateVpn | boolean | | Document Reader - 1099 | It isn't required. If exist these props, the component will validate the use of VPN. The default value is false |
|
|
107
107
|
| dualModeRequired | boolean | true | false | null | Document Reader - 1099 | If these props are null, both sides should be rendered, but not required. If true, the component will be forced to upload two sides of the documents. If it is false just will rendered 1 side. The default value is false |
|
|
108
|
-
| version | number | 1 | 2 | Document Reader - 1099 | Version 1 should be deprecated by the end of 2027; we recommend using version 2, as it offers a better UX/UI. |
|
|
109
108
|
| successMessage | string | | All Components | It isn't required. If these props, the component will take this message, we use the default values for each component |
|
|
110
109
|
| alertMessage | string | | Blacklist - 1095 | It isn't required. If these props exist, the component will take this message. W.e use the default values for each component, Only apply to Blacklist Component |
|
|
111
110
|
| faceMatch | string | | Liveness Check - 1096 | It isn't required. If these props exist, there should be an image in base64 or a url; the component will compare this image with the liveness check. The default vaue is null |
|
|
@@ -123,9 +122,8 @@ Props Available:
|
|
|
123
122
|
- inProduction: string default is prd
|
|
124
123
|
- dataDocument: function to get response
|
|
125
124
|
- countryCodeAllowed: array of string
|
|
126
|
-
- dualModeRequired: boolean
|
|
125
|
+
- dualModeRequired: boolean || null
|
|
127
126
|
- validateVpn: boolean
|
|
128
|
-
- version: number
|
|
129
127
|
|
|
130
128
|
```js
|
|
131
129
|
const getDataDocument = async (info) => {
|
|
@@ -142,7 +140,6 @@ const getDataDocument = async (info) => {
|
|
|
142
140
|
inProduction='prd'
|
|
143
141
|
successMessage='Documento agregado con éxito'
|
|
144
142
|
dualModeRequired={null}
|
|
145
|
-
version={2}
|
|
146
143
|
/>;
|
|
147
144
|
```
|
|
148
145
|
|