Skip to content

Commit

Permalink
refector: Remove MdocRecord import from metadata file
Browse files Browse the repository at this point in the history
Signed-off-by: tusharbhayani <[email protected]>
  • Loading branch information
tusharbhayani committed Jan 2, 2025
1 parent 9f53c55 commit 5cdf9c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ssi/src/openid/metadata.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { W3cCredentialRecord, SdJwtVcRecord, MdocRecord } from '@credo-ts/core'
import type { W3cCredentialRecord, SdJwtVcRecord } from '@credo-ts/core'
import type { OpenId4VciCredentialSupported, OpenId4VciIssuerMetadataDisplay } from '@credo-ts/openid4vc'
import type { EndpointMetadataResult } from '@sphereon/oid4vci-common'

Expand Down Expand Up @@ -35,7 +35,7 @@ export function extractOpenId4VcCredentialMetadata(
* Gets the OpenId4Vc credential metadata from the given W3C credential record.
*/
export function getOpenId4VcCredentialMetadata(
credentialRecord: W3cCredentialRecord | SdJwtVcRecord | MdocRecord
credentialRecord: W3cCredentialRecord | SdJwtVcRecord
): OpenId4VcCredentialMetadata | null {
return credentialRecord.metadata.get(openId4VcCredentialMetadataKey)
}
Expand Down

0 comments on commit 5cdf9c2

Please sign in to comment.