Developers now have the ability to continuously push data to digi.me once the user has granted consent to on-going access without digi.me client app involvement.
Functions have been moved to provide a more logical SDK structure. Please see the documents to see how the SDK is now structured.
The SDK now uses named parameters. Developers upgrading to this version need to ensure when calling the functions, parameters are passed correctly.
A new function prepareFilesUsingAccessTokenhas been extracted out of authorizeOngoingAccess. To prepare data for private share when you already have an access token, you can call this new method. This avoids the need to provide parameters used only in authorization.
getSessionData function now returns a Buffer as output instead of a base64 string as before.
You’ll need a private key when pushing data to a postbox. pushDataToPostbox method is updated to require this. The file to be pushed in is expected as a buffer object instead of a base64 string before.