@idscan/onboarding 1.0.7 → 1.0.11
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 +20 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idscan/onboarding",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
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,17 +128,31 @@ 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.11**
|
|
136
|
+
- updated using DVS Online API
|
|
137
|
+
|
|
138
|
+
- **1.0.10**
|
|
139
|
+
- added: onMounted callback
|
|
140
|
+
|
|
141
|
+
- **1.0.9**
|
|
142
|
+
- @idscan/idvc dependency updated
|
|
143
|
+
|
|
144
|
+
- **1.0.8**
|
|
145
|
+
- added: reload component with new configs in demo mode
|
|
146
|
+
|
|
131
147
|
- **1.0.7**
|
|
132
|
-
-
|
|
148
|
+
- updated using DVS Online API
|
|
133
149
|
|
|
134
150
|
- **1.0.6**
|
|
135
|
-
-
|
|
151
|
+
- updated using DVS Online API
|
|
136
152
|
|
|
137
153
|
- **1.0.5**
|
|
138
|
-
-
|
|
139
|
-
-
|
|
154
|
+
- updated IDVC component
|
|
155
|
+
- updated using DVS Online API
|
|
140
156
|
|
|
141
157
|
- **1.0.4**
|
|
142
158
|
- use CDN
|