gbc-kyc-kit 2.0.9 → 2.0.10

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 +14 -14
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -95,20 +95,20 @@ async function getAccessToken() {
95
95
  If you use this components with TypeScript, you should create a customType.d.ts into src folder with:
96
96
  `declare module 'gbc-kyc-kit'`
97
97
 
98
- | Props | Type | Values | Description |
99
- | ------------------ | --------------- | -------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
100
- | inProduction | string | prd, stg, dev, sand | It isn't required, the default value is "prd". You should use "dev" to test integration and then pass to "stg". This env return real data, finally you can delete this prop or change to "prd" |
101
- | mode | string | dark, light | It isn't required, the default value is "light". |
102
- | clientId | string | Global Bridge Connections send you for email | This value is unique for each client and will be sent for email. |
103
- | authorize | promise | () => Promise() | This Function verify clientId vs TOKEN and return accessToken. |
104
- | picBase64 | string | | Is required. It would be used to compare the selfie image with this picture |
105
- | countryCodeAllowed | array of string | | 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
- | validateVpn | boolean | | It isn't required. If exist these props, the component will validate the use of VPN. The default value is false |
107
- | dualModeRequired | boolean | | It isn't required. Only apply to OCR Component. If exist these props, the component will be forced to upload two side of docuemnt. The default value is false |
108
- | successMessage | string | | It isn't required. If exist these props, the component will take this message, else we use the default values for each component |
109
- | alertMessage | string | | It isn't required. If exist these props, the component will take this message, else we use the default values for each component, Only apply to Blacklist Component |
110
- | faceMatch | string | | It isn't required. If exist these props, should be an image in base64 or url, the component will to compare this image with the liveness check. The default vaue is null |
111
- | showFilterByButton | boolean | | It isn't required. If these props exist, they should be a boolean. The component hides the 'Filter By' button if this prop is false. The default value is true |
98
+ | Props | Type | Values | Component | Description |
99
+ | ------------------ | --------------- | -------------------------------------------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
100
+ | inProduction | string | prd, stg, dev, sand | All Components | It isn't required, the default value is "prd". You should use "dev" to test integration and then pass to "stg". This env return real data, finally you can delete this prop or change to "prd" |
101
+ | mode | string | dark, light | All Components | It isn't required, the default value is "light". |
102
+ | clientId | string | Global Bridge Connections send you for email | All Components | This value is unique for each client and will be sent for email. |
103
+ | authorize | promise | () => Promise() | All Components | This Function verify clientId vs TOKEN and return accessToken. |
104
+ | picBase64 | string | | Facematch - 1098 | Is required. It would be used to compare the selfie image with this picture |
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
+ | 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
+ | dualModeRequired | boolean | | Document Reader - 1099 | It isn't required. Only apply to OCR Component. If exist these props, the component will be forced to upload two side of docuemnt. The default value is false |
108
+ | successMessage | string | | All Components | It isn't required. If exist these props, the component will take this message, else we use the default values for each component |
109
+ | alertMessage | string | | All Components | It isn't required. If exist these props, the component will take this message, else we use the default values for each component, Only apply to Blacklist Component |
110
+ | faceMatch | string | | Liveness Check - 1096 | It isn't required. If exist these props, should be an image in base64 or url, the component will to compare this image with the liveness check. The default vaue is null |
111
+ | showFilterByButton | boolean | | Blacklist - 1095 | It isn't required. If these props exist, they should be a boolean. The component hides the 'Filter By' button if this prop is false. The default value is true |
112
112
 
113
113
  ## Document Reader Component
114
114
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gbc-kyc-kit",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "Componentes para el desarrollo de un Onboarding",
5
5
  "license": "MIT",
6
6
  "author": "Global Bridge Connections",
@@ -68,7 +68,7 @@
68
68
  "comma-separated-values": "^3.6.4",
69
69
  "eslint": "^8.18.0",
70
70
  "eslint-plugin-react": "^7.30.1",
71
- "gbc-kyc-kit": "^2.0.7",
71
+ "gbc-kyc-kit": "^2.0.9",
72
72
  "image-compressor.js": "^1.1.4",
73
73
  "is-empty": "^1.2.0",
74
74
  "jsdom": "^20.0.0",