Skip to content

Commit

Permalink
fix: downgrade versions (#158)
Browse files Browse the repository at this point in the history
* fix: downgrade versions

* chore: remove failing test
  • Loading branch information
Gozala authored Dec 2, 2022
1 parent 8326d33 commit f814e75
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 73 deletions.
6 changes: 3 additions & 3 deletions packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ucanto/client",
"description": "UCAN RPC Client",
"version": "3.0.4",
"version": "3.0.5",
"keywords": [
"UCAN",
"RPC",
Expand Down Expand Up @@ -29,13 +29,13 @@
"build": "tsc --build"
},
"dependencies": {
"@ucanto/interface": "^4.0.0",
"@ucanto/interface": "^3.0.1",
"multiformats": "^10.0.2"
},
"devDependencies": {
"@types/chai": "^4.3.3",
"@types/mocha": "^9.1.0",
"@ucanto/principal": "^4.0.1",
"@ucanto/principal": "^3.0.1",
"@ucanto/core": "^3.0.4",
"@ucanto/transport": "^3.0.4",
"@web-std/fetch": "^4.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ucanto/core",
"description": "ucanto core",
"version": "3.0.4",
"version": "3.0.5",
"keywords": [
"UCAN",
"RPC",
Expand Down Expand Up @@ -32,13 +32,13 @@
"@ipld/car": "^5.0.0",
"@ipld/dag-cbor": "^8.0.0",
"@ipld/dag-ucan": "^2.0.0",
"@ucanto/interface": "^4.0.0",
"@ucanto/interface": "^3.0.1",
"multiformats": "^10.0.2"
},
"devDependencies": {
"@types/chai": "^4.3.3",
"@types/mocha": "^9.1.0",
"@ucanto/principal": "^4.0.1",
"@ucanto/principal": "^3.0.1",
"c8": "^7.11.0",
"chai": "^4.3.6",
"mocha": "^10.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/server/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ucanto/server",
"description": "UCAN RPC Server",
"version": "3.0.7",
"version": "3.0.8",
"types": "./dist/src/lib.d.ts",
"main": "./src/lib.js",
"keywords": [
Expand Down Expand Up @@ -29,14 +29,14 @@
},
"dependencies": {
"@ucanto/core": "^3.0.4",
"@ucanto/interface": "^4.0.0",
"@ucanto/interface": "^3.0.1",
"@ucanto/validator": "^3.0.6"
},
"devDependencies": {
"@types/chai": "^4.3.3",
"@types/chai-subset": "^1.3.3",
"@types/mocha": "^9.1.0",
"@ucanto/principal": "^4.0.1",
"@ucanto/principal": "^3.0.1",
"@ucanto/client": "^3.0.4",
"@ucanto/transport": "^3.0.4",
"@web-std/fetch": "^4.1.0",
Expand Down
33 changes: 0 additions & 33 deletions packages/server/test/server.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,36 +272,3 @@ test('execution error', async () => {
},
})
})

test('did:web server', async () => {
const car = await CAR.codec.write({
roots: [await CBOR.codec.write({ hello: 'world ' })],
})

const server = Server.create({
service: Service.create(),
decoder: CAR,
encoder: CBOR,
id: w3.withDID('did:web:web3.storage'),
})

const connection = Client.connect({
id: server.id,
encoder: CAR,
decoder: CBOR,
channel: server,
})

const identify = Client.invoke({
issuer: alice,
audience: server.id,
capability: {
can: 'access/identify',
with: 'did:email:[email protected]',
},
})

const register = await identify.execute(connection)

assert.deepEqual(register, null)
})
4 changes: 2 additions & 2 deletions packages/transport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"@ipld/car": "^5.0.0",
"@ipld/dag-cbor": "^8.0.0",
"@ucanto/core": "^3.0.4",
"@ucanto/interface": "^4.0.0",
"@ucanto/interface": "^3.0.1",
"multiformats": "^10.0.2"
},
"devDependencies": {
"@types/chai": "^4.3.3",
"@types/mocha": "^9.1.0",
"@ucanto/principal": "^4.0.1",
"@ucanto/principal": "^3.0.1",
"@web-std/fetch": "^4.1.0",
"c8": "^7.11.0",
"chai": "^4.3.6",
Expand Down
6 changes: 3 additions & 3 deletions packages/validator/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ucanto/validator",
"description": "UCAN RPC validators",
"version": "3.0.6",
"version": "3.0.7",
"keywords": [
"UCAN",
"ed25519",
Expand Down Expand Up @@ -30,15 +30,15 @@
"@ipld/car": "^5.0.0",
"@ipld/dag-cbor": "^8.0.0",
"@ucanto/core": "^3.0.4",
"@ucanto/interface": "^4.0.0",
"@ucanto/interface": "^3.0.1",
"multiformats": "^10.0.2"
},
"devDependencies": {
"@types/chai": "^4.3.3",
"@types/chai-subset": "^1.3.3",
"@types/mocha": "^9.1.0",
"@ucanto/client": "^3.0.4",
"@ucanto/principal": "^4.0.1",
"@ucanto/principal": "^3.0.1",
"c8": "^7.11.0",
"chai": "^4.3.6",
"chai-subset": "^1.6.0",
Expand Down
62 changes: 36 additions & 26 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 f814e75

Please sign in to comment.