Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: align implementation with receipt 0.2 spec #271

Merged
merged 15 commits into from
Mar 30, 2023
Merged

Conversation

Gozala
Copy link
Collaborator

@Gozala Gozala commented Mar 30, 2023

Main change that happened since last iteration is that Outcome used be a separate block and now it is just a field on Receipt block https://github.com/ucan-wg/invocation/blob/v0.2/README.md#82-receipt

Less obvious change that happened is addition of ReceiptBulider which is basically a placeholder structure so you could defer issuing a receipt. Currently it is only used by issue function, but it is set up such that you could allow passing different codecs and hashers. I hope to do something similar for Delegation as well in the future so that you could send a request with accept: application/json and ucanto will respond in JSON as opposed to cbors in the the car.

@Gozala Gozala requested a review from gobengo March 30, 2023 21:35
@heyjay44 heyjay44 mentioned this pull request Mar 30, 2023
23 tasks
@gobengo gobengo changed the title feat: align implementatino with receipt 0.2 spec feat: align implementation with receipt 0.2 spec Mar 30, 2023
@Gozala Gozala merged commit aeea7e3 into main Mar 30, 2023
@github-actions github-actions bot mentioned this pull request Mar 30, 2023
This was referenced Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants