jolocom / jolocom-sdk

A tool kit for integration with SSI
Apache License 2.0
31 stars 9 forks source link

Remove redux, abstract the Storage and PasswordStore, add easy init(), and some bug fixes #10

Closed mnzaki closed 4 years ago

mnzaki commented 4 years ago

Remove redux and typeorm from the SDK.

This allows the SDK to let the App manage the database and migrations as it seems fit, and just must provide a "lib/storage" like API.

Modules for different systems can be written, for example an inmemory module for ephemeral agents. The existing typeorm code will be moved to a separate repo as jolocom-sdk-storage-typeorm

mnzaki commented 4 years ago

I stripped the entity classes of their Typeorm annotations, but we still need to refer the entities abstractly within the SDK. I'm leaving them there because I believe these will evolve into an abstract "Domain Model", and some of it will hopefully actually move into the library!

Also good for reference for storage implementations :D