@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 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, CSS files which require the mandatory import into your project.
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. Add the following rules of loading to the field rules
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 and css to your project.
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