Skip to content

Commit

Permalink
Remove circular dependency causing problems in lib consumer
Browse files Browse the repository at this point in the history
  • Loading branch information
Diane Huxley committed Nov 6, 2023
1 parent 9a4edc6 commit 7c4b0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jose/algorithms/signing/ed25519.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as Ed25519 from '@noble/ed25519';
import type { PrivateJwk, PublicJwk, SignatureAlgorithm } from '../../../types/jose-types.js';

import { Encoder } from '../../../utils/encoder.js';
import { DwnError, DwnErrorCode } from '../../../index.js';
import { DwnError, DwnErrorCode } from '../../../core/dwn-error.js';

function validateKey(jwk: PrivateJwk | PublicJwk): void {
if (jwk.kty !== 'OKP' || jwk.crv !== 'Ed25519') {
Expand Down

0 comments on commit 7c4b0e5

Please sign in to comment.