Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

Main change is changed The main update pertains to the function interface. Previously below mentioned callbacks were The callbacks outlined below, which were previously part of the load function. Now these are part of , have now been relocated to the begin function.

Code Block
onSuccess: (props) => console.log('onSuccess', props), 
onFailure: (props) => console.log('onFailure', props), 
onClose: () => console.log('onClose')

...

Note

New A new object level was has been added to the sdk. Previously it was enough to call begin in first level. Now it changed and requires to idvSdk?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({.. })->idvSdk.idv, instead of idvSdk?.begin({.. }).

...

Note

Removed The retry: true property has been removed from idvSdk.idv.begin({…})this was removed and native functionality was added to reuse . This adjustment brings in native functionality that enables the reuse of the same idvId when trying to start a closed process with the same idvId. It will be cached out of the box.

...

Note
  • The onClose: () => console.log('onClose') callback was removed has been eliminated from idvSdk.idv.begin({…}).

  • New reasons for SdkProcessFailure and SdkBeginFailure reasons were have been added.

  • New Available available languages were added.

  • Full typescript TypeScript interfaces was were exposed.

...

Tip

Refer to newest documentation were you can find For the latest integration examples, check out the most recent documentation at https://ondato.atlassian.net/wiki/x/AYC9sw.