@idscan/onboarding 1.0.9 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idscan/onboarding",
3
- "version": "1.0.9",
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": [
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": [{
@@ -130,6 +132,9 @@ btn.addEventListener('click', () => {
130
132
 
131
133
  ## Version history
132
134
 
135
+ - **1.0.10**
136
+ - added: onMounted callback
137
+
133
138
  - **1.0.9**
134
139
  - @idscan/idvc dependency updated
135
140