Skip to content

Commit

Permalink
Bump @web5/dids version and improve DID spec compliance (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankhinek authored Dec 15, 2023
2 parents edc8054 + 176b147 commit c351302
Show file tree
Hide file tree
Showing 16 changed files with 268 additions and 181 deletions.
144 changes: 72 additions & 72 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion packages/agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"@tbd54566975/dwn-sdk-js": "0.2.8",
"@web5/common": "0.2.2",
"@web5/crypto": "0.2.2",
"@web5/dids": "0.2.3",
"@web5/dids": "0.2.4",
"level": "8.0.0",
"readable-stream": "4.4.2",
"readable-web-to-node-stream": "3.0.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"@web5/agent": "0.2.5",
"@web5/common": "0.2.2",
"@web5/crypto": "0.2.2",
"@web5/dids": "0.2.3",
"@web5/dids": "0.2.4",
"@web5/user-agent": "0.2.5",
"level": "8.0.0",
"ms": "2.1.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/credentials/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web5/credentials",
"version": "0.4.0",
"version": "0.4.1",
"description": "Verifiable Credentials",
"type": "module",
"main": "./dist/cjs/index.js",
Expand Down Expand Up @@ -77,7 +77,7 @@
"@sphereon/pex": "2.1.0",
"@web5/common": "0.2.2",
"@web5/crypto": "0.2.4",
"@web5/dids": "0.2.3"
"@web5/dids": "0.2.4"
},
"devDependencies": {
"@playwright/test": "1.40.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/credentials/tests/verifiable-credential.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,7 @@ describe('Verifiable Credential Tests', () => {
},
didDocumentMetadata : {},
didResolutionMetadata : {
contentType : 'application/did+ld+json',
did : {
did: {
didString : 'did:dht:ejzu3k7eay57szh6sms6kzpuyeug35ay9688xcy6u5d1fh3zqtiy',
methodSpecificId : 'ejzu3k7eay57szh6sms6kzpuyeug35ay9688xcy6u5d1fh3zqtiy',
method : 'dht'
Expand Down
2 changes: 1 addition & 1 deletion packages/dids/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web5/dids",
"version": "0.2.3",
"version": "0.2.4",
"description": "TBD DIDs library",
"type": "module",
"main": "./dist/cjs/index.js",
Expand Down
Loading

0 comments on commit c351302

Please sign in to comment.