Migration guide
Summary
| Version | Change | Action |
|---|---|---|
| 2.1.1 | onlyFinishWhenEveryoneSign is numeric | Update the value |
| 2.0.1 | The default signature is the biometric signature with electronic seal | Check your signature type |
| npm | The SDK is distributed through npm | Move to the npm package |
2.1.1
onlyFinishWhenEveryoneSign changes from a boolean to a number:
onlyFinishWhenEveryoneSign
-onlyFinishWhenEveryoneSign: true+onlyFinishWhenEveryoneSign: 2 // 0: first signature · 1: signers of the act · 2: all signers
2.0.1
The default signature of the Web SDK becomes the biometric signature with electronic seal. Check with Mobbeel that the signature type of your application is configured as you expect.
From the files to the npm package
If you used the version distributed as files, remove the MobbSign files from your project — img/, styles.css, config.js, mobbsign.js and locales/ — and install the npm package. Some assets have moved:
| Before | Now |
|---|---|
styles.css | assets/css/styles.min.css |
img/ | assets/img/ |