Update dwn-sdk-js to latest version #138
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #106
Bumped the
@tbd54566975/dwn-sdk-js
package to the latest 0.2.3 version. This allows us to remove the local patch, because the dwn-sdk-js now no longer exports the various level stores behind a named export.This necessitated the update of the
@web5
packages as well, as the changes to the dwn-sdk necessitated changes. They're now all pointing to alpha packages, which has the necessary changes in them. I'll make another task in the backlog to update those once published.There were two changes that I made to the code:
Level
interface, instead of a wrapper. OurExpoLevel
implementation already supports this, it just needed to be typed appropriately.dwn
feature, so it wouldn't get lost within the identity code. Happy to change this back if we think it's unnecessary.filter
which contains arecordId
, instead of the old way of providing just arecordId