@idscan/idvc2 2.14.0 → 3.0.0

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 (70) hide show
  1. package/README.md +17 -0
  2. package/dist/idvc.js +1 -1
  3. package/dist/idvc.js.LICENSE.txt +6 -0
  4. package/dist/idvc.js.gzip +0 -0
  5. package/dist/index.html +34 -31
  6. package/dist/js/defaultConfig.ts +27 -28
  7. package/dist/js/environment/documentTypes.ts +26 -8
  8. package/dist/js/environment/langs.js +1 -1
  9. package/dist/langs.js.gzip +0 -0
  10. package/dist/networks/Blur-chunk.js +1 -1
  11. package/dist/networks/Bubble-chunk.js +1 -1
  12. package/dist/networks/Face-chunk.js +1 -1
  13. package/dist/networks/GeneralTypeDetectionYolo-chunk.js +1 -1
  14. package/dist/networks/MRZ-chunk.js +1 -1
  15. package/dist/networks/PDF-chunk.js +1 -1
  16. package/dist/networks/ZXing-chunk.js +1 -1
  17. package/dist/networks/blurWorker.js.gzip +0 -0
  18. package/dist/networks/mrzWorker.js.gzip +0 -0
  19. package/dist/networks/pdfWorker.js.gzip +0 -0
  20. package/dist/types/defaultConfig.d.ts +1 -1
  21. package/dist/types/environment/documentTypes.d.ts +8 -5
  22. package/dist/types/environment/langs.d.ts +13 -9
  23. package/dist/types/eventListeners/eventListeners.d.ts +1 -1
  24. package/dist/types/eventListeners/selectDocumentType/selectHandler.d.ts +2 -2
  25. package/dist/types/helpers/validationEligibility.d.ts +1 -0
  26. package/dist/types/initialize.d.ts +3 -0
  27. package/dist/types/loader/asyncLoader.d.ts +1 -1
  28. package/dist/types/loop.d.ts +0 -1
  29. package/dist/types/modules/App/UI.d.ts +2 -2
  30. package/dist/types/modules/Config.d.ts +5 -15
  31. package/dist/types/modules/Loader/Loader.d.ts +1 -1
  32. package/dist/types/modules/camera/camera.d.ts +1 -1
  33. package/dist/types/modules/ui/CardStep/Card.d.ts +3 -5
  34. package/dist/types/modules/ui/CardStep/card-template.d.ts +5 -0
  35. package/dist/types/modules/ui/{Component.d.ts → ComponentLit.d.ts} +9 -11
  36. package/dist/types/modules/ui/ControlButton/ControlButton.d.ts +7 -9
  37. package/dist/types/modules/ui/ControlButton/control-button-template.d.ts +4 -0
  38. package/dist/types/modules/ui/ControlButton/controlButtonTemplate.d.ts +1 -0
  39. package/dist/types/modules/ui/DesktopNotification/DesktopNotification.d.ts +4 -6
  40. package/dist/types/modules/ui/DesktopNotification/desktop-notification-template.d.ts +2 -0
  41. package/dist/types/modules/ui/IDVCVersionPlank/IDVCVersionPlank.d.ts +4 -6
  42. package/dist/types/modules/ui/IDVCVersionPlank/idvc-version-plank-template.d.ts +2 -0
  43. package/dist/types/modules/ui/InitScreeen/InitScreen.d.ts +20 -0
  44. package/dist/types/modules/ui/InitScreeen/init-screen-template.d.ts +4 -0
  45. package/dist/types/modules/ui/Loader/LoaderUI.d.ts +10 -0
  46. package/dist/types/modules/ui/Loader/loader-template.d.ts +2 -0
  47. package/dist/types/modules/ui/MainScreen/MainScreen.d.ts +3 -3
  48. package/dist/types/modules/ui/MessageBox/MessageBox.d.ts +6 -13
  49. package/dist/types/modules/ui/MessageBox/message-box-template.d.ts +2 -0
  50. package/dist/types/modules/ui/ModeSwitch/ModeSwitch.d.ts +7 -8
  51. package/dist/types/modules/ui/ModeSwitch/mode-switch-template.d.ts +4 -0
  52. package/dist/types/modules/ui/Notification/Notification.d.ts +5 -6
  53. package/dist/types/modules/ui/Notification/notification-template.d.ts +2 -0
  54. package/dist/types/modules/ui/StatusPlank/StatusPlank.d.ts +5 -6
  55. package/dist/types/modules/ui/StatusPlank/status-plank-template.d.ts +2 -0
  56. package/dist/types/modules/ui/StepsList/StepsScreen.d.ts +5 -3
  57. package/dist/types/modules/ui/Uploader/UploaderUI.d.ts +10 -16
  58. package/dist/types/modules/ui/Uploader/uploader-template.d.ts +9 -0
  59. package/dist/types/modules/ui/VideoWrapper/StepPreview/StepPreview.d.ts +3 -3
  60. package/dist/types/modules/ui/VideoWrapper/StepPreview/step-preview-template.d.ts +2 -0
  61. package/dist/types/modules/ui/{selectDocumentType/documentSelectedEvent.d.ts → documentSelectedEvent.d.ts} +1 -1
  62. package/dist/types/neural models/generalTypeDetectionYoloModel.d.ts +1 -0
  63. package/dist/types/stepProcessing.d.ts +1 -1
  64. package/dist/types/types/context.d.ts +2 -1
  65. package/dist/types/util.d.ts +1 -6
  66. package/package.json +2 -4
  67. package/dist/types/loader/loaderUploadMode.d.ts +0 -1
  68. package/dist/types/modules/ui/DocumentsList/InitScreen.d.ts +0 -21
  69. package/dist/types/modules/ui/Spinner/LoaderUI.d.ts +0 -11
  70. /package/dist/types/modules/{blurModule.d.ts → BlurModule.d.ts} +0 -0
package/README.md CHANGED
@@ -81,6 +81,23 @@ import IDVC from '@idscan/idvc2'
81
81
 
82
82
  ## Version history
83
83
 
84
+ - **3.0.0**
85
+ - feat: added document type information in the 'sumbit' event output parameters
86
+ - feat: when the allowSubmitWithWarnings parameter is set to true, the user will be taken to the step selection screen where the submit button is displayed
87
+ - feat: camera access error text has been changed
88
+ - feat: improved quality of capturing all sides of the document when capturing from the camera
89
+ - feat: dynamically executable code was removed from internal wasm modules
90
+
91
+ - **2.15.0**
92
+ - feat: document type 'ID' has been removed and split into 2 types: 'DL' & 'IC'. The workflow of these document types is the same as 'ID'
93
+ - feat: added option 'autocaptureConfidence'. The option specifies the strictness of the type recognition decision filter. The value must be a floating point number between 0 and 1. Where 1 is the strictest filter, 0 is the least strict.
94
+ - feat: 'captureTimeout' option and the 'onCaptureTimeout' hook was removed
95
+ - feat: the text of the loader notifications was reworked
96
+ - feat: improved capture quality
97
+ - feat: the 'chunkPublicPath' option is no longer valid. All assets must be stored in the path specified by the 'networkUrl' option
98
+ - feat: added a warning that the camera is off, but it is mandatory in some steps of the document
99
+ - feat: added notification to make the user go to the start screen if submit with warnings is enabled
100
+
84
101
  - **2.14.0**
85
102
  - feat: added capture limits depending on document type for the 'front' step. For example, now it will not be possible to validate the 'front' step using a passport if the 'Green Card' document is selected, etc.
86
103
  - feat: new pdf track string format in manual upload mode