Skip to content

Commit

Permalink
style: eslint fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
  • Loading branch information
dbluhm committed Jan 31, 2024
1 parent 8351fd7 commit 8a3377c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
import type { Key } from '../../../../crypto/Key'
import { VERIFICATION_METHOD_TYPE_MULTIKEY, isMultikey, type VerificationMethod, getKeyFromMultikey } from '../verificationMethod'

import { KeyType } from '../../../../crypto/KeyType'
import { getJwkFromJson } from '../../../../crypto/jose/jwk'
import { AriesFrameworkError } from '../../../../error'
import {
VERIFICATION_METHOD_TYPE_MULTIKEY,
isMultikey,
type VerificationMethod,
getKeyFromMultikey,
} from '../verificationMethod'
import { isJsonWebKey2020, VERIFICATION_METHOD_TYPE_JSON_WEB_KEY_2020 } from '../verificationMethod/JsonWebKey2020'

import { keyDidBls12381g1 } from './bls12381g1'
Expand Down Expand Up @@ -83,7 +88,7 @@ export function getKeyFromVerificationMethod(verificationMethod: VerificationMet
if (isMultikey(verificationMethod)) {
if (!verificationMethod.publicKeyMultibase) {
throw new AriesFrameworkError(
`Missing publicKeyMultibase on verification method with type ${VERIFICATION_METHOD_TYPE_MULTIKEY}`
`Missing publicKeyMultibase on verification method with type ${VERIFICATION_METHOD_TYPE_MULTIKEY}`
)
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { VerificationMethod } from './VerificationMethod'

import { Key } from '../../../../crypto/Key'
import { AriesFrameworkError } from '../../../../error'

Expand Down

0 comments on commit 8a3377c

Please sign in to comment.