Skip to content

Commit

Permalink
Revert "fix: toJSON behavior on the ucan.data (#185)"
Browse files Browse the repository at this point in the history
This reverts commit d1ee6b6.
  • Loading branch information
Gozala authored Dec 15, 2022
1 parent d1ee6b6 commit 66d11ad
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 148 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"dependencies": {
"@ipld/car": "^5.0.0",
"@ipld/dag-cbor": "^8.0.0",
"@ipld/dag-ucan": "^3.1.1",
"@ipld/dag-ucan": "^3.0.1",
"@ucanto/interface": "^4.0.3",
"multiformats": "^10.0.2"
},
Expand Down
134 changes: 0 additions & 134 deletions packages/core/test/delegation.spec.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"build": "tsc --build"
},
"dependencies": {
"@ipld/dag-ucan": "^3.1.1",
"@ipld/dag-ucan": "^3.0.1",
"multiformats": "^10.0.2"
},
"devDependencies": {
Expand Down
4 changes: 1 addition & 3 deletions packages/interface/src/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,16 +151,14 @@ export interface Delegation<C extends Capabilities = Capabilities> {
issuer: UCAN.Principal
audience: UCAN.Principal
capabilities: C
expiration: UCAN.UTCUnixTimestamp
expiration?: UCAN.UTCUnixTimestamp
notBefore?: UCAN.UTCUnixTimestamp

nonce?: UCAN.Nonce

facts: Fact[]
proofs: Proof[]
iterate(): IterableIterator<Delegation>

signature: Signature
}

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/principal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build": "tsc --build"
},
"dependencies": {
"@ipld/dag-ucan": "^3.1.1",
"@ipld/dag-ucan": "^3.0.1",
"@noble/ed25519": "^1.7.1",
"@ucanto/interface": "^4.0.3",
"multiformats": "^10.0.2",
Expand Down
16 changes: 8 additions & 8 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 66d11ad

Please sign in to comment.