This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
A Veramo agent storage plugin that implements the IDataStore and IDataStoreORM methods using one big JSON object as a backend.
Each update operation triggers a callback that can be used to either save the latest state of the agent data or compute a diff and log only the changes.
This plugin must be initialized with a VeramoJsonStore, which serves as the JSON object storing data in memory as well as providing an update notification callback to persist this data. The JSON object can be pre-populated with data from previous sessions.
This API may change without a BREAKING CHANGE notice.