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: implement store/add size constraint #89

Merged
merged 3 commits into from
Oct 4, 2022
Merged

Conversation

Gozala
Copy link
Contributor

@Gozala Gozala commented Oct 4, 2022

No description provided.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 4, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9089aaf
Status: ✅  Deploy successful!
Preview URL: https://ad1d2871.ucan-protocol.pages.dev
Branch Preview URL: https://feat-store-add-size.ucan-protocol.pages.dev

View logs

} else if (claim.caveats.size != null && from.caveats.size != null) {
return claim.caveats.size > from.caveats.size
? new Failure(
`Size contastraint violation: ${claim.caveats.size} > ${from.caveats.size}`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

constraint is mispelled here.

@Gozala Gozala merged commit efd8a2f into master Oct 4, 2022
@Gozala Gozala deleted the feat/store-add-size branch October 4, 2022 18:19
gobengo pushed a commit that referenced this pull request Mar 24, 2023
gobengo pushed a commit that referenced this pull request Apr 11, 2023
* feat: add size constraint to store/add

* feat: add store/add tests

* Apply suggestions from code review
gobengo pushed a commit that referenced this pull request 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