[WIP] Add DID validation and support existing blob refs for profile images#124
[WIP] Add DID validation and support existing blob refs for profile images#124
Conversation
|
- Update DID validation regex to allow digits in method names per W3C spec - Add test cases for DIDs with numeric method names (did:key2:, did:btc1:) - Strengthen isJsonBlobRef type guard to validate nested ref.$link structure - Export BlobInput type from main index.ts for consumer usage - Add edge case tests for malformed blob references Co-authored-by: aspiers <100738+aspiers@users.noreply.github.com>
- Update JSDoc comment to reflect digits allowed in DID method names - Remove package-lock.json (monorepo uses pnpm) - Add package-lock.json to .gitignore to prevent future commits Co-authored-by: aspiers <100738+aspiers@users.noreply.github.com>
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the
Comment |
Changes based on review comments
did:key2:,did:btc1:)isJsonBlobReftype guard to validate nestedref.$linkstructureBlobInputtype from main index.tsisValidDid()to reflect digits in method names💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.