Versions Compared

Key

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

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.

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

...

Note

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({.. }).

...

Note

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.

...

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

  • New reasons for SdkProcessFailure and SdkBeginFailure have been added.

  • New available languages were added.

  • Full TypeScript interfaces were exposed.

...

Tip

For the latest integration examples, check out the most recent documentation at https://ondato.atlassian.net/wiki/x/AYC9sw.