Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove dev dependency did-key-creator #274

Merged
merged 2 commits into from
Mar 15, 2023

Conversation

nickreynolds
Copy link
Contributor

  • this dev dependency was bringing in versions of multiformats / multicodec that may be causing issues in other projects
  • it's easiest to just remove this dependency and hardcode the values it was generating, rather than sorting out all dependency issues across multiple repos

@@ -121,151 +120,156 @@ const audDidDoc = {

describe('createJWT()', () => {
describe('ES256', () => {
const alg = 'ES256'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is just whitespace changes

// const multicodecName = 'p256-pub';
// const publicKey = '0314c58e581c7656ba153195669fe4ce53ff78dd5ede60a4039771a90c58cb41de'
// const did = encodeDIDfromHexString(multicodecName,publicKey)
const did = 'did:key:zDnaej4NHntda4rNW4FBUJgFzdcgEAXKGRVGE8LuVfRbuMuc1'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the actual change

Copy link
Member

@mirceanis mirceanis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for clearing up some dependencies

@mirceanis mirceanis merged commit fbe09e1 into master Mar 15, 2023
@mirceanis mirceanis deleted the nickreynolds/remove-dep branch March 15, 2023 17:43
uport-automation-bot pushed a commit that referenced this pull request Mar 15, 2023
## [6.11.3](6.11.2...6.11.3) (2023-03-15)

### Bug Fixes

* **deps:** remove dev dependency did-key-creator ([#274](#274)) ([fbe09e1](fbe09e1))
@uport-automation-bot
Copy link
Collaborator

🎉 This PR is included in version 6.11.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants