Skip to content

Commit

Permalink
fix: Remove non dev dep on veramo-core
Browse files Browse the repository at this point in the history
  • Loading branch information
nklomp committed Feb 17, 2023
1 parent 35cba86 commit 8cb8efe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ssi-types/src/mapper/credential-mapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
} from '../types'
import jwt_decode from 'jwt-decode'
import { ObjectUtils } from '../utils'
import { VerifiableCredential } from '@veramo/core'


export class CredentialMapper {
static decodeVerifiablePresentation(presentation: OriginalVerifiablePresentation): JwtDecodedVerifiablePresentation | IVerifiablePresentation {
Expand Down Expand Up @@ -274,7 +274,7 @@ export class CredentialMapper {
return credential
}

static toExternalVerifiableCredential(verifiableCredential: VerifiableCredential): IVerifiableCredential {
static toExternalVerifiableCredential(verifiableCredential: any): IVerifiableCredential {
if (!verifiableCredential.proof.type) {
throw new Error('Verifiable credential proof is missing a type')
}
Expand Down

0 comments on commit 8cb8efe

Please sign in to comment.