@idscan/onboarding 2.2.14 → 2.2.15

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.2.14",
3
+ "version": "2.2.15",
4
4
  "description": "Wrapper of the IDVC library for DVS Online.",
5
5
  "main": "dist/js/wrapper.js",
6
6
  "types": "dist/@types/src/Wrapper.d.ts",
@@ -20,7 +20,7 @@
20
20
  "minor": "npm version minor"
21
21
  },
22
22
  "dependencies": {
23
- "@idscan/idvc2": "^2.5.9",
23
+ "@idscan/idvc2": "^2.5.10",
24
24
  "core-js": "^3.30.0",
25
25
  "qrcode": "^1.5.1",
26
26
  "regenerator-runtime": "^0.13.11"
package/readme.md CHANGED
@@ -88,6 +88,10 @@ Available fields:
88
88
 
89
89
  **preferApiConfig** (boolean) - Flag indicating that you prefer to use IDVC library configuration, that was sent from the DVS Online API, instead of the configuration used when initializing the wrapper.
90
90
 
91
+ **hideDocumentTitle** (boolean) - This option switches on/off the displaying document titles.
92
+
93
+ **processingImageFormat** (string) - This option switches image format, that used for image processing.
94
+
91
95
  **callbacks** (object) - object with callback hooks. Available next hooks:
92
96
 
93
97
  - **onChange** - callback-function which will be called after change one step. The returnable value is the object with the type and the image.
@@ -157,6 +161,10 @@ btn.addEventListener('click', () => {
157
161
  **updateConfig** (string) - the method that reinitialize wrapper with new config. Parameter is an JSON encoded IDVC config. Works only in demo mode.
158
162
 
159
163
  ## Version history
164
+ - **2.2.15**
165
+ - Added: new config options 'hideDocumentTitle', 'processingImageFormat'
166
+ - Updated IDVC component
167
+
160
168
  - **2.2.14**
161
169
  - Change webpack build options. Remove eval
162
170