@idscan/idvc2 2.0.1 → 2.1.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
@@ -34,7 +34,7 @@ This component contains JS, CSS files which require the mandatory import into yo
34
34
  ```javascript
35
35
  {
36
36
  test: /\.css$/,
37
- use: ["style-loader", "css-loader"]
37
+ use: ["style-loader", "css-loader"],
38
38
  }
39
39
  ```
40
40
 
@@ -93,6 +93,8 @@ Available fields:
93
93
 
94
94
  **useCDN** (boolean) - set to true if you prefer to load neural networks from cdn instead of your domain. Default: false
95
95
 
96
+ **useHeic** (boolean) - This option switches on/off the HEIC images processing (HEIC is Apple’s proprietary version of the Image File format). It’s possible to upload only via a Mac/MacBook.. Default: false
97
+
96
98
  **networkUrl** (string) - path to the folder with neural networks. Specify the path on the server if you need to remove the folder to another location. The default path is 'networks'. Default: 'networks'
97
99
 
98
100
  **language** (string) - The option sets the language used for the translation of the text in the library
@@ -219,6 +221,12 @@ To tweak the theme of the component you can redeclare variables in CSS custom pr
219
221
 
220
222
  The component has the following customizable properties:
221
223
 
224
+ **--font-family**
225
+
226
+ *default: Arial, "Helvetica Neue", Helvetica, sans-serif*
227
+
228
+ - library's font family
229
+
222
230
  **--btn-border-radius-big**
223
231
 
224
232
  *default: 4px*
@@ -383,7 +391,27 @@ The component has the following customizable properties:
383
391
  - description of capture progress
384
392
 
385
393
  ## Version history
386
- - **2.0.0**
394
+ - **2.1.1**
395
+ - updated camera module
396
+ - improved camera errors handling
397
+ - **2.1.0**
398
+ - removed additional fonts
399
+ - added step swiping if an image is uploaded
400
+ - changed front document capturing method
401
+ - improved mrz parsing
402
+ - fixed bubbling if an image is mirrored
403
+ - reduced library size
404
+ - added new css variable for library's font family
405
+ - reduced css
406
+ - added blur detector to front step
407
+ - improved MRZ location and MRZ decode speed.
408
+ - moved HEIC supports to distinct module and added additional config option for it.
409
+ - reduced first loading time.
410
+ - removed "parsePDF" option.
411
+ - added "mrzImg" field to mrz step. It's cut mrz for better MRZ recognition on DVS side.
412
+ - **2.0.2**
413
+ - fix: manual upload.
414
+ - **2.0.1**
387
415
  - deprecated: isShowManualSwitchButton. Now the decision is made on a step config
388
416
  - deprecated: enableFlash. Now it shows only if device/browser supports flashlight.
389
417
  - deprecated: showSubmitBtn. The submit button is always turned on.