fix: resolve type conflicts in AccountKeyInfo and KeyMeta imports

- Update AccountKeyInfo interface to handle derivationPath type conflict
- Fix circular dependency by importing KeyMeta directly from interfaces/common
- Use Omit utility type to properly merge Account and KeyMeta types
- Make derivationPath optional in AccountKeyInfo to match Account type

This change resolves type compatibility issues while maintaining
the intended functionality of account metadata handling.
This commit is contained in:
Matthew Raymer
2025-05-28 10:17:20 +00:00
parent cf335c54ff
commit ab7eef4750
2 changed files with 6 additions and 3 deletions

View File

@@ -37,7 +37,8 @@ import {
retrieveFullyDecryptedAccount,
getPasskeyExpirationSeconds,
} from "../libs/util";
import { createEndorserJwtForKey, KeyMeta } from "../libs/crypto/vc";
import { createEndorserJwtForKey } from "../libs/crypto/vc";
import { KeyMeta } from "../interfaces/common";
import {
GenericCredWrapper,