@idscan/onboarding 2.7.0 → 2.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idscan/onboarding",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
4
4
  "description": "Wrapper of the IDVC library for DIVE Online.",
5
5
  "main": "dist/js/wrapper.js",
6
6
  "types": "dist/@types/src/Wrapper.d.ts",
package/readme.md CHANGED
@@ -52,11 +52,10 @@ new CopyWebpackPlugin ([
52
52
  ])
53
53
  ```
54
54
 
55
- 1.3. Import the library and css to your project.
55
+ 1.3. Import the library to your project.
56
56
 
57
57
  ```javascript
58
58
  import DVSOIDVC from '@idscan/onboarding';
59
- import '@idscan/onboarding/dist/css/onboarding.css';
60
59
  ```
61
60
  ## Initialization
62
61
 
@@ -110,6 +109,8 @@ Available fields:
110
109
 
111
110
  **callbacks** (object) - Object with callback hooks. Available hooks:
112
111
 
112
+ - **onCaptureTimeout** - Callback-function which will be called after the user failed to capture the document from the camera in the time specified by the 'captureTimeout' option.
113
+
113
114
  - **onChange** - Callback-function which will be called after change one step. The returnable value is the object with the type and the image.
114
115
 
115
116
  - **onCameraError** - Callback-function which is invoked in case if the camera is not available. The response value is the object with the error code and the message.
@@ -178,6 +179,10 @@ btn.addEventListener('click', () => {
178
179
 
179
180
  ## Version history
180
181
 
182
+ - **2.7.1**
183
+ - feat: Changed successful verification message
184
+ - feat: Changed attempts limit text
185
+
181
186
  - **2.7.0**
182
187
  - feat: Added possibility to load IDVC web library from cdn, for this you need to set 'useCDN' option to true
183
188
  - feat: A new option 'IDVCDownloadVersion' was added. It allows to select the IDVC version number which will be loaded, the value is a string in npm version format, e.g. '2.10.0'. Also, 'latest' value is available - in this case the current IDVC version will be loaded