@idscan/idvc2 2.11.1 → 2.12.1
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 +14 -12
- package/dist/idvc.js +1 -1
- package/dist/idvc.js.gzip +0 -0
- package/dist/index.html +40 -39
- package/dist/js/environment/langs.js +1 -1
- package/dist/langs.js.gzip +0 -0
- package/dist/networks/Face-chunk.js +1 -1
- package/dist/networks/PDF-chunk.js +1 -1
- package/dist/types/bl.d.ts +0 -1
- package/dist/types/environment/langs.d.ts +6 -0
- package/dist/types/helpers/canvas.d.ts +1 -0
- package/dist/types/helpers/styleInject.d.ts +1 -0
- package/dist/types/idvc.d.ts +2 -3
- package/dist/types/modules/App/UI.d.ts +2 -4
- package/dist/types/modules/Spinner/Loader.d.ts +22 -0
- package/dist/types/modules/face/MeshFace.d.ts +9 -1
- package/dist/types/modules/step-functions/pdf.d.ts +1 -1
- package/dist/types/modules/ui/MainScreen/MainScreen.d.ts +6 -3
- package/dist/types/modules/ui/SelectDocumentType.d.ts +7 -7
- package/dist/types/modules/ui/Spinner/{SpinnerUI.d.ts → LoaderUI.d.ts} +3 -3
- package/dist/types/modules/ui/VideoWrapper/MaskCapture.d.ts +7 -4
- package/package.json +2 -1
- package/dist/css/idvc.css +0 -1
- package/dist/types/modules/Spinner/Spinner.d.ts +0 -22
- package/dist/types/modules/ui/InitialLoader/initialLoader.d.ts +0 -12
package/README.md
CHANGED
|
@@ -30,21 +30,13 @@ This component works in phones with the operating system Android in the browser
|
|
|
30
30
|
$ npm install @idscan/idvc2
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
This component contains JS
|
|
33
|
+
This component contains JS files which require the mandatory import into your project.
|
|
34
34
|
|
|
35
35
|
1. Before importing, it is necessary to set the webpack-configuration.
|
|
36
36
|
|
|
37
37
|
*Note: The project must use the webpack 4 and later versions.*
|
|
38
38
|
|
|
39
|
-
1.1.
|
|
40
|
-
```javascript
|
|
41
|
-
{
|
|
42
|
-
test: /\.css$/,
|
|
43
|
-
use: ["style-loader", "css-loader"],
|
|
44
|
-
}
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
1.2. If you prefer to use neural networks from your domain, you should add the 'CopyWebpackPlugin' into the section 'plugins' which will copy the files, which are necessary for the work of the neural network, from the folder to another folder that should be selected by you.
|
|
39
|
+
1.1. If you prefer to use neural networks from your domain, you should add the 'CopyWebpackPlugin' into the section 'plugins' which will copy the files, which are necessary for the work of the neural network, from the folder to another folder that should be selected by you.
|
|
48
40
|
|
|
49
41
|
*Note: The structure inside the folder of the component 'networks' must be saved on the server with due regard to the nesting.
|
|
50
42
|
There are binary files in the folder which do not have the extension. These files must be provided by the server with the header `Content-Type: application/octet-stream`.*
|
|
@@ -74,11 +66,10 @@ new CopyWebpackPlugin({
|
|
|
74
66
|
});
|
|
75
67
|
```
|
|
76
68
|
|
|
77
|
-
1.3. Import the library
|
|
69
|
+
1.3. Import the library to your project.
|
|
78
70
|
|
|
79
71
|
```javascript
|
|
80
72
|
import IDVC from '@idscan/idvc2'
|
|
81
|
-
import '@idscan/idvc2/dist/css/idvc.css'
|
|
82
73
|
|
|
83
74
|
```
|
|
84
75
|
|
|
@@ -91,6 +82,17 @@ import '@idscan/idvc2/dist/css/idvc.css'
|
|
|
91
82
|
|
|
92
83
|
## Version history
|
|
93
84
|
|
|
85
|
+
- **2.12.1**
|
|
86
|
+
- fix: error when calling the reloadComponent method
|
|
87
|
+
- fix: the spinner was partially displayed on iOS devices
|
|
88
|
+
|
|
89
|
+
- **2.12.0**
|
|
90
|
+
- feat: improved capture of the back side of the document on the 'pdf' step type. Now the entire back side with 4 corners is captured
|
|
91
|
+
- feat: css styles are now embedded on the page automatically. no need to import them manually anymore
|
|
92
|
+
- feat: all round loaders have been replaced by cubes
|
|
93
|
+
- fix: corrected arrow direction display when capturing a face
|
|
94
|
+
- fix: loader did not close with “ isShowDocumentTypeSelect: false” and “ autoStart : true” enabled at the same time
|
|
95
|
+
|
|
94
96
|
- **2.11.1**
|
|
95
97
|
- feat: added face check on document in 'front' step
|
|
96
98
|
- feat: added check that all 4 corners of the document are in the frame at the 'front' step
|