@idscan/onboarding 2.2.10 → 2.2.12
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/dist/css/onboarding.css +1 -1
- package/dist/js/wrapper.js +1 -1
- package/dist/networks/{77-705c-chunk.js → 77-6aeb-chunk.js} +1 -1
- package/dist/networks/Blur-a35a-chunk.js +1 -0
- package/dist/networks/ClassLocal-f57b-chunk.js +1 -0
- package/dist/networks/Face-7ab3-chunk.js +1 -0
- package/dist/networks/MRZ-2798-chunk.js +1 -0
- package/dist/networks/{PDF-4ee2-chunk.js → PDF-441b-chunk.js} +1 -1
- package/dist/networks/{ZXing-f54a-chunk.js → ZXing-ce9f-chunk.js} +1 -1
- package/package.json +2 -2
- package/readme.md +20 -12
- package/dist/networks/Face-5c85-chunk.js +0 -1
- package/dist/networks/MRZ-70ee-chunk.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idscan/onboarding",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.12",
|
|
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.
|
|
23
|
+
"@idscan/idvc2": "^2.5.9",
|
|
24
24
|
"core-js": "^3.30.0",
|
|
25
25
|
"qrcode": "^1.5.1",
|
|
26
26
|
"regenerator-runtime": "^0.13.11"
|
package/readme.md
CHANGED
|
@@ -68,33 +68,33 @@ Available fields:
|
|
|
68
68
|
|
|
69
69
|
**el** (string) - id of an element on the page where the component will be integrated. Required.
|
|
70
70
|
|
|
71
|
-
**applicantId** (string) - id of applicant. Required
|
|
71
|
+
**applicantId** (string) - id of applicant. Required.
|
|
72
72
|
|
|
73
|
-
**domainId** (string) - domain id where from will get configs and styles. Required
|
|
73
|
+
**domainId** (string) - domain id where from will get configs and styles. Required.
|
|
74
74
|
|
|
75
|
-
**domainApi** (string) - URL address of onboarding API
|
|
75
|
+
**domainApi** (string) - URL address of onboarding API. Required.
|
|
76
76
|
|
|
77
|
-
**publicKey** (string) - DVS Web API Public Key. Required
|
|
77
|
+
**publicKey** (string) - DVS Web API Public Key. Required.
|
|
78
78
|
|
|
79
|
-
**isAuth** (boolean) - Flag indicating that only face authentication is required
|
|
79
|
+
**isAuth** (boolean) - Flag indicating that only face authentication is required.
|
|
80
80
|
|
|
81
|
-
**faceOnly** (boolean) - Flag indicating that only face registration is required
|
|
81
|
+
**faceOnly** (boolean) - Flag indicating that only face registration is required.
|
|
82
82
|
|
|
83
83
|
**chunkPublicPath** (string) - Path to the folder with chunks. Specify the path on the server if you need to remove the folder to another location. The default path is \'networks\'.
|
|
84
84
|
|
|
85
85
|
**callbacks** (object) - object with callback hooks. Available next hooks:
|
|
86
86
|
|
|
87
|
-
- **onChange** - callback-function which will be called after change one step. The returnable value is the object with the type and the image
|
|
87
|
+
- **onChange** - callback-function which will be called after change one step. The returnable value is the object with the type and the image.
|
|
88
88
|
|
|
89
|
-
- **onCameraError** - The function that is invoked in case if the camera is not available. The response value is the object with the error code and the message
|
|
89
|
+
- **onCameraError** - The function that is invoked in case if the camera is not available. The response value is the object with the error code and the message.
|
|
90
90
|
|
|
91
|
-
- **onReset** - callback-function which will be called after reset all the steps. The returnable value is the object with the steps
|
|
91
|
+
- **onReset** - callback-function which will be called after reset all the steps. The returnable value is the object with the steps.
|
|
92
92
|
|
|
93
|
-
- **onRetakeHook** - the function that will be called before reset the current step. The returnable value is the object with the current step
|
|
93
|
+
- **onRetakeHook** - the function that will be called before reset the current step. The returnable value is the object with the current step.
|
|
94
94
|
|
|
95
|
-
- **onValidate** - the function that will be called after validation response received. The returnable value is the object with validation information
|
|
95
|
+
- **onValidate** - the function that will be called after validation response received. The returnable value is the object with validation information.
|
|
96
96
|
|
|
97
|
-
- **onError** - the function that will be called on error. The response value is the object with the error code and the message
|
|
97
|
+
- **onError** - the function that will be called on error. The response value is the object with the error code and the message.
|
|
98
98
|
|
|
99
99
|
- **onReloaded** - the function that will be called after the component finishes reloading. This function doesn't return a value.
|
|
100
100
|
|
|
@@ -138,6 +138,7 @@ const lib = new DVSOIDVC({
|
|
|
138
138
|
domainId: '...',
|
|
139
139
|
publicKey: '...',
|
|
140
140
|
chunkPublicPath: '/customPath/',
|
|
141
|
+
domainApi: '...',
|
|
141
142
|
});
|
|
142
143
|
|
|
143
144
|
const btn = document.getElementById('btn');
|
|
@@ -150,6 +151,13 @@ btn.addEventListener('click', () => {
|
|
|
150
151
|
**updateConfig** (string) - the method that reinitialize wrapper with new config. Parameter is an JSON encoded IDVC config. Works only in demo mode.
|
|
151
152
|
|
|
152
153
|
## Version history
|
|
154
|
+
- **2.2.12**
|
|
155
|
+
- Updated IDVC component
|
|
156
|
+
- Updated readme
|
|
157
|
+
|
|
158
|
+
- **2.2.11**
|
|
159
|
+
- Feat: some minor fixes
|
|
160
|
+
|
|
153
161
|
- **2.2.10**
|
|
154
162
|
- Feat: face only mode
|
|
155
163
|
|