Detecting the current version of the IDmission Web SDK
If you’re ever wondering which version you have loaded, you can access it as a property of the global WebSDK bundle via window.IDmissionSDK.version
.
You can also capture this information from the event fired at load time via e.detail.webSdkVersion
like so:
<script type="module">
document.addEventListener('idmission-web-sdk.ready', (e) => {
console.log('web sdk version:', e.detail.webSdkVersion)
})
</script>