@idscan/onboarding 1.0.6 → 1.0.10
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/package.json +2 -2
- package/readme.md +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idscan/onboarding",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "Wrapper of the IDVC library for DVS Online.",
|
|
5
5
|
"main": "dist/js/wrapper.js",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"patch": "npm version patch"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@idscan/idvc": "^1.12.
|
|
17
|
+
"@idscan/idvc": "^1.12.16",
|
|
18
18
|
"core-js": "^3.19.1",
|
|
19
19
|
"regenerator-runtime": "^0.13.9"
|
|
20
20
|
},
|
package/readme.md
CHANGED
|
@@ -88,6 +88,8 @@ Available fields:
|
|
|
88
88
|
|
|
89
89
|
- **onError** - the function that will be called on error. The response value is the object with the error code and the message
|
|
90
90
|
|
|
91
|
+
- **onMounted** - the function that will be called on the component mounted. This function doesn't return a value.
|
|
92
|
+
|
|
91
93
|
- **submit** - callback-function which will be called after completing all the steps. The returnable value is the object with the following content:
|
|
92
94
|
```javascript
|
|
93
95
|
{ "steps": [{
|
|
@@ -126,8 +128,22 @@ btn.addEventListener('click', () => {
|
|
|
126
128
|
});
|
|
127
129
|
```
|
|
128
130
|
|
|
131
|
+
**updateConfig** (string) - the method that reinitialize wrapper with new config. Parameter is an JSON encoded IDVC config. Works only in demo mode.
|
|
132
|
+
|
|
129
133
|
## Version history
|
|
130
134
|
|
|
135
|
+
- **1.0.10**
|
|
136
|
+
- added: onMounted callback
|
|
137
|
+
|
|
138
|
+
- **1.0.9**
|
|
139
|
+
- @idscan/idvc dependency updated
|
|
140
|
+
|
|
141
|
+
- **1.0.8**
|
|
142
|
+
- added: reload component with new configs in demo mode
|
|
143
|
+
|
|
144
|
+
- **1.0.7**
|
|
145
|
+
- update using DVS Online API
|
|
146
|
+
|
|
131
147
|
- **1.0.6**
|
|
132
148
|
- update using DVS Online API
|
|
133
149
|
|