Conversation
…precated document-store
📝 WalkthroughWalkthroughThis PR updates the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@package.json`:
- Around line 123-124: The PR left `@trustvc/document-store` in package.json and
numerous references to it; remove the dependency line for
"@trustvc/document-store", then purge or refactor all usages in
src/document-store/* (issue, revoke, grant-role, revoke-role, transferOwnership)
that import factories/types from `@trustvc/document-store`—either delete these
modules if document-store support is being removed or re-implement them to use
the new APIs; update src/index.ts to stop exporting document-store functionality
and remove imports in verify.ts and fragments/index.ts that rely on
document-store attestations (ensure verify.ts still imports required fragments
from `@tradetrust-tt/tt-verify`), and update test fixtures/mocks to stop mocking
`@trustvc/document-store` or replace them with mocks for the new implementation so
the codebase and tests consistently reflect removal of document-store support.
- Line 123: The package.json dependency entry for "@tradetrust-tt/tt-verify"
currently pins ^9.7.0 which does not exist; update that dependency version to
"^9.6.2" so installs succeed. Ensure the change is made on the dependency entry
for "@tradetrust-tt/tt-verify" (used by imports like
openAttestationEthereumDocumentStoreStatus, verificationBuilder, verify,
createResolver, openAttestationVerifiers) and run a fresh install to verify no
API breakage.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 7d2486f7-2426-42f5-b5a4-b43b2ea54cf9
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (1)
package.json
## [2.12.0](v2.11.1...v2.12.0) (2026-04-15) ### Features * update @tradetrust-tt/tt-verify to version 9.7.0 and remove deprecated document-store ([#137](#137)) ([4498837](4498837))
|
🎉 This PR is included in version 2.12.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |



Summary
What is the background of this pull request?
Changes
Issues
What are the related issues or stories?
Summary by CodeRabbit