ucanto
ucanto copied to clipboard
🐧 UCAN RPC
Get implementations aligned with new specs.
Related to https://github.com/ucan-wg/delegation/issues/5
Motivation: * make it easier to debug ucanto via web browser dev tools. right now we send CAR file format which is the only multi-block ipld format that made sense...
https://observablehq.com/d/de1d4c6cac193f23 It worked in 5.x https://observablehq.com/@gobengo/w3up-ucanto
Fixes #325
In the current implementation we assume that `ucan/attest` is issued by the principal doing validation. And because `ucan/attest` is tied to specific delegation it introduces unnecessary loops where agent that...
e.g. ```js import * as Server from '@ucanto/server' class StoreItemNotFound extends Server.Failure { get name () { return 'StoreItemNotFound' } } ``` In a handler, returning `new StoreItemNotFound()` will cause...
builds on top of #301
At the moment library known how to bundle non-inline UCAN chains into a payload. However if you want to pass other large data e.g. large binary blob there is no...
Attach view instead of single block per https://github.com/web3-storage/ucanto/pull/298#discussion_r1181285696 BREAKING CHANGE: delegation.attach() and invocation.attach() now receive IPLDView instead of Block