@credo-ts/core
Version:
<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1
1 lines • 627 B
Source Map (JSON)
{"version":3,"file":"didDocumentKey.mjs","names":[],"sources":["../../../../src/modules/dids/domain/didDocumentKey.ts"],"sourcesContent":["import type { DidDocumentKey } from '../DidsApiOptions'\nimport { VerificationMethod } from './verificationMethod'\n\nexport function getKmsKeyIdForVerifiacationMethod(verificationMethod: VerificationMethod, keys?: DidDocumentKey[]) {\n return keys?.find(({ didDocumentRelativeKeyId }) => verificationMethod.id.endsWith(didDocumentRelativeKeyId))\n ?.kmsKeyId\n}\n"],"mappings":";;;;;AAGA,SAAgB,kCAAkC,oBAAwC,MAAyB;AACjH,QAAO,MAAM,MAAM,EAAE,+BAA+B,mBAAmB,GAAG,SAAS,yBAAyB,CAAC,EACzG"}