nucypher / taco-web

🌮 A TypeScript client for TACo (Threshold Access Control)
https://docs.threshold.network/app-development/threshold-access-control-tac
GNU General Public License v3.0
15 stars 22 forks source link

refactor: taco react and nextjs example #419

Closed DeMonkeyCoder closed 9 months ago

DeMonkeyCoder commented 10 months ago

Type of PR:

Required reviews:

What this does: Adds a more clear and understandable example code for Taco by separating the encrypt and decrypt functions

Why it's needed: It was not clear in the example how to create an encrypted message, send it somewhere else, and decrypt it later. The decryption code parts were using objects from encryption. So I separated encrypt and decrypt functions to show the users how they can be separately used.

netlify[bot] commented 10 months ago

Deploy Preview for taco-demo ready!

Name Link
Latest commit 413f1b57152b9648e25644695af9f8c612000480
Latest deploy log https://app.netlify.com/sites/taco-demo/deploys/6560751b28c7a20008e46fff
Deploy Preview https://deploy-preview-419--taco-demo.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 10 months ago

Deploy Preview for taco-nft-demo ready!

Name Link
Latest commit 413f1b57152b9648e25644695af9f8c612000480
Latest deploy log https://app.netlify.com/sites/taco-nft-demo/deploys/6560751b8f3da30008af292f
Deploy Preview https://deploy-preview-419--taco-nft-demo.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

codecov-commenter commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (111897a) 88.00% compared to head (413f1b5) 88.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #419 +/- ## ======================================= Coverage 88.00% 88.00% ======================================= Files 33 33 Lines 2702 2702 Branches 232 232 ======================================= Hits 2378 2378 Misses 293 293 Partials 31 31 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.