You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Web5.connect() cannot be used in react-native because the cache property inside did-resolution-cache.ts defaults to new Level(). Anyway there are other places where Level is used and cannot be swapped.
Similarly, in the web5-wallet repo, there is an issue, Create a file-based DataStore for mobile's local DWN, that I was able to fix with a lib that we previously developed specifically for react-native storage.
If I bring the swappable draft PR up to date, would you be kind to review and merge it?
The text was updated successfully, but these errors were encountered:
Web5.connect() cannot be used in react-native because the
cache
property insidedid-resolution-cache.ts
defaults tonew Level()
. Anyway there are other places whereLevel
is used and cannot be swapped.I have opened a draft PR a while back, Swappable abstract-level storage, that fixes this issue.
Similarly, in the
web5-wallet
repo, there is an issue, Create a file-based DataStore for mobile's local DWN, that I was able to fix with a lib that we previously developed specifically for react-native storage.If I bring the swappable draft PR up to date, would you be kind to review and merge it?
The text was updated successfully, but these errors were encountered: