-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agent resolver refreshes did store and cache #914
Conversation
🦋 Changeset detectedLatest commit: 3e68aae The changes in this PR will be included in the next version bump. This PR includes changesets to release 8 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
8a4ac06
to
258f590
Compare
TBDocs Report ✅ No errors or warnings @web5/api
@web5/crypto
@web5/crypto-aws-kms
@web5/dids
@web5/credentials
TBDocs Report Updated at 2024-10-11T16:46:11Z |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #914 +/- ##
==========================================
+ Coverage 93.28% 93.34% +0.05%
==========================================
Files 118 118
Lines 33558 33660 +102
Branches 2707 2728 +21
==========================================
+ Hits 31304 31419 +115
+ Misses 2213 2200 -13
Partials 41 41
|
26a172c
to
617c35b
Compare
fe4b72a
to
f7920ef
Compare
This PR adds
update
functionality toDidApi
which will store an updated did document and (optionally) publish the updated document if the did is adid:dht
method, the resolution cache is pre-populated with the updated document.Additionally the
AgentDidResolverCache
now updates the DID Store with any newly resolved DID to make sure the locate store is in sync wit the resolved DID.The
BearerDid
import method now checks if a key already exists in the key manager before attempting to import it when importing anportableDid
.