@getyoti/react-face-capture
Advanced tools
Comparing version
# CHANGELOG | ||
## v0.1.0 | ||
## New Features | ||
- Added image quality prop | ||
- Set JPEG High quality as default image format | ||
- Add languages support: | ||
- EN - English | ||
- DE - German | ||
- ES - Spanish | ||
- ES-419 Latin Spanish | ||
- FR - French | ||
- IT - Italian | ||
- Browser support: | ||
| Browser | Versions | | ||
| ------- | ----------------- | | ||
| and_chr | 86 | | ||
| chrome | 86,85,84,83 | | ||
| edge | 86,85 | | ||
| firefox | 82,81,80,79 | | ||
| ios_saf | 14,13.4-13.7,13.3 | | ||
| safari | 14,13.1,13,12.1 | | ||
## Fixes | ||
- Fix Manual mode Capture Bug | ||
- Fix Android 11 Chrome freeze bug | ||
- Fix Storybook endpoints | ||
## v0.1.0-beta.1 | ||
@@ -4,0 +35,0 @@ |
{ | ||
"name": "@getyoti/react-face-capture", | ||
"version": "0.1.0-beta.1", | ||
"version": "0.1.0", | ||
"description": "Face capture module to collect picture and data for Yoti AI API", | ||
@@ -8,3 +8,5 @@ "main": "index.js", | ||
"start": "NODE_ENV=development webpack-dev-server --config ./tools/webpack-dev-config.babel.js", | ||
"build": "NODE_ENV=production webpack --config ./tools/webpack-prod-config.babel.js", | ||
"build": "NODE_ENV=production webpack --config ./tools/webpack-prod-config.babel.js && npm run copy-assets", | ||
"lint": "prettier 'src/**/*.{js,jsx,json,md,css,scss,html}' --write && eslint --ext .jsx,.js src", | ||
"lint:fix": "npm run lint -- --fix", | ||
"test": "jest --config ./tools/jest.config.json", | ||
@@ -16,5 +18,9 @@ "test:watch": "npm run test -- --watch", | ||
"updateBrowserSupport": "node ./tools/updateBrowserSupport.js", | ||
"copy-assets": "cp -f package.json dist; cp -f CHANGELOG.md dist; cp -f LICENCE.md dist; cp -f docs/integrator.md dist/README.md", | ||
"publishDist": "npm run copy-assets && npm publish dist", | ||
"publishDist:dry": "npm run copy-assets && npm publish dist --dry-run" | ||
"copy-assets": "cp -f package.json dist; cp -f CHANGELOG.md dist; cp -f LICENCE.md dist; cp -f docs/integrators.md dist/README.md", | ||
"publishToNpm": "npm publish dist --access=public", | ||
"publishToNexus": "npm publish dist", | ||
"publish:check": "npm publish dist --dry-run", | ||
"lingui:extract": "lingui extract --clean", | ||
"lingui:compile": "lingui compile --strict --verbose", | ||
"lingui:build": "npm run lingui:extract && npm run lingui:compile" | ||
}, | ||
@@ -28,3 +34,6 @@ "author": "Yoti LTD", | ||
"dependencies": { | ||
"@lingui/macro": "3.6.0", | ||
"@lingui/react": "3.6.0", | ||
"@svgr/parcel-plugin-svgr": "5.1.0", | ||
"babel-plugin-macros": "3.0.1", | ||
"classnames": "2.2.6", | ||
@@ -45,2 +54,3 @@ "face-api.js": "0.22.0", | ||
"@babel/register": "7.12.1", | ||
"@lingui/cli": "3.6.0", | ||
"@testing-library/jest-dom": "5.11.6", | ||
@@ -67,3 +77,5 @@ "@testing-library/react": "11.1.2", | ||
"eslint-plugin-testing-library": "3.10.0", | ||
"husky": "4.3.8", | ||
"jest": "26.6.3", | ||
"lint-staged": "9.5.0", | ||
"markdown-table": "2.0.0", | ||
@@ -70,0 +82,0 @@ "modules": "0.4.0", |
@@ -73,3 +73,3 @@ # React Face capture integration | ||
| widthIdealConstraint | Number | `1280` | - | Video ideal width constraint passed to `getUserMedia` | | ||
| format | String | `png` | - | Image format | | ||
| format | String | `jpeg` | - | Image format | | ||
| CustomButton | Function | see Zeplin | - | Custom UI of the button. It uses `onClick` and `disabled` as props | | ||
@@ -79,3 +79,15 @@ | countdownMode | String `auto/never/always` | `never` | - | Note: `auto` means it will be hidden on mobile and shown on desktop | | ||
| isDebug | Boolean | false | - | If `true`, display useful information | | ||
| qualityType | String `high/medium/low` | `high` | - | The quality of the image taken for jpeg format only. High (1) - Medium (0.96) - Low (0.90) | | ||
| language | Language code (\*) | `en` | - | The language code to set the language of the feedback messages | | ||
**(\*)** | ||
Current languages supported: | ||
- `en`: English | ||
- `es`: Spanish (Spain) | ||
- `es-419`: Spanish (Latin America) | ||
- `it`: Italian | ||
- `de`: German | ||
- `fr`: French | ||
### Supported error codes | ||
@@ -82,0 +94,0 @@ |
Sorry, the diff of this file is too big to display
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 3 instances in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 3 instances in 1 package
958499
2.5%116
11.54%9
50%43
7.5%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed