Skip to content

Commit

Permalink
Remove circular dependency causing problems in lib consumer (#598)
Browse files Browse the repository at this point in the history
* Remove circular dependency causing problems in lib consumer

* Bump version
  • Loading branch information
Diane Huxley authored Nov 6, 2023
1 parent 9a4edc6 commit 141ef49
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tbd54566975/dwn-sdk-js",
"version": "0.2.5",
"version": "0.2.6",
"description": "A reference implementation of https://identity.foundation/decentralized-web-node/spec/",
"repository": {
"type": "git",
Expand Down Expand Up @@ -159,4 +159,4 @@
"license-check": "license-report --only=prod > license-report.json && node ./build/license-check.cjs",
"publish:unstable": "./build/publish-unstable.sh"
}
}
}
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 141ef49

Please sign in to comment.