Main change is changed function interface. Previously below mentioned callbacks were part of load function. Now these are part of begin function.
onSuccess: (props) => console.log('onSuccess', props), onFailure: (props) => console.log('onFailure', props), onClose: () => console.log('onClose')
New object level was added to the sdk. Previously it was enough to call begin in first level. Now it changed and requires to idvSdk?.begin({.. }) ->idvSdk.idv.begin({…})
Removed retry: true
property from idvSdk.idv.begin({…}) this was removed and native functionality was added to reuse same idvId when trying to start closed process with the same idvId. It will be cached out of the box.
onClose: () => console.log('onClose')
callback was removed from idvSdk.idv.begin({…}) .New
SdkProcessFailure and SdkBeginFailure reasons were added.
New Available languages were added.
Full typescript interfaces was exposed.
Refer to newest documentation were you can find latest integration examples https://ondato.atlassian.net/wiki/x/AYC9sw
0 Comments