/
Migration v1 → v2
Migration v1 → v2
The main update pertains to the function interface. The callbacks outlined below, which were previously part of the load function, have now been relocated to the begin function.
onSuccess: (props) => console.log('onSuccess', props),
onFailure: (props) => console.log('onFailure', props),
onClose: () => console.log('onClose')
A new object level has been added to the SDK. In the past, you could simply call begin
at the first level.
However, this has changed. Now, you need to use idvSdk.idv.begin({…}), instead of idvSdk?.begin({.. }).
The retry: true
property has been removed from idvSdk.idv.begin({…}). This adjustment brings in native functionality that enables the reuse of the same idvId when trying to start a closed process. It will be cached out of the box.
, multiple selections available,
Related content
Web SDK OnAge integration
Web SDK OnAge integration
Read with this
(Legacy) Web SDK KYC integration v1
(Legacy) Web SDK KYC integration v1
More like this
Web SDK Customer Onboarding (KYC) integration v2
Web SDK Customer Onboarding (KYC) integration v2
Read with this
Customer onboarding (KYC) mobile SDK integration
Customer onboarding (KYC) mobile SDK integration
Read with this
Customer onboarding (KYC) integration with UI
Customer onboarding (KYC) integration with UI
Read with this