Open LiranCohen opened 3 days ago
Latest commit: 168dd1a77d5d6ac3186a8122b2a96256d7d83d33
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
TBDocs Report
✅ No errors or warnings
packages/api/src/index.ts
packages/crypto/src/index.ts
packages/crypto-aws-kms/src/index.ts
packages/dids/src/index.ts
packages/credentials/src/index.ts
TBDocs Report Updated at 2024-09-27T00:08:38Z 168dd1a
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 93.55%. Comparing base (
d3b4728
) to head (168dd1a
).
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.