Skip to content

Commit

Permalink
Update @web5 Packages To Latest Versions (#254)
Browse files Browse the repository at this point in the history
* update versions

* adding deep equal coz did dht serviceEndpoint is returning an array now

---------

Co-authored-by: Jiyoon Koo <[email protected]>
  • Loading branch information
nitro-neal and jiyoontbd authored Jun 14, 2024
1 parent 20aeb81 commit ffcbb32
Show file tree
Hide file tree
Showing 6 changed files with 87 additions and 73 deletions.
7 changes: 7 additions & 0 deletions .changeset/long-spiders-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@tbdex/http-client": patch
"@tbdex/http-server": patch
"@tbdex/protocol": patch
---

bumped to latest version of @web5/credentials @web5/crypto @web5/common and @web5/dids
8 changes: 4 additions & 4 deletions packages/http-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
},
"dependencies": {
"@tbdex/protocol": "workspace:*",
"@web5/common": "1.0.0",
"@web5/credentials": "1.0.0",
"@web5/crypto": "1.0.0",
"@web5/dids": "1.0.0",
"@web5/common": "1.0.1",
"@web5/credentials": "1.0.3",
"@web5/crypto": "1.0.1",
"@web5/dids": "1.1.1",
"ms": "2.1.3",
"query-string": "8.2.0",
"typeid-js": "0.3.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/http-client/tests/client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ describe('client', () => {
})
it('returns pfi service endpoint if all is well', async () => {
const serviceEndpoint = await TbdexHttpClient.getPfiServiceEndpoint(pfiDid.uri)
expect(serviceEndpoint).to.equal('https://localhost:9000')
expect(serviceEndpoint).to.deep.equal(['https://localhost:9000'])
})
})

Expand Down
2 changes: 1 addition & 1 deletion packages/http-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"dependencies": {
"@tbdex/http-client": "workspace:*",
"@tbdex/protocol": "workspace:*",
"@web5/dids": "1.0.0",
"@web5/dids": "1.1.1",
"cors": "2.8.5",
"express": "4.19.2"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
"dependencies": {
"@noble/hashes": "1.3.3",
"@types/node": "^7.0.5",
"@web5/common": "1.0.0",
"@web5/credentials": "1.0.0",
"@web5/crypto": "1.0.0",
"@web5/dids": "1.0.0",
"@web5/common": "1.0.1",
"@web5/credentials": "1.0.3",
"@web5/crypto": "1.0.1",
"@web5/dids": "1.1.1",
"ajv": "8.12.0",
"bignumber.js": "^9.1.2",
"canonicalize": "2.0.0",
Expand Down
133 changes: 70 additions & 63 deletions pnpm-lock.yaml

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

0 comments on commit ffcbb32

Please sign in to comment.